Class: Onlyfans::Models::Banking::DetailRetrieveLegalAndTaxStatusResponse::Data::Dac7

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb,
sig/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rbs

Overview

See Also:

  • Onlyfans::Models::Banking::DetailRetrieveLegalAndTaxStatusResponse::Data#dac7

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



289
# File 'sig/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rbs', line 289

def initialize: (

Instance Attribute Details

#country_ids ⇒ Array<Integer>?

Parameters:

  • (::Array[Integer])

Returns:

  • (Array<Integer>, nil)


214
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 214

optional :country_ids, Onlyfans::Internal::Type::ArrayOf[Integer], api_name: :countryIds

#error ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


219
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 219

optional :error, String, nil?: true

#required ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


224
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 224

optional :required, Onlyfans::Internal::Type::Boolean

#state ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


229
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 229

optional :state, String

#type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


234
# File 'lib/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rb', line 234

optional :type, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


297
# File 'sig/onlyfans/models/banking/detail_retrieve_legal_and_tax_status_response.rbs', line 297

def to_hash: -> {