Class: Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-09-01/generated/azure_mgmt_links/models/resource_link_properties.rb

Overview

The resource link properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#notesString

Returns Notes about the resource link.

Returns:

  • (String)

    Notes about the resource link.



24
25
26
# File 'lib/2016-09-01/generated/azure_mgmt_links/models/resource_link_properties.rb', line 24

def notes
  @notes
end

#source_idString

link.

Returns:

  • (String)

    The fully qualified ID of the source resource in the



17
18
19
# File 'lib/2016-09-01/generated/azure_mgmt_links/models/resource_link_properties.rb', line 17

def source_id
  @source_id
end

#target_idString

link.

Returns:

  • (String)

    The fully qualified ID of the target resource in the



21
22
23
# File 'lib/2016-09-01/generated/azure_mgmt_links/models/resource_link_properties.rb', line 21

def target_id
  @target_id
end

Class Method Details

.mapperObject

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



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
# File 'lib/2016-09-01/generated/azure_mgmt_links/models/resource_link_properties.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceLinkProperties',
    type: {
      name: 'Composite',
      class_name: 'ResourceLinkProperties',
      model_properties: {
        source_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sourceId',
          type: {
            name: 'String'
          }
        },
        target_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetId',
          type: {
            name: 'String'
          }
        },
        notes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'notes',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end