Class: Azure::RecoveryServicesBackup::Mgmt::V2019_06_15::Models::RecoveryPoint

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb

Overview

Base class for backup copies. Workload-specific backup copies are derived from this class.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRecoveryPoint

Returns a new instance of RecoveryPoint.



27
28
29
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb', line 27

def initialize
  @objectType = "RecoveryPoint"
end

Instance Attribute Details

#objectTypeObject

Returns the value of attribute objectType.



31
32
33
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb', line 31

def objectType
  @objectType
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RecoveryPoint',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'objectType',
      uber_parent: 'RecoveryPoint',
      class_name: 'RecoveryPoint',
      model_properties: {
      }
    }
  }
end