@cotofe/service-of-system
Version:
OpenAPI client for @cotofe/service-of-system
54 lines (53 loc) • 1.89 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 WorkflowNearbyLogRequest interface.
*/
export function instanceOfWorkflowNearbyLogRequest(value) {
return true;
}
export function WorkflowNearbyLogRequestFromJSON(json) {
return WorkflowNearbyLogRequestFromJSONTyped(json, false);
}
export 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,
};
}
export function WorkflowNearbyLogRequestToJSON(json) {
return WorkflowNearbyLogRequestToJSONTyped(json, false);
}
export 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,
};
}