Skip to content

Commit

Permalink
Regenerate client from commit 1014300 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 18, 2020
1 parent 5d653f0 commit 1f81f22
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 21 deletions.
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.3.0",
"regenerated": "2020-11-17 18:40:45.694224",
"spec_repo_commit": "bea8b79"
"regenerated": "2020-11-18 15:49:01.526155",
"spec_repo_commit": "1014300"
},
"v2": {
"apigentools_version": "1.3.0",
"regenerated": "2020-11-17 18:40:51.132813",
"spec_repo_commit": "bea8b79"
"regenerated": "2020-11-18 15:49:07.510777",
"spec_repo_commit": "1014300"
}
}
}
1 change: 0 additions & 1 deletion api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10135,7 +10135,6 @@ components:
time:
$ref: '#/components/schemas/LogsListRequest_time'
required:
- query
- time
type: object
LogsListResponse:
Expand Down
2 changes: 1 addition & 1 deletion api/v1/datadog/docs/LogsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func main() {
},
)

body := *datadog.NewLogsListRequest("service:web* AND @http.status_code:[200 TO 299]", *datadog.NewLogsListRequest_time("TODO", "TODO")) // LogsListRequest | Logs filter
body := *datadog.NewLogsListRequest(*datadog.NewLogsListRequest_time("TODO", "TODO")) // LogsListRequest | Logs filter

configuration := datadog.NewConfiguration()

Expand Down
9 changes: 7 additions & 2 deletions api/v1/datadog/docs/LogsListRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Index** | Pointer to **string** | The log index on which the request is performed. For multi-index organizations, the default is all live indexes. Historical indexes of rehydrated logs must be specified. | [optional]
**Limit** | Pointer to **int32** | Number of logs return in the response. | [optional]
**Query** | **string** | The search query - following the log search syntax. |
**Query** | Pointer to **string** | The search query - following the log search syntax. | [optional]
**Sort** | Pointer to [**LogsSort**](LogsSort.md) | | [optional]
**StartAt** | Pointer to **string** | Hash identifier of the first log to return in the list, available in a log `id` attribute. This parameter is used for the pagination feature. **Note**: This parameter is ignored if the corresponding log is out of the scope of the specified time window. | [optional]
**Time** | [**LogsListRequestTime**](LogsListRequest_time.md) | |
Expand All @@ -15,7 +15,7 @@ Name | Type | Description | Notes

### NewLogsListRequest

`func NewLogsListRequest(query string, time LogsListRequestTime, ) *LogsListRequest`
`func NewLogsListRequest(time LogsListRequestTime, ) *LogsListRequest`

NewLogsListRequest instantiates a new LogsListRequest object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -99,6 +99,11 @@ and a boolean to check if the value has been set.

SetQuery sets Query field to given value.

### HasQuery

`func (o *LogsListRequest) HasQuery() bool`

HasQuery returns a boolean if a field has been set.

### GetSort

Expand Down
33 changes: 20 additions & 13 deletions api/v1/datadog/model_logs_list_request.go

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

0 comments on commit 1f81f22

Please sign in to comment.