/* tslint:disable */ /* eslint-disable */ /** * My API * API documentation for my Laravel app * * 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 DetachDocumentsFromProductRangeRequest */ export interface DetachDocumentsFromProductRangeRequest { /** * * @type {Array} * @memberof DetachDocumentsFromProductRangeRequest */ documents: Array; } /** * Check if a given object implements the DetachDocumentsFromProductRangeRequest interface. */ export function instanceOfDetachDocumentsFromProductRangeRequest(value: object): value is DetachDocumentsFromProductRangeRequest { if (!('documents' in value) || value['documents'] === undefined) return false; return true; } export function DetachDocumentsFromProductRangeRequestFromJSON(json: any): DetachDocumentsFromProductRangeRequest { return DetachDocumentsFromProductRangeRequestFromJSONTyped(json, false); } export function DetachDocumentsFromProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachDocumentsFromProductRangeRequest { if (json == null) { return json; } return { 'documents': json['documents'], }; } export function DetachDocumentsFromProductRangeRequestToJSON(json: any): DetachDocumentsFromProductRangeRequest { return DetachDocumentsFromProductRangeRequestToJSONTyped(json, false); } export function DetachDocumentsFromProductRangeRequestToJSONTyped(value?: DetachDocumentsFromProductRangeRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'documents': value['documents'], }; }