Sha256: 5b8c511a347da253bd33f8a23c3bd1fb65a1da8a21804796d3d455b1bdccdd68

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Scheduler
  module Models
    #
    # Model object.
    #
    #
    class JobRecurrenceScheduleMonthlyOccurrence

      include MsRestAzure

      # @return [JobScheduleDay] Gets or sets the day. Must be one of monday,
      # tuesday, wednesday, thursday, friday, saturday, sunday. Possible values
      # include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday',
      # 'Saturday', 'Sunday'
      attr_accessor :day

      # @return [Integer] Gets or sets the occurrence. Must be between -5 and
      # 5.
      attr_accessor :occurrence


      #
      # Mapper for JobRecurrenceScheduleMonthlyOccurrence class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'JobRecurrenceScheduleMonthlyOccurrence',
          type: {
            name: 'Composite',
            class_name: 'JobRecurrenceScheduleMonthlyOccurrence',
            model_properties: {
              day: {
                required: false,
                serialized_name: 'day',
                type: {
                  name: 'Enum',
                  module: 'JobScheduleDay'
                }
              },
              occurrence: {
                required: false,
                serialized_name: 'Occurrence',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_scheduler-0.10.0 lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb