xero-ruby 3.13.0 → 3.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64166b3675aaf064c236cd859fc18a4b51a6cadd80be862894bab7b556dfd7cf
4
- data.tar.gz: cdebb07a417fb45d1e2b1afb372ef538f8833761cd5b5be5b5af4cecb743e2a9
3
+ metadata.gz: a7cf036e746cf06c49d997cee30a28ca8e74cb022bf90c3ea5fdb62d2cdeb7d5
4
+ data.tar.gz: 3129b96cedce8ac8a3ba3da37ab261111f468b17a898050f9501753a33b99663
5
5
  SHA512:
6
- metadata.gz: 1b58cddfacc52ba933664a360e62af2d3ed061c9f561d0dbd83ed4e49084009be76a0ec4532c3aa87d8b00dfac8cbf931849d66a0f47c1d2da637b31ecf07886
7
- data.tar.gz: a408135c0687635c65bde9a5af6cbd4d587452e34541c85f8c6c20239a34613d4352ba6b7b68021d6fb56d3c4d81c205e7a67839a2388e4fccb2aaa106ba5740
6
+ metadata.gz: 166a4fcfaf12b575d8d49b2cc946e4bf640286348e935ae1db2a269a9466d42b101d4f5ac32a2dde234e12b8fd6bf9652988156eda75cff4f4f7e2c835a36628
7
+ data.tar.gz: 3edd6d7e65437d1133601ab0a91d94db00817ce5e6c9aad74282a5d75982427a1addc464c0106f82150d12e6ecb5e2b40f8f337296faf4173c012af912556d94
data/README.md CHANGED
@@ -175,7 +175,7 @@ xero_app_store_client ||= XeroRuby::ApiClient.new(credentials: {
175
175
  client_id: ENV['CLIENT_ID'],
176
176
  client_secret: ENV['CLIENT_SECRET'],
177
177
  grant_type: 'client_credentials'
178
- scopes: ['marketplace.billing']
178
+ scopes: 'marketplace.billing openid profile email'
179
179
  })
180
180
 
181
181
  xero_app_store_client.get_client_credentials_token
@@ -83,5 +83,243 @@ module XeroRuby
83
83
  end
84
84
  return data, status_code, headers
85
85
  end
