/* tslint:disable */ /* eslint-disable */ /** * Equisoft /plan API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: latest * * * 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'; /** * Create organization response * @export * @interface OrganizationsCreateOrganizationResponse */ export interface OrganizationsCreateOrganizationResponse { /** * * @type {number} * @memberof OrganizationsCreateOrganizationResponse */ id: number; /** * * @type {string} * @memberof OrganizationsCreateOrganizationResponse */ uuid: string; } /** * Check if a given object implements the OrganizationsCreateOrganizationResponse interface. */ export function instanceOfOrganizationsCreateOrganizationResponse(value: object): value is OrganizationsCreateOrganizationResponse { if (!('id' in value) || value['id'] === undefined) return false; if (!('uuid' in value) || value['uuid'] === undefined) return false; return true; } export function OrganizationsCreateOrganizationResponseFromJSON(json: any): OrganizationsCreateOrganizationResponse { return OrganizationsCreateOrganizationResponseFromJSONTyped(json, false); } export function OrganizationsCreateOrganizationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsCreateOrganizationResponse { if (json == null) { return json; } return { 'id': json['id'], 'uuid': json['uuid'], }; } export function OrganizationsCreateOrganizationResponseToJSON(json: any): OrganizationsCreateOrganizationResponse { return OrganizationsCreateOrganizationResponseToJSONTyped(json, false); } export function OrganizationsCreateOrganizationResponseToJSONTyped(value?: OrganizationsCreateOrganizationResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'id': value['id'], 'uuid': value['uuid'], }; }