Class: ModerationAPI::Models::Actions::ExecuteExecuteByIDResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModerationAPI::Models::Actions::ExecuteExecuteByIDResponse
- Defined in:
- lib/moderation_api/models/actions/execute_execute_by_id_response.rb
Overview
Instance Attribute Summary collapse
-
#action_id ⇒ String
The ID of the action.
-
#ids ⇒ Array<String>
The IDs of the content items.
-
#success ⇒ Boolean
Action executed successfully.
Instance Method Summary collapse
- #initialize(action_id:, ids:, success:) ⇒ Object constructor
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(action_id:, ids:, success:) ⇒ Object
|
|
# File 'lib/moderation_api/models/actions/execute_execute_by_id_response.rb', line 26
|
Instance Attribute Details
#action_id ⇒ String
The ID of the action.
12 |
# File 'lib/moderation_api/models/actions/execute_execute_by_id_response.rb', line 12 required :action_id, String, api_name: :actionId |
#ids ⇒ Array<String>
The IDs of the content items.
18 |
# File 'lib/moderation_api/models/actions/execute_execute_by_id_response.rb', line 18 required :ids, ModerationAPI::Internal::Type::ArrayOf[String] |
#success ⇒ Boolean
Action executed successfully.
24 |
# File 'lib/moderation_api/models/actions/execute_execute_by_id_response.rb', line 24 required :success, ModerationAPI::Internal::Type::Boolean |