Class: Hawkular::Alerts::Trigger::GroupMemberInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/hawkular/alerts/alerts_api.rb

Overview

Representing of one GroupMemberInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#data_id_mapObject

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_idObject

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_contextObject

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_descriptionObject

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_idObject

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_nameObject

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_tagsObject

Returns the value of attribute member_tags



512
513
514
# File 'lib/hawkular/alerts/alerts_api.rb', line 512

def member_tags
  @member_tags
end

Instance Method Details

#to_hObject



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