Class: Onlyfans::Models::Engagement::Messages::MassMessageListResponse::Data::Item
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::Engagement::Messages::MassMessageListResponse::Data::Item
- Defined in:
- lib/onlyfans/models/engagement/messages/mass_message_list_response.rb,
sig/onlyfans/models/engagement/messages/mass_message_list_response.rbs
Instance Attribute Summary collapse
- #can_unsend ⇒ Boolean?
- #date ⇒ String?
- #giphy_id ⇒ String?
- #id ⇒ Integer?
- #is_canceled ⇒ Boolean?
- #is_free ⇒ Boolean?
- #is_media_ready ⇒ Boolean?
- #is_reported_by_me ⇒ Boolean?
- #is_tip ⇒ Boolean?
- #media ⇒ Array<Object>?
- #media_count ⇒ Integer?
- #previews ⇒ Array<Object>?
- #raw_text ⇒ String?
- #response_type ⇒ String?
- #sent_count ⇒ Integer?
- #template ⇒ String?
- #text ⇒ String?
- #unsend_seconds ⇒ Integer?
- #viewed_count ⇒ Integer?
Instance Method Summary collapse
- #initialize(id: nil, can_unsend: nil, date: nil, giphy_id: nil, is_canceled: nil, is_free: nil, is_media_ready: nil, is_reported_by_me: nil, is_tip: nil, media: nil, media_count: nil, previews: nil, raw_text: nil, response_type: nil, sent_count: nil, template: nil, text: nil, unsend_seconds: nil, viewed_count: nil) ⇒ Object constructor
- #to_hash ⇒ {
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, can_unsend: nil, date: nil, giphy_id: nil, is_canceled: nil, is_free: nil, is_media_ready: nil, is_reported_by_me: nil, is_tip: nil, media: nil, media_count: nil, previews: nil, raw_text: nil, response_type: nil, sent_count: nil, template: nil, text: nil, unsend_seconds: nil, viewed_count: nil) ⇒ Object
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 150 class Item < Onlyfans::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!attribute can_unsend # # @return [Boolean, nil] optional :can_unsend, Onlyfans::Internal::Type::Boolean, api_name: :canUnsend # @!attribute date # # @return [String, nil] optional :date, String # @!attribute giphy_id # # @return [String, nil] optional :giphy_id, String, api_name: :giphyId, nil?: true # @!attribute is_canceled # # @return [Boolean, nil] optional :is_canceled, Onlyfans::Internal::Type::Boolean, api_name: :isCanceled # @!attribute is_free # # @return [Boolean, nil] optional :is_free, Onlyfans::Internal::Type::Boolean, api_name: :isFree # @!attribute is_media_ready # # @return [Boolean, nil] optional :is_media_ready, Onlyfans::Internal::Type::Boolean, api_name: :isMediaReady # @!attribute is_reported_by_me # # @return [Boolean, nil] optional :is_reported_by_me, Onlyfans::Internal::Type::Boolean, api_name: :isReportedByMe # @!attribute is_tip # # @return [Boolean, nil] optional :is_tip, Onlyfans::Internal::Type::Boolean, api_name: :isTip # @!attribute media # # @return [Array<Object>, nil] optional :media, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown] # @!attribute media_count # # @return [Integer, nil] optional :media_count, Integer, api_name: :mediaCount # @!attribute previews # # @return [Array<Object>, nil] optional :previews, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown] # @!attribute raw_text # # @return [String, nil] optional :raw_text, String, api_name: :rawText # @!attribute response_type # # @return [String, nil] optional :response_type, String, api_name: :responseType # @!attribute sent_count # # @return [Integer, nil] optional :sent_count, Integer, api_name: :sentCount # @!attribute template # # @return [String, nil] optional :template, String # @!attribute text # # @return [String, nil] optional :text, String # @!attribute unsend_seconds # # @return [Integer, nil] optional :unsend_seconds, Integer, api_name: :unsendSeconds # @!attribute viewed_count # # @return [Integer, nil] optional :viewed_count, Integer, api_name: :viewedCount # @!method initialize(id: nil, can_unsend: nil, date: nil, giphy_id: nil, is_canceled: nil, is_free: nil, is_media_ready: nil, is_reported_by_me: nil, is_tip: nil, media: nil, media_count: nil, previews: nil, raw_text: nil, response_type: nil, sent_count: nil, template: nil, text: nil, unsend_seconds: nil, viewed_count: nil) # @param id [Integer] # @param can_unsend [Boolean] # @param date [String] # @param giphy_id [String, nil] # @param is_canceled [Boolean] # @param is_free [Boolean] # @param is_media_ready [Boolean] # @param is_reported_by_me [Boolean] # @param is_tip [Boolean] # @param media [Array<Object>] # @param media_count [Integer] # @param previews [Array<Object>] # @param raw_text [String] # @param response_type [String] # @param sent_count [Integer] # @param template [String] # @param text [String] # @param unsend_seconds [Integer] # @param viewed_count [Integer] end |
Instance Attribute Details
#can_unsend ⇒ Boolean?
159 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 159 optional :can_unsend, Onlyfans::Internal::Type::Boolean, api_name: :canUnsend |
#date ⇒ String?
164 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 164 optional :date, String |
#giphy_id ⇒ String?
169 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 169 optional :giphy_id, String, api_name: :giphyId, nil?: true |
#id ⇒ Integer?
154 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 154 optional :id, Integer |
#is_canceled ⇒ Boolean?
174 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 174 optional :is_canceled, Onlyfans::Internal::Type::Boolean, api_name: :isCanceled |
#is_free ⇒ Boolean?
179 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 179 optional :is_free, Onlyfans::Internal::Type::Boolean, api_name: :isFree |
#is_media_ready ⇒ Boolean?
184 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 184 optional :is_media_ready, Onlyfans::Internal::Type::Boolean, api_name: :isMediaReady |
#is_reported_by_me ⇒ Boolean?
189 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 189 optional :is_reported_by_me, Onlyfans::Internal::Type::Boolean, api_name: :isReportedByMe |
#is_tip ⇒ Boolean?
194 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 194 optional :is_tip, Onlyfans::Internal::Type::Boolean, api_name: :isTip |
#media ⇒ Array<Object>?
199 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 199 optional :media, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown] |
#media_count ⇒ Integer?
204 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 204 optional :media_count, Integer, api_name: :mediaCount |
#previews ⇒ Array<Object>?
209 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 209 optional :previews, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown] |
#raw_text ⇒ String?
214 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 214 optional :raw_text, String, api_name: :rawText |
#response_type ⇒ String?
219 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 219 optional :response_type, String, api_name: :responseType |
#sent_count ⇒ Integer?
224 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 224 optional :sent_count, Integer, api_name: :sentCount |
#template ⇒ String?
229 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 229 optional :template, String |
#text ⇒ String?
234 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 234 optional :text, String |
#unsend_seconds ⇒ Integer?
239 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 239 optional :unsend_seconds, Integer, api_name: :unsendSeconds |
#viewed_count ⇒ Integer?
244 |
# File 'lib/onlyfans/models/engagement/messages/mass_message_list_response.rb', line 244 optional :viewed_count, Integer, api_name: :viewedCount |
Instance Method Details
#to_hash ⇒ {
321 |
# File 'sig/onlyfans/models/engagement/messages/mass_message_list_response.rbs', line 321 def to_hash: -> { |