/* 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'; import type { LoginAsCustomerUrlResource } from './LoginAsCustomerUrlResource'; import { LoginAsCustomerUrlResourceFromJSON, LoginAsCustomerUrlResourceFromJSONTyped, LoginAsCustomerUrlResourceToJSON, LoginAsCustomerUrlResourceToJSONTyped, } from './LoginAsCustomerUrlResource'; /** * * @export * @interface LoginAsCustomerUrlResourceArrayResponse */ export interface LoginAsCustomerUrlResourceArrayResponse { /** * * @type {Array} * @memberof LoginAsCustomerUrlResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the LoginAsCustomerUrlResourceArrayResponse interface. */ export function instanceOfLoginAsCustomerUrlResourceArrayResponse(value: object): value is LoginAsCustomerUrlResourceArrayResponse { return true; } export function LoginAsCustomerUrlResourceArrayResponseFromJSON(json: any): LoginAsCustomerUrlResourceArrayResponse { return LoginAsCustomerUrlResourceArrayResponseFromJSONTyped(json, false); } export function LoginAsCustomerUrlResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginAsCustomerUrlResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(LoginAsCustomerUrlResourceFromJSON)), }; } export function LoginAsCustomerUrlResourceArrayResponseToJSON(json: any): LoginAsCustomerUrlResourceArrayResponse { return LoginAsCustomerUrlResourceArrayResponseToJSONTyped(json, false); } export function LoginAsCustomerUrlResourceArrayResponseToJSONTyped(value?: LoginAsCustomerUrlResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(LoginAsCustomerUrlResourceToJSON)), }; }