Class: Onlyfans::Models::ChatListResponse::Data::Fan::SubscribedByData::Subscribe
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::ChatListResponse::Data::Fan::SubscribedByData::Subscribe
- Defined in:
- lib/onlyfans/models/chat_list_response.rb
Instance Attribute Summary collapse
- #action ⇒ String?
- #cancel_date ⇒ String?
- #date ⇒ String?
- #discount ⇒ Integer?
- #duration ⇒ Integer?
- #earning_id ⇒ Integer?
- #expire_date ⇒ String?
- #id ⇒ Integer?
- #is_current ⇒ Boolean?
- #offer_end ⇒ String?
- #offer_start ⇒ String?
- #price ⇒ Integer?
- #regular_price ⇒ Integer?
- #start_date ⇒ String?
- #subscriber_id ⇒ Integer?
- #type ⇒ String?
- #user_id ⇒ Integer?
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(discount_finished_at: nil, discount_percent: nil, discount_period: nil, discount_started_at: nil, duration: nil, expired_at: nil, has_active_paid_subscriptions: nil, is_muted: nil, new_price: nil, price: nil, regular_price: nil, renewed_at: nil, show_posts_in_feed: nil, status: nil, subscribe_at: nil, subscribe_price: nil, subscribes: nil, unsubscribe_reason: nil) ⇒ Object
965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 965 class Subscribe < Onlyfans::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!attribute action # # @return [String, nil] optional :action, String # @!attribute cancel_date # # @return [String, nil] optional :cancel_date, String, api_name: :cancelDate, nil?: true # @!attribute date # # @return [String, nil] optional :date, String # @!attribute discount # # @return [Integer, nil] optional :discount, Integer # @!attribute duration # # @return [Integer, nil] optional :duration, Integer # @!attribute earning_id # # @return [Integer, nil] optional :earning_id, Integer, api_name: :earningId # @!attribute expire_date # # @return [String, nil] optional :expire_date, String, api_name: :expireDate # @!attribute is_current # # @return [Boolean, nil] optional :is_current, Onlyfans::Internal::Type::Boolean, api_name: :isCurrent # @!attribute offer_end # # @return [String, nil] optional :offer_end, String, api_name: :offerEnd, nil?: true # @!attribute offer_start # # @return [String, nil] optional :offer_start, String, api_name: :offerStart, nil?: true # @!attribute price # # @return [Integer, nil] optional :price, Integer # @!attribute regular_price # # @return [Integer, nil] optional :regular_price, Integer, api_name: :regularPrice # @!attribute start_date # # @return [String, nil] optional :start_date, String, api_name: :startDate # @!attribute subscriber_id # # @return [Integer, nil] optional :subscriber_id, Integer, api_name: :subscriberId # @!attribute type # # @return [String, nil] optional :type, String # @!attribute user_id # # @return [Integer, nil] optional :user_id, Integer, api_name: :userId # @!method initialize(id: nil, action: nil, cancel_date: nil, date: nil, discount: nil, duration: nil, earning_id: nil, expire_date: nil, is_current: nil, offer_end: nil, offer_start: nil, price: nil, regular_price: nil, start_date: nil, subscriber_id: nil, type: nil, user_id: nil) # @param id [Integer] # @param action [String] # @param cancel_date [String, nil] # @param date [String] # @param discount [Integer] # @param duration [Integer] # @param earning_id [Integer] # @param expire_date [String] # @param is_current [Boolean] # @param offer_end [String, nil] # @param offer_start [String, nil] # @param price [Integer] # @param regular_price [Integer] # @param start_date [String] # @param subscriber_id [Integer] # @param type [String] # @param user_id [Integer] end |
Instance Attribute Details
#action ⇒ String?
974 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 974 optional :action, String |
#cancel_date ⇒ String?
979 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 979 optional :cancel_date, String, api_name: :cancelDate, nil?: true |
#date ⇒ String?
984 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 984 optional :date, String |
#discount ⇒ Integer?
989 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 989 optional :discount, Integer |
#duration ⇒ Integer?
994 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 994 optional :duration, Integer |
#earning_id ⇒ Integer?
999 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 999 optional :earning_id, Integer, api_name: :earningId |
#expire_date ⇒ String?
1004 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1004 optional :expire_date, String, api_name: :expireDate |
#id ⇒ Integer?
969 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 969 optional :id, Integer |
#is_current ⇒ Boolean?
1009 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1009 optional :is_current, Onlyfans::Internal::Type::Boolean, api_name: :isCurrent |
#offer_end ⇒ String?
1014 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1014 optional :offer_end, String, api_name: :offerEnd, nil?: true |
#offer_start ⇒ String?
1019 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1019 optional :offer_start, String, api_name: :offerStart, nil?: true |
#price ⇒ Integer?
1024 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1024 optional :price, Integer |
#regular_price ⇒ Integer?
1029 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1029 optional :regular_price, Integer, api_name: :regularPrice |
#start_date ⇒ String?
1034 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1034 optional :start_date, String, api_name: :startDate |
#subscriber_id ⇒ Integer?
1039 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1039 optional :subscriber_id, Integer, api_name: :subscriberId |
#type ⇒ String?
1044 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1044 optional :type, String |
#user_id ⇒ Integer?
1049 |
# File 'lib/onlyfans/models/chat_list_response.rb', line 1049 optional :user_id, Integer, api_name: :userId |