86
+
87
+ # Gets all usage records related to the subscription
88
+ # @param subscription_id [String] Unique identifier for Subscription object
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [UsageRecordsList]
91
+ def get_usage_records(subscription_id, opts = {})
92
+ data, _status_code, _headers = get_usage_records_with_http_info(subscription_id, opts)
93
+ data
94
+ end
95
+
96
+ # Gets all usage records related to the subscription
97
+ # @param subscription_id [String] Unique identifier for Subscription object
98
+ # @param [Hash] opts the optional parameters
99
+ # @return [Array<(UsageRecordsList, Integer, Hash)>] UsageRecordsList data, response status code and response headers
100
+ def get_usage_records_with_http_info(subscription_id, options = {})
101
+ opts = options.dup
102
+ if @api_client.config.debugging
103
+ @api_client.config.logger.debug 'Calling API: AppStoreApi.get_usage_records ...'
104
+ end
105
+ # verify the required parameter 'subscription_id' is set
106
+ if @api_client.config.client_side_validation && subscription_id.nil?
107
+ fail ArgumentError, "Missing the required parameter 'subscription_id' when calling AppStoreApi.get_usage_records"
108
+ end
109
+ # resource path
110
+ local_var_path = '/subscriptions/{subscriptionId}/usage-records'.sub('{' + 'subscriptionId' + '}', subscription_id.to_s)
111
+
112
+ # camelize keys of incoming `where` opts
113
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
114
+
115
+ # query parameters
116
+ query_params = opts[:query_params] || {}
117
+
118
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
119
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
120
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
121
+
122
+ # header parameters
123
+ header_params = opts[:header_params] || {}
124
+ # HTTP header 'Accept' (if needed)
125
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
126
+
127
+ # form parameters
128
+ form_params = opts[:form_params] || {}
129
+
130
+ # http body (model)
131
+ post_body = opts[:body]
132
+
133
+ # return_type
134
+ return_type = opts[:return_type] || 'UsageRecordsList'
135
+
136
+ # auth_names
137
+ auth_names = opts[:auth_names] || ['OAuth2']
138
+
139
+ new_options = opts.merge(
140
+ :header_params => header_params,
141
+ :query_params => query_params,
142
+ :form_params => form_params,
143
+ :body => post_body,
144
+ :auth_names => auth_names,
145
+ :return_type => return_type
146
+ )
147
+
148
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AppStoreApi", new_options)
149
+ if @api_client.config.debugging
150
+ @api_client.config.logger.debug "API called: AppStoreApi#get_usage_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
151
+ end
152
+ return data, status_code, headers
153
+ end
154
+
155
+ # Send metered usage belonging to this subscription and subscription item
156
+ # @param subscription_id [String] Unique identifier for Subscription object
157
+ # @param subscription_item_id [String] The unique identifier of the subscriptionItem
158
+ # @param create_usage_record [CreateUsageRecord] Contains the quantity for the usage record to create
159
+ # @param [Hash] opts the optional parameters
160
+ # @return [UsageRecord]
161
+ def post_usage_records(subscription_id, subscription_item_id, create_usage_record, opts = {})
162
+ data, _status_code, _headers = post_usage_records_with_http_info(subscription_id, subscription_item_id, create_usage_record, opts)
163
+ data
164
+ end
165
+
166
+ # Send metered usage belonging to this subscription and subscription item
167
+ # @param subscription_id [String] Unique identifier for Subscription object
168
+ # @param subscription_item_id [String] The unique identifier of the subscriptionItem
169
+ # @param create_usage_record [CreateUsageRecord] Contains the quantity for the usage record to create
170
+ # @param [Hash] opts the optional parameters
171
+ # @return [Array<(UsageRecord, Integer, Hash)>] UsageRecord data, response status code and response headers
172
+ def post_usage_records_with_http_info(subscription_id, subscription_item_id, create_usage_record, options = {})
173
+ opts = options.dup
174
+ if @api_client.config.debugging
175
+ @api_client.config.logger.debug 'Calling API: AppStoreApi.post_usage_records ...'
176
+ end
177
+ # verify the required parameter 'subscription_id' is set
178
+ if @api_client.config.client_side_validation && subscription_id.nil?
179
+ fail ArgumentError, "Missing the required parameter 'subscription_id' when calling AppStoreApi.post_usage_records"
180
+ end
181
+ # verify the required parameter 'subscription_item_id' is set
182
+ if @api_client.config.client_side_validation && subscription_item_id.nil?
183
+ fail ArgumentError, "Missing the required parameter 'subscription_item_id' when calling AppStoreApi.post_usage_records"
184
+ end
185
+ # verify the required parameter 'create_usage_record' is set
186
+ if @api_client.config.client_side_validation && create_usage_record.nil?
187
+ fail ArgumentError, "Missing the required parameter 'create_usage_record' when calling AppStoreApi.post_usage_records"
188
+ end
189
+ # resource path
190
+ local_var_path = '/subscriptions/{subscriptionId}/items/{subscriptionItemId}/usage-records'.sub('{' + 'subscriptionId' + '}', subscription_id.to_s).sub('{' + 'subscriptionItemId' + '}', subscription_item_id.to_s)
191
+
192
+ # camelize keys of incoming `where` opts
193
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
194
+
195
+ # query parameters
196
+ query_params = opts[:query_params] || {}
197
+
198
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
199
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
200
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
201
+
202
+ # header parameters
203
+ header_params = opts[:header_params] || {}
204
+ # HTTP header 'Accept' (if needed)
205
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
206
+ # HTTP header 'Content-Type'
207
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
208
+
209
+ # form parameters
210
+ form_params = opts[:form_params] || {}
211
+
212
+ # http body (model)
213
+ post_body = opts[:body] || @api_client.object_to_http_body(create_usage_record)
214
+
215
+ # return_type
216
+ return_type = opts[:return_type] || 'UsageRecord'
217
+
218
+ # auth_names
219
+ auth_names = opts[:auth_names] || ['OAuth2']
220
+
221
+ new_options = opts.merge(
222
+ :header_params => header_params,
223
+ :query_params => query_params,
224
+ :form_params => form_params,
225
+ :body => post_body,
226
+ :auth_names => auth_names,
227
+ :return_type => return_type
228
+ )
229
+
230
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, "AppStoreApi", new_options)
231
+ if @api_client.config.debugging
232
+ @api_client.config.logger.debug "API called: AppStoreApi#post_usage_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
233
+ end
234
+ return data, status_code, headers
235
+ end
236
+
237
+ # Update and existing metered usage belonging to this subscription and subscription item
238
+ # @param subscription_id [String] Unique identifier for Subscription object
239
+ # @param subscription_item_id [String] The unique identifier of the subscriptionItem
240
+ # @param usage_record_id [String] The unique identifier of the usage record
241
+ # @param update_usage_record [UpdateUsageRecord] Contains the quantity for the usage record to update
242
+ # @param [Hash] opts the optional parameters
243
+ # @return [UsageRecord]
244
+ def put_usage_records(subscription_id, subscription_item_id, usage_record_id, update_usage_record, opts = {})
245
+ data, _status_code, _headers = put_usage_records_with_http_info(subscription_id, subscription_item_id, usage_record_id, update_usage_record, opts)
246
+ data
247
+ end
248
+
249
+ # Update and existing metered usage belonging to this subscription and subscription item
250
+ # @param subscription_id [String] Unique identifier for Subscription object
251
+ # @param subscription_item_id [String] The unique identifier of the subscriptionItem
252
+ # @param usage_record_id [String] The unique identifier of the usage record
253
+ # @param update_usage_record [UpdateUsageRecord] Contains the quantity for the usage record to update
254
+ # @param [Hash] opts the optional parameters
255
+ # @return [Array<(UsageRecord, Integer, Hash)>] UsageRecord data, response status code and response headers
256
+ def put_usage_records_with_http_info(subscription_id, subscription_item_id, usage_record_id, update_usage_record, options = {})
257
+ opts = options.dup
258
+ if @api_client.config.debugging
259
+ @api_client.config.logger.debug 'Calling API: AppStoreApi.put_usage_records ...'
260
+ end
261
+ # verify the required parameter 'subscription_id' is set
262
+ if @api_client.config.client_side_validation && subscription_id.nil?
263
+ fail ArgumentError, "Missing the required parameter 'subscription_id' when calling AppStoreApi.put_usage_records"
264
+ end
265
+ # verify the required parameter 'subscription_item_id' is set
266
+ if @api_client.config.client_side_validation && subscription_item_id.nil?
267
+ fail ArgumentError, "Missing the required parameter 'subscription_item_id' when calling AppStoreApi.put_usage_records"
268
+ end
269
+ # verify the required parameter 'usage_record_id' is set
270
+ if @api_client.config.client_side_validation && usage_record_id.nil?
271
+ fail ArgumentError, "Missing the required parameter 'usage_record_id' when calling AppStoreApi.put_usage_records"
272
+ end
273
+ # verify the required parameter 'update_usage_record' is set
274
+ if @api_client.config.client_side_validation && update_usage_record.nil?
275
+ fail ArgumentError, "Missing the required parameter 'update_usage_record' when calling AppStoreApi.put_usage_records"
276
+ end
277
+ # resource path
278
+ local_var_path = '/subscriptions/{subscriptionId}/items/{subscriptionItemId}/usage-records/{usageRecordId}'.sub('{' + 'subscriptionId' + '}', subscription_id.to_s).sub('{' + 'subscriptionItemId' + '}', subscription_item_id.to_s).sub('{' + 'usageRecordId' + '}', usage_record_id.to_s)
279
+
280
+ # camelize keys of incoming `where` opts
281
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
282
+
283
+ # query parameters
284
+ query_params = opts[:query_params] || {}
285
+
286
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
287
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
288
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
289
+
290
+ # header parameters
291
+ header_params = opts[:header_params] || {}
292
+ # HTTP header 'Accept' (if needed)
293
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
294
+ # HTTP header 'Content-Type'
295
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
296
+
297
+ # form parameters
298
+ form_params = opts[:form_params] || {}
299
+
300
+ # http body (model)
301
+ post_body = opts[:body] || @api_client.object_to_http_body(update_usage_record)
302
+
303
+ # return_type
304
+ return_type = opts[:return_type] || 'UsageRecord'
305
+
306
+ # auth_names
307
+ auth_names = opts[:auth_names] || ['OAuth2']
308
+
309
+ new_options = opts.merge(
310
+ :header_params => header_params,
311
+ :query_params => query_params,
312
+ :form_params => form_params,
313
+ :body => post_body,
314
+ :auth_names => auth_names,
315
+ :return_type => return_type
316
+ )
317
+
318
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "AppStoreApi", new_options)
319
+ if @api_client.config.debugging
320
+ @api_client.config.logger.debug "API called: AppStoreApi#put_usage_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
321
+ end
322
+ return data, status_code, headers
323
+ end
86
324
  end
