Class: Sentdm::Models::ProfileCompleteResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/profile_complete_response.rb

Overview

Defined Under Namespace

Classes: Data

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(data: nil, error: nil, meta: nil, success: nil) ⇒ Object

Some parameter documentations has been truncated, see Sentdm::Models::ProfileCompleteResponse for more details.

Standard API response envelope for all v3 endpoints

Parameters:



# File 'lib/sentdm/models/profile_complete_response.rb', line 32

Instance Attribute Details

#dataSentdm::Models::ProfileCompleteResponse::Data?

Response when a profile is already in the completed state and no further action is taken.



12
# File 'lib/sentdm/models/profile_complete_response.rb', line 12

optional :data, -> { Sentdm::Models::ProfileCompleteResponse::Data }, nil?: true

#errorSentdm::Models::ErrorDetail?

Error information

Returns:



18
# File 'lib/sentdm/models/profile_complete_response.rb', line 18

optional :error, -> { Sentdm::ErrorDetail }, nil?: true

#metaSentdm::Models::APIMeta?

Request and response metadata

Returns:



24
# File 'lib/sentdm/models/profile_complete_response.rb', line 24

optional :meta, -> { Sentdm::APIMeta }

#successBoolean?

Indicates whether the request was successful

Returns:

  • (Boolean, nil)


30
# File 'lib/sentdm/models/profile_complete_response.rb', line 30

optional :success, Sentdm::Internal::Type::Boolean