Class: Telnyx::Models::EmailInboxes::Threads::LabelCreateResponse::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/telnyx/models/email_inboxes/threads/label_create_response.rb,
sig/telnyx/models/email_inboxes/threads/label_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:, labels:, record_type:, inbox_id: nil) ⇒ Object
|
# File 'lib/telnyx/models/email_inboxes/threads/label_create_response.rb', line 40
|
Instance Attribute Details
#id ⇒ String
22
|
# File 'lib/telnyx/models/email_inboxes/threads/label_create_response.rb', line 22
required :id, String
|
#inbox_id ⇒ String?
38
|
# File 'lib/telnyx/models/email_inboxes/threads/label_create_response.rb', line 38
optional :inbox_id, String
|
#labels ⇒ Array<String>
27
|
# File 'lib/telnyx/models/email_inboxes/threads/label_create_response.rb', line 27
required :labels, Telnyx::Internal::Type::ArrayOf[String]
|
32
33
|
# File 'lib/telnyx/models/email_inboxes/threads/label_create_response.rb', line 32
required :record_type,
enum: -> { Telnyx::Models::EmailInboxes::Threads::LabelCreateResponse::Data::RecordType }
|
Instance Method Details
#to_hash ⇒ {
47
|
# File 'sig/telnyx/models/email_inboxes/threads/label_create_response.rbs', line 47
def to_hash: -> {
|