/* 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 LoginAsCustomerUrlResource */ export interface LoginAsCustomerUrlResource { /** * * @type {string} * @memberof LoginAsCustomerUrlResource */ url: string; } /** * Check if a given object implements the LoginAsCustomerUrlResource interface. */ export function instanceOfLoginAsCustomerUrlResource(value: object): value is LoginAsCustomerUrlResource { if (!('url' in value) || value['url'] === undefined) return false; return true; } export function LoginAsCustomerUrlResourceFromJSON(json: any): LoginAsCustomerUrlResource { return LoginAsCustomerUrlResourceFromJSONTyped(json, false); } export function LoginAsCustomerUrlResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginAsCustomerUrlResource { if (json == null) { return json; } return { 'url': json['url'], }; } export function LoginAsCustomerUrlResourceToJSON(json: any): LoginAsCustomerUrlResource { return LoginAsCustomerUrlResourceToJSONTyped(json, false); } export function LoginAsCustomerUrlResourceToJSONTyped(value?: LoginAsCustomerUrlResource | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'url': value['url'], }; }