Skip to content

Commit

Permalink
Regenerate client from commit b4bdf10 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 11, 2021
1 parent 3b6f086 commit 9c59852
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 46 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.5.1.dev2",
"regenerated": "2021-11-11 09:29:58.022073",
"spec_repo_commit": "904c411"
"regenerated": "2021-11-11 11:21:16.816126",
"spec_repo_commit": "b4bdf10"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-11-11 09:29:58.043886",
"spec_repo_commit": "904c411"
"regenerated": "2021-11-11 11:21:16.834243",
"spec_repo_commit": "b4bdf10"
}
}
}
2 changes: 1 addition & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12715,7 +12715,7 @@ components:
description: The hour for the usage.
format: date-time
type: string
indexed_event_count:
indexed_events_count:
description: Contains the number of netflow events indexed.
format: int64
type: integer
Expand Down
12 changes: 6 additions & 6 deletions api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28282,14 +28282,14 @@ components:
UsageNetworkFlowsHour:
description: Number of netflow events indexed for each hour for a given organization.
example:
indexed_events_count: 0
hour: 2000-01-23T04:56:07.000+00:00
indexed_event_count: 0
properties:
hour:
description: The hour for the usage.
format: date-time
type: string
indexed_event_count:
indexed_events_count:
description: Contains the number of netflow events indexed.
format: int64
type: integer
Expand All @@ -28299,10 +28299,10 @@ components:
hour for a given organization.
example:
usage:
- hour: 2000-01-23T04:56:07.000+00:00
indexed_event_count: 0
- hour: 2000-01-23T04:56:07.000+00:00
indexed_event_count: 0
- indexed_events_count: 0
hour: 2000-01-23T04:56:07.000+00:00
- indexed_events_count: 0
hour: 2000-01-23T04:56:07.000+00:00
properties:
usage:
description: Get hourly usage for Network Flows.
Expand Down
26 changes: 13 additions & 13 deletions api/v1/datadog/docs/UsageNetworkFlowsHour.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
---- | ---- | ----------- | ------
**Hour** | Pointer to **time.Time** | The hour for the usage. | [optional]
**IndexedEventCount** | Pointer to **int64** | Contains the number of netflow events indexed. | [optional]
**IndexedEventsCount** | Pointer to **int64** | Contains the number of netflow events indexed. | [optional]

## Methods

Expand Down Expand Up @@ -51,30 +51,30 @@ SetHour sets Hour field to given value.

HasHour returns a boolean if a field has been set.

### GetIndexedEventCount
### GetIndexedEventsCount

`func (o *UsageNetworkFlowsHour) GetIndexedEventCount() int64`
`func (o *UsageNetworkFlowsHour) GetIndexedEventsCount() int64`

GetIndexedEventCount returns the IndexedEventCount field if non-nil, zero value otherwise.
GetIndexedEventsCount returns the IndexedEventsCount field if non-nil, zero value otherwise.

### GetIndexedEventCountOk
### GetIndexedEventsCountOk

`func (o *UsageNetworkFlowsHour) GetIndexedEventCountOk() (*int64, bool)`
`func (o *UsageNetworkFlowsHour) GetIndexedEventsCountOk() (*int64, bool)`

GetIndexedEventCountOk returns a tuple with the IndexedEventCount field if it's non-nil, zero value otherwise
GetIndexedEventsCountOk returns a tuple with the IndexedEventsCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetIndexedEventCount
### SetIndexedEventsCount

`func (o *UsageNetworkFlowsHour) SetIndexedEventCount(v int64)`
`func (o *UsageNetworkFlowsHour) SetIndexedEventsCount(v int64)`

SetIndexedEventCount sets IndexedEventCount field to given value.
SetIndexedEventsCount sets IndexedEventsCount field to given value.

### HasIndexedEventCount
### HasIndexedEventsCount

`func (o *UsageNetworkFlowsHour) HasIndexedEventCount() bool`
`func (o *UsageNetworkFlowsHour) HasIndexedEventsCount() bool`

HasIndexedEventCount returns a boolean if a field has been set.
HasIndexedEventsCount returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
40 changes: 20 additions & 20 deletions api/v1/datadog/model_usage_network_flows_hour.go

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

4 changes: 2 additions & 2 deletions tests/scenarios/features/v1/snapshots.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Feature: Snapshots
Given a valid "apiKeyAuth" key in the system
And a valid "appKeyAuth" key in the system
And an instance of "Snapshots" API
And new "GetGraphSnapshot" request

@generated @skip
Scenario: Take graph snapshots returns "Bad Request" response
Expand All @@ -14,8 +15,7 @@ Feature: Snapshots

@integration-only
Scenario: Take graph snapshots returns "OK" response
Given new "GetGraphSnapshot" request
And request contains "start" parameter with value {{ timestamp("now - 1d") }}
Given request contains "start" parameter with value {{ timestamp("now - 1d") }}
And request contains "end" parameter with value {{ timestamp("now") }}
And request contains "metric_query" parameter with value "avg:system.load.1{*}"
And request contains "title" parameter with value "System load"
Expand Down

0 comments on commit 9c59852

Please sign in to comment.