Class: Orb::Models::Plans::MigrationListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/orb/models/plans/migration_list_response.rb,
sig/orb/models/plans/migration_list_response.rbs

Overview

See Also:

  • Orb::Resources::Plans::Migrations#list

Defined Under Namespace

Modules: EffectiveTime, Status

Instance Attribute Summary collapse

Instance Method Summary collapse

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(id:, effective_time:, plan_id:, status:) ⇒ Object

Some parameter documentations has been truncated, see Orb::Models::Plans::MigrationListResponse for more details.

Parameters:



# File 'lib/orb/models/plans/migration_list_response.rb', line 36

Instance Attribute Details

#effective_timeDate, ...

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.

Parameters:

  • value (Orb::Models::Plans::MigrationListResponse::effective_time, nil)

Returns:



19
20
21
# File 'lib/orb/models/plans/migration_list_response.rb', line 19

required :effective_time,
union: -> { Orb::Models::Plans::MigrationListResponse::EffectiveTime },
nil?: true

#idString

Unique identifier for this plan version change.

Parameters:

  • value (String)

Returns:

  • (String)


12
# File 'lib/orb/models/plans/migration_list_response.rb', line 12

required :id, String

#plan_idString

The ID of the plan being migrated.

Parameters:

  • value (String)

Returns:

  • (String)


27
# File 'lib/orb/models/plans/migration_list_response.rb', line 27

required :plan_id, String

#statusSymbol, Orb::Models::Plans::MigrationListResponse::Status

Current status of the migration: 'not_started', 'in_progress', 'completed', 'action_needed', or 'canceled'.

Parameters:

  • value (Orb::Models::Plans::MigrationListResponse::status)

Returns:



34
# File 'lib/orb/models/plans/migration_list_response.rb', line 34

required :status, enum: -> { Orb::Models::Plans::MigrationListResponse::Status }

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {