Class: DatadogAPIClient::V1::SLOHistoryMetricsSeriesMetadataUnit
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SLOHistoryMetricsSeriesMetadataUnit
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb
Overview
An Object of metric units.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#family ⇒ Object
The family of metric unit, for example
bytes
is the family forkibibyte
,byte
, andbit
units. -
#id ⇒ Object
The ID of the metric unit.
-
#name ⇒ Object
The unit of the metric, for instance
byte
. -
#plural ⇒ Object
The plural Unit of metric, for instance
bytes
. -
#scale_factor ⇒ Object
The scale factor of metric unit, for instance
1.0
. -
#short_name ⇒ Object
A shorter and abbreviated version of the metric unit, for instance
B
.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
42 43 44 |
# File 'lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb', line 42 def additional_properties @additional_properties end |
#family ⇒ Object
The family of metric unit, for example bytes
is the family for kibibyte
, byte
, and bit
units.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb', line 25 def family @family end |
#id ⇒ Object
The ID of the metric unit.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb', line 28 def id @id end |
#name ⇒ Object
The unit of the metric, for instance byte
.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb', line 31 def name @name end |
#plural ⇒ Object
The plural Unit of metric, for instance bytes
.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb', line 34 def plural @plural end |
#scale_factor ⇒ Object
The scale factor of metric unit, for instance 1.0
.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb', line 37 def scale_factor @scale_factor end |
#short_name ⇒ Object
A shorter and abbreviated version of the metric unit, for instance B
.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb', line 40 def short_name @short_name end |