Class: Onlyfans::Models::NotificationListResponse::Data::List::ReplacePairs
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::NotificationListResponse::Data::List::ReplacePairs
- Defined in:
- lib/onlyfans/models/notification_list_response.rb,
sig/onlyfans/models/notification_list_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ReplacePairs
constructor
A new instance of ReplacePairs.
- #to_hash ⇒ { price: String, subscriber_link: String }
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 ⇒ ReplacePairs
Returns a new instance of ReplacePairs.
267 |
# File 'sig/onlyfans/models/notification_list_response.rbs', line 267
def initialize: (?price: String, ?subscriber_link: String) -> void
|
Instance Attribute Details
#price ⇒ String?
194 |
# File 'lib/onlyfans/models/notification_list_response.rb', line 194 optional :price, String, api_name: :"{PRICE}" |
#subscriber_link ⇒ String?
199 |
# File 'lib/onlyfans/models/notification_list_response.rb', line 199 optional :subscriber_link, String, api_name: :"{SUBSCRIBER_LINK}" |
Instance Method Details
#to_hash ⇒ { price: String, subscriber_link: String }
269 |
# File 'sig/onlyfans/models/notification_list_response.rbs', line 269
def to_hash: -> { price: String, subscriber_link: String }
|