UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

56 lines (55 loc) 1.92 kB
/** * 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 NearbyLogRequest interface. */ export function instanceOfNearbyLogRequest(value) { return true; } export function NearbyLogRequestFromJSON(json) { return NearbyLogRequestFromJSONTyped(json, false); } export function NearbyLogRequestFromJSONTyped(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, runId: json.runId == null ? undefined : json.runId, sortValue: json.sortValue == null ? undefined : json.sortValue, sortValues: json.sortValues == null ? undefined : json.sortValues, timeZone: json.timeZone == null ? undefined : json.timeZone, timestamp: json.timestamp == null ? undefined : json.timestamp, type: json.type == null ? undefined : json.type, }; } export function NearbyLogRequestToJSON(json) { return NearbyLogRequestToJSONTyped(json, false); } export function NearbyLogRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { edgeId: value.edgeId, nearbyNum: value.nearbyNum, replicaId: value.replicaId, runId: value.runId, sortValue: value.sortValue, sortValues: value.sortValues, timeZone: value.timeZone, timestamp: value.timestamp, type: value.type, }; }