Class: Pandarus::CommMessage
- Defined in:
- lib/pandarus/models/comm_message.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#from ⇒ Object
Returns the value of attribute from.
-
#html_body ⇒ Object
Returns the value of attribute html_body.
-
#id ⇒ Object
Returns the value of attribute id.
-
#reply_to ⇒ Object
Returns the value of attribute reply_to.
-
#sent_at ⇒ Object
Returns the value of attribute sent_at.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#to ⇒ Object
Returns the value of attribute to.
-
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
Class Method Summary collapse
Methods inherited from ModelBase
#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #vivify
Constructor Details
This class inherits a constructor from Pandarus::ModelBase
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def body @body end |
#created_at ⇒ Object
Returns the value of attribute created_at.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def created_at @created_at end |
#from ⇒ Object
Returns the value of attribute from.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def from @from end |
#html_body ⇒ Object
Returns the value of attribute html_body.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def html_body @html_body end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def id @id end |
#reply_to ⇒ Object
Returns the value of attribute reply_to.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def reply_to @reply_to end |
#sent_at ⇒ Object
Returns the value of attribute sent_at.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def sent_at @sent_at end |
#subject ⇒ Object
Returns the value of attribute subject.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def subject @subject end |
#to ⇒ Object
Returns the value of attribute to.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def to @to end |
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
6 7 8 |
# File 'lib/pandarus/models/comm_message.rb', line 6 def workflow_state @workflow_state end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/pandarus/models/comm_message.rb', line 9 def self.attribute_map { :id => {:external => "id", :container => false, :type => "Integer"}, :created_at => {:external => "created_at", :container => false, :type => "DateTime"}, :sent_at => {:external => "sent_at", :container => false, :type => "DateTime"}, :workflow_state => {:external => "workflow_state", :container => false, :type => "String"}, :from => {:external => "from", :container => false, :type => "String"}, :to => {:external => "to", :container => false, :type => "String"}, :reply_to => {:external => "reply_to", :container => false, :type => "String"}, :subject => {:external => "subject", :container => false, :type => "String"}, :body => {:external => "body", :container => false, :type => "String"}, :html_body => {:external => "html_body", :container => false, :type => "String"} } end |