Class: Telnyx::Models::EmailValidations::BatchCreateResponse::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/telnyx/models/email_validations/batch_create_response.rb,
sig/telnyx/models/email_validations/batch_create_response.rbs
Overview
Defined Under Namespace
Modules: RecordType
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, duplicates_removed:, record_type:, status:, total:, webhook_url: nil) ⇒ Object
Shape returned by the create endpoint. Includes duplicates_removed.
|
# File 'lib/telnyx/models/email_validations/batch_create_response.rb', line 50
|
Instance Attribute Details
#duplicates_removed ⇒ Integer
27
|
# File 'lib/telnyx/models/email_validations/batch_create_response.rb', line 27
required :duplicates_removed, Integer
|
#id ⇒ String
22
|
# File 'lib/telnyx/models/email_validations/batch_create_response.rb', line 22
required :id, String
|
32
33
|
# File 'lib/telnyx/models/email_validations/batch_create_response.rb', line 32
required :record_type,
enum: -> { Telnyx::Models::EmailValidations::BatchCreateResponse::Data::RecordType }
|
38
|
# File 'lib/telnyx/models/email_validations/batch_create_response.rb', line 38
required :status, enum: -> { Telnyx::EmailValidations::EmailValidationBatchStatus }
|
#total ⇒ Integer
43
|
# File 'lib/telnyx/models/email_validations/batch_create_response.rb', line 43
required :total, Integer
|
#webhook_url ⇒ String?
48
|
# File 'lib/telnyx/models/email_validations/batch_create_response.rb', line 48
optional :webhook_url, String
|
Instance Method Details
#to_hash ⇒ {
52
|
# File 'sig/telnyx/models/email_validations/batch_create_response.rbs', line 52
def to_hash: -> {
|