Class: PreludeSDK::Models::VerificationCreateParams::Metadata

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/prelude_sdk/models/verification_create_params.rb,
sig/prelude_sdk/models/verification_create_params.rbs

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

#initializeMetadata

Returns a new instance of Metadata.

Parameters:

  • correlation_id: (String)


99
# File 'sig/prelude_sdk/models/verification_create_params.rbs', line 99

def initialize: (?correlation_id: String) -> void

Instance Attribute Details

#correlation_idString?

A user-defined identifier to correlate this verification with. It is returned in the response and any webhook events that refer to this verification.

Parameters:

  • (String)

Returns:

  • (String, nil)


100
# File 'lib/prelude_sdk/models/verification_create_params.rb', line 100

optional :correlation_id, String

Instance Method Details

#to_hash{ correlation_id: String }

Returns:

  • ({ correlation_id: String })


101
# File 'sig/prelude_sdk/models/verification_create_params.rbs', line 101

def to_hash: -> { correlation_id: String }