Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaPointInTimeRecoveryPoint

Inherits:
AzureWorkloadSAPHanaRecoveryPoint show all
Includes:
MsRestAzure
Defined in:
lib/2016-12-01/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 AzureWorkloadSAPHanaRecoveryPoint

#recovery_point_time_in_utc, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureWorkloadSAPHanaPointInTimeRecoveryPoint

Returns a new instance of AzureWorkloadSAPHanaPointInTimeRecoveryPoint.



20
21
22
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_point_in_time_recovery_point.rb', line 20

def initialize
  @objectType = "AzureWorkloadSAPHanaPointInTimeRecoveryPoint"
end

Instance Attribute Details

#objectTypeObject

Returns the value of attribute objectType.



24
25
26
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_point_in_time_recovery_point.rb', line 24

def objectType
  @objectType
end

#time_rangesArray<PointInTimeRange>

Returns List of log ranges.

Returns:



27
28
29
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_point_in_time_recovery_point.rb', line 27

def time_ranges
  @time_ranges
end

Class Method Details

.mapperObject

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



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
84
85
86
87
88
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_saphana_point_in_time_recovery_point.rb', line 35

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,
          serialized_name: 'recoveryPointTimeInUTC',
          type: {
            name: 'DateTime'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          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