Class: Telnyx::Models::SimCard::PinPukCodes

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

Overview

See Also:

  • Telnyx::Models::SimCard#pin_puk_codes

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



354
# File 'sig/telnyx/models/sim_card.rbs', line 354

def initialize: (

Instance Attribute Details

#pin1String? (readonly)

Returns the value of attribute pin1.

Returns:

  • (String, nil)


338
339
340
# File 'sig/telnyx/models/sim_card.rbs', line 338

def pin1
  @pin1
end

#pin2String? (readonly)

Returns the value of attribute pin2.

Returns:

  • (String, nil)


342
343
344
# File 'sig/telnyx/models/sim_card.rbs', line 342

def pin2
  @pin2
end

#puk1String? (readonly)

Returns the value of attribute puk1.

Returns:

  • (String, nil)


346
347
348
# File 'sig/telnyx/models/sim_card.rbs', line 346

def puk1
  @puk1
end

#puk2String? (readonly)

Returns the value of attribute puk2.

Returns:

  • (String, nil)


350
351
352
# File 'sig/telnyx/models/sim_card.rbs', line 350

def puk2
  @puk2
end

Instance Method Details

#pin1=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


340
# File 'sig/telnyx/models/sim_card.rbs', line 340

def pin1=: (String) -> String

#pin2=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


344
# File 'sig/telnyx/models/sim_card.rbs', line 344

def pin2=: (String) -> String

#puk1=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


348
# File 'sig/telnyx/models/sim_card.rbs', line 348

def puk1=: (String) -> String

#puk2=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


352
# File 'sig/telnyx/models/sim_card.rbs', line 352

def puk2=: (String) -> String

#to_hash{

Returns:

  • ({)


361
# File 'sig/telnyx/models/sim_card.rbs', line 361

def to_hash: -> {