Sha256: f50b2b21bd2f08cf000b7dccc6683b6161ba3ea23bc257d21efd9bc727f33300

Contents?: true

Size: 1.75 KB

Versions: 4

Compression:

Stored size: 1.75 KB

Contents

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

module Azure::Automation::Mgmt::V2015_10_31
  module Models
    #
    # The properties of the create advanced schedule monthly occurrence.
    #
    class AdvancedScheduleMonthlyOccurrence

      include MsRestAzure

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

      # @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'
      attr_accessor :day


      #
      # Mapper for AdvancedScheduleMonthlyOccurrence class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_automation-0.17.3 lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb
azure_mgmt_automation-0.17.2 lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb
azure_mgmt_automation-0.17.1 lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb
azure_mgmt_automation-0.17.0 lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb