Class: Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb

Overview

Definition of the content link.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#content_hashContentHash

Returns Gets or sets the hash.

Returns:



19
20
21
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb', line 19

def content_hash
  @content_hash
end

#uriString

Returns Gets or sets the uri of the runbook content.

Returns:

  • (String)

    Gets or sets the uri of the runbook content.



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb', line 16

def uri
  @uri
end

#versionString

Returns Gets or sets the version of the content.

Returns:

  • (String)

    Gets or sets the version of the content.



22
23
24
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb', line 22

def version
  @version
end

Class Method Details

.mapperObject

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



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/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContentLink',
    type: {
      name: 'Composite',
      class_name: 'ContentLink',
      model_properties: {
        uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'uri',
          type: {
            name: 'String'
          }
        },
        content_hash: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contentHash',
          type: {
            name: 'Composite',
            class_name: 'ContentHash'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'version',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end