Class: Cadenya::Models::WidgetSessionListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::WidgetSessionListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/cadenya/models/widget_session_list_params.rb,
sig/cadenya/models/widget_session_list_params.rbs
Overview
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#cursor ⇒ String?
Pagination cursor from previous response.
-
#include_info ⇒ Boolean?
When true, the
infofield on each returned session is populated. -
#labels ⇒ String?
Filters by metadata labels.
-
#limit ⇒ Integer?
Maximum number of results to return.
-
#sort_order ⇒ String?
Sort order for results (asc or desc by creation time).
-
#state ⇒ Symbol, ...
Filter by state.
-
#subject_id ⇒ String?
Filter to sessions asserted for a subject.
-
#tenant_id ⇒ String?
Filter to sessions belonging to a tenant.
-
#widget_id ⇒ String?
Filter to sessions on a specific widget.
- #workspace_id ⇒ String?
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(workspace_id: nil, cursor: nil, include_info: nil, labels: nil, limit: nil, sort_order: nil, state: nil, subject_id: nil, tenant_id: nil, widget_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see WidgetSessionListParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(workspace_id: nil, cursor: nil, include_info: nil, labels: nil, limit: nil, sort_order: nil, state: nil, subject_id: nil, tenant_id: nil, widget_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::WidgetSessionListParams for more details.
|
|
# File 'lib/cadenya/models/widget_session_list_params.rb', line 76
|
Instance Attribute Details
#cursor ⇒ String?
Pagination cursor from previous response.
19 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 19 optional :cursor, String |
#include_info ⇒ Boolean?
When true, the info field on each returned session is populated. Requests with
this flag count more against your rate limit.
26 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 26 optional :include_info, Cadenya::Internal::Type::Boolean |
#labels ⇒ String?
Filters by metadata labels. Comma-separated key=value pairs, e.g. "env=prod,team=ai". A resource matches only if every pair matches exactly (AND semantics).
34 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 34 optional :labels, String |
#limit ⇒ Integer?
Maximum number of results to return.
40 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 40 optional :limit, Integer |
#sort_order ⇒ String?
Sort order for results (asc or desc by creation time).
46 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 46 optional :sort_order, String |
#state ⇒ Symbol, ...
Filter by state.
52 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 52 optional :state, enum: -> { Cadenya::WidgetSessionListParams::State } |
#subject_id ⇒ String?
Filter to sessions asserted for a subject. Accepts the canonical subj_… form
or the external_id:<value> form; the external_id form is scoped within a
tenant and requires tenant_id to also be set.
60 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 60 optional :subject_id, String |
#tenant_id ⇒ String?
Filter to sessions belonging to a tenant. Accepts the canonical tenant_… form
or the external_id:<value> form.
67 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 67 optional :tenant_id, String |
#widget_id ⇒ String?
Filter to sessions on a specific widget. Accepts the canonical wgt_… form or
the external_id:<value> form.
74 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 74 optional :widget_id, String |
#workspace_id ⇒ String?
13 |
# File 'lib/cadenya/models/widget_session_list_params.rb', line 13 optional :workspace_id, String |
Instance Method Details
#to_hash ⇒ {
78 |
# File 'sig/cadenya/models/widget_session_list_params.rbs', line 78
def to_hash: -> {
|