/* 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 AttachStoresToSupplierRequest */ export interface AttachStoresToSupplierRequest { /** * * @type {Array} * @memberof AttachStoresToSupplierRequest */ storeIds: Array; } /** * Check if a given object implements the AttachStoresToSupplierRequest interface. */ export function instanceOfAttachStoresToSupplierRequest(value: object): value is AttachStoresToSupplierRequest { if (!('storeIds' in value) || value['storeIds'] === undefined) return false; return true; } export function AttachStoresToSupplierRequestFromJSON(json: any): AttachStoresToSupplierRequest { return AttachStoresToSupplierRequestFromJSONTyped(json, false); } export function AttachStoresToSupplierRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachStoresToSupplierRequest { if (json == null) { return json; } return { 'storeIds': json['store_ids'], }; } export function AttachStoresToSupplierRequestToJSON(json: any): AttachStoresToSupplierRequest { return AttachStoresToSupplierRequestToJSONTyped(json, false); } export function AttachStoresToSupplierRequestToJSONTyped(value?: AttachStoresToSupplierRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'store_ids': value['storeIds'], }; }