Class: Telnyx::Models::InfringementClaim::Dir

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

Overview

See Also:

  • Telnyx::Models::InfringementClaim#dir

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



202
# File 'sig/telnyx/models/infringement_claim.rbs', line 202

def initialize: (

Instance Attribute Details

#display_nameString?

Parameters:

  • (String)

Returns:

  • (String, nil)


189
# File 'lib/telnyx/models/infringement_claim.rb', line 189

optional :display_name, String

#enterprise_idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


194
# File 'lib/telnyx/models/infringement_claim.rb', line 194

optional :enterprise_id, String

#idString? (readonly)

Returns the value of attribute id.

Returns:

  • (String, nil)


198
199
200
# File 'sig/telnyx/models/infringement_claim.rbs', line 198

def id
  @id
end

#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.

Parameters:

  • (Telnyx::Models::dir_status)

Returns:



213
# File 'lib/telnyx/models/infringement_claim.rb', line 213

optional :status, enum: -> { Telnyx::DirStatus }

Instance Method Details

#id=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


200
# File 'sig/telnyx/models/infringement_claim.rbs', line 200

def id=: (String) -> String

#to_hash{

Returns:

  • ({)


209
# File 'sig/telnyx/models/infringement_claim.rbs', line 209

def to_hash: -> {