fastly 6.0.0 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/docs/{BillingEstimateResponseAllOfLines.md → BillingEstimateLines.md} +2 -2
- data/docs/{BillingEstimateResponseAllOfLine.md → BillingEstimateLinesLineItems.md} +1 -1
- data/docs/BillingEstimateResponse.md +1 -1
- data/docs/{BillingResponseAllOf.md → BillingResponseItemItemsData.md} +1 -1
- data/docs/BillingResponseLineItem.md +1 -1
- data/docs/BillingStatus.md +1 -1
- data/docs/{BillingResponseLineItemAllOf.md → LineItemData.md} +2 -2
- data/docs/{BillingEstimateResponseAllOf.md → LineItemDataReadOnlyInvoiceId.md} +1 -2
- data/docs/LoggingGcs.md +1 -1
- data/docs/LoggingGcsAllOf.md +1 -1
- data/docs/LoggingGcsApi.md +4 -4
- data/docs/LoggingGcsResponse.md +1 -1
- data/docs/OriginInspectorHistoricalData.md +1 -1
- data/docs/SchemasUserResponseReadOnly.md +12 -0
- data/docs/TlsSubscriptionsApi.md +2 -2
- data/docs/{UserResponseAllOf.md → UserResponseReadOnly.md} +1 -1
- data/lib/fastly/api/logging_gcs_api.rb +4 -4
- data/lib/fastly/api/tls_subscriptions_api.rb +8 -8
- data/lib/fastly/models/{billing_response_all_of.rb → billing_estimate_lines.rb} +4 -4
- data/lib/fastly/models/{billing_estimate_response_all_of_line.rb → billing_estimate_lines_line_items.rb} +3 -3
- data/lib/fastly/models/billing_estimate_response.rb +9 -9
- data/lib/fastly/models/billing_response.rb +1 -1
- data/lib/fastly/models/{billing_estimate_response_all_of.rb → billing_response_item_items_data.rb} +11 -11
- data/lib/fastly/models/billing_response_line_item.rb +2 -2
- data/lib/fastly/models/billing_status.rb +2 -0
- data/lib/fastly/models/{billing_response_line_item_all_of.rb → line_item_data.rb} +4 -4
- data/lib/fastly/models/{billing_estimate_response_all_of_lines.rb → line_item_data_read_only_invoice_id.rb} +5 -14
- data/lib/fastly/models/logging_gcs.rb +2 -1
- data/lib/fastly/models/logging_gcs_all_of.rb +2 -1
- data/lib/fastly/models/logging_gcs_response.rb +2 -1
- data/lib/fastly/models/origin_inspector_historical_data.rb +5 -2
- data/lib/fastly/models/schemas_user_response.rb +5 -2
- data/lib/fastly/models/schemas_user_response_read_only.rb +235 -0
- data/lib/fastly/models/user.rb +3 -0
- data/lib/fastly/models/user_response.rb +4 -1
- data/lib/fastly/models/{user_response_all_of.rb → user_response_read_only.rb} +3 -3
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +7 -6
- data/sig.json +1 -1
- metadata +16 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ed23e22a5908659c700134494ecf48df386ff42c2909654c97f912809bf4d08
|
4
|
+
data.tar.gz: 199c167ebd4a4e65219c210d308ee867891ff9da0702f97da6ca92389d45d683
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cbcc514172260a8a921070e51e1cbdf42961ff4ca0083daf3e11f15e426347eb6f018e598fce28b3a47fea65f563935b72e72bcc2e42b0f7235b00b01a39602
|
7
|
+
data.tar.gz: 8b1dd194857d2d58eb56417e536c2fb684b0b2e01d6c1b3750097896d797cfc15e421fa5d556e6c72d41950711dead9d93392a3205391e9f58583b0c1c302923
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v6.0.2](https://github.com/fastly/fastly-ruby/releases/tag/release/v6.0.2) (2023-07-13)
|
4
|
+
|
5
|
+
**Bug fixes:**
|
6
|
+
|
7
|
+
- fix(logging_gcs): set expected default value for 'path'.
|
8
|
+
- fix(origin_inspector_historical): use correct type for 'values'.
|
9
|
+
- fix(tls_subscriptions): fix argument order for deleting globalsign email challenge.
|
10
|
+
|
11
|
+
## [v6.0.1](https://github.com/fastly/fastly-ruby/releases/tag/release/v6.0.1) (2023-07-12)
|
12
|
+
|
13
|
+
**Bug fixes:**
|
14
|
+
|
15
|
+
- fix(billing): rename response field 'lines' to 'line_items'.
|
16
|
+
- fix(billing): restructure response models like 'aria_invoice_id'.
|
17
|
+
- fix(billing): make 'sent_at', 'locked', 'require_new_password', 'two_factor_auth_enabled' nullable.
|
18
|
+
|
3
19
|
## [v6.0.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v6.0.0) (2023-07-06)
|
4
20
|
|
5
21
|
Substantial changes were made to the underlying OpenAPI specification that produces this API client. These changes have resulted in multiple new endpoints being supported as well as multiple breaking type changes and so we're publishing these changes as a new major release.
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::BillingEstimateLines
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **line_items** | [**Array<BillingEstimateLinesLineItems>**](BillingEstimateLinesLineItems.md) | | [optional] |
|
8
8
|
|
9
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
10
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
| **status** | [**BillingStatus**](BillingStatus.md) | | [optional] |
|
13
13
|
| **total** | [**BillingTotal**](BillingTotal.md) | | [optional] |
|
14
14
|
| **regions** | **Hash<String, Hash<String, Object>>** | Breakdown of regional data for products that are region based. | [optional] |
|
15
|
-
| **
|
15
|
+
| **line_items** | [**Array<BillingEstimateLinesLineItems>**](BillingEstimateLinesLineItems.md) | | [optional] |
|
16
16
|
|
17
17
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
18
18
|
|
@@ -8,7 +8,7 @@
|
|
8
8
|
| **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
9
9
|
| **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
10
10
|
| **amount** | **Float** | | [optional] |
|
11
|
-
| **aria_invoice_id** | **
|
11
|
+
| **aria_invoice_id** | [**LineItemDataReadOnlyInvoiceId**](LineItemDataReadOnlyInvoiceId.md) | | [optional] |
|
12
12
|
| **client_service_id** | **String** | | [optional] |
|
13
13
|
| **credit_coupon_code** | **String** | | [optional] |
|
14
14
|
| **description** | **String** | | [optional] |
|
data/docs/BillingStatus.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **status** | **String** | What the current status of this invoice can be. | [optional] |
|
8
|
-
| **sent_at** | **Time** |
|
8
|
+
| **sent_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
9
9
|
|
10
10
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
11
|
|
@@ -1,11 +1,11 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::LineItemData
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **amount** | **Float** | | [optional] |
|
8
|
-
| **aria_invoice_id** | **
|
8
|
+
| **aria_invoice_id** | [**LineItemDataReadOnlyInvoiceId**](LineItemDataReadOnlyInvoiceId.md) | | [optional] |
|
9
9
|
| **client_service_id** | **String** | | [optional] |
|
10
10
|
| **credit_coupon_code** | **String** | | [optional] |
|
11
11
|
| **description** | **String** | | [optional] |
|
@@ -1,10 +1,9 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::LineItemDataReadOnlyInvoiceId
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **lines** | [**Array<BillingEstimateResponseAllOfLines>**](BillingEstimateResponseAllOfLines.md) | | [optional] |
|
8
7
|
|
9
8
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
9
|
|
data/docs/LoggingGcs.md
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
| **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] |
|
19
19
|
| **account_name** | **String** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional] |
|
20
20
|
| **bucket_name** | **String** | The name of the GCS bucket. | [optional] |
|
21
|
-
| **path** | **String** |
|
21
|
+
| **path** | **String** | | [optional][default to '/'] |
|
22
22
|
| **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional][default to 'null'] |
|
23
23
|
| **project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] |
|
24
24
|
|
data/docs/LoggingGcsAllOf.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **bucket_name** | **String** | The name of the GCS bucket. | [optional] |
|
8
|
-
| **path** | **String** |
|
8
|
+
| **path** | **String** | | [optional][default to '/'] |
|
9
9
|
| **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional][default to 'null'] |
|
10
10
|
| **project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] |
|
11
11
|
|
data/docs/LoggingGcsApi.md
CHANGED
@@ -46,7 +46,7 @@ opts = {
|
|
46
46
|
secret_key: 'secret_key_example', # String | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
47
47
|
account_name: 'account_name_example', # String | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
|
48
48
|
bucket_name: 'bucket_name_example', # String | The name of the GCS bucket.
|
49
|
-
path: 'path_example', # String |
|
49
|
+
path: 'path_example', # String |
|
50
50
|
public_key: 'public_key_example', # String | A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
|
51
51
|
project_id: 'project_id_example', # String | Your Google Cloud Platform project ID. Required
|
52
52
|
}
|
@@ -80,7 +80,7 @@ end
|
|
80
80
|
| **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] |
|
81
81
|
| **account_name** | **String** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional] |
|
82
82
|
| **bucket_name** | **String** | The name of the GCS bucket. | [optional] |
|
83
|
-
| **path** | **String** |
|
83
|
+
| **path** | **String** | | [optional][default to '/'] |
|
84
84
|
| **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional][default to 'null'] |
|
85
85
|
| **project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] |
|
86
86
|
|
@@ -241,7 +241,7 @@ opts = {
|
|
241
241
|
secret_key: 'secret_key_example', # String | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
242
242
|
account_name: 'account_name_example', # String | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
|
243
243
|
bucket_name: 'bucket_name_example', # String | The name of the GCS bucket.
|
244
|
-
path: 'path_example', # String |
|
244
|
+
path: 'path_example', # String |
|
245
245
|
public_key: 'public_key_example', # String | A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
|
246
246
|
project_id: 'project_id_example', # String | Your Google Cloud Platform project ID. Required
|
247
247
|
}
|
@@ -276,7 +276,7 @@ end
|
|
276
276
|
| **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] |
|
277
277
|
| **account_name** | **String** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional] |
|
278
278
|
| **bucket_name** | **String** | The name of the GCS bucket. | [optional] |
|
279
|
-
| **path** | **String** |
|
279
|
+
| **path** | **String** | | [optional][default to '/'] |
|
280
280
|
| **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional][default to 'null'] |
|
281
281
|
| **project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] |
|
282
282
|
|
data/docs/LoggingGcsResponse.md
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
| **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] |
|
19
19
|
| **account_name** | **String** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional] |
|
20
20
|
| **bucket_name** | **String** | The name of the GCS bucket. | [optional] |
|
21
|
-
| **path** | **String** |
|
21
|
+
| **path** | **String** | | [optional][default to '/'] |
|
22
22
|
| **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional][default to 'null'] |
|
23
23
|
| **project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] |
|
24
24
|
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **dimensions** | [**OriginInspectorDimensions**](OriginInspectorDimensions.md) | | [optional] |
|
8
|
-
| **values** | [**
|
8
|
+
| **values** | [**Array<OriginInspectorValues>**](OriginInspectorValues.md) | An array of values representing the metric values at each point in time. Note that this dataset is sparse: only the keys with non-zero values will be included in the record. | [optional] |
|
9
9
|
|
10
10
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
11
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Fastly::SchemasUserResponseReadOnly
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **email_hash** | **String** | The alphanumeric string identifying a email login. | [optional][readonly] |
|
9
|
+
| **customer_id** | **String** | | [optional][readonly] |
|
10
|
+
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
|
+
|
data/docs/TlsSubscriptionsApi.md
CHANGED
@@ -113,8 +113,8 @@ Deletes a GlobalSign email challenge. After a GlobalSign email challenge is dele
|
|
113
113
|
api_instance = Fastly::TlsSubscriptionsApi.new
|
114
114
|
opts = {
|
115
115
|
tls_subscription_id: 'tls_subscription_id_example', # String | Alphanumeric string identifying a TLS subscription.
|
116
|
-
globalsign_email_challenge_id: 'gU3guUGZzb2W9Euo4Mo0r', # String | Alphanumeric string identifying a GlobalSign email challenge.
|
117
116
|
tls_authorization_id: 'tls_authorization_id_example', # String | Alphanumeric string identifying a TLS subscription.
|
117
|
+
globalsign_email_challenge_id: 'gU3guUGZzb2W9Euo4Mo0r', # String | Alphanumeric string identifying a GlobalSign email challenge.
|
118
118
|
}
|
119
119
|
|
120
120
|
begin
|
@@ -130,8 +130,8 @@ end
|
|
130
130
|
| Name | Type | Description | Notes |
|
131
131
|
| ---- | ---- | ----------- | ----- |
|
132
132
|
| **tls_subscription_id** | **String** | Alphanumeric string identifying a TLS subscription. | |
|
133
|
-
| **globalsign_email_challenge_id** | **String** | Alphanumeric string identifying a GlobalSign email challenge. | |
|
134
133
|
| **tls_authorization_id** | **String** | Alphanumeric string identifying a TLS subscription. | |
|
134
|
+
| **globalsign_email_challenge_id** | **String** | Alphanumeric string identifying a GlobalSign email challenge. | |
|
135
135
|
|
136
136
|
### Return type
|
137
137
|
|
@@ -35,7 +35,7 @@ module Fastly
|
|
35
35
|
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
36
36
|
# @option opts [String] :account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
|
37
37
|
# @option opts [String] :bucket_name The name of the GCS bucket.
|
38
|
-
# @option opts [String] :path
|
38
|
+
# @option opts [String] :path (default to '/')
|
39
39
|
# @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
|
40
40
|
# @option opts [String] :project_id Your Google Cloud Platform project ID. Required
|
41
41
|
# @return [LoggingGcsResponse]
|
@@ -62,7 +62,7 @@ module Fastly
|
|
62
62
|
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
63
63
|
# @option opts [String] :account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
|
64
64
|
# @option opts [String] :bucket_name The name of the GCS bucket.
|
65
|
-
# @option opts [String] :path
|
65
|
+
# @option opts [String] :path (default to '/')
|
66
66
|
# @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
|
67
67
|
# @option opts [String] :project_id Your Google Cloud Platform project ID. Required
|
68
68
|
# @return [Array<(LoggingGcsResponse, Integer, Hash)>] LoggingGcsResponse data, response status code and response headers
|
@@ -402,7 +402,7 @@ module Fastly
|
|
402
402
|
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
403
403
|
# @option opts [String] :account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
|
404
404
|
# @option opts [String] :bucket_name The name of the GCS bucket.
|
405
|
-
# @option opts [String] :path
|
405
|
+
# @option opts [String] :path (default to '/')
|
406
406
|
# @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
|
407
407
|
# @option opts [String] :project_id Your Google Cloud Platform project ID. Required
|
408
408
|
# @return [LoggingGcsResponse]
|
@@ -430,7 +430,7 @@ module Fastly
|
|
430
430
|
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
431
431
|
# @option opts [String] :account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
|
432
432
|
# @option opts [String] :bucket_name The name of the GCS bucket.
|
433
|
-
# @option opts [String] :path
|
433
|
+
# @option opts [String] :path (default to '/')
|
434
434
|
# @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
|
435
435
|
# @option opts [String] :project_id Your Google Cloud Platform project ID. Required
|
436
436
|
# @return [Array<(LoggingGcsResponse, Integer, Hash)>] LoggingGcsResponse data, response status code and response headers
|
@@ -163,8 +163,8 @@ module Fastly
|
|
163
163
|
# Delete a GlobalSign email challenge
|
164
164
|
# Deletes a GlobalSign email challenge. After a GlobalSign email challenge is deleted, the domain can use HTTP and DNS validation methods again.
|
165
165
|
# @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required)
|
166
|
-
# @option opts [String] :globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required)
|
167
166
|
# @option opts [String] :tls_authorization_id Alphanumeric string identifying a TLS subscription. (required)
|
167
|
+
# @option opts [String] :globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required)
|
168
168
|
# @return [nil]
|
169
169
|
def delete_globalsign_email_challenge(opts = {})
|
170
170
|
delete_globalsign_email_challenge_with_http_info(opts)
|
@@ -174,8 +174,8 @@ module Fastly
|
|
174
174
|
# Delete a GlobalSign email challenge
|
175
175
|
# Deletes a GlobalSign email challenge. After a GlobalSign email challenge is deleted, the domain can use HTTP and DNS validation methods again.
|
176
176
|
# @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required)
|
177
|
-
# @option opts [String] :globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required)
|
178
177
|
# @option opts [String] :tls_authorization_id Alphanumeric string identifying a TLS subscription. (required)
|
178
|
+
# @option opts [String] :globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required)
|
179
179
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
180
180
|
def delete_globalsign_email_challenge_with_http_info(opts = {})
|
181
181
|
if @api_client.config.debugging
|
@@ -183,22 +183,22 @@ module Fastly
|
|
183
183
|
end
|
184
184
|
# unbox the parameters from the hash
|
185
185
|
tls_subscription_id = opts[:'tls_subscription_id']
|
186
|
-
globalsign_email_challenge_id = opts[:'globalsign_email_challenge_id']
|
187
186
|
tls_authorization_id = opts[:'tls_authorization_id']
|
187
|
+
globalsign_email_challenge_id = opts[:'globalsign_email_challenge_id']
|
188
188
|
# verify the required parameter 'tls_subscription_id' is set
|
189
189
|
if @api_client.config.client_side_validation && tls_subscription_id.nil?
|
190
190
|
fail ArgumentError, "Missing the required parameter 'tls_subscription_id' when calling TlsSubscriptionsApi.delete_globalsign_email_challenge"
|
191
191
|
end
|
192
|
-
# verify the required parameter 'globalsign_email_challenge_id' is set
|
193
|
-
if @api_client.config.client_side_validation && globalsign_email_challenge_id.nil?
|
194
|
-
fail ArgumentError, "Missing the required parameter 'globalsign_email_challenge_id' when calling TlsSubscriptionsApi.delete_globalsign_email_challenge"
|
195
|
-
end
|
196
192
|
# verify the required parameter 'tls_authorization_id' is set
|
197
193
|
if @api_client.config.client_side_validation && tls_authorization_id.nil?
|
198
194
|
fail ArgumentError, "Missing the required parameter 'tls_authorization_id' when calling TlsSubscriptionsApi.delete_globalsign_email_challenge"
|
199
195
|
end
|
196
|
+
# verify the required parameter 'globalsign_email_challenge_id' is set
|
197
|
+
if @api_client.config.client_side_validation && globalsign_email_challenge_id.nil?
|
198
|
+
fail ArgumentError, "Missing the required parameter 'globalsign_email_challenge_id' when calling TlsSubscriptionsApi.delete_globalsign_email_challenge"
|
199
|
+
end
|
200
200
|
# resource path
|
201
|
-
local_var_path = '/tls/subscriptions/{tls_subscription_id}/authorizations/{tls_authorization_id}/globalsign_email_challenges/{globalsign_email_challenge_id}'.sub('{' + 'tls_subscription_id' + '}', CGI.escape(tls_subscription_id.to_s)).sub('{' + '
|
201
|
+
local_var_path = '/tls/subscriptions/{tls_subscription_id}/authorizations/{tls_authorization_id}/globalsign_email_challenges/{globalsign_email_challenge_id}'.sub('{' + 'tls_subscription_id' + '}', CGI.escape(tls_subscription_id.to_s)).sub('{' + 'tls_authorization_id' + '}', CGI.escape(tls_authorization_id.to_s)).sub('{' + 'globalsign_email_challenge_id' + '}', CGI.escape(globalsign_email_challenge_id.to_s))
|
202
202
|
|
203
203
|
# query parameters
|
204
204
|
query_params = opts[:query_params] || {}
|
@@ -12,7 +12,7 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
class
|
15
|
+
class BillingEstimateLines
|
16
16
|
attr_accessor :line_items
|
17
17
|
|
18
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -30,7 +30,7 @@ module Fastly
|
|
30
30
|
# Attribute type mapping.
|
31
31
|
def self.fastly_types
|
32
32
|
{
|
33
|
-
:'line_items' => :'Array<
|
33
|
+
:'line_items' => :'Array<BillingEstimateLinesLineItems>'
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
@@ -44,13 +44,13 @@ module Fastly
|
|
44
44
|
# @param [Hash] attributes Model attributes in the form of hash
|
45
45
|
def initialize(attributes = {})
|
46
46
|
if (!attributes.is_a?(Hash))
|
47
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
47
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::BillingEstimateLines` initialize method"
|
48
48
|
end
|
49
49
|
|
50
50
|
# check to see if the attribute exists and convert string to symbol for hash key
|
51
51
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
52
52
|
if (!self.class.attribute_map.key?(k.to_sym))
|
53
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
53
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::BillingEstimateLines`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
54
54
|
end
|
55
55
|
h[k.to_sym] = v
|
56
56
|
}
|
@@ -12,7 +12,7 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
class
|
15
|
+
class BillingEstimateLinesLineItems
|
16
16
|
attr_accessor :plan_no
|
17
17
|
|
18
18
|
attr_accessor :description
|
@@ -76,13 +76,13 @@ module Fastly
|
|
76
76
|
# @param [Hash] attributes Model attributes in the form of hash
|
77
77
|
def initialize(attributes = {})
|
78
78
|
if (!attributes.is_a?(Hash))
|
79
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
79
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::BillingEstimateLinesLineItems` initialize method"
|
80
80
|
end
|
81
81
|
|
82
82
|
# check to see if the attribute exists and convert string to symbol for hash key
|
83
83
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
84
84
|
if (!self.class.attribute_map.key?(k.to_sym))
|
85
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
85
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::BillingEstimateLinesLineItems`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
86
86
|
end
|
87
87
|
h[k.to_sym] = v
|
88
88
|
}
|
@@ -33,7 +33,7 @@ module Fastly
|
|
33
33
|
# Breakdown of regional data for products that are region based.
|
34
34
|
attr_accessor :regions
|
35
35
|
|
36
|
-
attr_accessor :
|
36
|
+
attr_accessor :line_items
|
37
37
|
|
38
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
39
|
def self.attribute_map
|
@@ -46,7 +46,7 @@ module Fastly
|
|
46
46
|
:'status' => :'status',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'regions' => :'regions',
|
49
|
-
:'
|
49
|
+
:'line_items' => :'line_items'
|
50
50
|
}
|
51
51
|
end
|
52
52
|
|
@@ -66,7 +66,7 @@ module Fastly
|
|
66
66
|
:'status' => :'BillingStatus',
|
67
67
|
:'total' => :'BillingTotal',
|
68
68
|
:'regions' => :'Hash<String, Hash<String, Object>>',
|
69
|
-
:'
|
69
|
+
:'line_items' => :'Array<BillingEstimateLinesLineItems>'
|
70
70
|
}
|
71
71
|
end
|
72
72
|
|
@@ -82,7 +82,7 @@ module Fastly
|
|
82
82
|
def self.fastly_all_of
|
83
83
|
[
|
84
84
|
:'Billing',
|
85
|
-
:'
|
85
|
+
:'BillingEstimateLines'
|
86
86
|
]
|
87
87
|
end
|
88
88
|
|
@@ -135,9 +135,9 @@ module Fastly
|
|
135
135
|
end
|
136
136
|
end
|
137
137
|
|
138
|
-
if attributes.key?(:'
|
139
|
-
if (value = attributes[:'
|
140
|
-
self.
|
138
|
+
if attributes.key?(:'line_items')
|
139
|
+
if (value = attributes[:'line_items']).is_a?(Array)
|
140
|
+
self.line_items = value
|
141
141
|
end
|
142
142
|
end
|
143
143
|
end
|
@@ -168,7 +168,7 @@ module Fastly
|
|
168
168
|
status == o.status &&
|
169
169
|
total == o.total &&
|
170
170
|
regions == o.regions &&
|
171
|
-
|
171
|
+
line_items == o.line_items
|
172
172
|
end
|
173
173
|
|
174
174
|
# @see the `==` method
|
@@ -180,7 +180,7 @@ module Fastly
|
|
180
180
|
# Calculates hash code according to all attributes.
|
181
181
|
# @return [Integer] Hash code
|
182
182
|
def hash
|
183
|
-
[end_time, start_time, invoice_id, customer_id, vendor_state, status, total, regions,
|
183
|
+
[end_time, start_time, invoice_id, customer_id, vendor_state, status, total, regions, line_items].hash
|
184
184
|
end
|
185
185
|
|
186
186
|
# Builds the object from hash
|
data/lib/fastly/models/{billing_estimate_response_all_of.rb → billing_response_item_items_data.rb}
RENAMED
@@ -12,13 +12,13 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
class
|
16
|
-
attr_accessor :
|
15
|
+
class BillingResponseItemItemsData
|
16
|
+
attr_accessor :line_items
|
17
17
|
|
18
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
19
19
|
def self.attribute_map
|
20
20
|
{
|
21
|
-
:'
|
21
|
+
:'line_items' => :'line_items'
|
22
22
|
}
|
23
23
|
end
|
24
24
|
|
@@ -30,7 +30,7 @@ module Fastly
|
|
30
30
|
# Attribute type mapping.
|
31
31
|
def self.fastly_types
|
32
32
|
{
|
33
|
-
:'
|
33
|
+
:'line_items' => :'Array<BillingResponseLineItem>'
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
@@ -44,20 +44,20 @@ module Fastly
|
|
44
44
|
# @param [Hash] attributes Model attributes in the form of hash
|
45
45
|
def initialize(attributes = {})
|
46
46
|
if (!attributes.is_a?(Hash))
|
47
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
47
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::BillingResponseItemItemsData` initialize method"
|
48
48
|
end
|
49
49
|
|
50
50
|
# check to see if the attribute exists and convert string to symbol for hash key
|
51
51
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
52
52
|
if (!self.class.attribute_map.key?(k.to_sym))
|
53
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
53
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::BillingResponseItemItemsData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
54
54
|
end
|
55
55
|
h[k.to_sym] = v
|
56
56
|
}
|
57
57
|
|
58
|
-
if attributes.key?(:'
|
59
|
-
if (value = attributes[:'
|
60
|
-
self.
|
58
|
+
if attributes.key?(:'line_items')
|
59
|
+
if (value = attributes[:'line_items']).is_a?(Array)
|
60
|
+
self.line_items = value
|
61
61
|
end
|
62
62
|
end
|
63
63
|
end
|
@@ -80,7 +80,7 @@ module Fastly
|
|
80
80
|
def ==(o)
|
81
81
|
return true if self.equal?(o)
|
82
82
|
self.class == o.class &&
|
83
|
-
|
83
|
+
line_items == o.line_items
|
84
84
|
end
|
85
85
|
|
86
86
|
# @see the `==` method
|
@@ -92,7 +92,7 @@ module Fastly
|
|
92
92
|
# Calculates hash code according to all attributes.
|
93
93
|
# @return [Integer] Hash code
|
94
94
|
def hash
|
95
|
-
[
|
95
|
+
[line_items].hash
|
96
96
|
end
|
97
97
|
|
98
98
|
# Builds the object from hash
|
@@ -94,7 +94,7 @@ module Fastly
|
|
94
94
|
:'deleted_at' => :'Time',
|
95
95
|
:'updated_at' => :'Time',
|
96
96
|
:'amount' => :'Float',
|
97
|
-
:'aria_invoice_id' => :'
|
97
|
+
:'aria_invoice_id' => :'LineItemDataReadOnlyInvoiceId',
|
98
98
|
:'client_service_id' => :'String',
|
99
99
|
:'credit_coupon_code' => :'String',
|
100
100
|
:'description' => :'String',
|
@@ -130,7 +130,7 @@ module Fastly
|
|
130
130
|
# List of class defined in allOf (OpenAPI v3)
|
131
131
|
def self.fastly_all_of
|
132
132
|
[
|
133
|
-
:'
|
133
|
+
:'LineItemData',
|
134
134
|
:'Timestamps'
|
135
135
|
]
|
136
136
|
end
|
@@ -16,6 +16,7 @@ module Fastly
|
|
16
16
|
# What the current status of this invoice can be.
|
17
17
|
attr_accessor :status
|
18
18
|
|
19
|
+
# Date and time in ISO 8601 format.
|
19
20
|
attr_accessor :sent_at
|
20
21
|
|
21
22
|
class EnumAttributeValidator
|
@@ -64,6 +65,7 @@ module Fastly
|
|
64
65
|
# List of attributes with nullable: true
|
65
66
|
def self.fastly_nullable
|
66
67
|
Set.new([
|
68
|
+
:'sent_at'
|
67
69
|
])
|
68
70
|
end
|
69
71
|
|
@@ -12,7 +12,7 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
class
|
15
|
+
class LineItemData
|
16
16
|
attr_accessor :amount
|
17
17
|
|
18
18
|
attr_accessor :aria_invoice_id
|
@@ -79,7 +79,7 @@ module Fastly
|
|
79
79
|
def self.fastly_types
|
80
80
|
{
|
81
81
|
:'amount' => :'Float',
|
82
|
-
:'aria_invoice_id' => :'
|
82
|
+
:'aria_invoice_id' => :'LineItemDataReadOnlyInvoiceId',
|
83
83
|
:'client_service_id' => :'String',
|
84
84
|
:'credit_coupon_code' => :'String',
|
85
85
|
:'description' => :'String',
|
@@ -113,13 +113,13 @@ module Fastly
|
|
113
113
|
# @param [Hash] attributes Model attributes in the form of hash
|
114
114
|
def initialize(attributes = {})
|
115
115
|
if (!attributes.is_a?(Hash))
|
116
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
116
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::LineItemData` initialize method"
|
117
117
|
end
|
118
118
|
|
119
119
|
# check to see if the attribute exists and convert string to symbol for hash key
|
120
120
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
121
121
|
if (!self.class.attribute_map.key?(k.to_sym))
|
122
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
122
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::LineItemData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
123
123
|
end
|
124
124
|
h[k.to_sym] = v
|
125
125
|
}
|