diff --git a/src/models/CityMetrics.ts b/src/models/CityMetrics.ts index d3fe0de..8a0cc89 100644 --- a/src/models/CityMetrics.ts +++ b/src/models/CityMetrics.ts @@ -13,13 +13,6 @@ */ import { mapValues } from '../runtime'; -import type { OtherMetrics } from './OtherMetrics'; -import { - OtherMetricsFromJSON, - OtherMetricsFromJSONTyped, - OtherMetricsToJSON, - OtherMetricsToJSONTyped, -} from './OtherMetrics'; import type { CityMetric } from './CityMetric'; import { CityMetricFromJSON, @@ -66,10 +59,10 @@ export interface CityMetrics { metrics?: Array; /** * - * @type {OtherMetrics} + * @type {object} * @memberof CityMetrics */ - other_metrics?: OtherMetrics; + other_metrics?: object; } /** @@ -110,7 +103,7 @@ export function CityMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean 'facet': json['facet'] == null ? undefined : json['facet'], 'unit_reference': json['unit_reference'] == null ? undefined : json['unit_reference'], 'metrics': json['metrics'] == null ? undefined : ((json['metrics'] as Array).map(CityMetricFromJSON)), - 'other_metrics': json['other_metrics'] == null ? undefined : OtherMetricsFromJSON(json['other_metrics']), + 'other_metrics': json['other_metrics'] == null ? undefined : json['other_metrics'], }; } @@ -130,7 +123,7 @@ export function CityMetricsToJSONTyped(value?: CityMetrics | null, ignoreDiscrim 'facet': value['facet'], 'unit_reference': value['unit_reference'], 'metrics': value['metrics'] == null ? undefined : ((value['metrics'] as Array).map(CityMetricToJSON)), - 'other_metrics': OtherMetricsToJSON(value['other_metrics']), + 'other_metrics': value['other_metrics'], }; } diff --git a/src/models/CityScanMetrics.ts b/src/models/CityScanMetrics.ts index d975c45..df7af25 100644 --- a/src/models/CityScanMetrics.ts +++ b/src/models/CityScanMetrics.ts @@ -13,13 +13,6 @@ */ import { mapValues } from '../runtime'; -import type { OtherScanMetrics } from './OtherScanMetrics'; -import { - OtherScanMetricsFromJSON, - OtherScanMetricsFromJSONTyped, - OtherScanMetricsToJSON, - OtherScanMetricsToJSONTyped, -} from './OtherScanMetrics'; import type { CityScanMetric } from './CityScanMetric'; import { CityScanMetricFromJSON, @@ -66,10 +59,10 @@ export interface CityScanMetrics { metrics?: Array; /** * - * @type {OtherScanMetrics} + * @type {object} * @memberof CityScanMetrics */ - other_metrics?: OtherScanMetrics; + other_metrics?: object; } /** @@ -106,7 +99,7 @@ export function CityScanMetricsFromJSONTyped(json: any, ignoreDiscriminator: boo 'facet': json['facet'] == null ? undefined : json['facet'], 'unit_reference': json['unit_reference'] == null ? undefined : json['unit_reference'], 'metrics': json['metrics'] == null ? undefined : ((json['metrics'] as Array).map(CityScanMetricFromJSON)), - 'other_metrics': json['other_metrics'] == null ? undefined : OtherScanMetricsFromJSON(json['other_metrics']), + 'other_metrics': json['other_metrics'] == null ? undefined : json['other_metrics'], }; } @@ -126,7 +119,7 @@ export function CityScanMetricsToJSONTyped(value?: CityScanMetrics | null, ignor 'facet': value['facet'], 'unit_reference': value['unit_reference'], 'metrics': value['metrics'] == null ? undefined : ((value['metrics'] as Array).map(CityScanMetricToJSON)), - 'other_metrics': OtherScanMetricsToJSON(value['other_metrics']), + 'other_metrics': value['other_metrics'], }; } diff --git a/src/models/FullShorten.ts b/src/models/FullShorten.ts index 1751e45..31639e6 100644 --- a/src/models/FullShorten.ts +++ b/src/models/FullShorten.ts @@ -70,13 +70,13 @@ export interface FullShorten { */ force_new_link?: boolean; /** - * Custom keyword for creating keyword overrides. If provided, creates an override at domain/keyword. Cannot use bit.ly domain. + * Custom keyword for creating keyword overrides. If provided, creates an override at domain/keyword * @type {string} * @memberof FullShorten */ keyword?: string; /** - * Existing bitlink ID to add a keyword override to. Format: domain/hash. Cannot be used with long_url. Cannot use bit.ly domain. + * Existing bitlink ID to add a keyword override to. Format: domain/hash. Cannot be used with long_url * @type {string} * @memberof FullShorten */ diff --git a/src/models/QRCodeText.ts b/src/models/QRCodeText.ts index 33a606f..179a6c6 100644 --- a/src/models/QRCodeText.ts +++ b/src/models/QRCodeText.ts @@ -64,9 +64,9 @@ export function QRCodeTextFromJSONTyped(json: any, ignoreDiscriminator: boolean) } return { - 'center': json['center'] == null ? undefined : TextFromJSON(json['center']), - 'top': json['top'] == null ? undefined : TextFromJSON(json['top']), - 'bottom': json['bottom'] == null ? undefined : TextFromJSON(json['bottom']), + 'center': json['center'] == null ? undefined : json['center'], + 'top': json['top'] == null ? undefined : json['top'], + 'bottom': json['bottom'] == null ? undefined : json['bottom'], }; } @@ -81,9 +81,9 @@ export function QRCodeTextToJSONTyped(value?: QRCodeText | null, ignoreDiscrimin return { - 'center': TextToJSON(value['center']), - 'top': TextToJSON(value['top']), - 'bottom': TextToJSON(value['bottom']), + 'center': value['center'], + 'top': value['top'], + 'bottom': value['bottom'], }; }