Class: Pandarus::CommMessage

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/comm_message.rb

Instance Attribute Summary collapse

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

#bodyObject

Returns the value of attribute body.



6
7
8
# File 'lib/pandarus/models/comm_message.rb', line 6

def body
  @body
end

#created_atObject

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

#fromObject

Returns the value of attribute from.



6
7
8
# File 'lib/pandarus/models/comm_message.rb', line 6

def from
  @from
end

#html_bodyObject

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

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/pandarus/models/comm_message.rb', line 6

def id
  @id
end

#reply_toObject

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_atObject

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

#subjectObject

Returns the value of attribute subject.



6
7
8
# File 'lib/pandarus/models/comm_message.rb', line 6

def subject
  @subject
end

#toObject

Returns the value of attribute to.



6
7
8
# File 'lib/pandarus/models/comm_message.rb', line 6

def to
  @to
end

#workflow_stateObject

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_mapObject



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