87
325
  end
@@ -46,7 +46,7 @@ module XeroRuby::Accounting
46
46
 
47
47
  attr_accessor :item
48
48
 
49
- # If you wish to omit either of the <Quantity> or <UnitAmount> you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 DiscountRate)/100)
49
+ # If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount
50
50
  attr_accessor :line_amount
51
51
 
52
52
  # Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 <TrackingCategory> elements.
@@ -55,7 +55,7 @@ module XeroRuby::Accounting
55
55
  # Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts
56
56
  attr_accessor :discount_rate
57
57
 
58
- # Discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts.
58
+ # Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.
59
59
  attr_accessor :discount_amount
60
60
 
61
61
  # The Xero identifier for a Repeating Invoice
@@ -14,115 +14,147 @@ require 'date'
14
14
 
15
15
  module XeroRuby::Accounting
16
16
  class TimeZone
17
- MOROCCOSTANDARDTIME ||= "MOROCCOSTANDARDTIME".freeze
18
- UTC ||= "UTC".freeze
19
- GMTSTANDARDTIME ||= "GMTSTANDARDTIME".freeze
20
- GREENWICHSTANDARDTIME ||= "GREENWICHSTANDARDTIME".freeze
21
- WEUROPESTANDARDTIME ||= "WEUROPESTANDARDTIME".freeze
22
- CENTRALEUROPESTANDARDTIME ||= "CENTRALEUROPESTANDARDTIME".freeze
23
- ROMANCESTANDARDTIME ||= "ROMANCESTANDARDTIME".freeze
24
- CENTRALEUROPEANSTANDARDTIME ||= "CENTRALEUROPEANSTANDARDTIME".freeze
25
- WCENTRALAFRICASTANDARDTIME ||= "WCENTRALAFRICASTANDARDTIME".freeze
26
- NAMIBIASTANDARDTIME ||= "NAMIBIASTANDARDTIME".freeze
27
- JORDANSTANDARDTIME ||= "JORDANSTANDARDTIME".freeze
28
- GTBSTANDARDTIME ||= "GTBSTANDARDTIME".freeze
29
- MIDDLEEASTSTANDARDTIME ||= "MIDDLEEASTSTANDARDTIME".freeze
30
- EGYPTSTANDARDTIME ||= "EGYPTSTANDARDTIME".freeze
31
- SYRIASTANDARDTIME ||= "SYRIASTANDARDTIME".freeze
32
- EEUROPESTANDARDTIME ||= "EEUROPESTANDARDTIME".freeze
33
- SOUTHAFRICASTANDARDTIME ||= "SOUTHAFRICASTANDARDTIME".freeze
34
- FLESTANDARDTIME ||= "FLESTANDARDTIME".freeze
35
- TURKEYSTANDARDTIME ||= "TURKEYSTANDARDTIME".freeze
36
- ISRAELSTANDARDTIME ||= "ISRAELSTANDARDTIME".freeze
37
- KALININGRADSTANDARDTIME ||= "KALININGRADSTANDARDTIME".freeze
38
- LIBYASTANDARDTIME ||= "LIBYASTANDARDTIME".freeze
17
+ AFGHANISTANSTANDARDTIME ||= "AFGHANISTANSTANDARDTIME".freeze
18
+ ALASKANSTANDARDTIME ||= "ALASKANSTANDARDTIME".freeze
19
+ ALEUTIANSTANDARDTIME ||= "ALEUTIANSTANDARDTIME".freeze
20
+ ALTAISTANDARDTIME ||= "ALTAISTANDARDTIME".freeze
21
+ ARABIANSTANDARDTIME ||= "ARABIANSTANDARDTIME".freeze
39
22
  ARABICSTANDARDTIME ||= "ARABICSTANDARDTIME".freeze
