Class: PlexRubySDK::Models::Operations::GetTokenByPinIdAuthPinContainer
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetTokenByPinIdAuthPinContainer
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb
Overview
The Pin with a non-null authToken when it has been verified by the user
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client_identifier: nil, code: nil, created_at: nil, expires_at: nil, expires_in: nil, id: nil, location: nil, product: nil, qr: nil, trusted: nil, auth_token: nil, new_registration: nil) ⇒ GetTokenByPinIdAuthPinContainer
constructor
A new instance of GetTokenByPinIdAuthPinContainer.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(client_identifier: nil, code: nil, created_at: nil, expires_at: nil, expires_in: nil, id: nil, location: nil, product: nil, qr: nil, trusted: nil, auth_token: nil, new_registration: nil) ⇒ GetTokenByPinIdAuthPinContainer
Returns a new instance of GetTokenByPinIdAuthPinContainer.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb', line 46 def initialize(client_identifier: nil, code: nil, created_at: nil, expires_at: nil, expires_in: nil, id: nil, location: nil, product: nil, qr: nil, trusted: nil, auth_token: nil, new_registration: nil) @client_identifier = client_identifier @code = code @created_at = created_at @expires_at = expires_at @expires_in = expires_in @id = id @location = location @product = product @qr = qr @trusted = trusted @auth_token = auth_token @new_registration = new_registration end |
Instance Method Details
#==(other) ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb', line 61 def ==(other) return false unless other.is_a? self.class return false unless @client_identifier == other.client_identifier return false unless @code == other.code return false unless @created_at == other.created_at return false unless @expires_at == other.expires_at return false unless @expires_in == other.expires_in return false unless @id == other.id return false unless @location == other.location return false unless @product == other.product return false unless @qr == other.qr return false unless @trusted == other.trusted return false unless @auth_token == other.auth_token return false unless @new_registration == other.new_registration true end |