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

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

Defined Under Namespace

Classes: LatestResponse, SmartLink

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_type: nil, created_at: nil, error_message: nil, error_type: nil, postback_url: nil, status_code: nil, succeeded: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • conversion_type (String) (defaults to: nil)
  • created_at (String) (defaults to: nil)
  • error_message (String, nil) (defaults to: nil)
  • error_type (String, nil) (defaults to: nil)
  • postback_url (String) (defaults to: nil)
  • status_code (Integer) (defaults to: nil)
  • succeeded (Boolean) (defaults to: nil)


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

Instance Attribute Details

#conversion_typesArray<String>?

Returns:

  • (Array<String>, nil)


88
# File 'lib/onlyfans/models/smart_link_postback_list_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_list_response.rb', line 93

optional :created_at, String

#idInteger?

Returns:

  • (Integer, nil)


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

optional :id, Integer

#latest_responseOnlyfans::Models::SmartLinkPostbackListResponse::Data::LatestResponse?



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

optional :latest_response, -> { Onlyfans::Models::SmartLinkPostbackListResponse::Data::LatestResponse }

Returns:

  • (Array<String>, nil)


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

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

Returns:

  • (String, nil)


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

optional :smart_link_scope, String


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

optional :smart_links,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::SmartLinkPostbackListResponse::Data::SmartLink] }

#updated_atString?

Returns:

  • (String, nil)


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

optional :updated_at, String

#urlString?

Returns:

  • (String, nil)


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

optional :url, String