Class: DatadogAPIClient::V2::ProductAnalyticsUnit

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

Overview

A unit definition for metric values.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



42
43
44
# File 'lib/datadog_api_client/v2/models/product_analytics_unit.rb', line 42

def additional_properties
  @additional_properties
end

#familyObject

The unit family (e.g., time, bytes).



25
26
27
# File 'lib/datadog_api_client/v2/models/product_analytics_unit.rb', line 25

def family
  @family
end

#idObject

Numeric identifier for the unit.



28
29
30
# File 'lib/datadog_api_client/v2/models/product_analytics_unit.rb', line 28

def id
  @id
end

#nameObject

The full name of the unit (e.g., nanosecond).



31
32
33
# File 'lib/datadog_api_client/v2/models/product_analytics_unit.rb', line 31

def name
  @name
end

#pluralObject

Plural form of the unit name (e.g., nanoseconds).



34
35
36
# File 'lib/datadog_api_client/v2/models/product_analytics_unit.rb', line 34

def plural
  @plural
end

#scale_factorObject

Conversion factor relative to the base unit of the family.



37
38
39
# File 'lib/datadog_api_client/v2/models/product_analytics_unit.rb', line 37

def scale_factor
  @scale_factor
end

#short_nameObject

Abbreviated unit name (e.g., ns).



40
41
42
# File 'lib/datadog_api_client/v2/models/product_analytics_unit.rb', line 40

def short_name
  @short_name
end