/* 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 CustomerSocialLinkableResource */ export interface CustomerSocialLinkableResource { /** * * @type {boolean} * @memberof CustomerSocialLinkableResource */ linkable: boolean; /** * * @type {object} * @memberof CustomerSocialLinkableResource */ customer: object; } /** * Check if a given object implements the CustomerSocialLinkableResource interface. */ export function instanceOfCustomerSocialLinkableResource(value: object): value is CustomerSocialLinkableResource { if (!('linkable' in value) || value['linkable'] === undefined) return false; if (!('customer' in value) || value['customer'] === undefined) return false; return true; } export function CustomerSocialLinkableResourceFromJSON(json: any): CustomerSocialLinkableResource { return CustomerSocialLinkableResourceFromJSONTyped(json, false); } export function CustomerSocialLinkableResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSocialLinkableResource { if (json == null) { return json; } return { 'linkable': json['linkable'], 'customer': json['customer'], }; } export function CustomerSocialLinkableResourceToJSON(json: any): CustomerSocialLinkableResource { return CustomerSocialLinkableResourceToJSONTyped(json, false); } export function CustomerSocialLinkableResourceToJSONTyped(value?: CustomerSocialLinkableResource | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'linkable': value['linkable'], 'customer': value['customer'], }; }