@cotofe/service-of-system
Version:
OpenAPI client for @cotofe/service-of-system
69 lines (68 loc) • 2.64 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfWorkflowLogRequest = instanceOfWorkflowLogRequest;
exports.WorkflowLogRequestFromJSON = WorkflowLogRequestFromJSON;
exports.WorkflowLogRequestFromJSONTyped = WorkflowLogRequestFromJSONTyped;
exports.WorkflowLogRequestToJSON = WorkflowLogRequestToJSON;
exports.WorkflowLogRequestToJSONTyped = WorkflowLogRequestToJSONTyped;
/**
* Check if a given object implements the WorkflowLogRequest interface.
*/
function instanceOfWorkflowLogRequest(value) {
return true;
}
function WorkflowLogRequestFromJSON(json) {
return WorkflowLogRequestFromJSONTyped(json, false);
}
function WorkflowLogRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
endTime: json.endTime == null ? undefined : json.endTime,
keyword: json.keyword == null ? undefined : json.keyword,
logLevel: json.logLevel == null ? undefined : json.logLevel,
pageNum: json.pageNum == null ? undefined : json.pageNum,
pageSize: json.pageSize == null ? undefined : json.pageSize,
runIdList: json.runIdList == null ? undefined : json.runIdList,
sortOrder: json.sortOrder == null ? undefined : json.sortOrder,
sortValues: json.sortValues == null ? undefined : json.sortValues,
startTime: json.startTime == null ? undefined : json.startTime,
timeZone: json.timeZone == null ? undefined : json.timeZone,
type: json.type == null ? undefined : json.type,
workflowId: json.workflowId == null ? undefined : json.workflowId,
};
}
function WorkflowLogRequestToJSON(json) {
return WorkflowLogRequestToJSONTyped(json, false);
}
function WorkflowLogRequestToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
endTime: value.endTime,
keyword: value.keyword,
logLevel: value.logLevel,
pageNum: value.pageNum,
pageSize: value.pageSize,
runIdList: value.runIdList,
sortOrder: value.sortOrder,
sortValues: value.sortValues,
startTime: value.startTime,
timeZone: value.timeZone,
type: value.type,
workflowId: value.workflowId,
};
}