Module: Orb::Models::Plans::MigrationListResponse::EffectiveTime

Extended by:
Internal::Type::Union
Defined in:
lib/orb/models/plans/migration_list_response.rb,
sig/orb/models/plans/migration_list_response.rbs

Overview

When the migration takes effect. Can be a specific date/time, or 'end_of_term' when scheduled to be at the end of the current billing period.

See Also:

  • Orb::Models::Plans::MigrationListResponse#effective_time

collapse

END_OF_TERM =

Returns:

  • (:end_of_term)
:end_of_term

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(Date, Time, Symbol)

Returns:

  • (Array(Date, Time, Symbol))


64
65
66
# File 'lib/orb/models/plans/migration_list_response.rb', line 64

define_sorbet_constant!(:Variants) do
  T.type_alias { T.any(Date, Time, Orb::Models::Plans::MigrationListResponse::EffectiveTime::TaggedSymbol) }
end

Instance Method Details

#self?.variants::Array[Orb::Models::Plans::MigrationListResponse::effective_time]

Returns:

  • (::Array[Orb::Models::Plans::MigrationListResponse::effective_time])


40
# File 'sig/orb/models/plans/migration_list_response.rbs', line 40

def self?.variants: -> ::Array[Orb::Models::Plans::MigrationListResponse::effective_time]