class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::LabAnnouncementProperties

Properties of a lab's announcement banner

Attributes

enabled[RW]

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

expiration_date[RW]

@return [DateTime] The time at which the announcement expires (null for never)

expired[RW]

@return [Boolean] Has this announcement expired?

markdown[RW]

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

provisioning_state[RW]

@return [String] The provisioning status of the resource.

title[RW]

@return [String] The plain text title for the lab announcement

unique_identifier[RW]

@return [String] The unique immutable identifier of a resource (Guid).

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LabAnnouncementProperties',
    type: {
      name: 'Composite',
      class_name: 'LabAnnouncementProperties',
      model_properties: {
        title: {
          client_side_validation: true,
          required: false,
          serialized_name: 'title',
          type: {
            name: 'String'
          }
        },
        markdown: {
          client_side_validation: true,
          required: false,
          serialized_name: 'markdown',
          type: {
            name: 'String'
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'String'
          }
        },
        expiration_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'expirationDate',
          type: {
            name: 'DateTime'
          }
        },
        expired: {
          client_side_validation: true,
          required: false,
          serialized_name: 'expired',
          type: {
            name: 'Boolean'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'provisioningState',
          type: {
            name: 'String'
          }
        },
        unique_identifier: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'uniqueIdentifier',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end