@@ -26,7 +26,7 @@ class SyntheticsBrowserError
2626 attr_accessor :name
2727
2828 # Status Code of the error.
29- attr_accessor :status_code
29+ attr_accessor :status
3030
3131 attr_accessor :type
3232
@@ -35,7 +35,7 @@ def self.attribute_map
3535 {
3636 :'description' => :'description' ,
3737 :'name' => :'name' ,
38- :'status_code ' => :'statusCode ' ,
38+ :'status ' => :'status ' ,
3939 :'type' => :'type'
4040 }
4141 end
@@ -50,7 +50,7 @@ def self.openapi_types
5050 {
5151 :'description' => :'String' ,
5252 :'name' => :'String' ,
53- :'status_code ' => :'Integer' ,
53+ :'status ' => :'Integer' ,
5454 :'type' => :'SyntheticsBrowserErrorType'
5555 }
5656 end
@@ -84,8 +84,8 @@ def initialize(attributes = {})
8484 self . name = attributes [ :'name' ]
8585 end
8686
87- if attributes . key? ( :'status_code ' )
88- self . status_code = attributes [ :'status_code ' ]
87+ if attributes . key? ( :'status ' )
88+ self . status = attributes [ :'status ' ]
8989 end
9090
9191 if attributes . key? ( :'type' )
@@ -128,7 +128,7 @@ def ==(o)
128128 self . class == o . class &&
129129 description == o . description &&
130130 name == o . name &&
131- status_code == o . status_code &&
131+ status == o . status &&
132132 type == o . type
133133 end
134134
@@ -141,7 +141,7 @@ def eql?(o)
141141 # Calculates hash code according to all attributes.
142142 # @return [Integer] Hash code
143143 def hash
144- [ description , name , status_code , type ] . hash
144+ [ description , name , status , type ] . hash
145145 end
146146
147147 # Builds the object from hash
0 commit comments