class DatadogAPIClient::V1::UsageSummaryDate

Response with hourly report of all data billed by Datadog all organizations.

Attributes

agent_host_top99p[RW]

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

apm_azure_app_service_host_top99p[RW]

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

apm_host_top99p[RW]

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

audit_logs_lines_indexed_sum[RW]

Shows the sum of audit logs lines indexed over all hours in the current date for all organizations.

aws_host_top99p[RW]

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

aws_lambda_func_count[RW]

Shows the average of the number of functions that executed 1 or more times each hour in the current date for all organizations.

aws_lambda_invocations_sum[RW]

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

azure_app_service_top99p[RW]

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

billable_ingested_bytes_sum[RW]

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

container_avg[RW]

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

container_hwm[RW]

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

cspm_container_avg[RW]

Shows the average number of Cloud Security Posture Management containers over all hours in the current date for all organizations.

cspm_container_hwm[RW]

Shows the high-water mark of Cloud Security Posture Management containers over all hours in the current date for all organizations.

cspm_host_top99p[RW]

Shows the 99th percentile of all Cloud Security Posture Management hosts over all hours in the current date for all organizations.

custom_ts_avg[RW]

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

cws_container_count_avg[RW]

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

cws_host_top99p[RW]

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

date[RW]

The date for the usage.

fargate_tasks_count_avg[RW]

Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations.

fargate_tasks_count_hwm[RW]

Shows the average of all Fargate tasks over all hours in the current date for all organizations.

gcp_host_top99p[RW]

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

heroku_host_top99p[RW]

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

incident_management_monthly_active_users_hwm[RW]

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

indexed_events_count_sum[RW]

Shows the sum of all log events indexed over all hours in the current date for all organizations.

infra_host_top99p[RW]

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

ingested_events_bytes_sum[RW]

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

iot_device_sum[RW]

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

iot_device_top99p[RW]

Shows the 99th percentile of all IoT devices over all hours in the current date all organizations.

mobile_rum_session_count_android_sum[RW]

Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for all organizations.

mobile_rum_session_count_ios_sum[RW]

Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for all organizations.

mobile_rum_session_count_sum[RW]

Shows the sum of all mobile RUM Sessions over all hours in the current date for all organizations

netflow_indexed_events_count_sum[RW]

Shows the sum of all Network flows indexed over all hours in the current date for all organizations.

npm_host_top99p[RW]

Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for all organizations.

opentelemetry_host_top99p[RW]

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.

orgs[RW]

Organizations associated with a user.

profiling_host_top99p[RW]

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

rum_session_count_sum[RW]

Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations

rum_total_session_count_sum[RW]

Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for all organizations.

synthetics_browser_check_calls_count_sum[RW]

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

synthetics_check_calls_count_sum[RW]

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

trace_search_indexed_events_count_sum[RW]

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

twol_ingested_events_bytes_sum[RW]

Shows the sum of all tracing without limits bytes ingested over all hours in the current date for all organizations.

vsphere_host_top99p[RW]

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

Public Class Methods

acceptable_attributes() click to toggle source

Returns all the JSON keys this model knows about

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 201
def self.acceptable_attributes
  attribute_map.values
end
attribute_map() click to toggle source

