Class: Softlayer::Survey::Question

Inherits:
Entity show all
Defined in:
lib/softlayer/survey/question.rb

Defined Under Namespace

Classes: Representer

Instance Attribute Summary collapse

Method Summary

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

#answer_countObject

Returns the value of attribute answer_count.



10
11
12
# File 'lib/softlayer/survey/question.rb', line 10

def answer_count
  @answer_count
end

#answersObject

Returns the value of attribute answers.



11
12
13
# File 'lib/softlayer/survey/question.rb', line 11

def answers
  @answers
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/softlayer/survey/question.rb', line 4

def id
  @id
end

#is_requiredObject

Returns the value of attribute is_required.



5
6
7
# File 'lib/softlayer/survey/question.rb', line 5

def is_required
  @is_required
end

#multi_answerObject

Returns the value of attribute multi_answer.



6
7
8
# File 'lib/softlayer/survey/question.rb', line 6

def multi_answer
  @multi_answer
end

#questionObject

Returns the value of attribute question.



7
8
9
# File 'lib/softlayer/survey/question.rb', line 7

def question
  @question
end

#question_orderObject

Returns the value of attribute question_order.



8
9
10
# File 'lib/softlayer/survey/question.rb', line 8

def question_order
  @question_order
end

#surveyObject

Returns the value of attribute survey.



12
13
14
# File 'lib/softlayer/survey/question.rb', line 12

def survey
  @survey
end

#survey_idObject

Returns the value of attribute survey_id.



9
10
11
# File 'lib/softlayer/survey/question.rb', line 9

def survey_id
  @survey_id
end