Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint
- Inherits:
-
Object
- Object
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/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.
Direct Known Subclasses
AzureFileShareRecoveryPoint, AzureWorkloadRecoveryPoint, AzureWorkloadSAPHanaRecoveryPoint, GenericRecoveryPoint, IaasVMRecoveryPoint
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#objectType ⇒ Object
Returns the value of attribute objectType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RecoveryPoint class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ RecoveryPoint
constructor
A new instance of RecoveryPoint.
Constructor Details
#initialize ⇒ RecoveryPoint
Returns a new instance of RecoveryPoint.
30 31 32 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb', line 30 def initialize @objectType = "RecoveryPoint" end |
Instance Attribute Details
#objectType ⇒ Object
Returns the value of attribute objectType.
34 35 36 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb', line 34 def objectType @objectType end |
Class Method Details
.mapper ⇒ Object
Mapper for RecoveryPoint class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb', line 41 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 |