Class: Legion::Gaia::Channels::Teams::ConversationStore::Reference

Inherits:
Data
  • Object
show all
Defined in:
lib/legion/gaia/channels/teams/conversation_store.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(conversation_id:, service_url:, tenant_id: nil, bot_id: nil, last_activity_id: nil, updated_at: Time.now.utc) ⇒ Reference

Returns a new instance of Reference.



10
11
12
13
# File 'lib/legion/gaia/channels/teams/conversation_store.rb', line 10

def initialize(conversation_id:, service_url:, tenant_id: nil, bot_id: nil,
               last_activity_id: nil, updated_at: Time.now.utc)
  super
end

Instance Attribute Details

#bot_idObject (readonly)

Returns the value of attribute bot_id

Returns:

  • (Object)

    the current value of bot_id



8
9
10
# File 'lib/legion/gaia/channels/teams/conversation_store.rb', line 8

def bot_id
  @bot_id
end

#conversation_idObject (readonly)

Returns the value of attribute conversation_id

Returns:

  • (Object)

    the current value of conversation_id



8
9
10
# File 'lib/legion/gaia/channels/teams/conversation_store.rb', line 8

def conversation_id
  @conversation_id
end

#last_activity_idObject (readonly)

Returns the value of attribute last_activity_id

Returns:

  • (Object)

    the current value of last_activity_id



8
9
10
# File 'lib/legion/gaia/channels/teams/conversation_store.rb', line 8

def last_activity_id
  @last_activity_id
end

#service_urlObject (readonly)

Returns the value of attribute service_url

Returns:

  • (Object)

    the current value of service_url



8
9
10
# File 'lib/legion/gaia/channels/teams/conversation_store.rb', line 8

def service_url
  @service_url
end

#tenant_idObject (readonly)

Returns the value of attribute tenant_id

Returns:

  • (Object)

    the current value of tenant_id



8
9
10
# File 'lib/legion/gaia/channels/teams/conversation_store.rb', line 8

def tenant_id
  @tenant_id
end

#updated_atObject (readonly)

Returns the value of attribute updated_at

Returns:

  • (Object)

    the current value of updated_at



8
9
10
# File 'lib/legion/gaia/channels/teams/conversation_store.rb', line 8

def updated_at
  @updated_at
end