Class: ModerationAPI::Models::WordlistRetrieveResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModerationAPI::Models::WordlistRetrieveResponse
- Defined in:
- lib/moderation_api/models/wordlist_retrieve_response.rb
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ String
Creation date of the wordlist.
-
#id ⇒ String
ID of the wordlist.
-
#name ⇒ String?
Name of the wordlist.
-
#organization_id ⇒ String
ID of the organization.
-
#strict ⇒ Boolean
Strict mode.
-
#user_id ⇒ String?
ID of the user.
-
#words ⇒ Array<String>
Words in the wordlist.
Instance Method Summary collapse
- #initialize(id:, created_at:, name:, organization_id:, strict:, user_id:, words:) ⇒ 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(id:, created_at:, name:, organization_id:, strict:, user_id:, words:) ⇒ Object
|
|
# File 'lib/moderation_api/models/wordlist_retrieve_response.rb', line 49
|
Instance Attribute Details
#created_at ⇒ String
Creation date of the wordlist
17 |
# File 'lib/moderation_api/models/wordlist_retrieve_response.rb', line 17 required :created_at, String, api_name: :createdAt |
#id ⇒ String
ID of the wordlist
11 |
# File 'lib/moderation_api/models/wordlist_retrieve_response.rb', line 11 required :id, String |
#name ⇒ String?
Name of the wordlist
23 |
# File 'lib/moderation_api/models/wordlist_retrieve_response.rb', line 23 required :name, String, nil?: true |
#organization_id ⇒ String
ID of the organization
29 |
# File 'lib/moderation_api/models/wordlist_retrieve_response.rb', line 29 required :organization_id, String, api_name: :organizationId |
#strict ⇒ Boolean
Strict mode
35 |
# File 'lib/moderation_api/models/wordlist_retrieve_response.rb', line 35 required :strict, ModerationAPI::Internal::Type::Boolean |
#user_id ⇒ String?
ID of the user
41 |
# File 'lib/moderation_api/models/wordlist_retrieve_response.rb', line 41 required :user_id, String, api_name: :userId, nil?: true |
#words ⇒ Array<String>
Words in the wordlist
47 |
# File 'lib/moderation_api/models/wordlist_retrieve_response.rb', line 47 required :words, ModerationAPI::Internal::Type::ArrayOf[String] |