Class: Telnyx::Models::SimCard

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

Direct Known Subclasses

SimCardUpdateParams

Defined Under Namespace

Modules: EsimInstallationStatus, LiveDataSession, Type Classes: CurrentBillingPeriodConsumedData, CurrentDeviceLocation, DataLimit, PinPukCodes

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(pin1: nil, pin2: nil, puk1: nil, puk2: nil) ⇒ Object

Some parameter documentations has been truncated, see PinPukCodes for more details.

PIN and PUK codes for the SIM card. Only available when include_pin_puk_codes=true is set in the request.

Parameters:

  • pin1 (String) (defaults to: nil)

    The primary Personal Identification Number (PIN) for the SIM card. This is a 4-d

  • pin2 (String) (defaults to: nil)

    The secondary Personal Identification Number (PIN2) for the SIM card. This is a

  • puk1 (String) (defaults to: nil)

    The primary Personal Unblocking Key (PUK1) for the SIM card. This is an 8-digit

  • puk2 (String) (defaults to: nil)

    The secondary Personal Unblocking Key (PUK2) for the SIM card. This is an 8-digi



# File 'lib/telnyx/models/sim_card.rb', line 200

Instance Attribute Details

#authorized_imeisArray<String>?

List of IMEIs authorized to use a given SIM card.

Returns:

  • (Array<String>, nil)


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

optional :authorized_imeis, Telnyx::Internal::Type::ArrayOf[String], nil?: true

#data_limitTelnyx::Models::SimCard::DataLimit?

The SIM card individual data limit configuration.



16
# File 'lib/telnyx/models/sim_card.rb', line 16

optional :data_limit, -> { Telnyx::SimCard::DataLimit }

#sim_card_group_idString?

The group SIMCardGroup identification. This attribute can be null when it’s present in an associated resource.

Returns:

  • (String, nil)


23
# File 'lib/telnyx/models/sim_card.rb', line 23

optional :sim_card_group_id, String

#statusTelnyx::Models::SimCardStatus?



28
# File 'lib/telnyx/models/sim_card.rb', line 28

optional :status, -> { Telnyx::SimCardStatus }

#tagsArray<String>?

Searchable tags associated with the SIM card

Returns:

  • (Array<String>, nil)


34
# File 'lib/telnyx/models/sim_card.rb', line 34

optional :tags, Telnyx::Internal::Type::ArrayOf[String]

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/sim_card.rb', line 335