Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix status property name for browser error status in Synthetics #1036

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-07-13 14:53:29.846959",
"spec_repo_commit": "5155c78"
"regenerated": "2021-07-13 15:55:14.038878",
"spec_repo_commit": "c2e2dda"
},
"v2": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-07-13 14:54:04.021924",
"spec_repo_commit": "5155c78"
"regenerated": "2021-07-13 15:55:41.337609",
"spec_repo_commit": "c2e2dda"
}
}
}
24 changes: 12 additions & 12 deletions api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20203,7 +20203,7 @@ components:
example:
name: ""
description: ""
statusCode: 5
status: 5
properties:
description:
description: Description of the error.
Expand All @@ -20213,7 +20213,7 @@ components:
description: Name of the error.
example: ""
type: string
statusCode:
status:
description: Status Code of the error.
format: int64
type: integer
Expand Down Expand Up @@ -20463,10 +20463,10 @@ components:
browserErrors:
- name: ""
description: ""
statusCode: 5
status: 5
- name: ""
description: ""
statusCode: 5
status: 5
subTestStepDetails:
- null
- null
Expand All @@ -20493,10 +20493,10 @@ components:
browserErrors:
- name: ""
description: ""
statusCode: 5
status: 5
- name: ""
description: ""
statusCode: 5
status: 5
subTestStepDetails:
- null
- null
Expand Down Expand Up @@ -20583,10 +20583,10 @@ components:
browserErrors:
- name: ""
description: ""
statusCode: 5
status: 5
- name: ""
description: ""
statusCode: 5
status: 5
subTestStepDetails:
- null
- null
Expand All @@ -20613,10 +20613,10 @@ components:
browserErrors:
- name: ""
description: ""
statusCode: 5
status: 5
- name: ""
description: ""
statusCode: 5
status: 5
subTestStepDetails:
- null
- null
Expand Down Expand Up @@ -21821,10 +21821,10 @@ components:
browserErrors:
- name: ""
description: ""
statusCode: 5
status: 5
- name: ""
description: ""
statusCode: 5
status: 5
subTestStepDetails:
- null
- null
Expand Down
26 changes: 13 additions & 13 deletions api/v1/datadog/docs/SyntheticsBrowserError.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
---- | ---- | ----------- | ------
**Description** | **string** | Description of the error. |
**Name** | **string** | Name of the error. |
**StatusCode** | Pointer to **int64** | Status Code of the error. | [optional]
**Status** | Pointer to **int64** | Status Code of the error. | [optional]
**Type** | [**SyntheticsBrowserErrorType**](SyntheticsBrowserErrorType.md) | |

## Methods
Expand Down Expand Up @@ -68,30 +68,30 @@ and a boolean to check if the value has been set.
SetName sets Name field to given value.


### GetStatusCode
### GetStatus

`func (o *SyntheticsBrowserError) GetStatusCode() int64`
`func (o *SyntheticsBrowserError) GetStatus() int64`

GetStatusCode returns the StatusCode field if non-nil, zero value otherwise.
GetStatus returns the Status field if non-nil, zero value otherwise.

### GetStatusCodeOk
### GetStatusOk

`func (o *SyntheticsBrowserError) GetStatusCodeOk() (*int64, bool)`
`func (o *SyntheticsBrowserError) GetStatusOk() (*int64, bool)`

GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetStatusCode
### SetStatus

`func (o *SyntheticsBrowserError) SetStatusCode(v int64)`
`func (o *SyntheticsBrowserError) SetStatus(v int64)`

SetStatusCode sets StatusCode field to given value.
SetStatus sets Status field to given value.

### HasStatusCode
### HasStatus

`func (o *SyntheticsBrowserError) HasStatusCode() bool`
`func (o *SyntheticsBrowserError) HasStatus() bool`

HasStatusCode returns a boolean if a field has been set.
HasStatus returns a boolean if a field has been set.

### GetType

Expand Down
40 changes: 20 additions & 20 deletions api/v1/datadog/model_synthetics_browser_error.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.