Class: Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb

Overview

The properties of the create advanced schedule monthly occurrence.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#dayScheduleDay

tuesday, wednesday, thursday, friday, saturday, sunday. Possible values include: ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’, ‘Saturday’, ‘Sunday’

Returns:

  • (ScheduleDay)

    Day of the occurrence. Must be one of monday,



23
24
25
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb', line 23

def day
  @day
end

#occurrenceInteger

between 1 and 5

Returns:

  • (Integer)

    Occurrence of the week within the month. Must be



17
18
19
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb', line 17

def occurrence
  @occurrence
end

Class Method Details

.mapperObject

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



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb', line 30

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