1/**
2 * Copyright 2016 IBM Corp.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *    http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/**
18 * AUTOMATICALLY GENERATED CODE - DO NOT MODIFY
19 */
20
21package datatypes
22
23// no documentation yet
24type Locale struct {
25	Entity
26
27	// no documentation yet
28	FriendlyName *string `json:"friendlyName,omitempty" xmlrpc:"friendlyName,omitempty"`
29
30	// Internal identification number of a locale
31	Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"`
32
33	// no documentation yet
34	LanguageTag *string `json:"languageTag,omitempty" xmlrpc:"languageTag,omitempty"`
35
36	// Locale name
37	Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
38}
39
40// no documentation yet
41type Locale_Country struct {
42	Entity
43
44	// Binary flag denoting if this country is part of the European Union
45	IsEuropeanUnionFlag *int `json:"isEuropeanUnionFlag,omitempty" xmlrpc:"isEuropeanUnionFlag,omitempty"`
46
47	// no documentation yet
48	LongName *string `json:"longName,omitempty" xmlrpc:"longName,omitempty"`
49
50	// no documentation yet
51	PostalCodeFormat *string `json:"postalCodeFormat,omitempty" xmlrpc:"postalCodeFormat,omitempty"`
52
53	// no documentation yet
54	PostalCodeRequiredFlag *int `json:"postalCodeRequiredFlag,omitempty" xmlrpc:"postalCodeRequiredFlag,omitempty"`
55
56	// no documentation yet
57	ShortName *string `json:"shortName,omitempty" xmlrpc:"shortName,omitempty"`
58
59	// A count of states that belong to this country.
60	StateCount *uint `json:"stateCount,omitempty" xmlrpc:"stateCount,omitempty"`
61
62	// States that belong to this country.
63	States []Locale_StateProvince `json:"states,omitempty" xmlrpc:"states,omitempty"`
64}
65
66// This object represents a state or province for a country.
67type Locale_StateProvince struct {
68	Entity
69
70	// no documentation yet
71	LongName *string `json:"longName,omitempty" xmlrpc:"longName,omitempty"`
72
73	// no documentation yet
74	ShortName *string `json:"shortName,omitempty" xmlrpc:"shortName,omitempty"`
75}
76
77// Each User is assigned a timezone allowing for a precise local timestamp.
78type Locale_Timezone struct {
79	Entity
80
81	// A timezone's identifying number.
82	Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"`
83
84	// A timezone's long name. For example, "(GMT-06:00) America/Dallas - CST".
85	LongName *string `json:"longName,omitempty" xmlrpc:"longName,omitempty"`
86
87	// A timezone's name. For example, "America/Dallas".
88	Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
89
90	// A timezone's offset based on the GMT standard. For example, Central Standard Time's offset is "-0600" from GMT=0000.
91	Offset *string `json:"offset,omitempty" xmlrpc:"offset,omitempty"`
92
93	// A timezone's common abbreviation. For example, Central Standard Time's abbreviation is "CST".
94	ShortName *string `json:"shortName,omitempty" xmlrpc:"shortName,omitempty"`
95}
96