Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions src/models/CityMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -66,10 +59,10 @@ export interface CityMetrics {
metrics?: Array<CityMetric>;
/**
*
* @type {OtherMetrics}
* @type {object}
* @memberof CityMetrics
*/
other_metrics?: OtherMetrics;
other_metrics?: object;
}

/**
Expand Down Expand Up @@ -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<any>).map(CityMetricFromJSON)),
'other_metrics': json['other_metrics'] == null ? undefined : OtherMetricsFromJSON(json['other_metrics']),
'other_metrics': json['other_metrics'] == null ? undefined : json['other_metrics'],
};
}

Expand All @@ -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<any>).map(CityMetricToJSON)),
'other_metrics': OtherMetricsToJSON(value['other_metrics']),
'other_metrics': value['other_metrics'],
};
}

15 changes: 4 additions & 11 deletions src/models/CityScanMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -66,10 +59,10 @@ export interface CityScanMetrics {
metrics?: Array<CityScanMetric>;
/**
*
* @type {OtherScanMetrics}
* @type {object}
* @memberof CityScanMetrics
*/
other_metrics?: OtherScanMetrics;
other_metrics?: object;
}

/**
Expand Down Expand Up @@ -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<any>).map(CityScanMetricFromJSON)),
'other_metrics': json['other_metrics'] == null ? undefined : OtherScanMetricsFromJSON(json['other_metrics']),
'other_metrics': json['other_metrics'] == null ? undefined : json['other_metrics'],
};
}

Expand All @@ -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<any>).map(CityScanMetricToJSON)),
'other_metrics': OtherScanMetricsToJSON(value['other_metrics']),
'other_metrics': value['other_metrics'],
};
}

4 changes: 2 additions & 2 deletions src/models/FullShorten.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
12 changes: 6 additions & 6 deletions src/models/QRCodeText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
};
}

Expand All @@ -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'],
};
}