Class: Cadenya::Models::WidgetSessionInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::WidgetSessionInfo
- Defined in:
- lib/cadenya/models/widget_session_info.rb,
sig/cadenya/models/widget_session_info.rbs
Instance Attribute Summary collapse
-
#agent ⇒ Cadenya::BareMetadata?
readonly
Returns the value of attribute agent.
-
#host ⇒ String?
readonly
Returns the value of attribute host.
-
#last_active_at ⇒ Time?
readonly
Returns the value of attribute last_active_at.
-
#message_count ⇒ Integer?
readonly
Returns the value of attribute message_count.
-
#subject ⇒ Cadenya::SubjectReference?
readonly
Returns the value of attribute subject.
-
#tenant ⇒ Cadenya::TenantReference?
readonly
Returns the value of attribute tenant.
-
#widget ⇒ Cadenya::BareMetadata?
readonly
Returns the value of attribute widget.
Instance Method Summary collapse
- #agent ⇒ Cadenya::BareMetadata readonly
- #host ⇒ String readonly
-
#initialize(agent: nil, host: nil, last_active_at: nil, message_count: nil, subject: nil, tenant: nil, widget: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see WidgetSessionInfo for more details.
- #last_active_at ⇒ Time readonly
- #message_count ⇒ Integer readonly
- #subject ⇒ Cadenya::SubjectReference readonly
- #tenant ⇒ Cadenya::TenantReference readonly
- #to_hash ⇒ {
- #widget ⇒ Cadenya::BareMetadata readonly
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(agent: nil, host: nil, last_active_at: nil, message_count: nil, subject: nil, tenant: nil, widget: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::WidgetSessionInfo for more details.
WidgetSessionInfo provides read-only server-derived data about a session.
|
|
# File 'lib/cadenya/models/widget_session_info.rb', line 65
|
Instance Attribute Details
#agent ⇒ Cadenya::BareMetadata? (readonly)
Returns the value of attribute agent.
15 16 17 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 15 def agent @agent end |
#host ⇒ String? (readonly)
Returns the value of attribute host.
19 20 21 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 19 def host @host end |
#last_active_at ⇒ Time? (readonly)
Returns the value of attribute last_active_at.
23 24 25 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 23 def last_active_at @last_active_at end |
#message_count ⇒ Integer? (readonly)
Returns the value of attribute message_count.
27 28 29 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 27 def @message_count end |
#subject ⇒ Cadenya::SubjectReference? (readonly)
Returns the value of attribute subject.
31 32 33 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 31 def subject @subject end |
#tenant ⇒ Cadenya::TenantReference? (readonly)
Returns the value of attribute tenant.
35 36 37 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 35 def tenant @tenant end |
#widget ⇒ Cadenya::BareMetadata? (readonly)
Returns the value of attribute widget.
39 40 41 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 39 def @widget end |
Instance Method Details
#agent= ⇒ Cadenya::BareMetadata (readonly)
17 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 17
def agent=: (Cadenya::BareMetadata) -> Cadenya::BareMetadata
|
#host= ⇒ String (readonly)
21 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 21
def host=: (String) -> String
|
#last_active_at= ⇒ Time (readonly)
25 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 25
def last_active_at=: (Time) -> Time
|
#message_count= ⇒ Integer (readonly)
29 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 29
def message_count=: (Integer) -> Integer
|
#subject= ⇒ Cadenya::SubjectReference (readonly)
33 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 33
def subject=: (Cadenya::SubjectReference) -> Cadenya::SubjectReference
|
#tenant= ⇒ Cadenya::TenantReference (readonly)
37 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 37
def tenant=: (Cadenya::TenantReference) -> Cadenya::TenantReference
|
#to_hash ⇒ {
53 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 53
def to_hash: -> {
|
#widget= ⇒ Cadenya::BareMetadata (readonly)
41 |
# File 'sig/cadenya/models/widget_session_info.rbs', line 41
def widget=: (Cadenya::BareMetadata) -> Cadenya::BareMetadata
|