@stadiamaps/api
Version:
Stadia Maps Geospatial APIs
63 lines • 2.82 kB
TypeScript
/**
* Stadia Maps Geospatial APIs
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
*
* The version of the OpenAPI document: 10.1.2
* Contact: support@stadiamaps.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface TzResponse
*/
export interface TzResponse {
/**
* The canonical time zone ID. In the event that multiple time zones could be returned, the first one from the Unicode CLDR timezone.xml is returned.
* @type {string}
* @memberof TzResponse
*/
tzId: string;
/**
* The base offset, in seconds, from UTC that is normally in effect for this time zone.
* @type {number}
* @memberof TzResponse
*/
baseUtcOffset: number;
/**
* The special offset, in seconds, from UTC that is in effect for this time zone as of the queried timestamp (defaults to now). If no additional offsets are in effect, this value is zero. This typically reflects Daylight Saving Time, but may indicate other special offsets. To get the total offset in effect, add `dst_offset` and `utc_offset` together.
* @type {number}
* @memberof TzResponse
*/
dstOffset: number;
/**
* Integer non-leap seconds since January 1, 1970 (UNIX timestamp). If a timestamp is included with the request parameters, it will be echoed here. Otherwise, this will contain the current timestamp.
* @type {number}
* @memberof TzResponse
*/
timestamp: number;
/**
* The local time expressed as an RFC 2822 timestamp (e.g. Tue, 1 Jul 2003 10:52:37 +0200). If a timestamp is included in the request, it will be localized here. Otherwise, this will reflect the time of the request.
* @type {string}
* @memberof TzResponse
*/
localRfc2822Timestamp: string;
/**
* The local time expressed as an RFC 3389 (ISO 8601) timestamp (e.g. 2003-06-01T10:52:37+02:00). If a timestamp is included in the request, it will be localized here. Otherwise, this will reflect the time of the request.
* @type {string}
* @memberof TzResponse
*/
localRfc3389Timestamp: string;
}
/**
* Check if a given object implements the TzResponse interface.
*/
export declare function instanceOfTzResponse(value: object): value is TzResponse;
export declare function TzResponseFromJSON(json: any): TzResponse;
export declare function TzResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TzResponse;
export declare function TzResponseToJSON(json: any): TzResponse;
export declare function TzResponseToJSONTyped(value?: TzResponse | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=TzResponse.d.ts.map