Class: Onlyfans::Models::AuthenticatePollStatusResponse::Account::OnlyfansData::HasNewTicketReplies

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/onlyfans/models/authenticate_poll_status_response.rb,
sig/onlyfans/models/authenticate_poll_status_response.rbs

Overview

See Also:

  • Onlyfans::Models::AuthenticatePollStatusResponse::Account::OnlyfansData#has_new_ticket_replies

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 ⇒ HasNewTicketReplies

Returns a new instance of HasNewTicketReplies.

Parameters:

  • closed: (Boolean)
  • open_: (Boolean)
  • solved: (Boolean)


906
# File 'sig/onlyfans/models/authenticate_poll_status_response.rbs', line 906

def initialize: (?closed: bool, ?open_: bool, ?solved: bool) -> void

Instance Attribute Details

#closed ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


789
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 789

optional :closed, Onlyfans::Internal::Type::Boolean

#open_ ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


794
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 794

optional :open_, Onlyfans::Internal::Type::Boolean, api_name: :open

#solved ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


799
# File 'lib/onlyfans/models/authenticate_poll_status_response.rb', line 799

optional :solved, Onlyfans::Internal::Type::Boolean

Instance Method Details

#to_hash ⇒ { closed: bool, open_: bool, solved: bool }

Returns:

  • ({ closed: bool, open_: bool, solved: bool })


908
# File 'sig/onlyfans/models/authenticate_poll_status_response.rbs', line 908

def to_hash: -> { closed: bool, open_: bool, solved: bool }