Class: Telnyx::Models::AI::Assistants::ScheduledEventListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/ai/assistants/scheduled_event_list_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(assistant_id:, conversation_channel: nil, from_date: nil, page_number: nil, page_size: nil, to_date: nil, request_options: {}) ⇒ Object

Parameters:

  • assistant_id (String)
  • conversation_channel (Symbol, Telnyx::Models::AI::Assistants::ConversationChannelType) (defaults to: nil)

    Filter results by conversation channel.

  • from_date (Time) (defaults to: nil)

    Start of the date range filter (inclusive, ISO 8601).

  • page_number (Integer) (defaults to: nil)
  • page_size (Integer) (defaults to: nil)
  • to_date (Time) (defaults to: nil)

    End of the date range filter (inclusive, ISO 8601).

  • request_options (Telnyx::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/telnyx/models/ai/assistants/scheduled_event_list_params.rb', line 45

Instance Attribute Details

#assistant_idString

Returns:

  • (String)


15
# File 'lib/telnyx/models/ai/assistants/scheduled_event_list_params.rb', line 15

required :assistant_id, String

#conversation_channelSymbol, ...

Filter results by conversation channel.



21
# File 'lib/telnyx/models/ai/assistants/scheduled_event_list_params.rb', line 21

optional :conversation_channel, enum: -> { Telnyx::AI::Assistants::ConversationChannelType }

#from_dateTime?

Start of the date range filter (inclusive, ISO 8601).

Returns:

  • (Time, nil)


27
# File 'lib/telnyx/models/ai/assistants/scheduled_event_list_params.rb', line 27

optional :from_date, Time

#page_numberInteger?

Returns:

  • (Integer, nil)


32
# File 'lib/telnyx/models/ai/assistants/scheduled_event_list_params.rb', line 32

optional :page_number, Integer

#page_sizeInteger?

Returns:

  • (Integer, nil)


37
# File 'lib/telnyx/models/ai/assistants/scheduled_event_list_params.rb', line 37

optional :page_size, Integer

#to_dateTime?

End of the date range filter (inclusive, ISO 8601).

Returns:

  • (Time, nil)


43
# File 'lib/telnyx/models/ai/assistants/scheduled_event_list_params.rb', line 43

optional :to_date, Time