Class: Azure::RecoveryServicesBackup::Mgmt::V2019_06_15::Models::AzureWorkloadSAPHanaPointInTimeRecoveryPoint

Inherits:
AzureWorkloadPointInTimeRecoveryPoint show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_point_in_time_recovery_point.rb

Overview

Recovery point specific to PointInTime in SAPHana

Instance Attribute Summary collapse

Attributes inherited from AzureWorkloadPointInTimeRecoveryPoint

#time_ranges

Attributes inherited from AzureWorkloadRecoveryPoint

#recovery_point_time_in_utc, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureWorkloadSAPHanaPointInTimeRecoveryPoint

Returns a new instance of AzureWorkloadSAPHanaPointInTimeRecoveryPoint.



16
17
18
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_point_in_time_recovery_point.rb', line 16

def initialize
  @objectType = "AzureWorkloadSAPHanaPointInTimeRecoveryPoint"
end

Instance Attribute Details

#objectTypeObject

Returns the value of attribute objectType.



20
21
22
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_point_in_time_recovery_point.rb', line 20

def objectType
  @objectType
end

Class Method Details

.mapperObject

Mapper for AzureWorkloadSAPHanaPointInTimeRecoveryPoint 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_point_in_time_recovery_point.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureWorkloadSAPHanaPointInTimeRecoveryPoint',
    type: {
      name: 'Composite',
      class_name: 'AzureWorkloadSAPHanaPointInTimeRecoveryPoint',
      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'
          }
        },
        time_ranges: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timeRanges',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PointInTimeRangeElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PointInTimeRange'
                }
            }
          }
        }
      }
    }
  }
end