Class: Hawkular::Alerts::Trigger::GroupMemberInfo
- Inherits:
-
Object
- Object
- Hawkular::Alerts::Trigger::GroupMemberInfo
- Defined in:
- lib/hawkular/alerts/alerts_api.rb
Overview
Representing of one GroupMemberInfo
Instance Attribute Summary collapse
-
#data_id_map ⇒ Object
Returns the value of attribute data_id_map.
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#member_context ⇒ Object
Returns the value of attribute member_context.
-
#member_description ⇒ Object
Returns the value of attribute member_description.
-
#member_id ⇒ Object
Returns the value of attribute member_id.
-
#member_name ⇒ Object
Returns the value of attribute member_name.
-
#member_tags ⇒ Object
Returns the value of attribute member_tags.
Instance Method Summary collapse
Instance Attribute Details
#data_id_map ⇒ Object
Returns the value of attribute data_id_map
512 513 514 |
# File 'lib/hawkular/alerts/alerts_api.rb', line 512 def data_id_map @data_id_map end |
#group_id ⇒ Object
Returns the value of attribute group_id
511 512 513 |
# File 'lib/hawkular/alerts/alerts_api.rb', line 511 def group_id @group_id end |
#member_context ⇒ Object
Returns the value of attribute member_context
512 513 514 |
# File 'lib/hawkular/alerts/alerts_api.rb', line 512 def member_context @member_context end |
#member_description ⇒ Object
Returns the value of attribute member_description
511 512 513 |
# File 'lib/hawkular/alerts/alerts_api.rb', line 511 def member_description @member_description end |
#member_id ⇒ Object
Returns the value of attribute member_id
511 512 513 |
# File 'lib/hawkular/alerts/alerts_api.rb', line 511 def member_id @member_id end |
#member_name ⇒ Object
Returns the value of attribute member_name
511 512 513 |
# File 'lib/hawkular/alerts/alerts_api.rb', line 511 def member_name @member_name end |
#member_tags ⇒ Object
Returns the value of attribute member_tags
512 513 514 |
# File 'lib/hawkular/alerts/alerts_api.rb', line 512 def @member_tags end |
Instance Method Details
#to_h ⇒ Object
514 515 516 517 518 519 520 521 522 523 524 |
# File 'lib/hawkular/alerts/alerts_api.rb', line 514 def to_h cond_hash = {} cond_hash['groupId'] = @group_id cond_hash['memberId'] = @member_id cond_hash['memberName'] = @member_name cond_hash['memberDescription'] = @member_description cond_hash['memberContext'] = @member_context cond_hash['memberTags'] = @member_tags cond_hash['dataIdMap'] = @data_id_map cond_hash end |