Class: Azure::ResourceHealth::Mgmt::V2018_07_01::Models::Link

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_resource_health/models/link.rb

Overview

Useful links for service health event.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#blade_nameString

produce link for given service health event.



28
29
30
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/link.rb', line 28

def blade_name
  @blade_name
end

#display_textLinkDisplayText



20
21
22
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/link.rb', line 20

def display_text
  @display_text
end

#extension_nameString

link for given service health event.



24
25
26
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/link.rb', line 24

def extension_name
  @extension_name
end

#parametersObject

extension blade to produce lik for given service health event.



32
33
34
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/link.rb', line 32

def parameters
  @parameters
end

#typeLinkTypeValues

‘Button’, ‘Hyperlink’



17
18
19
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/link.rb', line 17

def type
  @type
end

Class Method Details

.mapperObject

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



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
89
90
91
92
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/link.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'link',
    type: {
      name: 'Composite',
      class_name: 'Link',
      model_properties: {
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        display_text: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayText',
          type: {
            name: 'Composite',
            class_name: 'LinkDisplayText'
          }
        },
        extension_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'extensionName',
          type: {
            name: 'String'
          }
        },
        blade_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'bladeName',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end