Class: DatadogAPIClient::V2::Unit
- Inherits:
 - 
      Object
      
        
- Object
 - DatadogAPIClient::V2::Unit
 
 
- Includes:
 - BaseGenericModel
 
- Defined in:
 - lib/datadog_api_client/v2/models/unit.rb
 
Overview
Object containing the metric unit family, scale factor, name, and short name.
Instance Attribute Summary collapse
- 
  
    
      #additional_properties  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute additional_properties.
 - 
  
    
      #family  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Unit family, allows for conversion between units of the same family, for scaling.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Unit name.
 - 
  
    
      #plural  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Plural form of the unit name.
 - 
  
    
      #scale_factor  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Factor for scaling between units of the same family.
 - 
  
    
      #short_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Abbreviation of the unit.
 
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
      39 40 41  | 
    
      # File 'lib/datadog_api_client/v2/models/unit.rb', line 39 def additional_properties @additional_properties end  | 
  
#family ⇒ Object
Unit family, allows for conversion between units of the same family, for scaling.
      25 26 27  | 
    
      # File 'lib/datadog_api_client/v2/models/unit.rb', line 25 def family @family end  | 
  
#name ⇒ Object
Unit name
      28 29 30  | 
    
      # File 'lib/datadog_api_client/v2/models/unit.rb', line 28 def name @name end  | 
  
#plural ⇒ Object
Plural form of the unit name.
      31 32 33  | 
    
      # File 'lib/datadog_api_client/v2/models/unit.rb', line 31 def plural @plural end  | 
  
#scale_factor ⇒ Object
Factor for scaling between units of the same family.
      34 35 36  | 
    
      # File 'lib/datadog_api_client/v2/models/unit.rb', line 34 def scale_factor @scale_factor end  | 
  
#short_name ⇒ Object
Abbreviation of the unit.
      37 38 39  | 
    
      # File 'lib/datadog_api_client/v2/models/unit.rb', line 37 def short_name @short_name end  |