40
23
  ARABSTANDARDTIME ||= "ARABSTANDARDTIME".freeze
41
- BELARUSSTANDARDTIME ||= "BELARUSSTANDARDTIME".freeze
42
- RUSSIANSTANDARDTIME ||= "RUSSIANSTANDARDTIME".freeze
43
- EAFRICASTANDARDTIME ||= "EAFRICASTANDARDTIME".freeze
44
- IRANSTANDARDTIME ||= "IRANSTANDARDTIME".freeze
45
- ARABIANSTANDARDTIME ||= "ARABIANSTANDARDTIME".freeze
24
+ ARGENTINASTANDARDTIME ||= "ARGENTINASTANDARDTIME".freeze
25
+ ASTRAKHANSTANDARDTIME ||= "ASTRAKHANSTANDARDTIME".freeze
26
+ ATLANTICSTANDARDTIME ||= "ATLANTICSTANDARDTIME".freeze
27
+ AUSCENTRALSTANDARDTIME ||= "AUSCENTRALSTANDARDTIME".freeze
28
+ AUSCENTRALWSTANDARDTIME ||= "AUSCENTRALWSTANDARDTIME".freeze
29
+ AUSEASTERNSTANDARDTIME ||= "AUSEASTERNSTANDARDTIME".freeze
46
30
  AZERBAIJANSTANDARDTIME ||= "AZERBAIJANSTANDARDTIME".freeze
47
- RUSSIATIMEZONE3 ||= "RUSSIATIMEZONE3".freeze
48
- MAURITIUSSTANDARDTIME ||= "MAURITIUSSTANDARDTIME".freeze
49
- GEORGIANSTANDARDTIME ||= "GEORGIANSTANDARDTIME".freeze
31
+ AZORESSTANDARDTIME ||= "AZORESSTANDARDTIME".freeze
32
+ BAHIASTANDARDTIME ||= "BAHIASTANDARDTIME".freeze
33
+ BANGLADESHSTANDARDTIME ||= "BANGLADESHSTANDARDTIME".freeze
34
+ BELARUSSTANDARDTIME ||= "BELARUSSTANDARDTIME".freeze
35
+ BOUGAINVILLESTANDARDTIME ||= "BOUGAINVILLESTANDARDTIME".freeze
36
+ CANADACENTRALSTANDARDTIME ||= "CANADACENTRALSTANDARDTIME".freeze
37
+ CAPEVERDESTANDARDTIME ||= "CAPEVERDESTANDARDTIME".freeze
50
38
  CAUCASUSSTANDARDTIME ||= "CAUCASUSSTANDARDTIME".freeze
