Class: DatadogAPIClient::V1::UsageSummaryDateOrg

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/usage_summary_date_org.rb

Overview

Global hourly report of all data billed by Datadog for a given organization.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from BaseGenericModel

included

Instance Attribute Details

#_unparsedObject

whether the object has unparsed attributes



23
24
25
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 23

def _unparsed
  @_unparsed
end

#account_nameObject

The account name.



25
26
27
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 25

def 
  @account_name
end

#account_public_idObject

The account public id.



28
29
30
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 28

def 
  @account_public_id
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



471
472
473
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 471

def additional_properties
  @additional_properties
end

#agent_host_top99pObject

Shows the 99th percentile of all agent hosts over all hours in the current date for the given org.



26
27
28
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 26

def agent_host_top99p
  @agent_host_top99p
end

#apm_azure_app_service_host_top99pObject

Shows the 99th percentile of all Azure app services using APM over all hours in the current date for the given org.



29
30
31
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 29

def apm_azure_app_service_host_top99p
  @apm_azure_app_service_host_top99p
end

#apm_devsecops_host_top99pObject

Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current date for the given org.



37
38
39
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 37

def apm_devsecops_host_top99p
  @apm_devsecops_host_top99p
end

#apm_fargate_count_avgObject

Shows the average of all APM ECS Fargate tasks over all hours in the current month for the given org.



40
41
42
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 40

def apm_fargate_count_avg
  @apm_fargate_count_avg
end

#apm_host_top99pObject

Shows the 99th percentile of all distinct APM hosts over all hours in the current date for the given org.



32
33
34
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 32

def apm_host_top99p
  @apm_host_top99p
end

#appsec_fargate_count_avgObject

Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current month for the given org.



46
47
48
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 46

def appsec_fargate_count_avg
  @appsec_fargate_count_avg
end

#asm_serverless_sumObject

Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current month for the given org.



49
50
51
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 49

def asm_serverless_sum
  @asm_serverless_sum
end

#audit_logs_lines_indexed_sumObject

Shows the sum of all audit logs lines indexed over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



35
36
37
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 35

def audit_logs_lines_indexed_sum
  @audit_logs_lines_indexed_sum
end

#audit_trail_enabled_hwmObject

Shows whether Audit Trail is enabled for the current date for the given org.



55
56
57
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 55

def audit_trail_enabled_hwm
  @audit_trail_enabled_hwm
end

#avg_profiled_fargate_tasksObject

The average total count for Fargate Container Profiler over all hours in the current month for the given org.



38
39
40
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 38

def avg_profiled_fargate_tasks
  @avg_profiled_fargate_tasks
end

#aws_host_top99pObject

Shows the 99th percentile of all AWS hosts over all hours in the current date for the given org.



41
42
43
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 41

def aws_host_top99p
  @aws_host_top99p
end

#aws_lambda_func_countObject

Shows the sum of all AWS Lambda invocations over all hours in the current date for the given org.



44
45
46
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 44

def aws_lambda_func_count
  @aws_lambda_func_count
end

#aws_lambda_invocations_sumObject

Shows the sum of all AWS Lambda invocations over all hours in the current date for the given org.



47
48
49
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 47

def aws_lambda_invocations_sum
  @aws_lambda_invocations_sum
end

#azure_app_service_top99pObject

Shows the 99th percentile of all Azure app services over all hours in the current date for the given org.



50
51
52
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 50

def azure_app_service_top99p
  @azure_app_service_top99p
end

#billable_ingested_bytes_sumObject

Shows the sum of all log bytes ingested over all hours in the current date for the given org.



53
54
55
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 53

def billable_ingested_bytes_sum
  @billable_ingested_bytes_sum
end

#browser_rum_lite_session_count_sumObject

Shows the sum of all browser lite sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



56
57
58
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 56

def browser_rum_lite_session_count_sum
  @browser_rum_lite_session_count_sum
end

#browser_rum_replay_session_count_sumObject

Shows the sum of all browser replay sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



59
60
61
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 59

def browser_rum_replay_session_count_sum
  @browser_rum_replay_session_count_sum
end

#browser_rum_units_sumObject

Shows the sum of all browser RUM units over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



62
63
64
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 62

def browser_rum_units_sum
  @browser_rum_units_sum
end

#ci_pipeline_indexed_spans_sumObject

Shows the sum of all CI pipeline indexed spans over all hours in the current date for the given org.



85
86
87
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 85

def ci_pipeline_indexed_spans_sum
  @ci_pipeline_indexed_spans_sum
