Class: Onlyfans::Models::Posts::LabelListResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/posts/label_list_response.rb,
sig/onlyfans/models/posts/label_list_response.rbs

Overview

See Also:

  • Onlyfans::Models::Posts::LabelListResponse#data

Defined Under Namespace

Classes: List

Instance Attribute Summary collapse

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 ⇒ Object



189
# File 'sig/onlyfans/models/posts/label_list_response.rbs', line 189

def initialize: (

Instance Attribute Details

#has_more ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


124
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 124

optional :has_more, Onlyfans::Internal::Type::Boolean, api_name: :hasMore

#hash_sort ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


119
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 119

optional :hash_sort, String, api_name: :hashSort

#list ⇒ Array<Onlyfans::Models::Posts::LabelListResponse::Data::List>?



129
130
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 129

optional :list,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::Posts::LabelListResponse::Data::List] }

#next_offset ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


135
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 135

optional :next_offset, Integer, api_name: :nextOffset

#order ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


140
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 140

optional :order, String

#sort ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


145
# File 'lib/onlyfans/models/posts/label_list_response.rb', line 145

optional :sort, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


198
# File 'sig/onlyfans/models/posts/label_list_response.rbs', line 198

def to_hash: -> {