class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::LabAnnouncementPropertiesFragment
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.
title[RW]
@return [String] The plain text title for the lab announcement
Private Class Methods
mapper()
click to toggle source
Mapper for LabAnnouncementPropertiesFragment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties_fragment.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LabAnnouncementPropertiesFragment', type: { name: 'Composite', class_name: 'LabAnnouncementPropertiesFragment', 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' } } } } } end