"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * Octane API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * 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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidateAddressRespToJSON = exports.ValidateAddressRespFromJSONTyped = exports.ValidateAddressRespFromJSON = void 0;
const runtime_1 = require("../runtime");
function ValidateAddressRespFromJSON(json) {
    return ValidateAddressRespFromJSONTyped(json, false);
}
exports.ValidateAddressRespFromJSON = ValidateAddressRespFromJSON;
function ValidateAddressRespFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'resolutionQuality': !(0, runtime_1.exists)(json, 'resolution_quality') ? undefined : json['resolution_quality'],
        'invalidAddressError': !(0, runtime_1.exists)(json, 'invalid_address_error') ? undefined : json['invalid_address_error'],
        'latitude': !(0, runtime_1.exists)(json, 'latitude') ? undefined : json['latitude'],
        'longitude': !(0, runtime_1.exists)(json, 'longitude') ? undefined : json['longitude'],
        'success': !(0, runtime_1.exists)(json, 'success') ? undefined : json['success'],
    };
}
exports.ValidateAddressRespFromJSONTyped = ValidateAddressRespFromJSONTyped;
function ValidateAddressRespToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'resolution_quality': value.resolutionQuality,
        'invalid_address_error': value.invalidAddressError,
        'latitude': value.latitude,
        'longitude': value.longitude,
        'success': value.success,
    };
}
exports.ValidateAddressRespToJSON = ValidateAddressRespToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFsaWRhdGVBZGRyZXNzUmVzcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb2RlZ2VuL21vZGVscy9WYWxpZGF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