UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

61 lines (60 loc) 2.2 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.instanceOfCreateLogRequest = instanceOfCreateLogRequest; exports.CreateLogRequestFromJSON = CreateLogRequestFromJSON; exports.CreateLogRequestFromJSONTyped = CreateLogRequestFromJSONTyped; exports.CreateLogRequestToJSON = CreateLogRequestToJSON; exports.CreateLogRequestToJSONTyped = CreateLogRequestToJSONTyped; /** * Check if a given object implements the CreateLogRequest interface. */ function instanceOfCreateLogRequest(value) { return true; } function CreateLogRequestFromJSON(json) { return CreateLogRequestFromJSONTyped(json, false); } 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, }; } function CreateLogRequestToJSON(json) { return CreateLogRequestToJSONTyped(json, false); } 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, }; }