Class: Azure::RecoveryServicesBackup::Mgmt::V2019_05_13::Models::AzureWorkloadSAPHanaRecoveryPoint

Inherits:
AzureWorkloadRecoveryPoint show all
Includes:
MsRestAzure
Defined in:
lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_recovery_point.rb

Overview

SAPHana specific recoverypoint, specifically encapsulates full/diff recoverypoints

Instance Attribute Summary collapse

Attributes inherited from AzureWorkloadRecoveryPoint

#recovery_point_time_in_utc, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureWorkloadSAPHanaRecoveryPoint

Returns a new instance of AzureWorkloadSAPHanaRecoveryPoint.



17
18
19
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_recovery_point.rb', line 17

def initialize
  @objectType = "AzureWorkloadSAPHanaRecoveryPoint"
end

Instance Attribute Details

#objectTypeObject

Returns the value of attribute objectType.



21
22
23
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_recovery_point.rb', line 21

def objectType
  @objectType
end

Class Method Details

.mapperObject

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



28
29
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
59
60
61
62
63
64
65
66
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_recovery_point.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureWorkloadSAPHanaRecoveryPoint',
    type: {
      name: 'Composite',
      class_name: 'AzureWorkloadSAPHanaRecoveryPoint',
      model_properties: {
        objectType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'objectType',
          type: {
            name: 'String'
          }
        },
        recovery_point_time_in_utc: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'recoveryPointTimeInUTC',
          type: {
            name: 'DateTime'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end