/* 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 AttachSuppliersToStoreRequest */ export interface AttachSuppliersToStoreRequest { /** * * @type {Array} * @memberof AttachSuppliersToStoreRequest */ supplierIds: Array; } /** * Check if a given object implements the AttachSuppliersToStoreRequest interface. */ export function instanceOfAttachSuppliersToStoreRequest(value: object): value is AttachSuppliersToStoreRequest { if (!('supplierIds' in value) || value['supplierIds'] === undefined) return false; return true; } export function AttachSuppliersToStoreRequestFromJSON(json: any): AttachSuppliersToStoreRequest { return AttachSuppliersToStoreRequestFromJSONTyped(json, false); } export function AttachSuppliersToStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachSuppliersToStoreRequest { if (json == null) { return json; } return { 'supplierIds': json['supplier_ids'], }; } export function AttachSuppliersToStoreRequestToJSON(json: any): AttachSuppliersToStoreRequest { return AttachSuppliersToStoreRequestToJSONTyped(json, false); } export function AttachSuppliersToStoreRequestToJSONTyped(value?: AttachSuppliersToStoreRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'supplier_ids': value['supplierIds'], }; }