Class: PostForMe::Models::PlatformPost::Metrics::BlueskyPostMetricsDto
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- PostForMe::Models::PlatformPost::Metrics::BlueskyPostMetricsDto
- Defined in:
- lib/post_for_me/models/platform_post.rb,
sig/post_for_me/models/platform_post.rbs
Instance Attribute Summary collapse
-
#like_count ⇒ Float
Number of likes on the post.
-
#quote_count ⇒ Float
Number of quotes of the post.
-
#reply_count ⇒ Float
Number of replies on the post.
-
#repost_count ⇒ Float
Number of reposts of 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
1230 |
# File 'sig/post_for_me/models/platform_post.rbs', line 1230
def initialize: (
|
Instance Attribute Details
#like_count ⇒ Float
Number of likes on the post
1458 |
# File 'lib/post_for_me/models/platform_post.rb', line 1458 required :like_count, Float, api_name: :likeCount |
#quote_count ⇒ Float
Number of quotes of the post
1464 |
# File 'lib/post_for_me/models/platform_post.rb', line 1464 required :quote_count, Float, api_name: :quoteCount |
#reply_count ⇒ Float
Number of replies on the post
1470 |
# File 'lib/post_for_me/models/platform_post.rb', line 1470 required :reply_count, Float, api_name: :replyCount |
#repost_count ⇒ Float
Number of reposts of the post
1476 |
# File 'lib/post_for_me/models/platform_post.rb', line 1476 required :repost_count, Float, api_name: :repostCount |
Instance Method Details
#to_hash ⇒ {
1237 |
# File 'sig/post_for_me/models/platform_post.rbs', line 1237
def to_hash: -> {
|