class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WeekDetails

Properties of a weekly schedule.

Attributes

time[RW]

@return [String] The time of the day the schedule will occur.

weekdays[RW]

@return [Array<String>] The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WeekDetails',
    type: {
      name: 'Composite',
      class_name: 'WeekDetails',
      model_properties: {
        weekdays: {
          client_side_validation: true,
          required: false,
          serialized_name: 'weekdays',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'time',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end