UNPKG

@cotofe/service-of-system

Version:

OpenAPI client for @cotofe/service-of-system

42 lines (41 loc) 1.24 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 MultipartPresignedUrl interface. */ export function instanceOfMultipartPresignedUrl(value) { return true; } export function MultipartPresignedUrlFromJSON(json) { return MultipartPresignedUrlFromJSONTyped(json, false); } export function MultipartPresignedUrlFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { uploadId: json.uploadId == null ? undefined : json.uploadId, urls: json.urls == null ? undefined : json.urls, }; } export function MultipartPresignedUrlToJSON(json) { return MultipartPresignedUrlToJSONTyped(json, false); } export function MultipartPresignedUrlToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { uploadId: value.uploadId, urls: value.urls, }; }