Class: Onlyfans::Models::UserLists::UserListPinnedResponse::Data::List::PromoOffer

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Onlyfans::Internal::Type::BaseModel

Instance Attribute Details

#created_atString?

Returns:

  • (String, nil)


576
# File 'lib/onlyfans/models/user_lists/user_list_pinned_response.rb', line 576

optional :created_at, String, api_name: :createdAt

#expired_atString?

Returns:

  • (String, nil)


581
# File 'lib/onlyfans/models/user_lists/user_list_pinned_response.rb', line 581

optional :expired_at, String, api_name: :expiredAt, nil?: true

#finished_atString?

Returns:

  • (String, nil)


586
# File 'lib/onlyfans/models/user_lists/user_list_pinned_response.rb', line 586

optional :finished_at, String, api_name: :finishedAt

#idInteger?

Returns:

  • (Integer, nil)


571
# File 'lib/onlyfans/models/user_lists/user_list_pinned_response.rb', line 571

optional :id, Integer

#subscribe_daysInteger?

Returns:

  • (Integer, nil)


591
# File 'lib/onlyfans/models/user_lists/user_list_pinned_response.rb', line 591

optional :subscribe_days, Integer, api_name: :subscribeDays

#subscriber_idString?

Returns:

  • (String, nil)


596
# File 'lib/onlyfans/models/user_lists/user_list_pinned_response.rb', line 596

optional :subscriber_id, String, api_name: :subscriberId

#user_idString?

Returns:

  • (String, nil)


601
# File 'lib/onlyfans/models/user_lists/user_list_pinned_response.rb', line 601

optional :user_id, String, api_name: :userId