Class: Onlyfans::Models::Stories::HighlightRetrieveResponse::Data

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

Overview

See Also:

  • Onlyfans::Models::Stories::HighlightRetrieveResponse#data

Defined Under Namespace

Classes: Story

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



202
# File 'sig/onlyfans/models/stories/highlight_retrieve_response.rbs', line 202

def initialize: (

Instance Attribute Details

#cover ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


130
# File 'lib/onlyfans/models/stories/highlight_retrieve_response.rb', line 130

optional :cover, String

#cover_story_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


135
# File 'lib/onlyfans/models/stories/highlight_retrieve_response.rb', line 135

optional :cover_story_id, Integer, api_name: :coverStoryId

#created_at ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


140
# File 'lib/onlyfans/models/stories/highlight_retrieve_response.rb', line 140

optional :created_at, String, api_name: :createdAt

#id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


125
# File 'lib/onlyfans/models/stories/highlight_retrieve_response.rb', line 125

optional :id, Integer

#stories ⇒ Array<Onlyfans::Models::Stories::HighlightRetrieveResponse::Data::Story>?



145
146
# File 'lib/onlyfans/models/stories/highlight_retrieve_response.rb', line 145

optional :stories,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::Stories::HighlightRetrieveResponse::Data::Story] }

#stories_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


151
# File 'lib/onlyfans/models/stories/highlight_retrieve_response.rb', line 151

optional :stories_count, Integer, api_name: :storiesCount

#title ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


156
# File 'lib/onlyfans/models/stories/highlight_retrieve_response.rb', line 156

optional :title, String

#user_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


161
# File 'lib/onlyfans/models/stories/highlight_retrieve_response.rb', line 161

optional :user_id, Integer, api_name: :userId

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


213
# File 'sig/onlyfans/models/stories/highlight_retrieve_response.rbs', line 213

def to_hash: -> {