51
- AFGHANISTANSTANDARDTIME ||= "AFGHANISTANSTANDARDTIME".freeze
52
- WESTASIASTANDARDTIME ||= "WESTASIASTANDARDTIME".freeze
53
- EKATERINBURGSTANDARDTIME ||= "EKATERINBURGSTANDARDTIME".freeze
54
- PAKISTANSTANDARDTIME ||= "PAKISTANSTANDARDTIME".freeze
55
- INDIASTANDARDTIME ||= "INDIASTANDARDTIME".freeze
56
- SRILANKASTANDARDTIME ||= "SRILANKASTANDARDTIME".freeze
57
- NEPALSTANDARDTIME ||= "NEPALSTANDARDTIME".freeze
39
+ CENAUSTRALIASTANDARDTIME ||= "CENAUSTRALIASTANDARDTIME".freeze
40
+ CENTRALAMERICASTANDARDTIME ||= "CENTRALAMERICASTANDARDTIME".freeze
58
41
  CENTRALASIASTANDARDTIME ||= "CENTRALASIASTANDARDTIME".freeze
59
- BANGLADESHSTANDARDTIME ||= "BANGLADESHSTANDARDTIME".freeze
60
- NCENTRALASIASTANDARDTIME ||= "NCENTRALASIASTANDARDTIME".freeze
61
- MYANMARSTANDARDTIME ||= "MYANMARSTANDARDTIME".freeze
62
- SEASIASTANDARDTIME ||= "SEASIASTANDARDTIME".freeze
63
- NORTHASIASTANDARDTIME ||= "NORTHASIASTANDARDTIME".freeze
42
+ CENTRALBRAZILIANSTANDARDTIME ||= "CENTRALBRAZILIANSTANDARDTIME".freeze
43
+ CENTRALEUROPEANSTANDARDTIME ||= "CENTRALEUROPEANSTANDARDTIME".freeze
44
+ CENTRALEUROPESTANDARDTIME ||= "CENTRALEUROPESTANDARDTIME".freeze
45
+ CENTRALPACIFICSTANDARDTIME ||= "CENTRALPACIFICSTANDARDTIME".freeze
46
+ CENTRALSTANDARDTIME ||= "CENTRALSTANDARDTIME".freeze
47
+ CENTRALSTANDARDTIME_MEXICO ||= "CENTRALSTANDARDTIME(MEXICO)".freeze
48
+ CHATHAMISLANDSSTANDARDTIME ||= "CHATHAMISLANDSSTANDARDTIME".freeze
64
49
  CHINASTANDARDTIME ||= "CHINASTANDARDTIME".freeze
65
- NORTHASIAEASTSTANDARDTIME ||= "NORTHASIAEASTSTANDARDTIME".freeze
66
- SINGAPORESTANDARDTIME ||= "SINGAPORESTANDARDTIME".freeze
67
- WAUSTRALIASTANDARDTIME ||= "WAUSTRALIASTANDARDTIME".freeze
68
- TAIPEISTANDARDTIME ||= "TAIPEISTANDARDTIME".freeze
69
- ULAANBAATARSTANDARDTIME ||= "ULAANBAATARSTANDARDTIME".freeze
70
- TOKYOSTANDARDTIME ||= "TOKYOSTANDARDTIME".freeze
71
- KOREASTANDARDTIME ||= "KOREASTANDARDTIME".freeze
72
- YAKUTSKSTANDARDTIME ||= "YAKUTSKSTANDARDTIME".freeze
73
- CENAUSTRALIASTANDARDTIME ||= "CENAUSTRALIASTANDARDTIME".freeze
74
- AUSCENTRALSTANDARDTIME ||= "AUSCENTRALSTANDARDTIME".freeze
50
+ CUBASTANDARDTIME ||= "CUBASTANDARDTIME".freeze
51
+ DATELINESTANDARDTIME ||= "DATELINESTANDARDTIME".freeze
52
+ EAFRICASTANDARDTIME ||= "EAFRICASTANDARDTIME".freeze
53
+ EASTERISLANDSTANDARDTIME ||= "EASTERISLANDSTANDARDTIME".freeze
54
+ EASTERNSTANDARDTIME ||= "EASTERNSTANDARDTIME".freeze
55
+ EASTERNSTANDARDTIME_MEXICO ||= "EASTERNSTANDARDTIME(MEXICO)".freeze
75
56
  EAUSTRALIASTANDARDTIME ||= "EAUSTRALIASTANDARDTIME".freeze
