Class: Revox::Models::PhoneNumberListResponse::PhoneNumber::InboundAssistant::Slack
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Revox::Models::PhoneNumberListResponse::PhoneNumber::InboundAssistant::Slack
- Defined in:
- lib/revox/models/phone_number_list_response.rb,
sig/revox/models/phone_number_list_response.rbs
Overview
Defined Under Namespace
Modules: Outcome
Instance Attribute Summary collapse
-
#channel_id ⇒ String
The Slack channel ID where the notification will be posted.
-
#channel_name ⇒ String?
Human-readable Slack channel name, cached for display in the UI.
-
#connection_id ⇒ String
The Nango connection ID linking the org's Slack workspace to Revox.
-
#outcomes ⇒ Array<Symbol, Revox::Models::PhoneNumberListResponse::PhoneNumber::InboundAssistant::Slack::Outcome>
Which call outcomes trigger a Slack notification (e.g. ['interested', 'none']).
-
#template ⇒ String?
Optional message template.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
1011 |
# File 'sig/revox/models/phone_number_list_response.rbs', line 1011
def initialize: (
|
Instance Attribute Details
#channel_id ⇒ String
The Slack channel ID where the notification will be posted.
1276 |
# File 'lib/revox/models/phone_number_list_response.rb', line 1276 required :channel_id, String |
#channel_name ⇒ String?
Human-readable Slack channel name, cached for display in the UI.
1296 |
# File 'lib/revox/models/phone_number_list_response.rb', line 1296 optional :channel_name, String, nil?: true |
#connection_id ⇒ String
The Nango connection ID linking the org's Slack workspace to Revox.
1282 |
# File 'lib/revox/models/phone_number_list_response.rb', line 1282 required :connection_id, String |
#outcomes ⇒ Array<Symbol, Revox::Models::PhoneNumberListResponse::PhoneNumber::InboundAssistant::Slack::Outcome>
Which call outcomes trigger a Slack notification (e.g. ['interested', 'none']). Use 'none' to notify when outcome is null.
1289 1290 |
# File 'lib/revox/models/phone_number_list_response.rb', line 1289 required :outcomes, -> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::PhoneNumberListResponse::PhoneNumber::InboundAssistant::Slack::Outcome] } |
#template ⇒ String?
Optional message template. Supports {summary}, {outcome}, {phone}, {call_url}, {assistant_name}, {campaign_name}, {first_name}, {last_name}, {email}, {company}, {contact_name}, {contact_line}, plus prompt_variables and structured_output keys. When null/empty a default template is used.
1306 |
# File 'lib/revox/models/phone_number_list_response.rb', line 1306 optional :template, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
1019 |
# File 'sig/revox/models/phone_number_list_response.rbs', line 1019
def to_hash: -> {
|