Class: WhopSDK::Models::VerificationListResponse::Data::RequestedInformation

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

Defined Under Namespace

Classes: RequestedFile

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

#initializeObject



225
# File 'sig/whop_sdk/models/verification_list_response.rbs', line 225

def initialize: (

Instance Attribute Details

#descriptionString?

Additional instructions for this requested item, or null.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


226
# File 'lib/whop_sdk/models/verification_list_response.rb', line 226

optional :description, String, nil?: true

#error_messageString?

Reason a previously submitted value was rejected. null if no submitted value has been rejected.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


233
# File 'lib/whop_sdk/models/verification_list_response.rb', line 233

optional :error_message, String, nil?: true

#fieldString?

Stable field key, such as ssn or business_description.

Parameters:

  • (String)

Returns:

  • (String, nil)


239
# File 'lib/whop_sdk/models/verification_list_response.rb', line 239

optional :field, String

#idString?

Requested information item ID, prefixed inrqi_. Include this ID when submitting an answer.

Parameters:

  • (String)

Returns:

  • (String, nil)


220
# File 'lib/whop_sdk/models/verification_list_response.rb', line 220

optional :id, String

#labelString?

Human-readable label for the field, such as Social Security Number.

Parameters:

  • (String)

Returns:

  • (String, nil)


245
# File 'lib/whop_sdk/models/verification_list_response.rb', line 245

optional :label, String

#optionsArray<String>?

Allowed values for a select field (e.g. account_type, business_structure) — the submitted value must be one of these; empty for other types.

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


252
# File 'lib/whop_sdk/models/verification_list_response.rb', line 252

optional :options, WhopSDK::Internal::Type::ArrayOf[String]

#requested_filesArray<WhopSDK::Models::VerificationListResponse::Data::RequestedInformation::RequestedFile>?

Document upload slots for this item. Present when type is files; upload one file for each required slot and include the slot's category when submitting the answer.



260
261
# File 'lib/whop_sdk/models/verification_list_response.rb', line 260

optional :requested_files,
-> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::Models::VerificationListResponse::Data::RequestedInformation::RequestedFile] }

#typeString?

Input type expected for this item: text, date, phone, address, files, or select.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


268
# File 'lib/whop_sdk/models/verification_list_response.rb', line 268

optional :type, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


236
# File 'sig/whop_sdk/models/verification_list_response.rbs', line 236

def to_hash: -> {