Class: Telnyx::Models::EmailInboxes::Messages::LabelMutationRequest
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::EmailInboxes::Messages::LabelMutationRequest
- Defined in:
- lib/telnyx/models/email_inboxes/messages/label_mutation_request.rb,
sig/telnyx/models/email_inboxes/messages/label_mutation_request.rbs
Direct Known Subclasses
LabelCreateParams, LabelDeleteAllParams, Threads::LabelCreateParams, Threads::LabelDeleteAllParams
Instance Attribute Summary collapse
-
#labels ⇒ Array<String>
One or more labels.
Instance Method Summary collapse
-
#initialize(labels:) ⇒ LabelMutationRequest
constructor
Some parameter documentations has been truncated, see LabelMutationRequest for more details.
- #to_hash ⇒ { labels: ::Array[String] }
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
#initialize(labels:) ⇒ LabelMutationRequest
Some parameter documentations has been truncated, see Telnyx::Models::EmailInboxes::Messages::LabelMutationRequest for more details.
Labels to add or remove. Both operations are idempotent set operations, so a retried request converges instead of failing.
|
|
# File 'lib/telnyx/models/email_inboxes/messages/label_mutation_request.rb', line 16
|
Instance Attribute Details
#labels ⇒ Array<String>
One or more labels. Each label is a freeform, case-sensitive string of at most
255 characters; a message or thread may carry at most 50 labels. The telnyx:
prefix is a reserved system namespace and is rejected on customer writes.
14 |
# File 'lib/telnyx/models/email_inboxes/messages/label_mutation_request.rb', line 14 required :labels, Telnyx::Internal::Type::ArrayOf[String] |
Instance Method Details
#to_hash ⇒ { labels: ::Array[String] }
12 |
# File 'sig/telnyx/models/email_inboxes/messages/label_mutation_request.rbs', line 12
def to_hash: -> { labels: ::Array[String] }
|