Attribute mapping from ruby-style variable name to JSON key.

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 152
def self.attribute_map
  {
    :'agent_host_top99p' => :'agent_host_top99p',
    :'apm_azure_app_service_host_top99p' => :'apm_azure_app_service_host_top99p',
    :'apm_host_top99p' => :'apm_host_top99p',
    :'audit_logs_lines_indexed_sum' => :'audit_logs_lines_indexed_sum',
    :'aws_host_top99p' => :'aws_host_top99p',
    :'aws_lambda_func_count' => :'aws_lambda_func_count',
    :'aws_lambda_invocations_sum' => :'aws_lambda_invocations_sum',
    :'azure_app_service_top99p' => :'azure_app_service_top99p',
    :'billable_ingested_bytes_sum' => :'billable_ingested_bytes_sum',
    :'container_avg' => :'container_avg',
    :'container_hwm' => :'container_hwm',
    :'cspm_container_avg' => :'cspm_container_avg',
    :'cspm_container_hwm' => :'cspm_container_hwm',
    :'cspm_host_top99p' => :'cspm_host_top99p',
    :'custom_ts_avg' => :'custom_ts_avg',
    :'cws_container_count_avg' => :'cws_container_count_avg',
    :'cws_host_top99p' => :'cws_host_top99p',
    :'date' => :'date',
    :'fargate_tasks_count_avg' => :'fargate_tasks_count_avg',
    :'fargate_tasks_count_hwm' => :'fargate_tasks_count_hwm',
    :'gcp_host_top99p' => :'gcp_host_top99p',
    :'heroku_host_top99p' => :'heroku_host_top99p',
    :'incident_management_monthly_active_users_hwm' => :'incident_management_monthly_active_users_hwm',
    :'indexed_events_count_sum' => :'indexed_events_count_sum',
    :'infra_host_top99p' => :'infra_host_top99p',
    :'ingested_events_bytes_sum' => :'ingested_events_bytes_sum',
    :'iot_device_sum' => :'iot_device_sum',
    :'iot_device_top99p' => :'iot_device_top99p',
    :'mobile_rum_session_count_android_sum' => :'mobile_rum_session_count_android_sum',
    :'mobile_rum_session_count_ios_sum' => :'mobile_rum_session_count_ios_sum',
    :'mobile_rum_session_count_sum' => :'mobile_rum_session_count_sum',
    :'netflow_indexed_events_count_sum' => :'netflow_indexed_events_count_sum',
    :'npm_host_top99p' => :'npm_host_top99p',
    :'opentelemetry_host_top99p' => :'opentelemetry_host_top99p',
    :'orgs' => :'orgs',
    :'profiling_host_top99p' => :'profiling_host_top99p',
    :'rum_session_count_sum' => :'rum_session_count_sum',
    :'rum_total_session_count_sum' => :'rum_total_session_count_sum',
    :'synthetics_browser_check_calls_count_sum' => :'synthetics_browser_check_calls_count_sum',
    :'synthetics_check_calls_count_sum' => :'synthetics_check_calls_count_sum',
    :'trace_search_indexed_events_count_sum' => :'trace_search_indexed_events_count_sum',
    :'twol_ingested_events_bytes_sum' => :'twol_ingested_events_bytes_sum',
    :'vsphere_host_top99p' => :'vsphere_host_top99p'
  }
end
build_from_hash(attributes) click to toggle source

Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 528
def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end
new(attributes = {}) click to toggle source

