Class: Azure::RecoveryServicesBackup::Mgmt::V2019_05_13::Models::GenericRecoveryPoint

Inherits:
RecoveryPoint
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb

Overview

Generic backup copy.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGenericRecoveryPoint

Returns a new instance of GenericRecoveryPoint.



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

def initialize
  @objectType = "GenericRecoveryPoint"
end

Instance Attribute Details

#friendly_nameString

Returns Friendly name of the backup copy.

Returns:

  • (String)

    Friendly name of the backup copy.



23
24
25
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 23

def friendly_name
  @friendly_name
end

#objectTypeObject

Returns the value of attribute objectType.



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

def objectType
  @objectType
end

#recovery_point_additional_infoString

copy.

Returns:

  • (String)

    Additional information associated with this backup



33
34
35
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 33

def recovery_point_additional_info
  @recovery_point_additional_info
end

#recovery_point_timeDateTime

Returns Time at which this backup copy was created.

Returns:

  • (DateTime)

    Time at which this backup copy was created.



29
30
31
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 29

def recovery_point_time
  @recovery_point_time
end

#recovery_point_typeString

Returns Type of the backup copy.

Returns:

  • (String)

    Type of the backup copy.



26
27
28
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 26

def recovery_point_type
  @recovery_point_type
end

Class Method Details

.mapperObject

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



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
89
90
91
92
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb', line 40

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