Skip to content
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
5 changes: 5 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28743,6 +28743,7 @@ paths:
- us5.datadoghq.com
- ap1.datadoghq.com
- ap2.datadoghq.com
- uk1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
- us2.ddog-gov.com
Expand All @@ -28752,6 +28753,7 @@ paths:
- US5
- AP1
- AP2
- UK1
- EU1
- GOV
- US2_GOV
Expand Down Expand Up @@ -44289,6 +44291,7 @@ paths:
- us5.datadoghq.com
- ap1.datadoghq.com
- ap2.datadoghq.com
- uk1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
- us2.ddog-gov.com
Expand All @@ -44298,6 +44301,7 @@ paths:
- US5
- AP1
- AP2
- UK1
- EU1
- GOV
- US2_GOV
Expand Down Expand Up @@ -44339,6 +44343,7 @@ servers:
- us5.datadoghq.com
- ap1.datadoghq.com
- ap2.datadoghq.com
- uk1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
- us2.ddog-gov.com
Expand Down
40 changes: 40 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12763,9 +12763,25 @@ components:
- id: row_id_2
type: row
type: reference-tables-batch-rows-query
included:
- attributes:
values:
ip_address: 102.130.113.9
id: row_id_1
type: row
- attributes:
values:
ip_address: 102.130.113.10
id: row_id_2
type: row
properties:
data:
$ref: "#/components/schemas/BatchRowsQueryResponseData"
included:
description: Full row resources matching the query, included alongside the relationship references in `data`.
items:
$ref: "#/components/schemas/TableRowResourceData"
type: array
type: object
BatchRowsQueryResponseData:
description: Data object for a batch rows query response.
Expand Down Expand Up @@ -56966,6 +56982,9 @@ components:
links:
first: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Blimit%5D=100"
self: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ%3D%3D&page%5Blimit%5D=100"
meta:
page:
next_continuation_token: eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ==
properties:
data:
description: The rows.
Expand All @@ -56974,6 +56993,8 @@ components:
type: array
links:
$ref: "#/components/schemas/ListRowsResponseLinks"
meta:
$ref: "#/components/schemas/ListRowsResponseMeta"
required:
- data
- links
Expand All @@ -56997,6 +57018,20 @@ components:
- self
- first
type: object
ListRowsResponseMeta:
description: Contains pagination details, including the continuation token for fetching additional rows.
properties:
page:
$ref: "#/components/schemas/ListRowsResponseMetaPage"
type: object
ListRowsResponseMetaPage:
description: Contains the continuation token for navigating to the next page of rows.
properties:
next_continuation_token:
description: Opaque token to pass as the `page[continuation_token]` query parameter to fetch the next page of results. Only present when more rows are available.
example: eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ==
type: string
type: object
ListRulesResponse:
description: Scorecard rules response.
properties:
Expand Down Expand Up @@ -133398,6 +133433,7 @@ paths:
- us5.datadoghq.com
- ap1.datadoghq.com
- ap2.datadoghq.com
- uk1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
- us2.ddog-gov.com
Expand All @@ -133407,6 +133443,7 @@ paths:
- US5
- AP1
- AP2
- UK1
- EU1
- GOV
- US2_GOV
Expand Down Expand Up @@ -150760,6 +150797,7 @@ paths:
- us5.datadoghq.com
- ap1.datadoghq.com
- ap2.datadoghq.com
- uk1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
- us2.ddog-gov.com
Expand All @@ -150769,6 +150807,7 @@ paths:
- US5
- AP1
- AP2
- UK1
- EU1
- GOV
- US2_GOV
Expand Down Expand Up @@ -196473,6 +196512,7 @@ servers:
- us5.datadoghq.com
- ap1.datadoghq.com
- ap2.datadoghq.com
- uk1.datadoghq.com
- datadoghq.eu
- ddog-gov.com
- us2.ddog-gov.com
Expand Down
5 changes: 5 additions & 0 deletions lib/datadog_api_client/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ def server_settings
"us5.datadoghq.com",
"ap1.datadoghq.com",
"ap2.datadoghq.com",
"uk1.datadoghq.com",
"datadoghq.eu",
"ddog-gov.com",
"us2.ddog-gov.com",
Expand Down Expand Up @@ -895,6 +896,7 @@ def operation_server_settings
"us5.datadoghq.com",
"ap1.datadoghq.com",
"ap2.datadoghq.com",
"uk1.datadoghq.com",
"datadoghq.eu",
"ddog-gov.com",
"us2.ddog-gov.com"
Expand Down Expand Up @@ -945,6 +947,7 @@ def operation_server_settings
"us5.datadoghq.com",
"ap1.datadoghq.com",
"ap2.datadoghq.com",
"uk1.datadoghq.com",
"datadoghq.eu",
"ddog-gov.com",
"us2.ddog-gov.com"
Expand Down Expand Up @@ -999,6 +1002,7 @@ def operation_server_settings
"us5.datadoghq.com",
"ap1.datadoghq.com",
"ap2.datadoghq.com",
"uk1.datadoghq.com",
"datadoghq.eu",
"ddog-gov.com",
"us2.ddog-gov.com"
Expand Down Expand Up @@ -1053,6 +1057,7 @@ def operation_server_settings
"us5.datadoghq.com",
"ap1.datadoghq.com",
"ap2.datadoghq.com",
"uk1.datadoghq.com",
"datadoghq.eu",
"ddog-gov.com",
"us2.ddog-gov.com"
Expand Down
2 changes: 2 additions & 0 deletions lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4099,6 +4099,8 @@ def overrides
"v2.list_relation_catalog_response_links" => "ListRelationCatalogResponseLinks",
"v2.list_rows_response" => "ListRowsResponse",
"v2.list_rows_response_links" => "ListRowsResponseLinks",
"v2.list_rows_response_meta" => "ListRowsResponseMeta",
"v2.list_rows_response_meta_page" => "ListRowsResponseMetaPage",
"v2.list_rules_response" => "ListRulesResponse",
"v2.list_rules_response_data_item" => "ListRulesResponseDataItem",
"v2.list_rules_response_links" => "ListRulesResponseLinks",
Expand Down
18 changes: 15 additions & 3 deletions lib/datadog_api_client/v2/models/batch_rows_query_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,26 @@ class BatchRowsQueryResponse
# Data object for a batch rows query response.
attr_accessor :data

