class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::LabSupportPropertiesFragment

Properties of a lab's support banner

Attributes

enabled[RW]

@return [EnableStatus] Is the lab support banner active/enabled at this time?. Possible values include: 'Enabled', 'Disabled'

markdown[RW]

@return [String] The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_support_properties_fragment.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LabSupportPropertiesFragment',
    type: {
      name: 'Composite',
      class_name: 'LabSupportPropertiesFragment',
      model_properties: {
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'String'
          }
        },
        markdown: {
          client_side_validation: true,
          required: false,
          serialized_name: 'markdown',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end