Class: Azure::ResourceHealth::Mgmt::V2018_07_01::Models::EventPropertiesRecommendedActions

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

Overview

Recommended actions of event.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#actionsArray<EventPropertiesRecommendedActionsActionsItem>

Recommended actions for the service health event.



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

def actions
  @actions
end

#locale_codeString

event.

Returns:

  • (String)

    Recommended action locale for the service health



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

def locale_code
  @locale_code
end

#messageString

Returns Recommended action title for the service health event.

Returns:

  • (String)

    Recommended action title for the service health event.



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

def message
  @message
end

Class Method Details

.mapperObject

Mapper for EventPropertiesRecommendedActions 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
69
70
71
72
73
74
75
76
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'event_properties_recommendedActions',
    type: {
      name: 'Composite',
      class_name: 'EventPropertiesRecommendedActions',
      model_properties: {
        message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        },
        actions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'actions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'EventPropertiesRecommendedActionsActionsItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'EventPropertiesRecommendedActionsActionsItem'
                }
            }
          }
        },
        locale_code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'localeCode',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end