end

#ci_test_indexed_spans_sumObject

Shows the sum of all CI test indexed spans over all hours in the current date for the given org.



88
89
90
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 88

def ci_test_indexed_spans_sum
  @ci_test_indexed_spans_sum
end

#ci_visibility_itr_committers_hwmObject

Shows the high-water mark of all CI visibility intelligent test runner committers over all hours in the current date for the given org.



91
92
93
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 91

def ci_visibility_itr_committers_hwm
  @ci_visibility_itr_committers_hwm
end

#ci_visibility_pipeline_committers_hwmObject

Shows the high-water mark of all CI visibility pipeline committers over all hours in the current date for the given org.



94
95
96
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 94

def ci_visibility_pipeline_committers_hwm
  @ci_visibility_pipeline_committers_hwm
end

#ci_visibility_test_committers_hwmObject

Shows the high-water mark of all CI visibility test committers over all hours in the current date for the given org.



97
98
99
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 97

def ci_visibility_test_committers_hwm
  @ci_visibility_test_committers_hwm
end

#cloud_cost_management_aws_host_count_avgObject

Host count average of Cloud Cost Management for AWS for the given date and given org.



100
101
102
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 100

def cloud_cost_management_aws_host_count_avg
  @cloud_cost_management_aws_host_count_avg
end

#cloud_cost_management_azure_host_count_avgObject

Host count average of Cloud Cost Management for Azure for the given date and given org.



103
104
105
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 103

def cloud_cost_management_azure_host_count_avg
  @cloud_cost_management_azure_host_count_avg
end

#cloud_cost_management_gcp_host_count_avgObject

Host count average of Cloud Cost Management for GCP for the given date and given org.



106
107
108
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 106

def cloud_cost_management_gcp_host_count_avg
  @cloud_cost_management_gcp_host_count_avg
end

#cloud_cost_management_host_count_avgObject

Host count average of Cloud Cost Management for all cloud providers for the given date and given org.



109
110
111
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 109

def cloud_cost_management_host_count_avg
  @cloud_cost_management_host_count_avg
end

#cloud_siem_events_sumObject

Shows the sum of all Cloud Security Information and Event Management events over all hours in the current date for the given org.



112
113
114
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 112

def cloud_siem_events_sum
  @cloud_siem_events_sum
end

#code_analysis_sa_committers_hwmObject

Shows the high-water mark of all Static Analysis committers over all hours in the current date for the given org.



115
116
117
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 115

def code_analysis_sa_committers_hwm
  @code_analysis_sa_committers_hwm
end

#code_analysis_sca_committers_hwmObject

Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current date for the given org.



118
119
120
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 118

def code_analysis_sca_committers_hwm
  @code_analysis_sca_committers_hwm
end

#code_security_host_top99pObject

Shows the 99th percentile of all Code Security hosts over all hours in the current date for the given org.



121
122
123
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 121

def code_security_host_top99p
  @code_security_host_top99p
end

#container_avgObject

Shows the average of all distinct containers over all hours in the current date for the given org.



65
66
67
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 65

def container_avg
  @container_avg
end

#container_excl_agent_avgObject

Shows the average of containers without the Datadog Agent over all hours in the current date for the given organization.



127
128
129
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 127

def container_excl_agent_avg
  @container_excl_agent_avg
end

#container_hwmObject

Shows the high-water mark of all distinct containers over all hours in the current date for the given org.



68
69
70
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 68

def container_hwm
  @container_hwm
end

#csm_container_enterprise_compliance_count_sumObject

Shows the sum of all Cloud Security Management Enterprise compliance containers over all hours in the current date for the given org.



133
134
135
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 133

def csm_container_enterprise_compliance_count_sum
  @csm_container_enterprise_compliance_count_sum
end

#csm_container_enterprise_cws_count_sumObject

Shows the sum of all Cloud Security Management Enterprise Cloud Workload Security containers over all hours in the current date for the given org.



136
137
138
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 136

def csm_container_enterprise_cws_count_sum
  @csm_container_enterprise_cws_count_sum
end

#csm_container_enterprise_total_count_sumObject

Shows the sum of all Cloud Security Management Enterprise containers over all hours in the current date for the given org.



139
140
141
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 139

def csm_container_enterprise_total_count_sum
  @csm_container_enterprise_total_count_sum
end

#csm_host_enterprise_aas_host_count_top99pObject

Shows the 99th percentile of all Cloud Security Management Enterprise Azure app services hosts over all hours in the current date for the given org.



