Class: Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCostDetailsProperties
- Inherits:
-
Object
- Object
- Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCostDetailsProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb
Overview
The properties of a lab cost item.
Instance Attribute Summary collapse
-
#cost ⇒ Float
The cost component of the cost item.
-
#cost_type ⇒ CostType
‘Unavailable’, ‘Reported’, ‘Projected’.
-
#date ⇒ DateTime
The date of the cost item.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LabCostDetailsProperties class as Ruby Hash.
Instance Attribute Details
#cost ⇒ Float
Returns The cost component of the cost item.
19 20 21 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb', line 19 def cost @cost end |
#cost_type ⇒ CostType
‘Unavailable’, ‘Reported’, ‘Projected’
23 24 25 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb', line 23 def cost_type @cost_type end |
#date ⇒ DateTime
Returns The date of the cost item.
16 17 18 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb', line 16 def date @date end |
Class Method Details
.mapper ⇒ Object
Mapper for LabCostDetailsProperties class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LabCostDetailsProperties', type: { name: 'Composite', class_name: 'LabCostDetailsProperties', model_properties: { date: { client_side_validation: true, required: false, serialized_name: 'date', type: { name: 'DateTime' } }, cost: { client_side_validation: true, required: false, serialized_name: 'cost', type: { name: 'Double' } }, cost_type: { client_side_validation: true, required: false, serialized_name: 'costType', type: { name: 'String' } } } } } end |