Skip to content

Commit

Permalink
Regenerate client from commit 7b8392b of spec repo (#662)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Dec 23, 2021
1 parent ecf5467 commit b7609cc
Show file tree
Hide file tree
Showing 14 changed files with 119 additions and 8 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-12-22 22:58:04.385370",
"spec_repo_commit": "d1e8471"
"regenerated": "2021-12-23 17:02:17.712006",
"spec_repo_commit": "7b8392b"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-12-22 22:58:04.417136",
"spec_repo_commit": "d1e8471"
"regenerated": "2021-12-23 17:02:17.738811",
"spec_repo_commit": "7b8392b"
}
}
}
21 changes: 21 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13159,6 +13159,12 @@ components:
description: The hour for the usage.
format: date-time
type: string
org_name:
description: The organization name.
type: string
public_id:
description: The organization public ID.
type: string
session_count:
description: Contains the number of RUM Sessions.
format: int64
Expand Down Expand Up @@ -13584,6 +13590,11 @@ components:
in the current date for all organizations.
format: int64
type: integer
rum_browser_and_mobile_session_count:
description: Shows the sum of all mobile sessions and all browser lite and
legacy sessions over all hours in the current month for all organizations.
format: int64
type: integer
rum_session_count_sum:
description: Shows the sum of all browser RUM Sessions over all hours in
the current date for all organizations
Expand Down Expand Up @@ -13858,6 +13869,11 @@ components:
public_id:
description: The organization public id.
type: string
rum_browser_and_mobile_session_count:
description: Shows the sum of all mobile sessions and all browser lite and
legacy sessions over all hours in the current date for the given org.
format: int64
type: integer
rum_session_count_sum:
description: Shows the sum of all browser RUM Sessions over all hours in
the current date for the given org.
Expand Down Expand Up @@ -14172,6 +14188,11 @@ components:
December 1, 2020).
format: int64
type: integer
rum_browser_and_mobile_session_count:
description: Shows the sum of all mobile sessions and all browser lite and
legacy sessions over all hours in the current month for all organizations.
format: int64
type: integer
rum_session_count_agg_sum:
description: Shows the sum of all browser RUM Sessions over all hours in
the current months for all organizations.
Expand Down
4 changes: 4 additions & 0 deletions docs/v1/UsageRumSessionsHour.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
| Name | Type | Description | Notes |
| ------------------------- | ----------- | -------------------------------------------------------------------------------------------------- | ---------- |
| **hour** | **Time** | The hour for the usage. | [optional] |
| **org_name** | **String** | The organization name. | [optional] |
| **public_id** | **String** | The organization public ID. | [optional] |
| **session_count** | **Integer** | Contains the number of RUM Sessions. | [optional] |
| **session_count_android** | **Integer** | Contains the number of mobile RUM Sessions on Android (data available beginning December 1, 2020). | [optional] |
| **session_count_ios** | **Integer** | Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020). | [optional] |
Expand All @@ -16,6 +18,8 @@ require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::UsageRumSessionsHour.new(
hour: null,
org_name: null,
public_id: null,
session_count: null,
session_count_android: null,
session_count_ios: null
Expand Down
2 changes: 2 additions & 0 deletions docs/v1/UsageSummaryDate.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
| **opentelemetry_host_top99p** | **Integer** | Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations. | [optional] |
| **orgs** | [**Array&lt;UsageSummaryDateOrg&gt;**](UsageSummaryDateOrg.md) | Organizations associated with a user. | [optional] |
| **profiling_host_top99p** | **Integer** | Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations. | [optional] |
| **rum_browser_and_mobile_session_count** | **Integer** | Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations. | [optional] |
| **rum_session_count_sum** | **Integer** | Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations | [optional] |
| **rum_total_session_count_sum** | **Integer** | Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for all organizations. | [optional] |
| **rum_units_sum** | **Integer** | Shows the sum of all browser and mobile RUM units over all hours in the current date for all organizations. | [optional] |
Expand Down Expand Up @@ -109,6 +110,7 @@ instance = DatadogAPIClient::V1::UsageSummaryDate.new(
opentelemetry_host_top99p: null,
orgs: null,
profiling_host_top99p: null,
rum_browser_and_mobile_session_count: null,
rum_session_count_sum: null,
rum_total_session_count_sum: null,
rum_units_sum: null,
Expand Down
2 changes: 2 additions & 0 deletions docs/v1/UsageSummaryDateOrg.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
| **opentelemetry_host_top99p** | **Integer** | Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org. | [optional] |
| **profiling_host_top99p** | **Integer** | Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org. | [optional] |
| **public_id** | **String** | The organization public id. | [optional] |
| **rum_browser_and_mobile_session_count** | **Integer** | Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current date for the given org. | [optional] |
| **rum_session_count_sum** | **Integer** | Shows the sum of all browser RUM Sessions over all hours in the current date for the given org. | [optional] |
| **rum_total_session_count_sum** | **Integer** | Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for the given org. | [optional] |
| **rum_units_sum** | **Integer** | Shows the sum of all browser and mobile RUM units over all hours in the current date for the given org. | [optional] |
Expand Down Expand Up @@ -111,6 +112,7 @@ instance = DatadogAPIClient::V1::UsageSummaryDateOrg.new(
opentelemetry_host_top99p: null,
profiling_host_top99p: null,
public_id: null,
rum_browser_and_mobile_session_count: null,
rum_session_count_sum: null,
rum_total_session_count_sum: null,
rum_units_sum: null,
Expand Down
2 changes: 2 additions & 0 deletions docs/v1/UsageSummaryResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
| **profiling_host_count_top99p_sum** | **Integer** | Shows the 99th percentile of all profiled hosts over all hours in the current months for all organizations. | [optional] |
| **rehydrated_indexed_events_agg_sum** | **Integer** | Shows the sum of all rehydrated logs indexed over all hours in the current months for all organizations (data available as of December 1, 2020). | [optional] |
| **rehydrated_ingested_bytes_agg_sum** | **Integer** | Shows the sum of all rehydrated logs bytes ingested over all hours in the current months for all organizations (data available as of December 1, 2020). | [optional] |
| **rum_browser_and_mobile_session_count** | **Integer** | Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations. | [optional] |
| **rum_session_count_agg_sum** | **Integer** | Shows the sum of all browser RUM Sessions over all hours in the current months for all organizations. | [optional] |
| **rum_total_session_count_agg_sum** | **Integer** | Shows the sum of RUM Sessions (browser and mobile) over all hours in the current months for all organizations. | [optional] |
| **rum_units_agg_sum** | **Integer** | Shows the sum of all browser and mobile RUM units over all hours in the current months for all organizations. | [optional] |
Expand Down Expand Up @@ -125,6 +126,7 @@ instance = DatadogAPIClient::V1::UsageSummaryResponse.new(
profiling_host_count_top99p_sum: null,
rehydrated_indexed_events_agg_sum: null,
rehydrated_ingested_bytes_agg_sum: null,
rum_browser_and_mobile_session_count: null,
rum_session_count_agg_sum: null,
rum_total_session_count_agg_sum: null,
rum_units_agg_sum: null,
Expand Down
22 changes: 21 additions & 1 deletion lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ class UsageRumSessionsHour
# The hour for the usage.
attr_accessor :hour

# The organization name.
attr_accessor :org_name

# The organization public ID.
attr_accessor :public_id

# Contains the number of RUM Sessions.
attr_accessor :session_count

Expand All @@ -38,6 +44,8 @@ class UsageRumSessionsHour
def self.attribute_map
{
:'hour' => :'hour',
:'org_name' => :'org_name',
:'public_id' => :'public_id',
:'session_count' => :'session_count',
:'session_count_android' => :'session_count_android',
:'session_count_ios' => :'session_count_ios'
Expand All @@ -53,6 +61,8 @@ def self.acceptable_attributes
def self.openapi_types
{
:'hour' => :'Time',
:'org_name' => :'String',
:'public_id' => :'String',
:'session_count' => :'Integer',
:'session_count_android' => :'Integer',
:'session_count_ios' => :'Integer'
Expand Down Expand Up @@ -84,6 +94,14 @@ def initialize(attributes = {})
self.hour = attributes[:'hour']
end

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

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

if attributes.key?(:'session_count')
self.session_count = attributes[:'session_count']
end
Expand Down Expand Up @@ -116,6 +134,8 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
hour == o.hour &&
org_name == o.org_name &&
public_id == o.public_id &&
session_count == o.session_count &&
session_count_android == o.session_count_android &&
session_count_ios == o.session_count_ios
Expand All @@ -130,7 +150,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[hour, session_count, session_count_android, session_count_ios].hash
[hour, org_name, public_id, session_count, session_count_android, session_count_ios].hash
end

# Builds the object from hash
Expand Down
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v1/models/usage_summary_date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ class UsageSummaryDate
# Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations.
attr_accessor :profiling_host_top99p

# Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations.
attr_accessor :rum_browser_and_mobile_session_count

# Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations
attr_accessor :rum_session_count_sum

Expand Down Expand Up @@ -231,6 +234,7 @@ def self.attribute_map
:'opentelemetry_host_top99p' => :'opentelemetry_host_top99p',
:'orgs' => :'orgs',
:'profiling_host_top99p' => :'profiling_host_top99p',
:'rum_browser_and_mobile_session_count' => :'rum_browser_and_mobile_session_count',
:'rum_session_count_sum' => :'rum_session_count_sum',
:'rum_total_session_count_sum' => :'rum_total_session_count_sum',
:'rum_units_sum' => :'rum_units_sum',
Expand Down Expand Up @@ -296,6 +300,7 @@ def self.openapi_types
:'opentelemetry_host_top99p' => :'Integer',
:'orgs' => :'Array<UsageSummaryDateOrg>',
:'profiling_host_top99p' => :'Integer',
:'rum_browser_and_mobile_session_count' => :'Integer',
:'rum_session_count_sum' => :'Integer',
:'rum_total_session_count_sum' => :'Integer',
:'rum_units_sum' => :'Integer',
Expand Down Expand Up @@ -508,6 +513,10 @@ def initialize(attributes = {})
self.profiling_host_top99p = attributes[:'profiling_host_top99p']
end

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

if attributes.key?(:'rum_session_count_sum')
self.rum_session_count_sum = attributes[:'rum_session_count_sum']
end
Expand Down Expand Up @@ -611,6 +620,7 @@ def ==(o)
opentelemetry_host_top99p == o.opentelemetry_host_top99p &&
orgs == o.orgs &&
profiling_host_top99p == o.profiling_host_top99p &&
rum_browser_and_mobile_session_count == o.rum_browser_and_mobile_session_count &&
rum_session_count_sum == o.rum_session_count_sum &&
rum_total_session_count_sum == o.rum_total_session_count_sum &&
rum_units_sum == o.rum_units_sum &&
Expand All @@ -632,7 +642,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, container_avg, container_hwm, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, container_avg, container_hwm, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
end

# Builds the object from hash
Expand Down
Loading

0 comments on commit b7609cc

Please sign in to comment.