class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCostDetailsProperties
The properties of a lab cost item.
Attributes
cost[RW]
@return [Float] The cost component of the cost item.
cost_type[RW]
@return [CostType] The type of the cost. Possible values include: 'Unavailable', 'Reported', 'Projected'
date[RW]
@return [DateTime] The date of the cost item.
Public Class Methods
mapper()
click to toggle source
Mapper for LabCostDetailsProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# 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