Class: Telnyx::Models::DirUpdateResponse::Data

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

Overview

See Also:

Defined Under Namespace

Modules: Status Classes: CallReason, Document, RejectionReason

Instance Attribute Summary collapse

Class Method 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 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_update_response.rb', line 197

Instance Attribute Details

#authorizer_emailString?

Returns:

  • (String, nil)


20
# File 'lib/telnyx/models/dir_update_response.rb', line 20

optional :authorizer_email, String, nil?: true

#authorizer_nameString?

Returns:

  • (String, nil)


25
# File 'lib/telnyx/models/dir_update_response.rb', line 25

optional :authorizer_name, String, nil?: true

#call_reasonsArray<Telnyx::Models::DirUpdateResponse::Data::CallReason>?



30
31
# File 'lib/telnyx/models/dir_update_response.rb', line 30

optional :call_reasons,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::DirUpdateResponse::Data::CallReason] }

#certify_brand_is_accurateBoolean?

Returns:

  • (Boolean, nil)


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

optional :certify_brand_is_accurate, Telnyx::Internal::Type::Boolean

#certify_ip_ownershipBoolean?

Returns:

  • (Boolean, nil)


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

optional :certify_ip_ownership, Telnyx::Internal::Type::Boolean

#certify_no_shaft_contentBoolean?

Returns:

  • (Boolean, nil)


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

optional :certify_no_shaft_content, Telnyx::Internal::Type::Boolean

#display_nameString?

Returns:

  • (String, nil)


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

optional :display_name, String

#documentsArray<Telnyx::Models::DirUpdateResponse::Data::Document>?



56
57
58
# File 'lib/telnyx/models/dir_update_response.rb', line 56

optional :documents,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::DirUpdateResponse::Data::Document] },
nil?: true

#enterprise_idString?

Returns:

  • (String, nil)


63
# File 'lib/telnyx/models/dir_update_response.rb', line 63

optional :enterprise_id, String

#logo_urlString?

Returns:

  • (String, nil)


68
# File 'lib/telnyx/models/dir_update_response.rb', line 68

optional :logo_url, String, nil?: true

#rejection_reasonsArray<Telnyx::Models::DirUpdateResponse::Data::RejectionReason>?

Populated when ‘status` is `rejected`; cleared on `/submit` or successful approval.



75
76
77
# File 'lib/telnyx/models/dir_update_response.rb', line 75

optional :rejection_reasons,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::DirUpdateResponse::Data::RejectionReason] },
nil?: true

#resellingBoolean?

Returns:

  • (Boolean, nil)


82
# File 'lib/telnyx/models/dir_update_response.rb', line 82

optional :reselling, Telnyx::Internal::Type::Boolean

#statusSymbol, ...

DIR lifecycle status.

  • ‘draft` - newly created; editable; not yet submitted.

  • ‘submitted` / `in_review` - Telnyx is reviewing.

  • ‘verified` - approved; phone numbers may be attached.

  • ‘rejected` - Telnyx rejected this submission; `rejection_reasons` is populated; customer can edit and resubmit.

  • ‘unsuccessful` - system-side error during processing; customer can edit and resubmit.

  • ‘suspended` - temporarily disabled (e.g. by an active infringement claim).

  • ‘expired` - verification expired; customer must resubmit.

  • ‘infringement_claimed` - a trademark/impersonation claim is open against this DIR.

  • ‘permanently_rejected` - terminal; cannot be resubmitted.



101
# File 'lib/telnyx/models/dir_update_response.rb', line 101

optional :status, enum: -> { Telnyx::Models::DirUpdateResponse::Data::Status }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/dir_update_response.rb', line 255