Class: DatadogAPIClient::V2::ScalarMeta

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

Overview

Metadata for the resulting numerical values.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v2/models/scalar_meta.rb', line 30

def additional_properties
  @additional_properties
end

#unitObject

Detailed information about the unit. First element describes the “primary unit” (for example, ‘bytes` in `bytes per second`). The second element describes the “per unit” (for example, `second` in `bytes per second`). If the second element is not present, the API returns null.



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

def unit
  @unit
end