Module: Orb::Models::LicenseListParams::Status

Extended by:
Internal::Type::Enum
Defined in:
lib/orb/models/license_list_params.rb,
sig/orb/models/license_list_params.rbs

Constant Summary collapse

ACTIVE =

Returns:

  • (:active)
:active
INACTIVE =

Returns:

  • (:inactive)
:inactive

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/orb/models/license_list_params.rb', line 67

Instance Method Details

#initialize(subscription_id:, cursor: nil, external_license_id: nil, license_type_id: nil, limit: nil, status: nil, request_options: {}) ⇒ Object

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

Parameters:

  • subscription_id (String)
  • cursor (String, nil) (defaults to: nil)

    Cursor for pagination. This can be populated by the next_cursor value returned

  • external_license_id (String, nil) (defaults to: nil)
  • license_type_id (String, nil) (defaults to: nil)
  • limit (Integer) (defaults to: nil)

    The number of items to fetch. Defaults to 20.

  • status (Symbol, Orb::Models::LicenseListParams::Status, nil) (defaults to: nil)
  • request_options (Orb::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


61
62
63
64
65
66
67
68
69
# File 'lib/orb/models/license_list_params.rb', line 61

module Status
  extend Orb::Internal::Type::Enum

  ACTIVE = :active
  INACTIVE = :inactive

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

#self?.values::Array[Orb::Models::LicenseListParams::status]

Returns:

  • (::Array[Orb::Models::LicenseListParams::status])


60
# File 'sig/orb/models/license_list_params.rbs', line 60

def self?.values: -> ::Array[Orb::Models::LicenseListParams::status]