Class: Onlyfans::Models::UserListResponse::Data::Const1000000::SubscribedByData::Subscribe
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::UserListResponse::Data::Const1000000::SubscribedByData::Subscribe
- Defined in:
- lib/onlyfans/models/user_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
843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 |
# File 'lib/onlyfans/models/user_list_response.rb', line 843 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?
852 |
# File 'lib/onlyfans/models/user_list_response.rb', line 852 optional :action, String |
#cancel_date ⇒ String?
857 |
# File 'lib/onlyfans/models/user_list_response.rb', line 857 optional :cancel_date, String, api_name: :cancelDate, nil?: true |
#date ⇒ String?
862 |
# File 'lib/onlyfans/models/user_list_response.rb', line 862 optional :date, String |
#discount ⇒ Integer?
867 |
# File 'lib/onlyfans/models/user_list_response.rb', line 867 optional :discount, Integer |
#duration ⇒ Integer?
872 |
# File 'lib/onlyfans/models/user_list_response.rb', line 872 optional :duration, Integer |
#earning_id ⇒ Integer?
877 |
# File 'lib/onlyfans/models/user_list_response.rb', line 877 optional :earning_id, Integer, api_name: :earningId |
#expire_date ⇒ String?
882 |
# File 'lib/onlyfans/models/user_list_response.rb', line 882 optional :expire_date, String, api_name: :expireDate |
#id ⇒ Integer?
847 |
# File 'lib/onlyfans/models/user_list_response.rb', line 847 optional :id, Integer |
#is_current ⇒ Boolean?
887 |
# File 'lib/onlyfans/models/user_list_response.rb', line 887 optional :is_current, Onlyfans::Internal::Type::Boolean, api_name: :isCurrent |
#offer_end ⇒ String?
892 |
# File 'lib/onlyfans/models/user_list_response.rb', line 892 optional :offer_end, String, api_name: :offerEnd, nil?: true |
#offer_start ⇒ String?
897 |
# File 'lib/onlyfans/models/user_list_response.rb', line 897 optional :offer_start, String, api_name: :offerStart, nil?: true |
#price ⇒ Integer?
902 |
# File 'lib/onlyfans/models/user_list_response.rb', line 902 optional :price, Integer |
#regular_price ⇒ Integer?
907 |
# File 'lib/onlyfans/models/user_list_response.rb', line 907 optional :regular_price, Integer, api_name: :regularPrice |
#start_date ⇒ String?
912 |
# File 'lib/onlyfans/models/user_list_response.rb', line 912 optional :start_date, String, api_name: :startDate |
#subscriber_id ⇒ Integer?
917 |
# File 'lib/onlyfans/models/user_list_response.rb', line 917 optional :subscriber_id, Integer, api_name: :subscriberId |
#type ⇒ String?
922 |
# File 'lib/onlyfans/models/user_list_response.rb', line 922 optional :type, String |
#user_id ⇒ Integer?
927 |
# File 'lib/onlyfans/models/user_list_response.rb', line 927 optional :user_id, Integer, api_name: :userId |