Class: Telnyx::Models::SimCardGetDeviceDetailsResponse::Data

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

Overview

See Also:

  • Telnyx::Models::SimCardGetDeviceDetailsResponse#data

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(brand_name: nil, device_type: nil, imei: nil, model_name: nil, operating_system: nil, record_type: nil) ⇒ Object

Parameters:

  • brand_name (String) (defaults to: nil)

    Brand of the device where the SIM card is being used in.

  • device_type (String) (defaults to: nil)

    Type of the device where the SIM card is being used in.

  • imei (String) (defaults to: nil)

    IMEI of the device where the SIM card is being used in.

  • model_name (String) (defaults to: nil)

    Brand of the device where the SIM card is being used in.

  • operating_system (String) (defaults to: nil)

    Operating system of the device where the SIM card is being used in.

  • record_type (String) (defaults to: nil)


# File 'lib/telnyx/models/sim_card_get_device_details_response.rb', line 54

Instance Attribute Details

#brand_nameString? (readonly)

Returns the value of attribute brand_name.

Returns:

  • (String, nil)


32
33
34
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 32

def brand_name
  @brand_name
end

#device_typeString? (readonly)

Returns the value of attribute device_type.

Returns:

  • (String, nil)


36
37
38
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 36

def device_type
  @device_type
end

#imeiString? (readonly)

Returns the value of attribute imei.

Returns:

  • (String, nil)


40
41
42
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 40

def imei
  @imei
end

#model_nameString? (readonly)

Returns the value of attribute model_name.

Returns:

  • (String, nil)


44
45
46
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 44

def model_name
  @model_name
end

#operating_systemString? (readonly)

Returns the value of attribute operating_system.

Returns:

  • (String, nil)


48
49
50
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 48

def operating_system
  @operating_system
end

#record_typeString? (readonly)

Returns the value of attribute record_type.

Returns:

  • (String, nil)


52
53
54
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 52

def record_type
  @record_type
end

Instance Method Details

#brand_name=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


34
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 34

def brand_name=: (String) -> String

#device_type=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


38
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 38

def device_type=: (String) -> String

#imei=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


42
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 42

def imei=: (String) -> String

#model_name=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


46
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 46

def model_name=: (String) -> String

#operating_system=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


50
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 50

def operating_system=: (String) -> String

#record_type=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


54
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 54

def record_type=: (String) -> String

#to_hash{

Returns:

  • ({)


65
# File 'sig/telnyx/models/sim_card_get_device_details_response.rbs', line 65

def to_hash: -> {