Class: Azure::ResourceHealth::Mgmt::V2018_07_01::Models::EventPropertiesRecommendedActionsActionsItem

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

Overview

Recommended action for the service health event.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#action_textString

Returns Recommended action text.

Returns:

  • (String)

    Recommended action text



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

def action_text
  @action_text
end

#group_idInteger

event.

Returns:

  • (Integer)

    Recommended action group Id for the service health



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

def group_id
  @group_id
end

Class Method Details

.mapperObject

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



28
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
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions_actions_item.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'event_properties_recommendedActions_actionsItem',
    type: {
      name: 'Composite',
      class_name: 'EventPropertiesRecommendedActionsActionsItem',
      model_properties: {
        group_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'groupId',
          type: {
            name: 'Number'
          }
        },
        action_text: {
          client_side_validation: true,
          required: false,
          serialized_name: 'actionText',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end