142
143
144
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 142

def csm_host_enterprise_aas_host_count_top99p
  @csm_host_enterprise_aas_host_count_top99p
end

#csm_host_enterprise_aws_host_count_top99pObject

Shows the 99th percentile of all Cloud Security Management Enterprise AWS hosts over all hours in the current date for the given org.



145
146
147
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 145

def csm_host_enterprise_aws_host_count_top99p
  @csm_host_enterprise_aws_host_count_top99p
end

#csm_host_enterprise_azure_host_count_top99pObject

Shows the 99th percentile of all Cloud Security Management Enterprise Azure hosts over all hours in the current date for the given org.



148
149
150
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 148

def csm_host_enterprise_azure_host_count_top99p
  @csm_host_enterprise_azure_host_count_top99p
end

#csm_host_enterprise_compliance_host_count_top99pObject

Shows the 99th percentile of all Cloud Security Management Enterprise compliance hosts over all hours in the current date for the given org.



151
152
153
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 151

def csm_host_enterprise_compliance_host_count_top99p
  @csm_host_enterprise_compliance_host_count_top99p
end

#csm_host_enterprise_cws_host_count_top99pObject

Shows the 99th percentile of all Cloud Security Management Enterprise Cloud Workload Security hosts over all hours in the current date for the given org.



154
155
156
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 154

def csm_host_enterprise_cws_host_count_top99p
  @csm_host_enterprise_cws_host_count_top99p
end

#csm_host_enterprise_gcp_host_count_top99pObject

Shows the 99th percentile of all Cloud Security Management Enterprise GCP hosts over all hours in the current date for the given org.



157
158
159
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 157

def csm_host_enterprise_gcp_host_count_top99p
  @csm_host_enterprise_gcp_host_count_top99p
end

#csm_host_enterprise_total_host_count_top99pObject

Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current date for the given org.



160
161
162
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 160

def csm_host_enterprise_total_host_count_top99p
  @csm_host_enterprise_total_host_count_top99p
end

#cspm_aas_host_top99pObject

Shows the 99th percentile of all Cloud Security Management Pro Azure app services hosts over all hours in the current date for the given org.



71
72
73
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 71

def cspm_aas_host_top99p
  @cspm_aas_host_top99p
end

#cspm_aws_host_top99pObject

Shows the 99th percentile of all Cloud Security Management Pro AWS hosts over all hours in the current date for the given org.



166
167
168
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 166

def cspm_aws_host_top99p
  @cspm_aws_host_top99p
end

#cspm_azure_host_top99pObject

Shows the 99th percentile of all Cloud Security Management Pro Azure hosts over all hours in the current date for the given org.



74
75
76
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 74

def cspm_azure_host_top99p
  @cspm_azure_host_top99p
end

#cspm_container_avgObject

Shows the average number of Cloud Security Management Pro containers over all hours in the current date for the given org.



77
78
79
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 77

def cspm_container_avg
  @cspm_container_avg
end

#cspm_container_hwmObject

Shows the high-water mark of Cloud Security Management Pro containers over all hours in the current date for the given org.



80
81
82
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 80

def cspm_container_hwm
  @cspm_container_hwm
end

#cspm_gcp_host_top99pObject

Shows the 99th percentile of all Cloud Security Management Pro GCP hosts over all hours in the current date for the given org.



178
179
180
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 178

def cspm_gcp_host_top99p
  @cspm_gcp_host_top99p
end

#cspm_host_top99pObject

Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current date for the given org.



83
84
85
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 83

def cspm_host_top99p
  @cspm_host_top99p
end

#custom_historical_ts_avgObject

Shows the average number of distinct historical custom metrics over all hours in the current date for the given org.



184
185
186
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 184

def custom_historical_ts_avg
  @custom_historical_ts_avg
end

#custom_live_ts_avgObject

Shows the average number of distinct live custom metrics over all hours in the current date for the given org.



187
188
189
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 187

def custom_live_ts_avg
  @custom_live_ts_avg
end

#custom_ts_avgObject

Shows the average number of distinct custom metrics over all hours in the current date for the given org.



86
87
88
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 86

def custom_ts_avg
  @custom_ts_avg
end

#cws_container_count_avgObject

Shows the average of all distinct Cloud Workload Security containers over all hours in the current date for the given org.



89
90
91
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 89

def cws_container_count_avg
  @cws_container_count_avg
end

#cws_fargate_task_avgObject

Shows the average of all distinct Cloud Workload Security Fargate tasks over all hours in the current date for the given org.



196
197
198
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 196

def cws_fargate_task_avg
  @cws_fargate_task_avg
end

#cws_host_top99pObject

Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current date for the given org.



92
93
94
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 92

def cws_host_top99p
  @cws_host_top99p
end

#data_jobs_monitoring_host_hr_sumObject

Shows the sum of all Data Jobs Monitoring hosts over all hours in the current date for the given org.



202
203
204
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 202

def data_jobs_monitoring_host_hr_sum
  @data_jobs_monitoring_host_hr_sum
end

#dbm_host_top99p_sumObject

Shows the 99th percentile of all Database Monitoring hosts over all hours in the current month for the given org.



95
96
97
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 95

def dbm_host_top99p_sum
  @dbm_host_top99p_sum
end

#dbm_queries_avg_sumObject

Shows the average of all distinct Database Monitoring normalized queries over all hours in the current month for the given org.



98
99
100
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 98

def dbm_queries_avg_sum
  @dbm_queries_avg_sum
end

#error_tracking_error_events_sumObject

Shows the sum of all Error Tracking error events over all hours in the current date for the given org.



211
212
213
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 211

def error_tracking_error_events_sum
  @error_tracking_error_events_sum
end

#error_tracking_events_sumObject

Shows the sum of all Error Tracking events over all hours in the current date for the given org.



214
215
216
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 214

def error_tracking_events_sum
  @error_tracking_events_sum
end

#error_tracking_rum_error_events_sumObject

Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org.



217
218
219
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 217

def error_tracking_rum_error_events_sum
  @error_tracking_rum_error_events_sum
end

#fargate_container_profiler_profiling_fargate_avgObject

The average number of Profiling Fargate tasks over all hours in the current month for the given org.



220
221
222
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 220

def fargate_container_profiler_profiling_fargate_avg
  @fargate_container_profiler_profiling_fargate_avg
end

#fargate_container_profiler_profiling_fargate_eks_avgObject

The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the current month for the given org.



223
224
225
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 223

def fargate_container_profiler_profiling_fargate_eks_avg
  @fargate_container_profiler_profiling_fargate_eks_avg
end

#fargate_tasks_count_avgObject

The average task count for Fargate.



101
102
103
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 101

def fargate_tasks_count_avg
  @fargate_tasks_count_avg
end

#fargate_tasks_count_hwmObject

Shows the high-water mark of all Fargate tasks over all hours in the current date for the given org.



104
105
106
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 104

def fargate_tasks_count_hwm
  @fargate_tasks_count_hwm
end

#flex_logs_compute_large_avgObject

Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org.



232
233
234
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 232

def flex_logs_compute_large_avg
  @flex_logs_compute_large_avg
end

#flex_logs_compute_medium_avgObject

Shows the average number of Flex Logs Compute Medium Instances over all hours in the current date for the given org.



235
236
237
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 235

def flex_logs_compute_medium_avg
  @flex_logs_compute_medium_avg
end

#flex_logs_compute_small_avgObject

Shows the average number of Flex Logs Compute Small Instances over all hours in the current date for the given org.



238
239
240
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 238

def flex_logs_compute_small_avg
  @flex_logs_compute_small_avg
end

#flex_logs_compute_xsmall_avgObject

Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current date for the given org.



241
242
243
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 241

def flex_logs_compute_xsmall_avg
  @flex_logs_compute_xsmall_avg
end

#flex_logs_starter_avgObject

Shows the average number of Flex Logs Starter Instances over all hours in the current date for the given org.



244
245
246
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 244

def flex_logs_starter_avg
  @flex_logs_starter_avg
end

#flex_logs_starter_storage_index_avgObject

Shows the average number of Flex Logs Starter Storage Index Instances over all hours in the current date for the given org.



247
248
249
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 247

def flex_logs_starter_storage_index_avg
  @flex_logs_starter_storage_index_avg
end

#flex_logs_starter_storage_retention_adjustment_avgObject

Shows the average number of Flex Logs Starter Storage Retention Adjustment Instances over all hours in the current date for the given org.



250
251
252
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 250

def flex_logs_starter_storage_retention_adjustment_avg
  @flex_logs_starter_storage_retention_adjustment_avg
end

#flex_stored_logs_avgObject

Shows the average of all Flex Stored Logs over all hours in the current date for the given org.



253
254
255
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 253

def flex_stored_logs_avg
  @flex_stored_logs_avg
end

#forwarding_events_bytes_sumObject

