Class: Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::AlertFeedback

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb

Overview

The alert feedback details.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#commentString

Returns Additional comments related to the alert.

Returns:

  • (String)

    Additional comments related to the alert.



31
32
33
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb', line 31

def comment
  @comment
end

#consented_to_shareBoolean

product team.

Returns:

  • (Boolean)

    Indicates if the alert feedback can be shared from



35
36
37
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb', line 35

def consented_to_share
  @consented_to_share
end

#created_dateDateTime

Returns The date and time,in UTC,when the alert was created.

Returns:

  • (DateTime)

    The date and time,in UTC,when the alert was created.



41
42
43
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb', line 41

def created_date
  @created_date
end

#feedbackString

customer likes or dislikes the alert.

Returns:

  • (String)

    The feedback for the alert which indicates if the



28
29
30
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb', line 28

def feedback
  @feedback
end

#levelString

alert.

Returns:

  • (String)

    The alert level which indicates the severity of the



17
18
19
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb', line 17

def level
  @level
end

#service_member_idString

Returns The server Id of the alert.

Returns:

  • (String)

    The server Id of the alert.



38
39
40
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb', line 38

def service_member_id
  @service_member_id
end

#short_nameString

Returns The alert short name.

Returns:

  • (String)

    The alert short name.



24
25
26
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb', line 24

def short_name
  @short_name
end

#stateString

with multiple resolution types.

Returns:

  • (String)

    The alert state which can be either active or resolved



21
22
23
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb', line 21

def state
  @state
end

Class Method Details

.mapperObject

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



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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb', line 48

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AlertFeedback',
    type: {
      name: 'Composite',
      class_name: 'AlertFeedback',
      model_properties: {
        level: {
          client_side_validation: true,
          required: false,
          serialized_name: 'level',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'state',
          type: {
            name: 'String'
          }
        },
        short_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'shortName',
          type: {
            name: 'String'
          }
        },
        feedback: {
          client_side_validation: true,
          required: false,
          serialized_name: 'feedback',
          type: {
            name: 'String'
          }
        },
        comment: {
          client_side_validation: true,
          required: false,
          serialized_name: 'comment',
          type: {
            name: 'String'
          }
        },
        consented_to_share: {
          client_side_validation: true,
          required: false,
          serialized_name: 'consentedToShare',
          type: {
            name: 'Boolean'
          }
        },
        service_member_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceMemberId',
          type: {
            name: 'String'
          }
        },
        created_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'createdDate',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end