class Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule

Model object.

Attributes

hours[RW]

@return [Array<Integer>] Gets or sets the hours of the day that the job should execute at.

minutes[RW]

@return [Array<Integer>] Gets or sets the minutes of the hour that the job should execute at.

month_days[RW]

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

monthly_occurrences[RW]

@return [Array<JobRecurrenceScheduleMonthlyOccurrence>] Gets or sets the occurrences of days within a month.

week_days[RW]

@return [Array<DayOfWeek>] Gets or sets the days of the week that the job should execute on.

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_recurrence_schedule.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobRecurrenceSchedule',
    type: {
      name: 'Composite',
      class_name: 'JobRecurrenceSchedule',
      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: 'DayOfWeekElementType',
                type: {
                  name: 'Enum',
                  module: 'DayOfWeek'
                }
            }
          }
        },
        hours: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hours',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NumberElementType',
                type: {
                  name: 'Number'
                }
            }
          }
        },
        minutes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'minutes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NumberElementType',
                type: {
                  name: 'Number'
                }
            }
          }
        },
        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: 'JobRecurrenceScheduleMonthlyOccurrenceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'JobRecurrenceScheduleMonthlyOccurrence'
                }
            }
          }
        }
      }
    }
  }
end