-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix paging parameter names for logs aggregate queries (#181)
* [logs][v2][aggregate] fix aggregate paging name * update * fix * Revert "fix" This reverts commit e991d4d. * Revert "update" This reverts commit 3b65d9c. * Revert "[logs][v2][aggregate] fix aggregate paging name" This reverts commit 965b34b. * fix * Regenerate client from commit c2cedbf of spec repo Co-authored-by: Sami Tabet <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
- Loading branch information
1 parent
c53215e
commit 6d14190
Showing
11 changed files
with
58 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# DatadogAPIClient::V2::LogsAggregateRequestPage | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
| ---- | ---- | ----------- | ----- | | ||
| **cursor** | **String** | The returned paging point to use to get the next results | [optional] | | ||
|
||
## Example | ||
|
||
```ruby | ||
require 'datadog_api_client/v2' | ||
|
||
instance = DatadogAPIClient::V2::LogsAggregateRequestPage.new( | ||
cursor: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ== | ||
) | ||
``` | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 10 additions & 11 deletions
21
...els/logs_aggregate_request_paging_spec.rb → ...odels/logs_aggregate_request_page_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
=begin | ||
#Datadog API V2 Collection | ||
#Collection of all Datadog Public endpoints. | ||
The version of the OpenAPI document: 1.0 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
OpenAPI Generator version: 5.0.0-SNAPSHOT | ||
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. | ||
This product includes software developed at Datadog (https://www.datadoghq.com/). | ||
Copyright 2020-Present Datadog, Inc. | ||
=end | ||
|
||
require 'spec_helper' | ||
require 'json' | ||
require 'date' | ||
|
||
# Unit tests for DatadogAPIClient::V2::LogsAggregateRequestPaging | ||
# Unit tests for DatadogAPIClient::V2::LogsAggregateRequestPage | ||
# Automatically generated by openapi-generator (https://openapi-generator.tech) | ||
# Please update as you see appropriate | ||
describe DatadogAPIClient::V2::LogsAggregateRequestPaging do | ||
let(:instance) { DatadogAPIClient::V2::LogsAggregateRequestPaging.new } | ||
describe DatadogAPIClient::V2::LogsAggregateRequestPage do | ||
let(:instance) { DatadogAPIClient::V2::LogsAggregateRequestPage.new } | ||
|
||
describe 'test an instance of LogsAggregateRequestPaging' do | ||
it 'should create an instance of LogsAggregateRequestPaging' do | ||
expect(instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateRequestPaging) | ||
describe 'test an instance of LogsAggregateRequestPage' do | ||
it 'should create an instance of LogsAggregateRequestPage' do | ||
expect(instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateRequestPage) | ||
end | ||
end | ||
describe 'test attribute "after"' do | ||
describe 'test attribute "cursor"' do | ||
it 'should work' do | ||
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers | ||
end | ||
|