Class: Onlyfans::Models::Stories::HighlightRetrieveResponse::Data::Story::Text

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

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(angle: nil, bg_color: nil, color: nil, font_family: nil, font_size: nil, font_style: nil, font_weight: nil, left: nil, scale: nil, text: nil, text_align: nil, text_height: nil, text_width: nil, top: nil, type: nil, users: nil, z_index: nil) ⇒ Object

Parameters:

  • angle (Integer) (defaults to: nil)
  • bg_color (String) (defaults to: nil)
  • color (String) (defaults to: nil)
  • font_family (String) (defaults to: nil)
  • font_size (String) (defaults to: nil)
  • font_style (String, nil) (defaults to: nil)
  • font_weight (Integer) (defaults to: nil)
  • left (Float) (defaults to: nil)
  • scale (Float) (defaults to: nil)
  • text (String) (defaults to: nil)
  • text_align (String) (defaults to: nil)
  • text_height (Float) (defaults to: nil)
  • text_width (Float) (defaults to: nil)
  • top (Float) (defaults to: nil)
  • type (String) (defaults to: nil)
  • users (Array<Object>) (defaults to: nil)
  • z_index (Integer) (defaults to: nil)


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

Instance Attribute Details

#angleInteger?

Returns:

  • (Integer, nil)


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

optional :angle, Integer

#bg_colorString?

Returns:

  • (String, nil)


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

optional :bg_color, String, api_name: :bgColor

#colorString?

Returns:

  • (String, nil)


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

optional :color, String

#font_familyString?

Returns:

  • (String, nil)


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

optional :font_family, String, api_name: :fontFamily

#font_sizeString?

Returns:

  • (String, nil)


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

optional :font_size, String, api_name: :fontSize

#font_styleString?

Returns:

  • (String, nil)


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

optional :font_style, String, api_name: :fontStyle, nil?: true

#font_weightInteger?

Returns:

  • (Integer, nil)


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

optional :font_weight, Integer, api_name: :fontWeight

#leftFloat?

Returns:

  • (Float, nil)


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

optional :left, Float

#scaleFloat?

Returns:

  • (Float, nil)


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

optional :scale, Float

#textString?

Returns:

  • (String, nil)


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

optional :text, String

#text_alignString?

Returns:

  • (String, nil)


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

optional :text_align, String, api_name: :textAlign

#text_heightFloat?

Returns:

  • (Float, nil)


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

optional :text_height, Float, api_name: :textHeight

#text_widthFloat?

Returns:

  • (Float, nil)


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

optional :text_width, Float, api_name: :textWidth

#topFloat?

Returns:

  • (Float, nil)


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

optional :top, Float

#typeString?

Returns:

  • (String, nil)


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

optional :type, String

#usersArray<Object>?

Returns:

  • (Array<Object>, nil)


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

optional :users, Onlyfans::Internal::Type::ArrayOf[Onlyfans::Internal::Type::Unknown]

#z_indexInteger?

Returns:

  • (Integer, nil)


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

optional :z_index, Integer, api_name: :zIndex