76
- AUSEASTERNSTANDARDTIME ||= "AUSEASTERNSTANDARDTIME".freeze
77
- WESTPACIFICSTANDARDTIME ||= "WESTPACIFICSTANDARDTIME".freeze
78
- TASMANIASTANDARDTIME ||= "TASMANIASTANDARDTIME".freeze
79
- MAGADANSTANDARDTIME ||= "MAGADANSTANDARDTIME".freeze
80
- VLADIVOSTOKSTANDARDTIME ||= "VLADIVOSTOKSTANDARDTIME".freeze
81
- RUSSIATIMEZONE10 ||= "RUSSIATIMEZONE10".freeze
82
- CENTRALPACIFICSTANDARDTIME ||= "CENTRALPACIFICSTANDARDTIME".freeze
83
- RUSSIATIMEZONE11 ||= "RUSSIATIMEZONE11".freeze
84
- NEWZEALANDSTANDARDTIME ||= "NEWZEALANDSTANDARDTIME".freeze
85
- UTC12 ||= "UTC+12".freeze
86
- UTC13 ||= "UTC+13".freeze
57
+ EEUROPESTANDARDTIME ||= "EEUROPESTANDARDTIME".freeze
58
+ EGYPTSTANDARDTIME ||= "EGYPTSTANDARDTIME".freeze
59
+ EKATERINBURGSTANDARDTIME ||= "EKATERINBURGSTANDARDTIME".freeze
60
+ ESOUTHAMERICASTANDARDTIME ||= "ESOUTHAMERICASTANDARDTIME".freeze
87
61
  FIJISTANDARDTIME ||= "FIJISTANDARDTIME".freeze
62
+ FLESTANDARDTIME ||= "FLESTANDARDTIME".freeze
63
+ GEORGIANSTANDARDTIME ||= "GEORGIANSTANDARDTIME".freeze
64
+ GMTSTANDARDTIME ||= "GMTSTANDARDTIME".freeze
65
+ GREENLANDSTANDARDTIME ||= "GREENLANDSTANDARDTIME".freeze
66
+ GREENWICHSTANDARDTIME ||= "GREENWICHSTANDARDTIME".freeze
67
+ GTBSTANDARDTIME ||= "GTBSTANDARDTIME".freeze
68
+ HAITISTANDARDTIME ||= "HAITISTANDARDTIME".freeze
69
+ HAWAIIANSTANDARDTIME ||= "HAWAIIANSTANDARDTIME".freeze
70
+ INDIASTANDARDTIME ||= "INDIASTANDARDTIME".freeze
71
+ IRANSTANDARDTIME ||= "IRANSTANDARDTIME".freeze
72
+ ISRAELSTANDARDTIME ||= "ISRAELSTANDARDTIME".freeze
73
+ JORDANSTANDARDTIME ||= "JORDANSTANDARDTIME".freeze
74
+ KALININGRADSTANDARDTIME ||= "KALININGRADSTANDARDTIME".freeze
88
75
  KAMCHATKASTANDARDTIME ||= "KAMCHATKASTANDARDTIME".freeze
89
- TONGASTANDARDTIME ||= "TONGASTANDARDTIME".freeze
90
- SAMOASTANDARDTIME ||= "SAMOASTANDARDTIME".freeze
76
+ KOREASTANDARDTIME ||= "KOREASTANDARDTIME".freeze
77
+ LIBYASTANDARDTIME ||= "LIBYASTANDARDTIME".freeze
91
78
  LINEISLANDSSTANDARDTIME ||= "LINEISLANDSSTANDARDTIME".freeze
92
- AZORESSTANDARDTIME ||= "AZORESSTANDARDTIME".freeze
93
- CAPEVERDESTANDARDTIME ||= "CAPEVERDESTANDARDTIME".freeze
94
- UTC02 ||= "UTC02".freeze
79
+ LORDHOWESTANDARDTIME ||= "LORDHOWESTANDARDTIME".freeze
80
+ MAGADANSTANDARDTIME ||= "MAGADANSTANDARDTIME".freeze
81
+ MAGALLANESSTANDARDTIME ||= "MAGALLANESSTANDARDTIME".freeze
82
+ MARQUESASSTANDARDTIME ||= "MARQUESASSTANDARDTIME".freeze
83
+ MAURITIUSSTANDARDTIME ||= "MAURITIUSSTANDARDTIME".freeze
95
84
  MIDATLANTICSTANDARDTIME ||= "MIDATLANTICSTANDARDTIME".freeze
96
- ESOUTHAMERICASTANDARDTIME ||= "ESOUTHAMERICASTANDARDTIME".freeze
97
- ARGENTINASTANDARDTIME ||= "ARGENTINASTANDARDTIME".freeze
98
- SAEASTERNSTANDARDTIME ||= "SAEASTERNSTANDARDTIME".freeze
99
- GREENLANDSTANDARDTIME ||= "GREENLANDSTANDARDTIME".freeze
85
+ MIDDLEEASTSTANDARDTIME ||= "MIDDLEEASTSTANDARDTIME".freeze
100
86
  MONTEVIDEOSTANDARDTIME ||= "MONTEVIDEOSTANDARDTIME".freeze
