class Azure::Labservices::Mgmt::V2018_10_15::Models::LabDetails

This represents the details about a lab that the User is in, and its state.

Attributes

id[RW]

@return [String] The Id of the lab.

name[RW]

@return [String] Name of the lab

provisioning_state[RW]

@return [String] The provisioning state of the lab.

usage_quota[RW]

@return [Duration] The maximum duration a user can use a VM in this lab.

Private Class Methods

mapper() click to toggle source

Mapper for LabDetails class as Ruby Hash. This will be used for serialization/deserialization.

# 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