Class: Azure::Labservices::Mgmt::V2018_10_15::Models::LabDetails
- Inherits:
-
Object
- Object
- Azure::Labservices::Mgmt::V2018_10_15::Models::LabDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb
Overview
This represents the details about a lab that the User is in, and its state.
Instance Attribute Summary collapse
-
#id ⇒ String
The Id of the lab.
-
#name ⇒ String
Name of the lab.
-
#provisioning_state ⇒ String
The provisioning state of the lab.
-
#usage_quota ⇒ Duration
lab.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LabDetails class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
Returns The Id of the lab.
23 24 25 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb', line 23 def id @id end |
#name ⇒ String
Returns Name of the lab.
17 18 19 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb', line 17 def name @name end |
#provisioning_state ⇒ String
Returns The provisioning state of the lab.
20 21 22 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb', line 20 def provisioning_state @provisioning_state end |
#usage_quota ⇒ Duration
lab.
27 28 29 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb', line 27 def usage_quota @usage_quota end |
Class Method Details
.mapper ⇒ Object
Mapper for LabDetails class as Ruby Hash. This will be used for serialization/deserialization.
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 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LabDetails', type: { name: 'Composite', class_name: 'LabDetails', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, usage_quota: { client_side_validation: true, required: false, read_only: true, serialized_name: 'usageQuota', type: { name: 'TimeSpan' } } } } } end |