Class: Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy

Inherits:
SchedulePolicy
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb

Overview

Long term policy schedule.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLongTermSchedulePolicy

Returns a new instance of LongTermSchedulePolicy.



20
21
22
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb', line 20

def initialize
  @schedulePolicyType = "LongTermSchedulePolicy"
end

Instance Attribute Details

#schedulePolicyTypeObject

Returns the value of attribute schedulePolicyType.



24
25
26
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb', line 24

def schedulePolicyType
  @schedulePolicyType
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LongTermSchedulePolicy',
    type: {
      name: 'Composite',
      class_name: 'LongTermSchedulePolicy',
      model_properties: {
        schedulePolicyType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'schedulePolicyType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end