# Full row resources matching the query, included alongside the relationship references in `data`.
attr_accessor :included

attr_accessor :additional_properties

# Attribute mapping from ruby-style variable name to JSON key.
# @!visibility private
def self.attribute_map
{
:'data' => :'data'
:'data' => :'data',
:'included' => :'included'
}
end

# Attribute type mapping.
# @!visibility private
def self.openapi_types
{
:'data' => :'BatchRowsQueryResponseData'
:'data' => :'BatchRowsQueryResponseData',
:'included' => :'Array<TableRowResourceData>'
}
end

Expand All @@ -63,6 +68,12 @@ def initialize(attributes = {})
if attributes.key?(:'data')
self.data = attributes[:'data']
end

if attributes.key?(:'included')
if (value = attributes[:'included']).is_a?(Array)
self.included = value
end
end
end

# Returns the object in the form of hash, with additionalProperties support.
Expand Down Expand Up @@ -92,14 +103,15 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
data == o.data &&
included == o.included &&
additional_properties == o.additional_properties
end

# Calculates hash code according to all attributes.
# @return [Integer] Hash code
# @!visibility private
def hash
[data, additional_properties].hash
[data, included, additional_properties].hash
end
end
end
16 changes: 13 additions & 3 deletions lib/datadog_api_client/v2/models/list_rows_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,18 @@ class ListRowsResponse
# Pagination links for the list rows response.
attr_reader :links

# Contains pagination details, including the continuation token for fetching additional rows.
attr_accessor :meta

attr_accessor :additional_properties

# Attribute mapping from ruby-style variable name to JSON key.
# @!visibility private
def self.attribute_map
{
:'data' => :'data',
:'links' => :'links'
:'links' => :'links',
:'meta' => :'meta'
}
end

Expand All @@ -43,7 +47,8 @@ def self.attribute_map
def self.openapi_types
{
:'data' => :'Array<TableRowResourceData>',
:'links' => :'ListRowsResponseLinks'
:'links' => :'ListRowsResponseLinks',
:'meta' => :'ListRowsResponseMeta'
}
end

Expand Down Expand Up @@ -74,6 +79,10 @@ def initialize(attributes = {})
if attributes.key?(:'links')
self.links = attributes[:'links']
end

if attributes.key?(:'meta')
self.meta = attributes[:'meta']
end
end

# Check to see if the all the properties in the model are valid
Expand Down Expand Up @@ -133,14 +142,15 @@ def ==(o)
self.class == o.class &&
data == o.data &&
links == o.links &&
meta == o.meta &&
additional_properties == o.additional_properties
end

# Calculates hash code according to all attributes.
# @return [Integer] Hash code
# @!visibility private
def hash
[data, links, additional_properties].hash
[data, links, meta, additional_properties].hash
end
end
end
Loading
Loading