Class: OursprivacyIngest::Models::BatchCreateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/oursprivacy_ingest/models/batch_create_response.rb,
sig/oursprivacy_ingest/models/batch_create_response.rbs

Overview

See Also:

  • OursprivacyIngest::Resources::Batch#create

Defined Under Namespace

Modules: Result

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

#initializeObject



20
# File 'sig/oursprivacy_ingest/models/batch_create_response.rbs', line 20

def initialize: (

Instance Attribute Details

#acceptedInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


10
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 10

required :accepted, Integer

#failedInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


15
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 15

required :failed, Integer

#resultsArray<OursprivacyIngest::Models::BatchCreateResponse::Result::UnionMember0, OursprivacyIngest::Models::BatchCreateResponse::Result::UnionMember1>

Parameters:

  • value (::Array[OursprivacyIngest::Models::BatchCreateResponse::result])

Returns:



20
21
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 20

required :results,
-> { OursprivacyIngest::Internal::Type::ArrayOf[union: OursprivacyIngest::Models::BatchCreateResponse::Result] }

#successBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


26
# File 'lib/oursprivacy_ingest/models/batch_create_response.rb', line 26

required :success, OursprivacyIngest::Internal::Type::Boolean

Instance Method Details

#to_hash{

Returns:

  • ({)


27
# File 'sig/oursprivacy_ingest/models/batch_create_response.rbs', line 27

def to_hash: -> {