Class: ModerationAPI::Models::Actions::ExecuteExecuteByIDResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/moderation_api/models/actions/execute_execute_by_id_response.rb

Overview

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

#initialize(action_id:, ids:, success:) ⇒ Object

Parameters:

  • action_id (String)

    The ID of the action.

  • ids (Array<String>)

    The IDs of the content items.

  • success (Boolean)

    Action executed successfully.



# File 'lib/moderation_api/models/actions/execute_execute_by_id_response.rb', line 26

Instance Attribute Details

#action_idString

The ID of the action.

Returns:

  • (String)


12
# File 'lib/moderation_api/models/actions/execute_execute_by_id_response.rb', line 12

required :action_id, String, api_name: :actionId

#idsArray<String>

The IDs of the content items.

Returns:

  • (Array<String>)


18
# File 'lib/moderation_api/models/actions/execute_execute_by_id_response.rb', line 18

required :ids, ModerationAPI::Internal::Type::ArrayOf[String]

#successBoolean

Action executed successfully.

Returns:

  • (Boolean)


24
# File 'lib/moderation_api/models/actions/execute_execute_by_id_response.rb', line 24

required :success, ModerationAPI::Internal::Type::Boolean