Class: PostProxy::Chat
Instance Attribute Summary collapse
-
#archived ⇒ Object
Returns the value of attribute archived.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#external_conversation_id ⇒ Object
Returns the value of attribute external_conversation_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_inbound_at ⇒ Object
Returns the value of attribute last_inbound_at.
-
#last_message_at ⇒ Object
Returns the value of attribute last_message_at.
-
#last_outbound_at ⇒ Object
Returns the value of attribute last_outbound_at.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#participant_avatar_url ⇒ Object
Returns the value of attribute participant_avatar_url.
-
#participant_external_id ⇒ Object
Returns the value of attribute participant_external_id.
-
#participant_name ⇒ Object
Returns the value of attribute participant_name.
-
#participant_username ⇒ Object
Returns the value of attribute participant_username.
-
#platform ⇒ Object
Returns the value of attribute platform.
-
#profile_id ⇒ Object
Returns the value of attribute profile_id.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ Chat
constructor
A new instance of Chat.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ Chat
Returns a new instance of Chat.
382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'lib/postproxy/types.rb', line 382 def initialize(**attrs) @participant_username = nil @participant_name = nil @participant_avatar_url = nil @external_conversation_id = nil @last_inbound_at = nil @last_outbound_at = nil @last_message_at = nil @metadata = nil @archived = nil super @last_inbound_at = parse_time(@last_inbound_at) @last_outbound_at = parse_time(@last_outbound_at) @last_message_at = parse_time(@last_message_at) @created_at = parse_time(@created_at) end |
Instance Attribute Details
#archived ⇒ Object
Returns the value of attribute archived.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def archived @archived end |
#created_at ⇒ Object
Returns the value of attribute created_at.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def created_at @created_at end |
#external_conversation_id ⇒ Object
Returns the value of attribute external_conversation_id.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def external_conversation_id @external_conversation_id end |
#id ⇒ Object
Returns the value of attribute id.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def id @id end |
#last_inbound_at ⇒ Object
Returns the value of attribute last_inbound_at.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def last_inbound_at @last_inbound_at end |
#last_message_at ⇒ Object
Returns the value of attribute last_message_at.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def @last_message_at end |
#last_outbound_at ⇒ Object
Returns the value of attribute last_outbound_at.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def last_outbound_at @last_outbound_at end |
#metadata ⇒ Object
Returns the value of attribute metadata.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def @metadata end |
#participant_avatar_url ⇒ Object
Returns the value of attribute participant_avatar_url.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def participant_avatar_url @participant_avatar_url end |
#participant_external_id ⇒ Object
Returns the value of attribute participant_external_id.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def participant_external_id @participant_external_id end |
#participant_name ⇒ Object
Returns the value of attribute participant_name.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def participant_name @participant_name end |
#participant_username ⇒ Object
Returns the value of attribute participant_username.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def participant_username @participant_username end |
#platform ⇒ Object
Returns the value of attribute platform.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def platform @platform end |
#profile_id ⇒ Object
Returns the value of attribute profile_id.
377 378 379 |
# File 'lib/postproxy/types.rb', line 377 def profile_id @profile_id end |