Class: PlexRubySDK::Models::Operations::GetTokenDetailsUserPlexAccount
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetTokenDetailsUserPlexAccount
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb
Overview
Logged in user details
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(ads_consent: nil, ads_consent_reminder_at: nil, ads_consent_set_at: nil, anonymous: nil, attribution_partner: nil, auth_token: nil, backup_codes_created: nil, confirmed: nil, country: nil, email: nil, email_only_auth: nil, entitlements: nil, experimental_features: nil, friendly_name: nil, guest: nil, has_password: nil, home: nil, home_admin: nil, home_size: nil, id: nil, joined_at: nil, locale: nil, mailing_list_active: nil, mailing_list_status: nil, max_home_size: nil, profile: nil, protected: nil, remember_expires_at: nil, restricted: nil, scrobble_types: nil, services: nil, subscription: nil, subscription_description: nil, thumb: nil, title: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil, subscriptions: nil) ⇒ GetTokenDetailsUserPlexAccount
constructor
A new instance of GetTokenDetailsUserPlexAccount.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(ads_consent: nil, ads_consent_reminder_at: nil, ads_consent_set_at: nil, anonymous: nil, attribution_partner: nil, auth_token: nil, backup_codes_created: nil, confirmed: nil, country: nil, email: nil, email_only_auth: nil, entitlements: nil, experimental_features: nil, friendly_name: nil, guest: nil, has_password: nil, home: nil, home_admin: nil, home_size: nil, id: nil, joined_at: nil, locale: nil, mailing_list_active: nil, mailing_list_status: nil, max_home_size: nil, profile: nil, protected: nil, remember_expires_at: nil, restricted: nil, scrobble_types: nil, services: nil, subscription: nil, subscription_description: nil, thumb: nil, title: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil, subscriptions: nil) ⇒ GetTokenDetailsUserPlexAccount
Returns a new instance of GetTokenDetailsUserPlexAccount.
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb', line 106 def initialize(ads_consent: nil, ads_consent_reminder_at: nil, ads_consent_set_at: nil, anonymous: nil, attribution_partner: nil, auth_token: nil, backup_codes_created: nil, confirmed: nil, country: nil, email: nil, email_only_auth: nil, entitlements: nil, experimental_features: nil, friendly_name: nil, guest: nil, has_password: nil, home: nil, home_admin: nil, home_size: nil, id: nil, joined_at: nil, locale: nil, mailing_list_active: nil, mailing_list_status: nil, max_home_size: nil, profile: nil, protected: nil, remember_expires_at: nil, restricted: nil, scrobble_types: nil, services: nil, subscription: nil, subscription_description: nil, thumb: nil, title: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil, subscriptions: nil) @ads_consent = @ads_consent_reminder_at = @ads_consent_set_at = @anonymous = anonymous @attribution_partner = attribution_partner @auth_token = auth_token @backup_codes_created = backup_codes_created @confirmed = confirmed @country = country @email = email @email_only_auth = email_only_auth @entitlements = entitlements @experimental_features = experimental_features @friendly_name = friendly_name @guest = guest @has_password = has_password @home = home @home_admin = home_admin @home_size = home_size @id = id @joined_at = joined_at @locale = locale @mailing_list_active = mailing_list_active @mailing_list_status = mailing_list_status @max_home_size = max_home_size @profile = profile @protected = protected @remember_expires_at = remember_expires_at @restricted = restricted @scrobble_types = scrobble_types @services = services @subscription = subscription @subscription_description = subscription_description @thumb = thumb @title = title @two_factor_enabled = two_factor_enabled @username = username @uuid = uuid @pin = pin @roles = roles @subscriptions = subscriptions end |
Instance Method Details
#==(other) ⇒ Object
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb', line 150 def ==(other) return false unless other.is_a? self.class return false unless @ads_consent == other. return false unless @ads_consent_reminder_at == other. return false unless @ads_consent_set_at == other. return false unless @anonymous == other.anonymous return false unless @attribution_partner == other.attribution_partner return false unless @auth_token == other.auth_token return false unless @backup_codes_created == other.backup_codes_created return false unless @confirmed == other.confirmed return false unless @country == other.country return false unless @email == other.email return false unless @email_only_auth == other.email_only_auth return false unless @entitlements == other.entitlements return false unless @experimental_features == other.experimental_features return false unless @friendly_name == other.friendly_name return false unless @guest == other.guest return false unless @has_password == other.has_password return false unless @home == other.home return false unless @home_admin == other.home_admin return false unless @home_size == other.home_size return false unless @id == other.id return false unless @joined_at == other.joined_at return false unless @locale == other.locale return false unless @mailing_list_active == other.mailing_list_active return false unless @mailing_list_status == other.mailing_list_status return false unless @max_home_size == other.max_home_size return false unless @profile == other.profile return false unless @protected == other.protected return false unless @remember_expires_at == other.remember_expires_at return false unless @restricted == other.restricted return false unless @scrobble_types == other.scrobble_types return false unless @services == other.services return false unless @subscription == other.subscription return false unless @subscription_description == other.subscription_description return false unless @thumb == other.thumb return false unless @title == other.title return false unless @two_factor_enabled == other.two_factor_enabled return false unless @username == other.username return false unless @uuid == other.uuid return false unless @pin == other.pin return false unless @roles == other.roles return false unless @subscriptions == other.subscriptions true end |