Class: Telnyx::Models::DirListInfringementClaimsResponse::ContestDocument

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

Defined Under Namespace

Modules: DocumentType

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(document_id:, document_type:, description: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::DirListInfringementClaimsResponse::ContestDocument for more details.

Parameters:



# File 'lib/telnyx/models/dir_list_infringement_claims_response.rb', line 182

Instance Attribute Details

#descriptionString?

Returns:

  • (String, nil)


180
# File 'lib/telnyx/models/dir_list_infringement_claims_response.rb', line 180

optional :description, String

#document_idString

Id returned by the Telnyx Documents API after you upload the file (upload via ‘POST /v2/documents`; see developers.telnyx.com/api/documents).

Returns:

  • (String)


166
# File 'lib/telnyx/models/dir_list_infringement_claims_response.rb', line 166

required :document_id, String

#document_typeSymbol, Telnyx::Models::DirListInfringementClaimsResponse::ContestDocument::DocumentType

Type of supporting document. Pick the closest match to what the file actually contains; ‘other` triggers manual vetting and may slow approval. The matching short_name reference list is at `GET /v2/dir/document_types`.



174
175
# File 'lib/telnyx/models/dir_list_infringement_claims_response.rb', line 174

required :document_type,
enum: -> { Telnyx::Models::DirListInfringementClaimsResponse::ContestDocument::DocumentType }