/* 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 AttachProductChildrenRequest */ export interface AttachProductChildrenRequest { /** * * @type {Array} * @memberof AttachProductChildrenRequest */ productChildIds: Array; } /** * Check if a given object implements the AttachProductChildrenRequest interface. */ export function instanceOfAttachProductChildrenRequest(value: object): value is AttachProductChildrenRequest { if (!('productChildIds' in value) || value['productChildIds'] === undefined) return false; return true; } export function AttachProductChildrenRequestFromJSON(json: any): AttachProductChildrenRequest { return AttachProductChildrenRequestFromJSONTyped(json, false); } export function AttachProductChildrenRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachProductChildrenRequest { if (json == null) { return json; } return { 'productChildIds': json['product_child_ids'], }; } export function AttachProductChildrenRequestToJSON(json: any): AttachProductChildrenRequest { return AttachProductChildrenRequestToJSONTyped(json, false); } export function AttachProductChildrenRequestToJSONTyped(value?: AttachProductChildrenRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'product_child_ids': value['productChildIds'], }; }