/* tslint:disable */ /* eslint-disable */ /** * Fabric API * 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. */ import { mapValues } from '../runtime'; /** * * @export * @interface PresignedResponseHeadersAnyOf */ export interface PresignedResponseHeadersAnyOf { /** * * @type {string} * @memberof PresignedResponseHeadersAnyOf */ 'ETag'?: string | null; /** * * @type {string} * @memberof PresignedResponseHeadersAnyOf */ 'Content-Disposition'?: string | null; } /** * Check if a given object implements the PresignedResponseHeadersAnyOf interface. */ export function instanceOfPresignedResponseHeadersAnyOf(value: object): value is PresignedResponseHeadersAnyOf { return true; } export function PresignedResponseHeadersAnyOfFromJSON(json: any): PresignedResponseHeadersAnyOf { return PresignedResponseHeadersAnyOfFromJSONTyped(json, false); } export function PresignedResponseHeadersAnyOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): PresignedResponseHeadersAnyOf { if (json == null) { return json; } const result = { } as PresignedResponseHeadersAnyOf; if (json['ETag'] !== undefined) { if (json['ETag'] === null) { result['ETag'] = null; } else { result['ETag'] = json['ETag']; } } if (json['Content-Disposition'] !== undefined) { if (json['Content-Disposition'] === null) { result['Content-Disposition'] = null; } else { result['Content-Disposition'] = json['Content-Disposition']; } } return result; } export function PresignedResponseHeadersAnyOfToJSON(json: any): PresignedResponseHeadersAnyOf { return PresignedResponseHeadersAnyOfToJSONTyped(json, false); } export function PresignedResponseHeadersAnyOfToJSONTyped(value?: PresignedResponseHeadersAnyOf | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'ETag': value['ETag'], 'Content-Disposition': value['Content-Disposition'], }; }