fastly 5.2.2 → 5.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +4 -3
  5. data/docs/AutomationTokenCreateResponse.md +3 -3
  6. data/docs/AutomationTokenCreateResponseAllOf.md +3 -3
  7. data/docs/AutomationTokenResponse.md +2 -2
  8. data/docs/AutomationTokenResponseAllOf.md +2 -2
  9. data/docs/AutomationTokensApi.md +4 -3
  10. data/docs/Batch.md +12 -0
  11. data/docs/BatchErrors.md +13 -0
  12. data/docs/ErrorResponse.md +13 -0
  13. data/docs/HistoricalFieldResultsAttributes.md +1 -1
  14. data/docs/HistoricalFieldResultsAttributesAllOf.md +1 -1
  15. data/docs/RateLimiter.md +1 -1
  16. data/docs/RateLimiterApi.md +122 -0
  17. data/docs/RateLimiterResponse.md +1 -1
  18. data/docs/ReadOnlyCustomerId.md +9 -0
  19. data/docs/ReadOnlyId.md +9 -0
  20. data/docs/ReadOnlyIdService.md +9 -0
  21. data/docs/ReadOnlyUserId.md +9 -0
  22. data/docs/SchemasSnippetResponse.md +1 -1
  23. data/docs/Snippet.md +1 -1
  24. data/docs/SnippetApi.md +4 -4
  25. data/docs/SnippetResponse.md +1 -1
  26. data/docs/TokensAdditionalProps.md +9 -0
  27. data/docs/ValidatorResult.md +1 -5
  28. data/docs/ValidatorResultData.md +12 -0
  29. data/docs/ValidatorResultDataAttributes.md +14 -0
  30. data/docs/{ValidatorResultMessages.md → ValidatorResultDataAttributesMessages.md} +2 -2
  31. data/docs/VclApi.md +8 -6
  32. data/docs/VclSyntaxHighlightingResponse.md +10 -0
  33. data/lib/fastly/api/automation_tokens_api.rb +5 -5
  34. data/lib/fastly/api/rate_limiter_api.rb +345 -0
  35. data/lib/fastly/api/snippet_api.rb +6 -6
  36. data/lib/fastly/api/vcl_api.rb +10 -10
  37. data/lib/fastly/configuration.rb +12 -0
  38. data/lib/fastly/models/automation_token_create_request_attributes.rb +0 -1
  39. data/lib/fastly/models/automation_token_create_response.rb +3 -6
  40. data/lib/fastly/models/automation_token_create_response_all_of.rb +3 -6
  41. data/lib/fastly/models/automation_token_response.rb +2 -4
  42. data/lib/fastly/models/automation_token_response_all_of.rb +2 -4
  43. data/lib/fastly/models/batch.rb +239 -0
  44. data/lib/fastly/models/batch_errors.rb +247 -0
  45. data/lib/fastly/models/error_response.rb +245 -0
  46. data/lib/fastly/models/historical_field_results_attributes.rb +1 -2
  47. data/lib/fastly/models/historical_field_results_attributes_all_of.rb +1 -2
  48. data/lib/fastly/models/rate_limiter.rb +5 -2
  49. data/lib/fastly/models/rate_limiter_response.rb +5 -2
  50. data/lib/fastly/models/read_only_customer_id.rb +207 -0
  51. data/lib/fastly/models/read_only_id.rb +207 -0
  52. data/lib/fastly/models/read_only_id_service.rb +207 -0
  53. data/lib/fastly/models/read_only_user_id.rb +207 -0
  54. data/lib/fastly/models/schemas_snippet_response.rb +3 -3
  55. data/lib/fastly/models/snippet.rb +3 -3
  56. data/lib/fastly/models/snippet_response.rb +3 -3
  57. data/lib/fastly/models/tokens_additional_props.rb +227 -0
  58. data/lib/fastly/models/validator_result.rb +7 -84
  59. data/lib/fastly/models/validator_result_data.rb +234 -0
  60. data/lib/fastly/models/{rate_limiter_response1.rb → validator_result_data_attributes.rb} +71 -70
  61. data/lib/fastly/models/{validator_result_messages.rb → validator_result_data_attributes_messages.rb} +4 -4
  62. data/lib/fastly/models/vcl_syntax_highlighting_response.rb +217 -0
  63. data/lib/fastly/version.rb +1 -1
  64. data/lib/fastly.rb +12 -2
  65. data/sig.json +1 -1
  66. metadata +26 -6
  67. data/docs/RateLimiterResponse1.md +0 -12
