class Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule

The properties of the create Advanced Schedule.

Attributes

month_days[RW]

@return [Array<Integer>] Days of the month that the job should execute on. Must be between 1 and 31.

monthly_occurrences[RW]

@return [Array<AdvancedScheduleMonthlyOccurrence>] Occurrences of days within a month.

week_days[RW]

@return [Array<String>] Days of the week that the job should execute on.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AdvancedSchedule',
    type: {
      name: 'Composite',
      class_name: 'AdvancedSchedule',
      model_properties: {
        week_days: {
          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'
                }
            }
          }
        },
        month_days: {
          client_side_validation: true,
          required: false,
          serialized_name: 'monthDays',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NumberElementType',
                type: {
                  name: 'Number'
                }
            }
          }
        },
        monthly_occurrences: {
          client_side_validation: true,
          required: false,
          serialized_name: 'monthlyOccurrences',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AdvancedScheduleMonthlyOccurrenceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AdvancedScheduleMonthlyOccurrence'
                }
            }
          }
        }
      }
    }
  }
end