@cotofe/service-of-system
Version:
OpenAPI client for @cotofe/service-of-system
54 lines (53 loc) • 1.83 kB
JavaScript
/**
* Platform
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Check if a given object implements the CreateLogRequest interface.
*/
export function instanceOfCreateLogRequest(value) {
return true;
}
export function CreateLogRequestFromJSON(json) {
return CreateLogRequestFromJSONTyped(json, false);
}
export function CreateLogRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
accountId: json.accountId == null ? undefined : json.accountId,
createdBy: json.createdBy == null ? undefined : json.createdBy,
edgeId: json.edgeId == null ? undefined : json.edgeId,
logContent: json.logContent == null ? undefined : json.logContent,
logFullUrl: json.logFullUrl == null ? undefined : json.logFullUrl,
logUrl: json.logUrl == null ? undefined : json.logUrl,
runId: json.runId == null ? undefined : json.runId,
updatedBy: json.updatedBy == null ? undefined : json.updatedBy,
};
}
export function CreateLogRequestToJSON(json) {
return CreateLogRequestToJSONTyped(json, false);
}
export function CreateLogRequestToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
accountId: value.accountId,
createdBy: value.createdBy,
edgeId: value.edgeId,
logContent: value.logContent,
logFullUrl: value.logFullUrl,
logUrl: value.logUrl,
runId: value.runId,
updatedBy: value.updatedBy,
};
}