UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

61 lines (60 loc) 2.33 kB
"use strict"; /** * 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.instanceOfWorkflowNearbyLogRequest = instanceOfWorkflowNearbyLogRequest; exports.WorkflowNearbyLogRequestFromJSON = WorkflowNearbyLogRequestFromJSON; exports.WorkflowNearbyLogRequestFromJSONTyped = WorkflowNearbyLogRequestFromJSONTyped; exports.WorkflowNearbyLogRequestToJSON = WorkflowNearbyLogRequestToJSON; exports.WorkflowNearbyLogRequestToJSONTyped = WorkflowNearbyLogRequestToJSONTyped; /** * Check if a given object implements the WorkflowNearbyLogRequest interface. */ function instanceOfWorkflowNearbyLogRequest(value) { return true; } function WorkflowNearbyLogRequestFromJSON(json) { return WorkflowNearbyLogRequestFromJSONTyped(json, false); } function WorkflowNearbyLogRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { edgeId: json.edgeId == null ? undefined : json.edgeId, nearbyNum: json.nearbyNum == null ? undefined : json.nearbyNum, replicaId: json.replicaId == null ? undefined : json.replicaId, runIdList: json.runIdList == null ? undefined : json.runIdList, sortValue: json.sortValue == null ? undefined : json.sortValue, timeZone: json.timeZone == null ? undefined : json.timeZone, timestamp: json.timestamp == null ? undefined : json.timestamp, type: json.type == null ? undefined : json.type, }; } function WorkflowNearbyLogRequestToJSON(json) { return WorkflowNearbyLogRequestToJSONTyped(json, false); } function WorkflowNearbyLogRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { edgeId: value.edgeId, nearbyNum: value.nearbyNum, replicaId: value.replicaId, runIdList: value.runIdList, sortValue: value.sortValue, timeZone: value.timeZone, timestamp: value.timestamp, type: value.type, }; }