Class: SafetyKit::Models::DataAddResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SafetyKit::Models::DataAddResponse
- Defined in:
- lib/safety_kit/models/data_add_response.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#request_id ⇒ String
Unique identifier for tracking this request.
-
#status ⇒ Symbol, SafetyKit::Models::DataAddResponse::Status
Request was accepted for processing.
Instance Method Summary collapse
-
#initialize(request_id:, status:) ⇒ Object
constructor
Some parameter documentations has been truncated, see DataAddResponse for more details.
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(request_id:, status:) ⇒ Object
Some parameter documentations has been truncated, see SafetyKit::Models::DataAddResponse for more details.
Response confirming data was accepted for asynchronous processing. The requestId can be used for debugging and tracking.
|
|
# File 'lib/safety_kit/models/data_add_response.rb', line 20
|
Instance Attribute Details
#request_id ⇒ String
Unique identifier for tracking this request. Data processing happens asynchronously after this response.
12 |
# File 'lib/safety_kit/models/data_add_response.rb', line 12 required :request_id, String, api_name: :requestId |
#status ⇒ Symbol, SafetyKit::Models::DataAddResponse::Status
Request was accepted for processing
18 |
# File 'lib/safety_kit/models/data_add_response.rb', line 18 required :status, enum: -> { SafetyKit::Models::DataAddResponse::Status } |