Sha256: 5c6a77c449bb228f62216d7ec3b2acdbc0f5092c3988e0ae7978c66366d534dc

Contents?: true

Size: 1.62 KB

Versions: 4

Compression:

Stored size: 1.62 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_scheduler-0.7.0 lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb
azure_mgmt_scheduler-0.6.0 lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb
azure_mgmt_scheduler-0.5.0 lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb
azure_mgmt_scheduler-0.4.0 lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb