Class: Telnyx::Models::Dir::RejectionReason

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/dir/rejection_reason.rb

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(code: nil, detail: nil, message: nil, title: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::Dir::RejectionReason for more details.

Parameters:

  • code (String) (defaults to: nil)
  • detail (String) (defaults to: nil)
  • message (String, nil) (defaults to: nil)

    Customer-visible free-text comment from the Telnyx vetting team. Only the first

  • title (String) (defaults to: nil)


# File 'lib/telnyx/models/dir/rejection_reason.rb', line 29

Instance Attribute Details

#codeString?

Returns:

  • (String, nil)


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

optional :code, String

#detailString?

Returns:

  • (String, nil)


15
# File 'lib/telnyx/models/dir/rejection_reason.rb', line 15

optional :detail, String

#messageString?

Customer-visible free-text comment from the Telnyx vetting team. Only the first entry of ‘rejection_reasons` carries this; the rest are `null`.

Returns:

  • (String, nil)


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

optional :message, String, nil?: true

#titleString?

Returns:

  • (String, nil)


27
# File 'lib/telnyx/models/dir/rejection_reason.rb', line 27

optional :title, String