Shows the sum of all log bytes forwarded over all hours in the current date for the given org.



256
257
258
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 256

def forwarding_events_bytes_sum
  @forwarding_events_bytes_sum
end

#gcp_host_top99pObject

Shows the 99th percentile of all GCP hosts over all hours in the current date for the given org.



107
108
109
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 107

def gcp_host_top99p
  @gcp_host_top99p
end

#heroku_host_top99pObject

Shows the 99th percentile of all Heroku dynos over all hours in the current date for the given org.



110
111
112
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 110

def heroku_host_top99p
  @heroku_host_top99p
end

#idObject

The organization id.



113
114
115
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 113

def id
  @id
end

#incident_management_monthly_active_users_hwmObject

Shows the high-water mark of incident management monthly active users over all hours in the current date for the given org.



116
117
118
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 116

def incident_management_monthly_active_users_hwm
  @incident_management_monthly_active_users_hwm
end

#indexed_events_count_sumObject

Shows the sum of all log events indexed over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



119
120
121
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 119

def indexed_events_count_sum
  @indexed_events_count_sum
end

#infra_host_top99pObject

Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for the given org.



122
123
124
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 122

def infra_host_top99p
  @infra_host_top99p
end

#ingested_events_bytes_sumObject

Shows the sum of all log bytes ingested over all hours in the current date for the given org.



125
126
127
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 125

def ingested_events_bytes_sum
  @ingested_events_bytes_sum
end

#iot_device_agg_sumObject

Shows the sum of all IoT devices over all hours in the current date for the given org.



128
129
130
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 128

def iot_device_agg_sum
  @iot_device_agg_sum
end

#iot_device_top99p_sumObject

Shows the 99th percentile of all IoT devices over all hours in the current date for the given org.



131
132
133
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 131

def iot_device_top99p_sum
  @iot_device_top99p_sum
end

#mobile_rum_lite_session_count_sumObject

Shows the sum of all mobile lite sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



134
135
136
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 134

def mobile_rum_lite_session_count_sum
  @mobile_rum_lite_session_count_sum
end

#mobile_rum_session_count_android_sumObject

Shows the sum of all mobile RUM sessions on Android over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



137
138
139
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 137

def mobile_rum_session_count_android_sum
  @mobile_rum_session_count_android_sum
end

#mobile_rum_session_count_flutter_sumObject

Shows the sum of all mobile RUM sessions on Flutter over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



292
293
294
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 292

def mobile_rum_session_count_flutter_sum
  @mobile_rum_session_count_flutter_sum
end

#mobile_rum_session_count_ios_sumObject

Shows the sum of all mobile RUM sessions on iOS over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



140
141
142
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 140

def mobile_rum_session_count_ios_sum
  @mobile_rum_session_count_ios_sum
end

#mobile_rum_session_count_reactnative_sumObject

Shows the sum of all mobile RUM sessions on React Native over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



298
299
300
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 298

def mobile_rum_session_count_reactnative_sum
  @mobile_rum_session_count_reactnative_sum
end

#mobile_rum_session_count_roku_sumObject

Shows the sum of all mobile RUM sessions on Roku over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



301
302
303
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 301

def mobile_rum_session_count_roku_sum
  @mobile_rum_session_count_roku_sum
end

#mobile_rum_session_count_sumObject

Shows the sum of all mobile RUM sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



143
144
145
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 143

def mobile_rum_session_count_sum
  @mobile_rum_session_count_sum
end

#mobile_rum_units_sumObject

Shows the sum of all mobile RUM units over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



146
147
148
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 146

def mobile_rum_units_sum
  @mobile_rum_units_sum
end

#nameObject

The organization name.



149
150
151
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 149

def name
  @name
end

#ndm_netflow_events_sumObject

Shows the sum of all Network Device Monitoring NetFlow events over all hours in the current date for the given org.



313
314
315
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 313

def ndm_netflow_events_sum
  @ndm_netflow_events_sum
end

#netflow_indexed_events_count_sumObject

Shows the sum of all Network flows indexed over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



152
153
154
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 152

def netflow_indexed_events_count_sum
  @netflow_indexed_events_count_sum
end

#npm_host_top99pObject

Shows the 99th percentile of all distinct Cloud Network Monitoring hosts (formerly known as Network hosts) over all hours in the current date for the given org.



155
156
157
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 155

def npm_host_top99p
  @npm_host_top99p
end

#observability_pipelines_bytes_processed_sumObject

Sum of all observability pipelines bytes processed over all hours in the current date for the given org.



