Class: Sentdm::Models::APIMeta
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::APIMeta
- Defined in:
- lib/sentdm/models/api_meta.rb
Instance Attribute Summary collapse
-
#request_id ⇒ String?
Unique identifier for this request (for tracing and support).
-
#timestamp ⇒ Time?
Server timestamp when the response was generated.
-
#version ⇒ String?
API version used for this request.
Instance Method Summary collapse
-
#initialize(request_id: nil, timestamp: nil, version: nil) ⇒ Object
constructor
Request and response metadata.
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: nil, timestamp: nil, version: nil) ⇒ Object
Request and response metadata
|
|
# File 'lib/sentdm/models/api_meta.rb', line 24
|
Instance Attribute Details
#request_id ⇒ String?
Unique identifier for this request (for tracing and support)
10 |
# File 'lib/sentdm/models/api_meta.rb', line 10 optional :request_id, String |
#timestamp ⇒ Time?
Server timestamp when the response was generated
16 |
# File 'lib/sentdm/models/api_meta.rb', line 16 optional :timestamp, Time |
#version ⇒ String?
API version used for this request
22 |
# File 'lib/sentdm/models/api_meta.rb', line 22 optional :version, String |