Module: Telnyx::Models::EmailInboxes::MessageUpdateParams::ReadAt

Extended by:
Internal::Type::Union
Defined in:
lib/telnyx/models/email_inboxes/message_update_params.rb,
sig/telnyx/models/email_inboxes/message_update_params.rbs

Defined Under Namespace

Modules: ServerReadTime

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variantsArray(Boolean, Telnyx::Models::EmailInboxes::MessageUpdateParams::ReadAt::ServerReadTime, Time)



# File 'lib/telnyx/models/email_inboxes/message_update_params.rb', line 48

Instance Method Details

#initialize(inbox_id:, message_id:, read_at:, request_options: {}) ⇒ Object

Parameters:



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/telnyx/models/email_inboxes/message_update_params.rb', line 32

module ReadAt
  extend Telnyx::Internal::Type::Union

  variant enum: -> { Telnyx::EmailInboxes::MessageUpdateParams::ReadAt::ServerReadTime }

  variant Time

  module ServerReadTime
    extend Telnyx::Internal::Type::Enum

    TRUE = true

    # @!method self.values
    #   @return [Array<Boolean>]
  end

  # @!method self.variants
  #   @return [Array(Boolean, Telnyx::Models::EmailInboxes::MessageUpdateParams::ReadAt::ServerReadTime, Time)]
end

#self?.variants::Array[Telnyx::Models::EmailInboxes::MessageUpdateParams::read_at]

Returns:

  • (::Array[Telnyx::Models::EmailInboxes::MessageUpdateParams::read_at])


53
# File 'sig/telnyx/models/email_inboxes/message_update_params.rbs', line 53

def self?.variants: -> ::Array[Telnyx::Models::EmailInboxes::MessageUpdateParams::read_at]