101
- BAHIASTANDARDTIME ||= "BAHIASTANDARDTIME".freeze
87
+ MOROCCOSTANDARDTIME ||= "MOROCCOSTANDARDTIME".freeze
88
+ MOUNTAINSTANDARDTIME ||= "MOUNTAINSTANDARDTIME".freeze
89
+ MOUNTAINSTANDARDTIME_MEXICO ||= "MOUNTAINSTANDARDTIME(MEXICO)".freeze
90
+ MYANMARSTANDARDTIME ||= "MYANMARSTANDARDTIME".freeze
91
+ NAMIBIASTANDARDTIME ||= "NAMIBIASTANDARDTIME".freeze
92
+ NCENTRALASIASTANDARDTIME ||= "NCENTRALASIASTANDARDTIME".freeze
93
+ NEPALSTANDARDTIME ||= "NEPALSTANDARDTIME".freeze
102
94
  NEWFOUNDLANDSTANDARDTIME ||= "NEWFOUNDLANDSTANDARDTIME".freeze
103
- PARAGUAYSTANDARDTIME ||= "PARAGUAYSTANDARDTIME".freeze
104
- ATLANTICSTANDARDTIME ||= "ATLANTICSTANDARDTIME".freeze
105
- CENTRALBRAZILIANSTANDARDTIME ||= "CENTRALBRAZILIANSTANDARDTIME".freeze
106
- SAWESTERNSTANDARDTIME ||= "SAWESTERNSTANDARDTIME".freeze
95
+ NEWZEALANDSTANDARDTIME ||= "NEWZEALANDSTANDARDTIME".freeze
96
+ NORFOLKSTANDARDTIME ||= "NORFOLKSTANDARDTIME".freeze
97
+ NORTHASIAEASTSTANDARDTIME ||= "NORTHASIAEASTSTANDARDTIME".freeze
98
+ NORTHASIASTANDARDTIME ||= "NORTHASIASTANDARDTIME".freeze
99
+ NORTHKOREASTANDARDTIME ||= "NORTHKOREASTANDARDTIME".freeze
100
+ OMSKSTANDARDTIME ||= "OMSKSTANDARDTIME".freeze
107
101
  PACIFICSASTANDARDTIME ||= "PACIFICSASTANDARDTIME".freeze
108
- VENEZUELASTANDARDTIME ||= "VENEZUELASTANDARDTIME".freeze
102
+ PACIFICSTANDARDTIME ||= "PACIFICSTANDARDTIME".freeze
103
+ PACIFICSTANDARDTIME_MEXICO ||= "PACIFICSTANDARDTIME(MEXICO)".freeze
104
+ PAKISTANSTANDARDTIME ||= "PAKISTANSTANDARDTIME".freeze
105
+ PARAGUAYSTANDARDTIME ||= "PARAGUAYSTANDARDTIME".freeze
106
+ QYZYLORDASTANDARDTIME ||= "QYZYLORDASTANDARDTIME".freeze
107
+ ROMANCESTANDARDTIME ||= "ROMANCESTANDARDTIME".freeze
108
+ RUSSIANSTANDARDTIME ||= "RUSSIANSTANDARDTIME".freeze
109
+ RUSSIATIMEZONE10 ||= "RUSSIATIMEZONE10".freeze
110
+ RUSSIATIMEZONE11 ||= "RUSSIATIMEZONE11".freeze
111
+ RUSSIATIMEZONE3 ||= "RUSSIATIMEZONE3".freeze
112
+ SAEASTERNSTANDARDTIME ||= "SAEASTERNSTANDARDTIME".freeze
113
+ SAINTPIERRESTANDARDTIME ||= "SAINTPIERRESTANDARDTIME".freeze
114
+ SAKHALINSTANDARDTIME ||= "SAKHALINSTANDARDTIME".freeze
115
+ SAMOASTANDARDTIME ||= "SAMOASTANDARDTIME".freeze
116
+ SAOTOMESTANDARDTIME ||= "SAOTOMESTANDARDTIME".freeze
109
117
  SAPACIFICSTANDARDTIME ||= "SAPACIFICSTANDARDTIME".freeze
