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

#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.



32
33
34
# File 'lib/datadog_api_client/v2/models/scalar_meta.rb', line 32

def unit
  @unit
end