@@ -12,23 +12,47 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- # Custom response to be sent when the rate limit is exceeded. Required if `action` is `response`.
16
- class RateLimiterResponse1
17
- # HTTP status code for custom limit enforcement response.
15
+ class ValidatorResultDataAttributes
16
+ attr_accessor :msg
17
+
18
18
  attr_accessor :status
19
19
 
20
- # MIME type for custom limit enforcement response.
21
- attr_accessor :content_type
20
+ attr_accessor :errors
21
+
22
+ attr_accessor :warnings
23
+
24
+ attr_accessor :messages
22
25
 
23
- # Response body for custom limit enforcement response.
24
- attr_accessor :content
26
+ class EnumAttributeValidator
27
+ attr_reader :datatype
28
+ attr_reader :allowable_values
29
+
30
+ def initialize(datatype, allowable_values)
31
+ @allowable_values = allowable_values.map do |value|
32
+ case datatype.to_s
33
+ when /Integer/i
34
+ value.to_i
35
+ when /Float/i
36
+ value.to_f
37
+ else
38
+ value
39
+ end
40
+ end
41
+ end
42
+
43
+ def valid?(value)
44
+ !value || allowable_values.include?(value)
45
+ end
46
+ end
25
47
 
26
48
  # Attribute mapping from ruby-style variable name to JSON key.
27
49
  def self.attribute_map
28
50
  {
51
+ :'msg' => :'msg',
29
52
  :'status' => :'status',
30
- :'content_type' => :'content_type',
31
- :'content' => :'content'
53
+ :'errors' => :'errors',
54
+ :'warnings' => :'warnings',
55
+ :'messages' => :'messages'
32
56
  }
33
57
  end
34
58
 
@@ -40,15 +64,18 @@ module Fastly
40
64
  # Attribute type mapping.
41
65
  def self.fastly_types
42
66
  {
43
- :'status' => :'Integer',
44
- :'content_type' => :'String',
45
- :'content' => :'String'
67
+ :'msg' => :'String',
68
+ :'status' => :'String',
69
+ :'errors' => :'Array<String>',
70
+ :'warnings' => :'Array<String>',
71
+ :'messages' => :'Array<ValidatorResultDataAttributesMessages>'
46
72
  }
47
73
  end
48
74
 
49
75
  # List of attributes with nullable: true
50
76
  def self.fastly_nullable
51
77
  Set.new([
78
+ :'msg',
52
79
  ])
53
80
  end
54
81
 
@@ -56,27 +83,41 @@ module Fastly
56
83
  # @param [Hash] attributes Model attributes in the form of hash
57
84
  def initialize(attributes = {})
58
85
  if (!attributes.is_a?(Hash))
59
- fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::RateLimiterResponse1` initialize method"
86
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::ValidatorResultDataAttributes` initialize method"
60
87
  end
61
88
 
62
89
  # check to see if the attribute exists and convert string to symbol for hash key
63
90
  attributes = attributes.each_with_object({}) { |(k, v), h|
64
91
  if (!self.class.attribute_map.key?(k.to_sym))
65
- fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::RateLimiterResponse1`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
92
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::ValidatorResultDataAttributes`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
66
93
  end
67
94
  h[k.to_sym] = v
68
95
  }
69
96
 
97
+ if attributes.key?(:'msg')
98
+ self.msg = attributes[:'msg']
99
+ end
100
+
70
101
  if attributes.key?(:'status')
71
102
  self.status = attributes[:'status']
72
103
  end
73
104
 
74
- if attributes.key?(:'content_type')
75
- self.content_type = attributes[:'content_type']
105
+ if attributes.key?(:'errors')
106
+ if (value = attributes[:'errors']).is_a?(Array)
107
+ self.errors = value
108
+ end
76
109
  end
77
110
 
78
- if attributes.key?(:'content')
79
- self.content = attributes[:'content']
111
+ if attributes.key?(:'warnings')
112
+ if (value = attributes[:'warnings']).is_a?(Array)
113
+ self.warnings = value
114
+ end
115
+ end
116
+
117
+ if attributes.key?(:'messages')
118
+ if (value = attributes[:'messages']).is_a?(Array)
119
+ self.messages = value
120
+ end
80
121
  end
