Module: Turbopuffer::Models::CopyFromNamespaceOperation

Extended by:
Internal::Type::Union
Defined in:
lib/turbopuffer/models/copy_from_namespace_operation.rb,
sig/turbopuffer/models/copy_from_namespace_operation.rbs

Overview

The current status of a copy operation.

See Also:

  • Turbopuffer::Resources::Namespaces#poll_copy_from

Defined Under Namespace

Classes: Finished, Running

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(Turbopuffer::Models::CopyFromNamespaceOperation::Running, Turbopuffer::Models::CopyFromNamespaceOperation::Finished)



# File 'lib/turbopuffer/models/copy_from_namespace_operation.rb', line 80

Instance Method Details

#initialize(start_time:, progress: nil, status: :running) ⇒ Object

Some parameter documentations has been truncated, see Running for more details.

Parameters:

  • start_time (Time)

    The time at which the operation started.

  • progress (String) (defaults to: nil)

    A freeform description of the operation's progress. May be absent, and its forma

  • status (Symbol, :running) (defaults to: :running)


# File 'lib/turbopuffer/models/copy_from_namespace_operation.rb', line 36

#self?.variants::Array[Turbopuffer::Models::copy_from_namespace_operation]

Returns:

  • (::Array[Turbopuffer::Models::copy_from_namespace_operation])


62
# File 'sig/turbopuffer/models/copy_from_namespace_operation.rbs', line 62

def self?.variants: -> ::Array[Turbopuffer::Models::copy_from_namespace_operation]