Class: PostForMe::Models::PlatformPost::Metrics::BlueskyPostMetricsDto

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/post_for_me/models/platform_post.rb,
sig/post_for_me/models/platform_post.rbs

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

#initializeObject



1230
# File 'sig/post_for_me/models/platform_post.rbs', line 1230

def initialize: (

Instance Attribute Details

#like_countFloat

Number of likes on the post

Parameters:

  • value (Float)

Returns:

  • (Float)


1458
# File 'lib/post_for_me/models/platform_post.rb', line 1458

required :like_count, Float, api_name: :likeCount

#quote_countFloat

Number of quotes of the post

Parameters:

  • value (Float)

Returns:

  • (Float)


1464
# File 'lib/post_for_me/models/platform_post.rb', line 1464

required :quote_count, Float, api_name: :quoteCount

#reply_countFloat

Number of replies on the post

Parameters:

  • value (Float)

Returns:

  • (Float)


1470
# File 'lib/post_for_me/models/platform_post.rb', line 1470

required :reply_count, Float, api_name: :replyCount

#repost_countFloat

Number of reposts of the post

Parameters:

  • value (Float)

Returns:

  • (Float)


1476
# File 'lib/post_for_me/models/platform_post.rb', line 1476

required :repost_count, Float, api_name: :repostCount

Instance Method Details

#to_hash{

Returns:

  • ({)


1237
# File 'sig/post_for_me/models/platform_post.rbs', line 1237

def to_hash: -> {