81
122
  end
82
123
 
@@ -84,77 +125,37 @@ module Fastly
84
125
  # @return Array for valid properties with the reasons
85
126
  def list_invalid_properties
86
127
  invalid_properties = Array.new
87
- if !@status.nil? && @status > 999
88
- invalid_properties.push('invalid value for "status", must be smaller than or equal to 999.')
89
- end
90
-
91
- if !@status.nil? && @status < 100
92
- invalid_properties.push('invalid value for "status", must be greater than or equal to 100.')
93
- end
94
-
95
- if !@content_type.nil? && @content_type.to_s.length < 1
96
- invalid_properties.push('invalid value for "content_type", the character length must be great than or equal to 1.')
97
- end
98
-
99
- if !@content.nil? && @content.to_s.length < 1
100
- invalid_properties.push('invalid value for "content", the character length must be great than or equal to 1.')
101
- end
102
-
103
128
  invalid_properties
104
129
  end
105
130
 
106
131
  # Check to see if the all the properties in the model are valid
107
132
  # @return true if the model is valid
108
133
  def valid?
109
- return false if !@status.nil? && @status > 999
110
- return false if !@status.nil? && @status < 100
111
- return false if !@content_type.nil? && @content_type.to_s.length < 1
112
- return false if !@content.nil? && @content.to_s.length < 1
134
+ status_validator = EnumAttributeValidator.new('String', ["error", "ok"])
135
+ return false unless status_validator.valid?(@status)
113
136
  true
114
137
  end
115
138
 
116
- # Custom attribute writer method with validation
117
- # @param [Object] status Value to be assigned
139
+ # Custom attribute writer method checking allowed values (enum).
140
+ # @param [Object] status Object to be assigned
118
141
  def status=(status)
119
- if !status.nil? && status > 999
120
- fail ArgumentError, 'invalid value for "status", must be smaller than or equal to 999.'
121
- end
122
-
123
- if !status.nil? && status < 100
124
- fail ArgumentError, 'invalid value for "status", must be greater than or equal to 100.'
142
+ validator = EnumAttributeValidator.new('String', ["error", "ok"])
143
+ unless validator.valid?(status)
144
+ fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
125
145
  end
126
-
127
146
  @status = status
128
147
  end
129
148
 
130
- # Custom attribute writer method with validation
131
- # @param [Object] content_type Value to be assigned
132
- def content_type=(content_type)
133
- if !content_type.nil? && content_type.to_s.length < 1
134
- fail ArgumentError, 'invalid value for "content_type", the character length must be great than or equal to 1.'
135
- end
136
-
137
- @content_type = content_type
138
- end
139
-
140
- # Custom attribute writer method with validation
141
- # @param [Object] content Value to be assigned
142
- def content=(content)
143
- if !content.nil? && content.to_s.length < 1
144
- fail ArgumentError, 'invalid value for "content", the character length must be great than or equal to 1.'
145
- end
146
-
147
- @content = content
148
- end
149
-
150
149
  # Checks equality by comparing each attribute.
151
150
  # @param [Object] Object to be compared
152
151
  def ==(o)
153
152
  return true if self.equal?(o)
154
153
  self.class == o.class &&
154
+ msg == o.msg &&
155
155
  status == o.status &&
156
- content_type == o.content_type &&
157
- content == o.content
156
+ errors == o.errors &&
157
+ warnings == o.warnings &&
158
+ messages == o.messages
158
159
  end
159
160
 
160
161
  # @see the `==` method
@@ -166,7 +167,7 @@ module Fastly
166
167
  # Calculates hash code according to all attributes.
167
168
  # @return [Integer] Hash code
168
169
  def hash
169
- [status, content_type, content].hash
170
+ [msg, status, errors, warnings, messages].hash
170
171
  end
171
172
 
172
173
  # Builds the object from hash
@@ -12,7 +12,7 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- class ValidatorResultMessages
15
+ class ValidatorResultDataAttributesMessages
16
16
  attr_accessor :type
17
17
 
18
18
  attr_accessor :warning
@@ -42,7 +42,7 @@ module Fastly
42
42
  :'type' => :'String',
43
43
  :'warning' => :'Boolean',
44
44
  :'message' => :'String',
