/* 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 SuburbValidationResource */ export interface SuburbValidationResource { /** * * @type {boolean} * @memberof SuburbValidationResource */ found: boolean; } /** * Check if a given object implements the SuburbValidationResource interface. */ export function instanceOfSuburbValidationResource(value: object): value is SuburbValidationResource { if (!('found' in value) || value['found'] === undefined) return false; return true; } export function SuburbValidationResourceFromJSON(json: any): SuburbValidationResource { return SuburbValidationResourceFromJSONTyped(json, false); } export function SuburbValidationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuburbValidationResource { if (json == null) { return json; } return { 'found': json['found'], }; } export function SuburbValidationResourceToJSON(json: any): SuburbValidationResource { return SuburbValidationResourceToJSONTyped(json, false); } export function SuburbValidationResourceToJSONTyped(value?: SuburbValidationResource | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'found': value['found'], }; }