Class: Telnyx::Models::RcsAgent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/rcs_agent.rb,
sig/telnyx/models/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

#initialize(agent_id: nil, agent_name: nil, created_at: nil, enabled: nil, profile_id: nil, updated_at: nil, user_id: nil, webhook_failover_url: nil, webhook_url: nil) ⇒ Object

Parameters:

  • agent_id (String) (defaults to: nil)

    RCS Agent ID

  • agent_name (String) (defaults to: nil)

    Human readable agent name

  • created_at (Time) (defaults to: nil)

    Date and time when the resource was created

  • enabled (Boolean) (defaults to: nil)

    Specifies whether the agent is enabled

  • profile_id (String, nil) (defaults to: nil)

    Messaging profile ID associated with the RCS Agent

  • updated_at (Time) (defaults to: nil)

    Date and time when the resource was updated

  • user_id (String) (defaults to: nil)

    User ID associated with the RCS Agent

  • webhook_failover_url (String, nil) (defaults to: nil)

    Failover URL to receive RCS events

  • webhook_url (String, nil) (defaults to: nil)

    URL to receive RCS events



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

Instance Attribute Details

#agent_idString?

RCS Agent ID

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :agent_id, String

#agent_nameString?

Human readable agent name

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :agent_name, String

#created_atTime?

Date and time when the resource was created

Parameters:

  • (Time)

Returns:

  • (Time, nil)


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

optional :created_at, Time

#enabledBoolean?

Specifies whether the agent is enabled

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

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

#profile_idString?

Messaging profile ID associated with the RCS Agent

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :profile_id, String, nil?: true

#updated_atTime?

Date and time when the resource was updated

Parameters:

  • (Time)

Returns:

  • (Time, nil)


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

optional :updated_at, Time

#user_idString?

User ID associated with the RCS Agent

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :user_id, String

#webhook_failover_urlString?

Failover URL to receive RCS events

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :webhook_failover_url, String, nil?: true

#webhook_urlString?

URL to receive RCS events

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :webhook_url, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {