Class: Onlyfans::Models::SmartLinkPostbackCreateResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/smart_link_postback_create_response.rb

Overview

See Also:

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(id: nil, conversion_types: nil, created_at: nil, latest_response: nil, smart_link_ids: nil, smart_link_scope: nil, smart_links: nil, updated_at: nil, url: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • conversion_types (Array<String>) (defaults to: nil)
  • created_at (String) (defaults to: nil)
  • latest_response (String, nil) (defaults to: nil)
  • smart_link_ids (Array<Object>) (defaults to: nil)
  • smart_link_scope (String) (defaults to: nil)
  • smart_links (Array<Object>) (defaults to: nil)
  • updated_at (String) (defaults to: nil)
  • url (String) (defaults to: nil)


# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 125

Instance Attribute Details

#conversion_typesArray<String>?

Returns:

  • (Array<String>, nil)


88
# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 88

optional :conversion_types, Onlyfans::Internal::Type::ArrayOf[String]

#created_atString?

Returns:

  • (String, nil)


93
# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 93

optional :created_at, String

#idInteger?

Returns:

  • (Integer, nil)


83
# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 83

optional :id, Integer

#latest_responseString?

Returns:

  • (String, nil)


98
# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 98

optional :latest_response, String, nil?: true

Returns:

  • (Array<Object>, nil)


103
# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 103

optional :smart_link_ids, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]

Returns:

  • (String, nil)


108
# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 108

optional :smart_link_scope, String

Returns:

  • (Array<Object>, nil)


113
# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 113

optional :smart_links, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]

#updated_atString?

Returns:

  • (String, nil)


118
# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 118

optional :updated_at, String

#urlString?

Returns:

  • (String, nil)


123
# File 'lib/onlyfans/models/smart_link_postback_create_response.rb', line 123

optional :url, String