Class: Telnyx::Models::Rcs::RcsAgent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/rcs/rcs_agent.rb,
sig/telnyx/models/rcs/rcs_agent.rbs

Instance Attribute Summary collapse

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

#initializeObject



50
# File 'sig/telnyx/models/rcs/rcs_agent.rbs', line 50

def initialize: (

Instance Attribute Details

#agent_idString?

RCS Agent ID

Parameters:

  • (String)

Returns:

  • (String, nil)


11
# File 'lib/telnyx/models/rcs/rcs_agent.rb', line 11

optional :agent_id, String

#agent_nameString?

Human readable agent name

Parameters:

  • (String)

Returns:

  • (String, nil)


17
# File 'lib/telnyx/models/rcs/rcs_agent.rb', line 17

optional :agent_name, String

#created_atTime?

Date and time when the resource was created

Parameters:

  • (Time)

Returns:

  • (Time, nil)


23
# File 'lib/telnyx/models/rcs/rcs_agent.rb', line 23

optional :created_at, Time

#enabledBoolean?

Specifies whether the agent is enabled

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


29
# File 'lib/telnyx/models/rcs/rcs_agent.rb', line 29

optional :enabled, Telnyx::Internal::Type::Boolean

#profile_idString?

Messaging profile ID associated with the RCS Agent

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


35
# File 'lib/telnyx/models/rcs/rcs_agent.rb', line 35

optional :profile_id, String, nil?: true

#updated_atTime?

Date and time when the resource was updated

Parameters:

  • (Time)

Returns:

  • (Time, nil)


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

optional :updated_at, Time

#user_idString?

User ID associated with the RCS Agent

Parameters:

  • (String)

Returns:

  • (String, nil)


47
# File 'lib/telnyx/models/rcs/rcs_agent.rb', line 47

optional :user_id, String

#webhook_failover_urlString?

Failover URL to receive RCS events

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


53
# File 'lib/telnyx/models/rcs/rcs_agent.rb', line 53

optional :webhook_failover_url, String, nil?: true

#webhook_urlString?

URL to receive RCS events

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


59
# File 'lib/telnyx/models/rcs/rcs_agent.rb', line 59

optional :webhook_url, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


62
# File 'sig/telnyx/models/rcs/rcs_agent.rbs', line 62

def to_hash: -> {