45
- :'tokens' => :'Array<Hash<String, AnyOfstringnumber>>'
45
+ :'tokens' => :'Array<Hash<String, TokensAdditionalProps>>'
46
46
  }
47
47
  end
48
48
 
@@ -56,13 +56,13 @@ module Fastly
56
56
  # @param [Hash] attributes Model attributes in the form of hash
57
57
  def initialize(attributes = {})
58
58
  if (!attributes.is_a?(Hash))
59
- fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::ValidatorResultMessages` initialize method"
59
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::ValidatorResultDataAttributesMessages` initialize method"
60
60
  end
61
61
 
62
62
  # check to see if the attribute exists and convert string to symbol for hash key
63
63
  attributes = attributes.each_with_object({}) { |(k, v), h|
64
64
  if (!self.class.attribute_map.key?(k.to_sym))
65
- fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::ValidatorResultMessages`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::ValidatorResultDataAttributesMessages`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
66
66
  end
67
67
  h[k.to_sym] = v
68
68
  }
@@ -0,0 +1,217 @@
1
+ =begin
2
+ #Fastly API
3
+
4
+ #Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: oss@fastly.com
8
+
9
+ =end
10
+
11
+ require 'date'
12
+ require 'time'
13
+
14
+ module Fastly
15
+ class VclSyntaxHighlightingResponse
16
+ # VCL with HTML syntax highlighting.
17
+ attr_accessor :content
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ :'content' => :'content'
23
+ }
24
+ end
25
+
26
+ # Returns all the JSON keys this model knows about
27
+ def self.acceptable_attributes
28
+ attribute_map.values
29
+ end
30
+
31
+ # Attribute type mapping.
32
+ def self.fastly_types
33
+ {
34
+ :'content' => :'String'
35
+ }
36
+ end
37
+
38
+ # List of attributes with nullable: true
39
+ def self.fastly_nullable
40
+ Set.new([
41
+ ])
42
+ end
43
+
44
+ # Initializes the object
45
+ # @param [Hash] attributes Model attributes in the form of hash
46
+ def initialize(attributes = {})
47
+ if (!attributes.is_a?(Hash))
48
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::VclSyntaxHighlightingResponse` initialize method"
49
+ end
50
+
51
+ # check to see if the attribute exists and convert string to symbol for hash key
52
+ attributes = attributes.each_with_object({}) { |(k, v), h|
53
+ if (!self.class.attribute_map.key?(k.to_sym))
54
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::VclSyntaxHighlightingResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ end
56
+ h[k.to_sym] = v
57
+ }
58
+
59
+ if attributes.key?(:'content')
60
+ self.content = attributes[:'content']
61
+ end
62
+ end
63
+
64
+ # Show invalid properties with the reasons. Usually used together with valid?
65
+ # @return Array for valid properties with the reasons
66
+ def list_invalid_properties
67
+ invalid_properties = Array.new
68
+ invalid_properties
69
+ end
70
+
71
+ # Check to see if the all the properties in the model are valid
72
+ # @return true if the model is valid
73
+ def valid?
74
+ true
75
+ end
76
+
77
+ # Checks equality by comparing each attribute.
78
+ # @param [Object] Object to be compared
79
+ def ==(o)
80
+ return true if self.equal?(o)
81
+ self.class == o.class &&
82
+ content == o.content
83
+ end
84
+
85
+ # @see the `==` method
86
+ # @param [Object] Object to be compared
87
+ def eql?(o)
88
+ self == o
89
+ end
90
+
91
+ # Calculates hash code according to all attributes.
92
+ # @return [Integer] Hash code
93
+ def hash
94
+ [content].hash
95
+ end
96
+
97
+ # Builds the object from hash
98
+ # @param [Hash] attributes Model attributes in the form of hash
99
+ # @return [Object] Returns the model itself
100
+ def self.build_from_hash(attributes)
101
+ new.build_from_hash(attributes)
102
+ end
103
+
104
+ # Builds the object from hash
105
+ # @param [Hash] attributes Model attributes in the form of hash
106
+ # @return [Object] Returns the model itself
107
+ def build_from_hash(attributes)
108
+ return nil unless attributes.is_a?(Hash)
109
+ self.class.fastly_types.each_pair do |key, type|
110
+ if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
111
+ self.send("#{key}=", nil)
112
+ elsif type =~ /\AArray<(.*)>/i
113
+ # check to ensure the input is an array given that the attribute
114
+ # is documented as an array but the input is not
115
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
116
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
117
+ end
118
+ elsif !attributes[self.class.attribute_map[key]].nil?
119
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
120
+ end
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ # Deserializes the data based on type
127
+ # @param string type Data type
128
+ # @param string value Value to be deserialized
129
+ # @return [Object] Deserialized data
130
+ def _deserialize(type, value)
131
+ case type.to_sym
132
+ when :Time
133
+ Time.parse(value)
134
+ when :Date
135
+ Date.parse(value)
136
+ when :String
137
+ value.to_s
138
+ when :Integer
139
+ value.to_i
140
+ when :Float
141
+ value.to_f
142
+ when :Boolean
143
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
144
+ true
145
+ else
146
+ false
147
+ end
148
+ when :Object
149
+ # generic object (usually a Hash), return directly
150
+ value
151
+ when /\AArray<(?<inner_type>.+)>\z/
152
+ inner_type = Regexp.last_match[:inner_type]
153
+ value.map { |v| _deserialize(inner_type, v) }
154
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
155
+ k_type = Regexp.last_match[:k_type]
156
+ v_type = Regexp.last_match[:v_type]
157
+ {}.tap do |hash|
158
+ value.each do |k, v|
159
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
160
+ end
161
+ end
162
+ else # model
163
+ # models (e.g. Pet) or oneOf
164
+ klass = Fastly.const_get(type)
165
+ klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
166
+ end
167
+ end
168
+
169
+ # Returns the string representation of the object
170
+ # @return [String] String presentation of the object
171
+ def to_s
172
+ to_hash.to_s
173
+ end
174
+
175
+ # to_body is an alias to to_hash (backward compatibility)
176
+ # @return [Hash] Returns the object in the form of hash
177
+ def to_body
178
+ to_hash
179
+ end
180
+
181
+ # Returns the object in the form of hash
182
+ # @return [Hash] Returns the object in the form of hash
183
+ def to_hash
184
+ hash = {}
185
+ self.class.attribute_map.each_pair do |attr, param|
186
+ value = self.send(attr)
187
+ if value.nil?
188
+ is_nullable = self.class.fastly_nullable.include?(attr)
189
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
190
+ end
191
+
192
+ hash[param] = _to_hash(value)
193
+ end
194
+ hash
195
+ end
196
+
197
+ # Outputs non-array value in the form of hash
198
+ # For object, use to_hash. Otherwise, just return the value
199
+ # @param [Object] value Any valid value
200
+ # @return [Hash] Returns the value in the form of hash
201
+ def _to_hash(value)
202
+ if value.is_a?(Array)
203
+ value.compact.map { |v| _to_hash(v) }
204
+ elsif value.is_a?(Hash)
205
+ {}.tap do |hash|
206
+ value.each { |k, v| hash[k] = _to_hash(v) }
207
+ end
208
+ elsif value.respond_to? :to_hash
209
+ value.to_hash
210
+ else
211
+ value
212
+ end
213
+ end
214
+
215
+ end
216
+
217
+ end
@@ -9,5 +9,5 @@ Contact: oss@fastly.com
9
9
  =end
10
10
 
11
11
  module Fastly
12
- VERSION = '5.2.2'
12
+ VERSION = '5.3.1'
13
13
  end
data/lib/fastly.rb CHANGED
@@ -34,6 +34,8 @@ require 'fastly/models/aws_region'
34
34
  require 'fastly/models/backend'
35
35
  require 'fastly/models/backend_response'
36
36
  require 'fastly/models/backend_response_all_of'
37
+ require 'fastly/models/batch'
38
+ require 'fastly/models/batch_errors'
37
39
  require 'fastly/models/billing'
38
40
  require 'fastly/models/billing_address_attributes'
39
41
  require 'fastly/models/billing_address_request'
@@ -99,6 +101,7 @@ require 'fastly/models/enabled_product_response'
99
101
  require 'fastly/models/enabled_product_response_links'
100
102
  require 'fastly/models/enabled_product_response_product'
101
103
  require 'fastly/models/enabled_product_response_service'
104
+ require 'fastly/models/error_response'
102
105
  require 'fastly/models/event'
103
106
  require 'fastly/models/event_attributes'
104
107
  require 'fastly/models/event_response'
@@ -284,8 +287,11 @@ require 'fastly/models/purge_keys'
284
287
  require 'fastly/models/purge_response'
285
288
  require 'fastly/models/rate_limiter'
286
289
  require 'fastly/models/rate_limiter_response'
287
- require 'fastly/models/rate_limiter_response1'
288
290
  require 'fastly/models/rate_limiter_response_all_of'
291
+ require 'fastly/models/read_only_customer_id'
292
+ require 'fastly/models/read_only_id'
293
+ require 'fastly/models/read_only_id_service'
294
+ require 'fastly/models/read_only_user_id'
289
295
  require 'fastly/models/realtime'
290
296
  require 'fastly/models/realtime_entry'
291
297
  require 'fastly/models/realtime_measurements'
@@ -510,6 +516,7 @@ require 'fastly/models/token_created_response'
510
516
  require 'fastly/models/token_created_response_all_of'
511
517
  require 'fastly/models/token_response'
512
518
  require 'fastly/models/token_response_all_of'
519
+ require 'fastly/models/tokens_additional_props'
513
520
  require 'fastly/models/type_billing_address'
514
521
  require 'fastly/models/type_contact'
515
522
  require 'fastly/models/type_customer'
@@ -543,10 +550,13 @@ require 'fastly/models/user'
543
550
  require 'fastly/models/user_response'
544
551
  require 'fastly/models/user_response_all_of'
545
552
  require 'fastly/models/validator_result'
546
- require 'fastly/models/validator_result_messages'
553
+ require 'fastly/models/validator_result_data'
554
+ require 'fastly/models/validator_result_data_attributes'
555
+ require 'fastly/models/validator_result_data_attributes_messages'
547
556
  require 'fastly/models/vcl'
548
557
  require 'fastly/models/vcl_diff'
549
558
  require 'fastly/models/vcl_response'
559
+ require 'fastly/models/vcl_syntax_highlighting_response'
550
560
  require 'fastly/models/version'
551
561
  require 'fastly/models/version_create_response'
552
562
  require 'fastly/models/version_detail'
data/sig.json CHANGED
@@ -1 +1 @@
1
- {"G": "70bf90be", "D": "bd27032c"}
1
+ {"G": "1737d053", "D": "d944a1e9"}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.2
4
+ version: 5.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fastly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-23 00:00:00.000000000 Z
11
+ date: 2023-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -76,6 +76,8 @@ files:
76
76
  - docs/BackendApi.md
77
77
  - docs/BackendResponse.md
78
78
  - docs/BackendResponseAllOf.md
79
+ - docs/Batch.md
80
+ - docs/BatchErrors.md
79
81
  - docs/Billing.md
80
82
  - docs/BillingAddressApi.md
81
83
  - docs/BillingAddressAttributes.md
@@ -158,6 +160,7 @@ files:
158
160
  - docs/EnabledProductResponseProduct.md
159
161
  - docs/EnabledProductResponseService.md
160
162
  - docs/EnabledProductsApi.md
163
+ - docs/ErrorResponse.md
161
164
  - docs/Event.md
162
165
  - docs/EventAttributes.md
163
166
  - docs/EventResponse.md
@@ -390,8 +393,11 @@ files:
390
393
  - docs/RateLimiter.md
391
394
  - docs/RateLimiterApi.md
392
395
  - docs/RateLimiterResponse.md
393
- - docs/RateLimiterResponse1.md
394
396
  - docs/RateLimiterResponseAllOf.md
397
+ - docs/ReadOnlyCustomerId.md
398
+ - docs/ReadOnlyId.md
399
+ - docs/ReadOnlyIdService.md
400
+ - docs/ReadOnlyUserId.md
395
401
  - docs/Realtime.md
396
402
  - docs/RealtimeApi.md
397
403
  - docs/RealtimeEntry.md
@@ -634,6 +640,7 @@ files:
634
640
  - docs/TokenCreatedResponseAllOf.md
635
641
  - docs/TokenResponse.md
636
642
  - docs/TokenResponseAllOf.md
643
+ - docs/TokensAdditionalProps.md
637
644
  - docs/TokensApi.md
638
645
  - docs/TypeBillingAddress.md
639
646
  - docs/TypeContact.md
@@ -669,12 +676,15 @@ files:
669
676
  - docs/UserResponse.md
670
677
  - docs/UserResponseAllOf.md
671
678
  - docs/ValidatorResult.md
672
- - docs/ValidatorResultMessages.md
679
+ - docs/ValidatorResultData.md
680
+ - docs/ValidatorResultDataAttributes.md
681
+ - docs/ValidatorResultDataAttributesMessages.md
673
682
  - docs/Vcl.md
674
683
  - docs/VclApi.md
675
684
  - docs/VclDiff.md
676
685
  - docs/VclDiffApi.md
677
686
  - docs/VclResponse.md
687
+ - docs/VclSyntaxHighlightingResponse.md
678
688
  - docs/Version.md
679
689
  - docs/VersionApi.md
680
690
  - docs/VersionCreateResponse.md
@@ -876,6 +886,8 @@ files:
876
886
  - lib/fastly/models/backend.rb
877
887
  - lib/fastly/models/backend_response.rb
878
888
  - lib/fastly/models/backend_response_all_of.rb
889
+ - lib/fastly/models/batch.rb
890
+ - lib/fastly/models/batch_errors.rb
879
891
  - lib/fastly/models/billing.rb
880
892
  - lib/fastly/models/billing_address_attributes.rb
881
893
  - lib/fastly/models/billing_address_request.rb
@@ -941,6 +953,7 @@ files:
941
953
  - lib/fastly/models/enabled_product_response_links.rb
942
954
  - lib/fastly/models/enabled_product_response_product.rb
943
955
  - lib/fastly/models/enabled_product_response_service.rb
956
+ - lib/fastly/models/error_response.rb
944
957
  - lib/fastly/models/event.rb
945
958
  - lib/fastly/models/event_attributes.rb
946
959
  - lib/fastly/models/event_response.rb
@@ -1126,8 +1139,11 @@ files:
1126
1139
  - lib/fastly/models/purge_response.rb
1127
1140
  - lib/fastly/models/rate_limiter.rb
1128
1141
  - lib/fastly/models/rate_limiter_response.rb
1129
- - lib/fastly/models/rate_limiter_response1.rb
1130
1142
  - lib/fastly/models/rate_limiter_response_all_of.rb
1143
+ - lib/fastly/models/read_only_customer_id.rb
1144
+ - lib/fastly/models/read_only_id.rb
1145
+ - lib/fastly/models/read_only_id_service.rb
1146
+ - lib/fastly/models/read_only_user_id.rb
1131
1147
  - lib/fastly/models/realtime.rb
1132
1148
  - lib/fastly/models/realtime_entry.rb
1133
1149
  - lib/fastly/models/realtime_measurements.rb
@@ -1352,6 +1368,7 @@ files:
1352
1368
  - lib/fastly/models/token_created_response_all_of.rb
1353
1369
  - lib/fastly/models/token_response.rb
1354
1370
  - lib/fastly/models/token_response_all_of.rb
1371
+ - lib/fastly/models/tokens_additional_props.rb
1355
1372
  - lib/fastly/models/type_billing_address.rb
1356
1373
  - lib/fastly/models/type_contact.rb
1357
1374
  - lib/fastly/models/type_customer.rb
@@ -1385,10 +1402,13 @@ files:
1385
1402
  - lib/fastly/models/user_response.rb
1386
1403
  - lib/fastly/models/user_response_all_of.rb
1387
1404
  - lib/fastly/models/validator_result.rb
1388
- - lib/fastly/models/validator_result_messages.rb
1405
+ - lib/fastly/models/validator_result_data.rb
1406
+ - lib/fastly/models/validator_result_data_attributes.rb
1407
+ - lib/fastly/models/validator_result_data_attributes_messages.rb
1389
1408
  - lib/fastly/models/vcl.rb
1390
1409
  - lib/fastly/models/vcl_diff.rb
1391
1410
  - lib/fastly/models/vcl_response.rb
1411
+ - lib/fastly/models/vcl_syntax_highlighting_response.rb
1392
1412
  - lib/fastly/models/version.rb
1393
1413
  - lib/fastly/models/version_create_response.rb
1394
1414
  - lib/fastly/models/version_detail.rb
@@ -1,12 +0,0 @@
1
- # Fastly::RateLimiterResponse1
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **status** | **Integer** | HTTP status code for custom limit enforcement response. | [optional] |
8
- | **content_type** | **String** | MIME type for custom limit enforcement response. | [optional] |
9
- | **content** | **String** | Response body for custom limit enforcement response. | [optional] |
10
-
11
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
-