Class: Sentdm::Models::MessageRetrieveStatusResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::MessageRetrieveStatusResponse
- Defined in:
- lib/sentdm/models/message_retrieve_status_response.rb
Overview
Defined Under Namespace
Classes: Data
Instance Attribute Summary collapse
-
#data ⇒ Sentdm::Models::MessageRetrieveStatusResponse::Data?
Message response for v3 API — same shape as v2 with snake_case JSON conventions.
-
#error ⇒ Sentdm::Models::ErrorDetail?
Error information.
-
#meta ⇒ Sentdm::Models::APIMeta?
Request and response metadata.
-
#success ⇒ Boolean?
Indicates whether the request was successful.
Instance Method Summary collapse
-
#initialize(data: nil, error: nil, meta: nil, success: nil) ⇒ Object
constructor
Standard API response envelope for all v3 endpoints.
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
Standard API response envelope for all v3 endpoints
|
|
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 31
|
Instance Attribute Details
#data ⇒ Sentdm::Models::MessageRetrieveStatusResponse::Data?
Message response for v3 API — same shape as v2 with snake_case JSON conventions
11 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 11 optional :data, -> { Sentdm::Models::MessageRetrieveStatusResponse::Data }, nil?: true |
#error ⇒ Sentdm::Models::ErrorDetail?
Error information
17 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 17 optional :error, -> { Sentdm::ErrorDetail }, nil?: true |
#meta ⇒ Sentdm::Models::APIMeta?
Request and response metadata
23 |
# File 'lib/sentdm/models/message_retrieve_status_response.rb', line 23 optional :meta, -> { Sentdm::APIMeta } |