/* 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 { CustomerSocialLinkableResource } from './CustomerSocialLinkableResource'; import { CustomerSocialLinkableResourceFromJSON, CustomerSocialLinkableResourceFromJSONTyped, CustomerSocialLinkableResourceToJSON, CustomerSocialLinkableResourceToJSONTyped, } from './CustomerSocialLinkableResource'; /** * * @export * @interface CustomerSocialLinkableResourceArrayResponse */ export interface CustomerSocialLinkableResourceArrayResponse { /** * * @type {Array} * @memberof CustomerSocialLinkableResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the CustomerSocialLinkableResourceArrayResponse interface. */ export function instanceOfCustomerSocialLinkableResourceArrayResponse(value: object): value is CustomerSocialLinkableResourceArrayResponse { return true; } export function CustomerSocialLinkableResourceArrayResponseFromJSON(json: any): CustomerSocialLinkableResourceArrayResponse { return CustomerSocialLinkableResourceArrayResponseFromJSONTyped(json, false); } export function CustomerSocialLinkableResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSocialLinkableResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(CustomerSocialLinkableResourceFromJSON)), }; } export function CustomerSocialLinkableResourceArrayResponseToJSON(json: any): CustomerSocialLinkableResourceArrayResponse { return CustomerSocialLinkableResourceArrayResponseToJSONTyped(json, false); } export function CustomerSocialLinkableResourceArrayResponseToJSONTyped(value?: CustomerSocialLinkableResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(CustomerSocialLinkableResourceToJSON)), }; }