322
323
324
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 322

def observability_pipelines_bytes_processed_sum
  @observability_pipelines_bytes_processed_sum
end

#oci_host_sumObject

Shows the sum of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.



325
326
327
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 325

def oci_host_sum
  @oci_host_sum
end

#oci_host_top99pObject

Shows the 99th percentile of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.



328
329
330
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 328

def oci_host_top99p
  @oci_host_top99p
end

#online_archive_events_count_sumObject

Sum of all online archived events over all hours in the current date for the given org.



331
332
333
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 331

def online_archive_events_count_sum
  @online_archive_events_count_sum
end

#opentelemetry_apm_host_top99pObject

Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org.



334
335
336
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 334

def opentelemetry_apm_host_top99p
  @opentelemetry_apm_host_top99p
end

#opentelemetry_host_top99pObject

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.



158
159
160
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 158

def opentelemetry_host_top99p
  @opentelemetry_host_top99p
end

#profiling_aas_count_top99pObject

Shows the 99th percentile of all profiled Azure app services over all hours in the current date for all organizations.



340
341
342
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 340

def profiling_aas_count_top99p
  @profiling_aas_count_top99p
end

#profiling_host_top99pObject

Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org.



161
162
163
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 161

def profiling_host_top99p
  @profiling_host_top99p
end

#public_idObject

The organization public id.



164
165
166
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 164

def public_id
  @public_id
end

#regionObject

The region of the organization.



349
350
351
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 349

def region
  @region
end

#rum_browser_and_mobile_session_countObject

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 (To be deprecated on October 1st, 2024).



167
168
169
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 167

def rum_browser_and_mobile_session_count
  @rum_browser_and_mobile_session_count
end

#rum_browser_legacy_session_count_sumObject

Shows the sum of all browser RUM legacy sessions over all hours in the current date for the given org (To be introduced on October 1st, 2024).



355
356
357
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 355

def rum_browser_legacy_session_count_sum
  @rum_browser_legacy_session_count_sum
end

#rum_browser_lite_session_count_sumObject

Shows the sum of all browser RUM lite sessions over all hours in the current date for the given org (To be introduced on October 1st, 2024).



358
359
360
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 358

def rum_browser_lite_session_count_sum
  @rum_browser_lite_session_count_sum
end

#rum_browser_replay_session_count_sumObject

Shows the sum of all browser RUM Session Replay counts over all hours in the current date for the given org (To be introduced on October 1st, 2024).



361
362
363
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 361

def rum_browser_replay_session_count_sum
  @rum_browser_replay_session_count_sum
end

#rum_lite_session_count_sumObject

Shows the sum of all RUM lite sessions (browser and mobile) over all hours in the current date for the given org (To be introduced on October 1st, 2024).



364
365
366
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 364

def rum_lite_session_count_sum
  @rum_lite_session_count_sum
end

#rum_mobile_legacy_session_count_android_sumObject

Shows the sum of all mobile RUM legacy sessions on Android over all hours in the current date for the given org (To be introduced on October 1st, 2024).



367
368
369
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 367

def rum_mobile_legacy_session_count_android_sum
  @rum_mobile_legacy_session_count_android_sum
end

#rum_mobile_legacy_session_count_flutter_sumObject

Shows the sum of all mobile RUM legacy sessions on Flutter over all hours in the current date for the given org (To be introduced on October 1st, 2024).



370
371
372
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 370

def rum_mobile_legacy_session_count_flutter_sum
  @rum_mobile_legacy_session_count_flutter_sum
end

#rum_mobile_legacy_session_count_ios_sumObject

Shows the sum of all mobile RUM legacy sessions on iOS over all hours in the current date for the given org (To be introduced on October 1st, 2024).



373
374
375
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 373

def rum_mobile_legacy_session_count_ios_sum
  @rum_mobile_legacy_session_count_ios_sum
end

#rum_mobile_legacy_session_count_reactnative_sumObject

Shows the sum of all mobile RUM legacy sessions on React Native over all hours in the current date for the given org (To be introduced on October 1st, 2024).



376
377
378
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 376

def rum_mobile_legacy_session_count_reactnative_sum
  @rum_mobile_legacy_session_count_reactnative_sum
end

#rum_mobile_legacy_session_count_roku_sumObject

Shows the sum of all mobile RUM legacy sessions on Roku over all hours in the current date for the given org (To be introduced on October 1st, 2024).



379
380
381
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 379

