# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module PlexRubySDK
  module Operations
  

    class MyPlex < ::PlexRubySDK::Utils::FieldAugmented
      extend T::Sig


      field :auth_token, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('authToken') } }

      field :mapping_error, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mappingError') } }

      field :mapping_state, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mappingState') } }

      field :private_address, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('privateAddress') } }

      field :private_port, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('privatePort') } }

      field :public_address, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('publicAddress') } }

      field :public_port, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('publicPort') } }

      field :sign_in_state, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('signInState') } }

      field :subscription_active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptionActive') } }

      field :subscription_features, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptionFeatures') } }

      field :subscription_state, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptionState') } }

      field :username, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('username') } }


      sig { params(auth_token: T.nilable(::String), mapping_error: T.nilable(::String), mapping_state: T.nilable(::String), private_address: T.nilable(::String), private_port: T.nilable(::Float), public_address: T.nilable(::String), public_port: T.nilable(::Float), sign_in_state: T.nilable(::String), subscription_active: T.nilable(T::Boolean), subscription_features: T.nilable(::String), subscription_state: T.nilable(::String), username: T.nilable(::String)).void }
      def initialize(auth_token: nil, mapping_error: nil, mapping_state: nil, private_address: nil, private_port: nil, public_address: nil, public_port: nil, sign_in_state: nil, subscription_active: nil, subscription_features: nil, subscription_state: nil, username: nil)
        @auth_token = auth_token
        @mapping_error = mapping_error
        @mapping_state = mapping_state
        @private_address = private_address
        @private_port = private_port
        @public_address = public_address
        @public_port = public_port
        @sign_in_state = sign_in_state
        @subscription_active = subscription_active
        @subscription_features = subscription_features
        @subscription_state = subscription_state
        @username = username
      end
    end
  end
end
