Class: Orb::Models::Plan::BasePlan

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/orb/models/plan.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Orb::Internal::Type::BaseModel

Instance Attribute Details

#external_plan_idString?

An optional user-defined ID for this plan resource, used throughout the system as an alias for this Plan. Use this field to identify a plan by an existing identifier in your system.

Returns:

  • (String, nil)


247
# File 'lib/orb/models/plan.rb', line 247

required :external_plan_id, String, nil?: true

#idString?

Returns:

  • (String, nil)


239
# File 'lib/orb/models/plan.rb', line 239

required :id, String, nil?: true

#nameString?

Returns:

  • (String, nil)


252
# File 'lib/orb/models/plan.rb', line 252

required :name, String, nil?: true