def rum_mobile_legacy_session_count_roku_sum
  @rum_mobile_legacy_session_count_roku_sum
end

#rum_mobile_lite_session_count_android_sumObject

Shows the sum of all mobile RUM lite sessions on Android over all hours in the current date for the given org (To be introduced on October 1st, 2024).



382
383
384
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 382

def rum_mobile_lite_session_count_android_sum
  @rum_mobile_lite_session_count_android_sum
end

#rum_mobile_lite_session_count_flutter_sumObject

Shows the sum of all mobile RUM lite sessions on Flutter over all hours in the current date for the given org (To be introduced on October 1st, 2024).



385
386
387
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 385

def rum_mobile_lite_session_count_flutter_sum
  @rum_mobile_lite_session_count_flutter_sum
end

#rum_mobile_lite_session_count_ios_sumObject

Shows the sum of all mobile RUM lite sessions on iOS over all hours in the current date for the given org (To be introduced on October 1st, 2024).



388
389
390
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 388

def rum_mobile_lite_session_count_ios_sum
  @rum_mobile_lite_session_count_ios_sum
end

#rum_mobile_lite_session_count_reactnative_sumObject

Shows the sum of all mobile RUM lite sessions on React Native over all hours in the current date for the given org (To be introduced on October 1st, 2024).



391
392
393
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 391

def rum_mobile_lite_session_count_reactnative_sum
  @rum_mobile_lite_session_count_reactnative_sum
end

#rum_mobile_lite_session_count_roku_sumObject

Shows the sum of all mobile RUM lite sessions on Roku over all hours in the current date for the given org (To be introduced on October 1st, 2024).



394
395
396
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 394

def rum_mobile_lite_session_count_roku_sum
  @rum_mobile_lite_session_count_roku_sum
end

#rum_replay_session_count_sumObject

Shows the sum of all RUM Session Replay counts over all hours in the current date for the given org (To be introduced on October 1st, 2024).



397
398
399
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 397

def rum_replay_session_count_sum
  @rum_replay_session_count_sum
end

#rum_session_count_sumObject

Shows the sum of all browser RUM lite sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



170
171
172
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 170

def rum_session_count_sum
  @rum_session_count_sum
end

#rum_total_session_count_sumObject

Shows the sum of RUM sessions (browser and mobile) over all hours in the current date for the given org.



173
174
175
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 173

def rum_total_session_count_sum
  @rum_total_session_count_sum
end

#rum_units_sumObject

Shows the sum of all browser and mobile RUM units over all hours in the current date for the given org (To be deprecated on October 1st, 2024).



176
177
178
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 176

def rum_units_sum
  @rum_units_sum
end

#sca_fargate_count_avgObject

Shows the average of all Software Composition Analysis Fargate tasks over all hours in the current date for the given org.



409
410
411
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 409

def sca_fargate_count_avg
  @sca_fargate_count_avg
end

#sca_fargate_count_hwmObject

Shows the sum of the high-water marks of all Software Composition Analysis Fargate tasks over all hours in the current date for the given org.



412
413
414
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 412

def sca_fargate_count_hwm
  @sca_fargate_count_hwm
end

#sds_apm_scanned_bytes_sumObject

Sum of all APM bytes scanned with sensitive data scanner over all hours in the current date for the given org.



415
416
417
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 415

def sds_apm_scanned_bytes_sum
  @sds_apm_scanned_bytes_sum
end

#sds_events_scanned_bytes_sumObject

Sum of all event stream events bytes scanned with sensitive data scanner over all hours in the current date for the given org.



418
419
420
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 418

def sds_events_scanned_bytes_sum
  @sds_events_scanned_bytes_sum
end

#sds_logs_scanned_bytes_sumObject

Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for the given org.



179
180
181
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 179

def sds_logs_scanned_bytes_sum
  @sds_logs_scanned_bytes_sum
end

#sds_rum_scanned_bytes_sumObject

Sum of all RUM bytes scanned with sensitive data scanner over all hours in the current date for the given org.



424
425
426
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 424

def sds_rum_scanned_bytes_sum
  @sds_rum_scanned_bytes_sum
end

#sds_total_scanned_bytes_sumObject

Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for the given org.



182
183
184
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 182

def sds_total_scanned_bytes_sum
  @sds_total_scanned_bytes_sum
end

#serverless_apps_azure_count_avgObject

Shows the average of the number of Serverless Apps for Azure for the given date and given org.



430
431
432
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 430

def serverless_apps_azure_count_avg
  @serverless_apps_azure_count_avg
end

