Class: Onlyfans::Models::SmartLinkPostbackListResponse::Data::SmartLink

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

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(account_display_name: nil, account_prefixed_id: nil, link_ulid: nil, name: nil) ⇒ Object

Parameters:

  • account_display_name (String) (defaults to: nil)
  • account_prefixed_id (String) (defaults to: nil)
  • link_ulid (String) (defaults to: nil)
  • name (String) (defaults to: nil)


# File 'lib/onlyfans/models/smart_link_postback_list_response.rb', line 211


Instance Attribute Details

#account_display_name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


194
# File 'lib/onlyfans/models/smart_link_postback_list_response.rb', line 194

optional :account_display_name, String

#account_prefixed_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


199
# File 'lib/onlyfans/models/smart_link_postback_list_response.rb', line 199

optional :account_prefixed_id, String

Parameters:

  • (String)

Returns:

  • (String, nil)


204
# File 'lib/onlyfans/models/smart_link_postback_list_response.rb', line 204

optional :link_ulid, String

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


209
# File 'lib/onlyfans/models/smart_link_postback_list_response.rb', line 209

optional :name, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


276
# File 'sig/onlyfans/models/smart_link_postback_list_response.rbs', line 276

def to_hash: -> {