Skip to content

Commit db11dcb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit c2e2dda of spec repo (#428)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 985922a commit db11dcb

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev11",
7-
"regenerated": "2021-07-13 14:52:40.646592",
8-
"spec_repo_commit": "5155c78"
7+
"regenerated": "2021-07-13 15:55:06.006131",
8+
"spec_repo_commit": "c2e2dda"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev11",
12-
"regenerated": "2021-07-13 14:53:22.086614",
13-
"spec_repo_commit": "5155c78"
12+
"regenerated": "2021-07-13 15:55:50.392899",
13+
"spec_repo_commit": "c2e2dda"
1414
}
1515
}
1616
}

data/v1/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8641,7 +8641,7 @@ components:
86418641
description: Name of the error.
86428642
example: ''
86438643
type: string
8644-
statusCode:
8644+
status:
86458645
description: Status Code of the error.
86468646
format: int64
86478647
type: integer

docs/v1/SyntheticsBrowserError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| ---- | ---- | ----------- | ----- |
77
| **description** | **String** | Description of the error. | |
88
| **name** | **String** | Name of the error. | |
9-
| **status_code** | **Integer** | Status Code of the error. | [optional] |
9+
| **status** | **Integer** | Status Code of the error. | [optional] |
1010
| **type** | [**SyntheticsBrowserErrorType**](SyntheticsBrowserErrorType.md) | | |
1111

1212
## Example
@@ -17,7 +17,7 @@ require 'datadog_api_client/v1'
1717
instance = DatadogAPIClient::V1::SyntheticsBrowserError.new(
1818
description: ,
1919
name: ,
20-
status_code: null,
20+
status: null,
2121
type: null
2222
)
2323
```

lib/datadog_api_client/v1/models/synthetics_browser_error.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)