#serverless_apps_google_count_avgObject

Shows the average of the number of Serverless Apps for Google Cloud for the given date and given org.



433
434
435
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 433

def serverless_apps_google_count_avg
  @serverless_apps_google_count_avg
end

#serverless_apps_total_count_avgObject

Shows the average of the number of Serverless Apps for Azure and Google Cloud for the given date and given org.



436
437
438
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 436

def serverless_apps_total_count_avg
  @serverless_apps_total_count_avg
end

#siem_analyzed_logs_add_on_count_sumObject

Shows the sum of all log events analyzed by Cloud SIEM over all hours in the current date for the given org.



439
440
441
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 439

def siem_analyzed_logs_add_on_count_sum
  @siem_analyzed_logs_add_on_count_sum
end

#synthetics_browser_check_calls_count_sumObject

Shows the sum of all Synthetic browser tests over all hours in the current date for the given org.



185
186
187
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 185

def synthetics_browser_check_calls_count_sum
  @synthetics_browser_check_calls_count_sum
end

#synthetics_check_calls_count_sumObject

Shows the sum of all Synthetic API tests over all hours in the current date for the given org.



188
189
190
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 188

def synthetics_check_calls_count_sum
  @synthetics_check_calls_count_sum
end

#synthetics_mobile_test_runs_sumObject

Shows the sum of all Synthetic mobile application tests over all hours in the current date for the given org.



448
449
450
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 448

def synthetics_mobile_test_runs_sum
  @synthetics_mobile_test_runs_sum
end

#synthetics_parallel_testing_max_slots_hwmObject

Shows the high-water mark of used synthetics parallel testing slots over all hours in the current date for the given org.



451
452
453
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 451

def synthetics_parallel_testing_max_slots_hwm
  @synthetics_parallel_testing_max_slots_hwm
end

#trace_search_indexed_events_count_sumObject

Shows the sum of all Indexed Spans indexed over all hours in the current date for the given org.



191
192
193
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 191

def trace_search_indexed_events_count_sum
  @trace_search_indexed_events_count_sum
end

#twol_ingested_events_bytes_sumObject

Shows the sum of all ingested APM span bytes over all hours in the current date for the given org.



194
195
196
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 194

def twol_ingested_events_bytes_sum
  @twol_ingested_events_bytes_sum
end

#universal_service_monitoring_host_top99pObject

Shows the 99th percentile of all Universal Service Monitoring hosts over all hours in the current date for the given org.



460
461
462
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 460

def universal_service_monitoring_host_top99p
  @universal_service_monitoring_host_top99p
end

#vsphere_host_top99pObject

Shows the 99th percentile of all vSphere hosts over all hours in the current date for the given org.



197
198
199
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 197

def vsphere_host_top99p
  @vsphere_host_top99p
end

#vuln_management_host_count_top99pObject

Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current date for the given org.



466
467
468
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 466

def vuln_management_host_count_top99p
  @vuln_management_host_count_top99p
end

#workflow_executions_usage_sumObject

Sum of all workflows executed over all hours in the current date for the given org.



469
470
471
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 469

def workflow_executions_usage_sum
  @workflow_executions_usage_sum
end

Class Method Details

.acceptable_attributesObject

Returns all the JSON keys this model knows about



264
265
266
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 264

def self.acceptable_attributes
  attribute_map.values
end

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



679
680
681
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 679

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end

.openapi_nullableObject

List of attributes with nullable: true



333
334
335
336
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 333

def self.openapi_nullable
  Set.new([
  ])
end

Instance Method Details

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 709

def _deserialize(type, value)
  case type.to_sym
  when :Time
    Time.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :Boolean
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when :Array
    # generic array, return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    # models (e.g. Pet) or oneOf
    klass = DatadogAPIClient::V1.const_get(type)
    res = klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    if res.instance_of? DatadogAPIClient::V1::UnparsedObject
      self._unparsed = true
    end
    res
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



787
788
789
790
791
792
793
794
795
796
797
798
799
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 787

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 686

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.openapi_types.each_pair do |key, type|
    if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
      self.send("#{key}=", nil)
    elsif type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


666
667
668
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 666

def eql?(o)
  self == o
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



588
589
590
591
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 588

def list_invalid_properties
  invalid_properties = Array.new
  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



763
764
765
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 763

def to_body
  to_hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



757
758
759
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 757

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



595
596
597
# File 'lib/datadog_api_client/v1/models/usage_summary_date_org.rb', line 595

def valid?
  true
end