Class: PreludeSDK::Models::WatchPredictParams::Metadata
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- PreludeSDK::Models::WatchPredictParams::Metadata
- Defined in:
- lib/prelude_sdk/models/watch_predict_params.rb,
sig/prelude_sdk/models/watch_predict_params.rbs
Instance Attribute Summary collapse
-
#correlation_id ⇒ String?
A user-defined identifier to correlate this prediction with.
Instance Method Summary collapse
-
#initialize ⇒ Metadata
constructor
A new instance of Metadata.
- #to_hash ⇒ { correlation_id: String }
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 ⇒ Metadata
Returns a new instance of Metadata.
90 |
# File 'sig/prelude_sdk/models/watch_predict_params.rbs', line 90
def initialize: (?correlation_id: String) -> void
|
Instance Attribute Details
#correlation_id ⇒ String?
A user-defined identifier to correlate this prediction with. It is returned in the response and any webhook events that refer to this prediction.
89 |
# File 'lib/prelude_sdk/models/watch_predict_params.rb', line 89 optional :correlation_id, String |
Instance Method Details
#to_hash ⇒ { correlation_id: String }
92 |
# File 'sig/prelude_sdk/models/watch_predict_params.rbs', line 92
def to_hash: -> { correlation_id: String }
|