110
- EASTERNSTANDARDTIME ||= "EASTERNSTANDARDTIME".freeze
118
+ SARATOVSTANDARDTIME ||= "SARATOVSTANDARDTIME".freeze
119
+ SAWESTERNSTANDARDTIME ||= "SAWESTERNSTANDARDTIME".freeze
120
+ SEASIASTANDARDTIME ||= "SEASIASTANDARDTIME".freeze
121
+ SINGAPORESTANDARDTIME ||= "SINGAPORESTANDARDTIME".freeze
122
+ SOUTHAFRICASTANDARDTIME ||= "SOUTHAFRICASTANDARDTIME".freeze
123
+ SOUTHSUDANSTANDARDTIME ||= "SOUTHSUDANSTANDARDTIME".freeze
124
+ SRILANKASTANDARDTIME ||= "SRILANKASTANDARDTIME".freeze
125
+ SUDANSTANDARDTIME ||= "SUDANSTANDARDTIME".freeze
126
+ SYRIASTANDARDTIME ||= "SYRIASTANDARDTIME".freeze
127
+ TAIPEISTANDARDTIME ||= "TAIPEISTANDARDTIME".freeze
128
+ TASMANIASTANDARDTIME ||= "TASMANIASTANDARDTIME".freeze
129
+ TOCANTINSSTANDARDTIME ||= "TOCANTINSSTANDARDTIME".freeze
130
+ TOKYOSTANDARDTIME ||= "TOKYOSTANDARDTIME".freeze
131
+ TOMSKSTANDARDTIME ||= "TOMSKSTANDARDTIME".freeze
132
+ TONGASTANDARDTIME ||= "TONGASTANDARDTIME".freeze
133
+ TRANSBAIKALSTANDARDTIME ||= "TRANSBAIKALSTANDARDTIME".freeze
134
+ TURKEYSTANDARDTIME ||= "TURKEYSTANDARDTIME".freeze
135
+ TURKSANDCAICOSSTANDARDTIME ||= "TURKSANDCAICOSSTANDARDTIME".freeze
136
+ ULAANBAATARSTANDARDTIME ||= "ULAANBAATARSTANDARDTIME".freeze
111
137
  USEASTERNSTANDARDTIME ||= "USEASTERNSTANDARDTIME".freeze
112
- CENTRALAMERICASTANDARDTIME ||= "CENTRALAMERICASTANDARDTIME".freeze
113
- CENTRALSTANDARDTIME ||= "CENTRALSTANDARDTIME".freeze
114
- CENTRALSTANDARDTIME_MEXICO ||= "CENTRALSTANDARDTIME(MEXICO)".freeze
115
- CANADACENTRALSTANDARDTIME ||= "CANADACENTRALSTANDARDTIME".freeze
116
138
  USMOUNTAINSTANDARDTIME ||= "USMOUNTAINSTANDARDTIME".freeze
117
- MOUNTAINSTANDARDTIME_MEXICO ||= "MOUNTAINSTANDARDTIME(MEXICO)".freeze
118
- MOUNTAINSTANDARDTIME ||= "MOUNTAINSTANDARDTIME".freeze
119
- PACIFICSTANDARDTIME_MEXICO ||= "PACIFICSTANDARDTIME(MEXICO)".freeze
120
- PACIFICSTANDARDTIME ||= "PACIFICSTANDARDTIME".freeze
121
- ALASKANSTANDARDTIME ||= "ALASKANSTANDARDTIME".freeze
122
- HAWAIIANSTANDARDTIME ||= "HAWAIIANSTANDARDTIME".freeze
139
+ UTC ||= "UTC".freeze
140
+ UTC12 ||= "UTC+12".freeze
141
+ UTC13 ||= "UTC+13".freeze
142
+ UTC02 ||= "UTC02".freeze
143
+ UTC08 ||= "UTC08".freeze
144
+ UTC09 ||= "UTC09".freeze
123
145
  UTC11 ||= "UTC11".freeze
124
- DATELINESTANDARDTIME ||= "DATELINESTANDARDTIME".freeze
125
- EASTERISLANDSTANDARDTIME ||= "EASTERISLANDSTANDARDTIME".freeze
146
+ VENEZUELASTANDARDTIME ||= "VENEZUELASTANDARDTIME".freeze
147
+ VLADIVOSTOKSTANDARDTIME ||= "VLADIVOSTOKSTANDARDTIME".freeze
148
+ VOLGOGRADSTANDARDTIME ||= "VOLGOGRADSTANDARDTIME".freeze
149
+ WAUSTRALIASTANDARDTIME ||= "WAUSTRALIASTANDARDTIME".freeze
150
+ WCENTRALAFRICASTANDARDTIME ||= "WCENTRALAFRICASTANDARDTIME".freeze
151
+ WESTASIASTANDARDTIME ||= "WESTASIASTANDARDTIME".freeze
152
+ WESTBANKSTANDARDTIME ||= "WESTBANKSTANDARDTIME".freeze
153
+ WESTPACIFICSTANDARDTIME ||= "WESTPACIFICSTANDARDTIME".freeze
154
+ WEUROPESTANDARDTIME ||= "WEUROPESTANDARDTIME".freeze
155
+ WMONGOLIASTANDARDTIME ||= "WMONGOLIASTANDARDTIME".freeze
156
+ YAKUTSKSTANDARDTIME ||= "YAKUTSKSTANDARDTIME".freeze
157
+ YUKONSTANDARDTIME ||= "YUKONSTANDARDTIME".freeze
126
158
 
127
159
  # Builds the enum from string
128
160
  # @param [String] The enum value in the form of the string