Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::GenericRecoveryPoint
- Inherits:
-
RecoveryPoint
- Object
- RecoveryPoint
- Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::GenericRecoveryPoint
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb
Overview
Generic backup copy.
Instance Attribute Summary collapse
-
#friendly_name ⇒ String
Friendly name of the backup copy.
-
#objectType ⇒ Object
Returns the value of attribute objectType.
-
#recovery_point_additional_info ⇒ String
copy.
-
#recovery_point_time ⇒ DateTime
The time when this backup copy was created.
-
#recovery_point_type ⇒ String
Type of the backup copy.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GenericRecoveryPoint class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ GenericRecoveryPoint
constructor
A new instance of GenericRecoveryPoint.
Constructor Details
#initialize ⇒ GenericRecoveryPoint
Returns a new instance of GenericRecoveryPoint.
20 21 22 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 20 def initialize @objectType = "GenericRecoveryPoint" end |
Instance Attribute Details
#friendly_name ⇒ String
Returns Friendly name of the backup copy.
27 28 29 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 27 def friendly_name @friendly_name end |
#objectType ⇒ Object
Returns the value of attribute objectType.
24 25 26 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 24 def objectType @objectType end |
#recovery_point_additional_info ⇒ String
copy.
37 38 39 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 37 def recovery_point_additional_info @recovery_point_additional_info end |
#recovery_point_time ⇒ DateTime
Returns The time when this backup copy was created.
33 34 35 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 33 def recovery_point_time @recovery_point_time end |
#recovery_point_type ⇒ String
Returns Type of the backup copy.
30 31 32 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 30 def recovery_point_type @recovery_point_type end |
Class Method Details
.mapper ⇒ Object
Mapper for GenericRecoveryPoint class as Ruby Hash. This will be used for serialization/deserialization.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GenericRecoveryPoint', type: { name: 'Composite', class_name: 'GenericRecoveryPoint', model_properties: { objectType: { client_side_validation: true, required: true, serialized_name: 'objectType', type: { name: 'String' } }, friendly_name: { client_side_validation: true, required: false, serialized_name: 'friendlyName', type: { name: 'String' } }, recovery_point_type: { client_side_validation: true, required: false, serialized_name: 'recoveryPointType', type: { name: 'String' } }, recovery_point_time: { client_side_validation: true, required: false, serialized_name: 'recoveryPointTime', type: { name: 'DateTime' } }, recovery_point_additional_info: { client_side_validation: true, required: false, serialized_name: 'recoveryPointAdditionalInfo', type: { name: 'String' } } } } } end |