Class: PostForMe::Models::PlatformPost::Metrics::TikTokPostMetricsDto
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- PostForMe::Models::PlatformPost::Metrics::TikTokPostMetricsDto
- Defined in:
- lib/post_for_me/models/platform_post.rb,
sig/post_for_me/models/platform_post.rbs
Instance Attribute Summary collapse
-
#comment_count ⇒ Float
Number of comments on the video.
-
#like_count ⇒ Float
Number of likes on the video.
-
#share_count ⇒ Float
Number of shares of the video.
-
#view_count ⇒ Float
Number of views on the video.
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
322 |
# File 'sig/post_for_me/models/platform_post.rbs', line 322
def initialize: (
|
Instance Attribute Details
#comment_count ⇒ Float
Number of comments on the video
448 |
# File 'lib/post_for_me/models/platform_post.rb', line 448 required :comment_count, Float |
#like_count ⇒ Float
Number of likes on the video
454 |
# File 'lib/post_for_me/models/platform_post.rb', line 454 required :like_count, Float |
#share_count ⇒ Float
Number of shares of the video
460 |
# File 'lib/post_for_me/models/platform_post.rb', line 460 required :share_count, Float |
#view_count ⇒ Float
Number of views on the video
466 |
# File 'lib/post_for_me/models/platform_post.rb', line 466 required :view_count, Float |
Instance Method Details
#to_hash ⇒ {
329 |
# File 'sig/post_for_me/models/platform_post.rbs', line 329
def to_hash: -> {
|