Class: Telnyx::Models::EmailValidationCreateResponse::Data::Checks::Typo

Inherits:
Telnyx::Models::EmailValidationCheck show all
Defined in:
lib/telnyx/models/email_validation_create_response.rb,
sig/telnyx/models/email_validation_create_response.rbs

Overview

See Also:

  • Telnyx::Models::EmailValidationCreateResponse::Data::Checks#typo

Instance Attribute Summary collapse

Attributes inherited from Telnyx::Models::EmailValidationCheck

#details, #pass

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

#initializeTypo

Returns a new instance of Typo.

Parameters:

  • suggestion: (String)


103
# File 'sig/telnyx/models/email_validation_create_response.rbs', line 103

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

Instance Attribute Details

#suggestionString?

Suggested correction for common typos. Omitted when nil.

Parameters:

  • _ (String)

Returns:

  • (String, nil)


101
# File 'lib/telnyx/models/email_validation_create_response.rb', line 101

optional :suggestion, String

Instance Method Details

#to_hash{ suggestion: String }

Returns:

  • ({ suggestion: String })


105
# File 'sig/telnyx/models/email_validation_create_response.rbs', line 105

def to_hash: -> { suggestion: String }