Class: Softlayer::Ticket::Subject
- Defined in:
- lib/softlayer/ticket/subject.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Ticket_Subject'
Instance Attribute Summary collapse
-
#group ⇒ Object
Returns the value of attribute group.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#group ⇒ Object
Returns the value of attribute group.
7 8 9 |
# File 'lib/softlayer/ticket/subject.rb', line 7 def group @group end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/softlayer/ticket/subject.rb', line 5 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/softlayer/ticket/subject.rb', line 6 def name @name end |
Class Method Details
Instance Method Details
#get_group ⇒ Object
13 14 15 |
# File 'lib/softlayer/ticket/subject.rb', line 13 def get_group request(:get_group, Softlayer::Ticket::Group) end |
#get_object ⇒ Object
17 18 19 |
# File 'lib/softlayer/ticket/subject.rb', line 17 def get_object request(:get_object, Softlayer::Ticket::Subject) end |
#get_top_five_knowledge_layer_questions ⇒ Object
21 22 23 |
# File 'lib/softlayer/ticket/subject.rb', line 21 def get_top_five_knowledge_layer_questions request(:get_top_five_knowledge_layer_questions, Array[Softlayer::Container::KnowledgeLayer::QuestionAnswer]) end |