Class: ModerationAPI::Models::QueueGetStatsResponse::TopReviewer::TopAction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModerationAPI::Models::QueueGetStatsResponse::TopReviewer::TopAction
- Defined in:
- lib/moderation_api/models/queue_get_stats_response.rb
Instance Attribute Summary collapse
-
#action_id ⇒ String
Most used action by this reviewer.
-
#action_name ⇒ String
Name of the most used action.
-
#count ⇒ Float
Number of times this action was used.
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(average_time_per_review:, name:, review_count:, top_actions:, user_id:, accuracy_score: nil) ⇒ Object
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
# File 'lib/moderation_api/models/queue_get_stats_response.rb', line 158 class TopAction < ModerationAPI::Internal::Type::BaseModel # @!attribute action_id # Most used action by this reviewer # # @return [String] required :action_id, String, api_name: :actionId # @!attribute action_name # Name of the most used action # # @return [String] required :action_name, String, api_name: :actionName # @!attribute count # Number of times this action was used # # @return [Float] required :count, Float # @!method initialize(action_id:, action_name:, count:) # @param action_id [String] Most used action by this reviewer # # @param action_name [String] Name of the most used action # # @param count [Float] Number of times this action was used end |
Instance Attribute Details
#action_id ⇒ String
Most used action by this reviewer
163 |
# File 'lib/moderation_api/models/queue_get_stats_response.rb', line 163 required :action_id, String, api_name: :actionId |
#action_name ⇒ String
Name of the most used action
169 |
# File 'lib/moderation_api/models/queue_get_stats_response.rb', line 169 required :action_name, String, api_name: :actionName |
#count ⇒ Float
Number of times this action was used
175 |
# File 'lib/moderation_api/models/queue_get_stats_response.rb', line 175 required :count, Float |