Class: Trycourier::Models::Users::UserToken::Device

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/trycourier/models/users/user_token.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Trycourier::Internal::Type::BaseModel

Instance Attribute Details

#ad_idString?

Id of the advertising identifier

Returns:

  • (String, nil)


78
# File 'lib/trycourier/models/users/user_token.rb', line 78

optional :ad_id, String, nil?: true

#app_idString?

Id of the application the token is used for

Returns:

  • (String, nil)


84
# File 'lib/trycourier/models/users/user_token.rb', line 84

optional :app_id, String, nil?: true

#device_idString?

Id of the device the token is associated with

Returns:

  • (String, nil)


90
# File 'lib/trycourier/models/users/user_token.rb', line 90

optional :device_id, String, nil?: true

#manufacturerString?

The device manufacturer

Returns:

  • (String, nil)


96
# File 'lib/trycourier/models/users/user_token.rb', line 96

optional :manufacturer, String, nil?: true

#modelString?

The device model

Returns:

  • (String, nil)


102
# File 'lib/trycourier/models/users/user_token.rb', line 102

optional :model, String, nil?: true

#platformString?

The device platform i.e. android, ios, web

Returns:

  • (String, nil)


108
# File 'lib/trycourier/models/users/user_token.rb', line 108

optional :platform, String, nil?: true