Initializes the object @param [Hash] attributes Model attributes in the form of hash

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 262
def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::UsageSummaryDate` initialize method"
  end

  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h|
    if (!self.class.attribute_map.key?(k.to_sym))
      fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::UsageSummaryDate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    end
    h[k.to_sym] = v
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  if attributes.key?(:'vsphere_host_top99p')
    self.vsphere_host_top99p = attributes[:'vsphere_host_top99p']
  end
end
openapi_nullable() click to toggle source

List of attributes with nullable: true

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 255
def self.openapi_nullable
  Set.new([
  ])
end
openapi_types() click to toggle source

Attribute type mapping.

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 206
def self.openapi_types
  {
    :'agent_host_top99p' => :'Integer',
    :'apm_azure_app_service_host_top99p' => :'Integer',
    :'apm_host_top99p' => :'Integer',
    :'audit_logs_lines_indexed_sum' => :'Integer',
    :'aws_host_top99p' => :'Integer',
    :'aws_lambda_func_count' => :'Integer',
    :'aws_lambda_invocations_sum' => :'Integer',
    :'azure_app_service_top99p' => :'Integer',
    :'billable_ingested_bytes_sum' => :'Integer',
    :'container_avg' => :'Integer',
    :'container_hwm' => :'Integer',
    :'cspm_container_avg' => :'Integer',
    :'cspm_container_hwm' => :'Integer',
    :'cspm_host_top99p' => :'Integer',
    :'custom_ts_avg' => :'Integer',
    :'cws_container_count_avg' => :'Integer',
    :'cws_host_top99p' => :'Integer',
    :'date' => :'Time',
    :'fargate_tasks_count_avg' => :'Integer',
    :'fargate_tasks_count_hwm' => :'Integer',
    :'gcp_host_top99p' => :'Integer',
    :'heroku_host_top99p' => :'Integer',
    :'incident_management_monthly_active_users_hwm' => :'Integer',
    :'indexed_events_count_sum' => :'Integer',
    :'infra_host_top99p' => :'Integer',
    :'ingested_events_bytes_sum' => :'Integer',
    :'iot_device_sum' => :'Integer',
    :'iot_device_top99p' => :'Integer',
    :'mobile_rum_session_count_android_sum' => :'Integer',
    :'mobile_rum_session_count_ios_sum' => :'Integer',
    :'mobile_rum_session_count_sum' => :'Integer',
    :'netflow_indexed_events_count_sum' => :'Integer',
    :'npm_host_top99p' => :'Integer',
    :'opentelemetry_host_top99p' => :'Integer',
    :'orgs' => :'Array<UsageSummaryDateOrg>',
    :'profiling_host_top99p' => :'Integer',
    :'rum_session_count_sum' => :'Integer',
    :'rum_total_session_count_sum' => :'Integer',
    :'synthetics_browser_check_calls_count_sum' => :'Integer',
    :'synthetics_check_calls_count_sum' => :'Integer',
    :'trace_search_indexed_events_count_sum' => :'Integer',
    :'twol_ingested_events_bytes_sum' => :'Integer',
    :'vsphere_host_top99p' => :'Integer'
  }
end

Public Instance Methods

==(o) click to toggle source

Checks equality by comparing each attribute. @param [Object] Object to be compared

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 465
def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      agent_host_top99p == o.agent_host_top99p &&
      apm_azure_app_service_host_top99p == o.apm_azure_app_service_host_top99p &&
      apm_host_top99p == o.apm_host_top99p &&
      audit_logs_lines_indexed_sum == o.audit_logs_lines_indexed_sum &&
      aws_host_top99p == o.aws_host_top99p &&
      aws_lambda_func_count == o.aws_lambda_func_count &&
      aws_lambda_invocations_sum == o.aws_lambda_invocations_sum &&
      azure_app_service_top99p == o.azure_app_service_top99p &&
      billable_ingested_bytes_sum == o.billable_ingested_bytes_sum &&
      container_avg == o.container_avg &&
      container_hwm == o.container_hwm &&
      cspm_container_avg == o.cspm_container_avg &&
      cspm_container_hwm == o.cspm_container_hwm &&
      cspm_host_top99p == o.cspm_host_top99p &&
      custom_ts_avg == o.custom_ts_avg &&
      cws_container_count_avg == o.cws_container_count_avg &&
      cws_host_top99p == o.cws_host_top99p &&
      date == o.date &&
      fargate_tasks_count_avg == o.fargate_tasks_count_avg &&
      fargate_tasks_count_hwm == o.fargate_tasks_count_hwm &&
      gcp_host_top99p == o.gcp_host_top99p &&
      heroku_host_top99p == o.heroku_host_top99p &&
      incident_management_monthly_active_users_hwm == o.incident_management_monthly_active_users_hwm &&
      indexed_events_count_sum == o.indexed_events_count_sum &&
      infra_host_top99p == o.infra_host_top99p &&
      ingested_events_bytes_sum == o.ingested_events_bytes_sum &&
      iot_device_sum == o.iot_device_sum &&
      iot_device_top99p == o.iot_device_top99p &&
      mobile_rum_session_count_android_sum == o.mobile_rum_session_count_android_sum &&
      mobile_rum_session_count_ios_sum == o.mobile_rum_session_count_ios_sum &&
      mobile_rum_session_count_sum == o.mobile_rum_session_count_sum &&
      netflow_indexed_events_count_sum == o.netflow_indexed_events_count_sum &&
      npm_host_top99p == o.npm_host_top99p &&
      opentelemetry_host_top99p == o.opentelemetry_host_top99p &&
      orgs == o.orgs &&
      profiling_host_top99p == o.profiling_host_top99p &&
      rum_session_count_sum == o.rum_session_count_sum &&
      rum_total_session_count_sum == o.rum_total_session_count_sum &&
      synthetics_browser_check_calls_count_sum == o.synthetics_browser_check_calls_count_sum &&
      synthetics_check_calls_count_sum == o.synthetics_check_calls_count_sum &&
      trace_search_indexed_events_count_sum == o.trace_search_indexed_events_count_sum &&
      twol_ingested_events_bytes_sum == o.twol_ingested_events_bytes_sum &&
      vsphere_host_top99p == o.vsphere_host_top99p
end
_deserialize(type, value) click to toggle source

Deserializes the data based on type @param string type Data type @param string value Value to be deserialized @return [Object] Deserialized data

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 558
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)
    klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
  end
end
_to_hash(value) click to toggle source

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value @param [Object] value Any valid value @return [Hash] Returns the value in the form of hash

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 632
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) click to toggle source

Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 535
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) click to toggle source

@see the `==` method @param [Object] Object to be compared

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 515
def eql?(o)
  self == o
end
hash() click to toggle source

Calculates hash code according to all attributes. @return [Integer] Hash code

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 521
def hash
  [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_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, 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_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_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, 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
list_invalid_properties() click to toggle source

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 452
def list_invalid_properties
  invalid_properties = Array.new
  invalid_properties
end
to_body() click to toggle source

to_body is an alias to to_hash (backward compatibility) @return [Hash] Returns the object in the form of hash

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 608
def to_body
  to_hash
end
to_hash() click to toggle source

Returns the object in the form of hash @return [Hash] Returns the object in the form of hash

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 614
def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    if value.nil?
      is_nullable = self.class.openapi_nullable.include?(attr)
      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    end

    hash[param] = _to_hash(value)
  end
  hash
end
to_s() click to toggle source

Returns the string representation of the object @return [String] String presentation of the object

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 602
def to_s
  to_hash.to_s
end
valid?() click to toggle source

Check to see if the all the properties in the model are valid @return true if the model is valid

# File lib/datadog_api_client/v1/models/usage_summary_date.rb, line 459
def valid?
  true
end