Class: PostForMe::Models::PlatformPost::Metrics::ThreadsPostMetricsDto
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- PostForMe::Models::PlatformPost::Metrics::ThreadsPostMetricsDto
- Defined in:
- lib/post_for_me/models/platform_post.rb,
sig/post_for_me/models/platform_post.rbs
Instance Attribute Summary collapse
-
#likes ⇒ Float
Number of likes on the post.
-
#quotes ⇒ Float
Number of quotes of the post.
-
#replies ⇒ Float
Number of replies on the post.
-
#reposts ⇒ Float
Number of reposts of the post.
-
#shares ⇒ Float
Number of shares of the post.
-
#views ⇒ Float
Number of views on the post.
Instance Method Summary collapse
- #initialize ⇒ 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 ⇒ Object
1112 |
# File 'sig/post_for_me/models/platform_post.rbs', line 1112
def initialize: (
|
Instance Attribute Details
#likes ⇒ Float
Number of likes on the post
1310 |
# File 'lib/post_for_me/models/platform_post.rb', line 1310 required :likes, Float |
#quotes ⇒ Float
Number of quotes of the post
1316 |
# File 'lib/post_for_me/models/platform_post.rb', line 1316 required :quotes, Float |
#replies ⇒ Float
Number of replies on the post
1322 |
# File 'lib/post_for_me/models/platform_post.rb', line 1322 required :replies, Float |
#reposts ⇒ Float
Number of reposts of the post
1328 |
# File 'lib/post_for_me/models/platform_post.rb', line 1328 required :reposts, Float |
#shares ⇒ Float
Number of shares of the post
1334 |
# File 'lib/post_for_me/models/platform_post.rb', line 1334 required :shares, Float |
#views ⇒ Float
Number of views on the post
1340 |
# File 'lib/post_for_me/models/platform_post.rb', line 1340 required :views, Float |
Instance Method Details
#to_hash ⇒ {
1121 |
# File 'sig/post_for_me/models/platform_post.rbs', line 1121
def to_hash: -> {
|