class Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence

The properties of the create advanced schedule monthly occurrence.

Attributes

day[RW]

@return [ScheduleDay] Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'

occurrence[RW]

@return [Integer] Occurrence of the week within the month. Must be between 1 and 5

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AdvancedScheduleMonthlyOccurrence',
    type: {
      name: 'Composite',
      class_name: 'AdvancedScheduleMonthlyOccurrence',
      model_properties: {
        occurrence: {
          client_side_validation: true,
          required: false,
          serialized_name: 'occurrence',
          type: {
            name: 'Number'
          }
        },
        day: {
          client_side_validation: true,
          required: false,
          serialized_name: 'day',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end