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