/* 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 DetachAttributesFromProductRangeRequest */ export interface DetachAttributesFromProductRangeRequest { /** * * @type {Array} * @memberof DetachAttributesFromProductRangeRequest */ attributes: Array; } /** * Check if a given object implements the DetachAttributesFromProductRangeRequest interface. */ export function instanceOfDetachAttributesFromProductRangeRequest(value: object): value is DetachAttributesFromProductRangeRequest { if (!('attributes' in value) || value['attributes'] === undefined) return false; return true; } export function DetachAttributesFromProductRangeRequestFromJSON(json: any): DetachAttributesFromProductRangeRequest { return DetachAttributesFromProductRangeRequestFromJSONTyped(json, false); } export function DetachAttributesFromProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachAttributesFromProductRangeRequest { if (json == null) { return json; } return { 'attributes': json['attributes'], }; } export function DetachAttributesFromProductRangeRequestToJSON(json: any): DetachAttributesFromProductRangeRequest { return DetachAttributesFromProductRangeRequestToJSONTyped(json, false); } export function DetachAttributesFromProductRangeRequestToJSONTyped(value?: DetachAttributesFromProductRangeRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'attributes': value['attributes'], }; }