Class: Telnyx::Models::Rcs::AgentLaunchParams::Campaign

Inherits:
Telnyx::Models::Rcs::AgentCampaignConfiguration show all
Defined in:
lib/telnyx/models/rcs/agent_launch_params.rb,
sig/telnyx/models/rcs/agent_launch_params.rbs

Instance Attribute Summary collapse

Attributes inherited from Telnyx::Models::Rcs::AgentCampaignConfiguration

#additional_information, #company_overview

Instance Method Summary collapse

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_overview:, consent_settings:, interactions:, message_examples:) ⇒ Object

Parameters:



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/telnyx/models/rcs/agent_launch_params.rb', line 32

class Campaign < Telnyx::Models::Rcs::AgentCampaignConfiguration
  # @!attribute agent_overview
  #
  #   @return [String]
  required :agent_overview, String

  # @!attribute consent_settings
  #
  #   @return [Telnyx::Models::Rcs::AgentConsentConfiguration]
  required :consent_settings, -> { Telnyx::Rcs::AgentConsentConfiguration }

  # @!attribute interactions
  #
  #   @return [Array<Telnyx::Models::Rcs::AgentInteraction>]
  required :interactions, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Rcs::AgentInteraction] }

  # @!attribute message_examples
  #
  #   @return [Array<String>]
  required :message_examples, Telnyx::Internal::Type::ArrayOf[String]

  # @!method initialize(agent_overview:, consent_settings:, interactions:, message_examples:)
  #   @param agent_overview [String]
  #   @param consent_settings [Telnyx::Models::Rcs::AgentConsentConfiguration]
  #   @param interactions [Array<Telnyx::Models::Rcs::AgentInteraction>]
  #   @param message_examples [Array<String>]
end

Instance Attribute Details

#agent_overviewString

Parameters:

  • _ (String)

Returns:

  • (String)


36
# File 'lib/telnyx/models/rcs/agent_launch_params.rb', line 36

required :agent_overview, String


41
# File 'lib/telnyx/models/rcs/agent_launch_params.rb', line 41

required :consent_settings, -> { Telnyx::Rcs::AgentConsentConfiguration }

#interactionsArray<Telnyx::Models::Rcs::AgentInteraction>



46
# File 'lib/telnyx/models/rcs/agent_launch_params.rb', line 46

required :interactions, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Rcs::AgentInteraction] }

#message_examplesArray<String>

Parameters:

  • _ (::Array[String])

Returns:

  • (Array<String>)


51
# File 'lib/telnyx/models/rcs/agent_launch_params.rb', line 51

required :message_examples, Telnyx::Internal::Type::ArrayOf[String]

Instance Method Details

#to_hash{

Returns:

  • ({)


72
# File 'sig/telnyx/models/rcs/agent_launch_params.rbs', line 72

def to_hash: -> {