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
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.6.4",
"regenerated": "2022-08-29 14:55:52.170253",
"spec_repo_commit": "71afb1ee"
"regenerated": "2022-08-29 15:23:50.079765",
"spec_repo_commit": "592474c8"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2022-08-29 14:55:52.183301",
"spec_repo_commit": "71afb1ee"
"regenerated": "2022-08-29 15:23:50.095711",
"spec_repo_commit": "592474c8"
}
}
}
6 changes: 6 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14040,6 +14040,9 @@ components:
description: Shows usage aggregation for a billing period.
format: double
type: number
region:
description: The region of the organization.
type: string
start_date:
description: Shows the first date of usage.
format: date-time
Expand Down Expand Up @@ -15838,6 +15841,9 @@ components:
public_id:
description: The organization public id.
type: string
region:
description: The region of the organization.
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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ class UsageBillableSummaryHour
# Shows usage aggregation for a billing period.
attr_accessor :ratio_in_month

# The region of the organization.
attr_accessor :region

# Shows the first date of usage.
attr_accessor :start_date

Expand All @@ -59,6 +62,7 @@ def self.attribute_map
:'org_name' => :'org_name',
:'public_id' => :'public_id',
:'ratio_in_month' => :'ratio_in_month',
:'region' => :'region',
:'start_date' => :'start_date',
:'usage' => :'usage'
}
Expand All @@ -80,6 +84,7 @@ def self.openapi_types
:'org_name' => :'String',
:'public_id' => :'String',
:'ratio_in_month' => :'Float',
:'region' => :'String',
:'start_date' => :'Time',
:'usage' => :'UsageBillableSummaryKeys'
}
Expand Down Expand Up @@ -132,6 +137,10 @@ def initialize(attributes = {})
self.ratio_in_month = attributes[:'ratio_in_month']
end

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

if attributes.key?(:'start_date')
self.start_date = attributes[:'start_date']
end
Expand Down Expand Up @@ -160,6 +169,7 @@ def ==(o)
org_name == o.org_name &&
public_id == o.public_id &&
ratio_in_month == o.ratio_in_month &&
region == o.region &&
start_date == o.start_date &&
usage == o.usage
end
Expand All @@ -175,7 +185,7 @@ def eql?(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[billing_plan, end_date, num_orgs, org_name, public_id, ratio_in_month, start_date, usage].hash
[billing_plan, end_date, num_orgs, org_name, public_id, ratio_in_month, region, start_date, usage].hash
end
end
end
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v1/models/usage_summary_date_org.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ class UsageSummaryDateOrg
# The organization public id.
attr_accessor :public_id

# The region of the organization.
attr_accessor :region

# 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.
attr_accessor :rum_browser_and_mobile_session_count

Expand Down Expand Up @@ -282,6 +285,7 @@ def self.attribute_map
:'opentelemetry_host_top99p' => :'opentelemetry_host_top99p',
:'profiling_host_top99p' => :'profiling_host_top99p',
:'public_id' => :'public_id',
:'region' => :'region',
:'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',
Expand Down Expand Up @@ -361,6 +365,7 @@ def self.openapi_types
:'opentelemetry_host_top99p' => :'Integer',
:'profiling_host_top99p' => :'Integer',
:'public_id' => :'String',
:'region' => :'String',
:'rum_browser_and_mobile_session_count' => :'Integer',
:'rum_session_count_sum' => :'Integer',
:'rum_total_session_count_sum' => :'Integer',
Expand Down Expand Up @@ -618,6 +623,10 @@ def initialize(attributes = {})
self.public_id = attributes[:'public_id']
end

if attributes.key?(:'region')
self.region = attributes[:'region']
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
Expand Down Expand Up @@ -731,6 +740,7 @@ def ==(o)
opentelemetry_host_top99p == o.opentelemetry_host_top99p &&
profiling_host_top99p == o.profiling_host_top99p &&
public_id == o.public_id &&
region == o.region &&
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 &&
Expand All @@ -755,7 +765,7 @@ def eql?(o)
# @return [Integer] Hash code
# @!visibility private
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, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_host_top99p, profiling_host_top99p, public_id, 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
[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, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_host_top99p, profiling_host_top99p, public_id, region, 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
end
end