Class: OursprivacyIngest::Models::BatchCreateResponse::Result::UnionMember1
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/oursprivacy_ingest/models/batch_create_response.rb,
sig/oursprivacy_ingest/models/batch_create_response.rbs
Defined Under Namespace
Modules: Code, Success
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(code:, index:, message:, success:) ⇒ Object
|
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 90
|
Instance Attribute Details
72
|
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 72
required :code, enum: -> { OursprivacyIngest::Models::BatchCreateResponse::Result::UnionMember1::Code }
|
#index ⇒ Integer
77
|
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 77
required :index, Integer
|
#message ⇒ String
82
|
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 82
required :message, String
|
87
88
|
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 87
required :success,
enum: -> { OursprivacyIngest::Models::BatchCreateResponse::Result::UnionMember1::Success }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 103
|
Instance Method Details
#to_hash ⇒ {
97
|
# File 'sig/oursprivacy_ingest/models/batch_create_response.rbs', line 97
def to_hash: -> {
|