Module: Knockapi::Models::ObjectListParams::Include

Extended by:
Internal::Type::Enum
Defined in:
lib/knockapi/models/object_list_params.rb

Constant Summary collapse

PREFERENCES =
:preferences

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/knockapi/models/object_list_params.rb', line 50

Instance Method Details

#initialize(after: nil, before: nil, include: nil, page_size: nil, request_options: {}) ⇒ Object

Parameters:

  • after (String) (defaults to: nil)

    The cursor to fetch entries after.

  • before (String) (defaults to: nil)

    The cursor to fetch entries before.

  • include (Array<Symbol, Knockapi::Models::ObjectListParams::Include>) (defaults to: nil)

    Includes preferences of the objects in the response.

  • page_size (Integer) (defaults to: nil)

    The number of items per page (defaults to 50).

  • request_options (Knockapi::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


45
46
47
48
49
50
51
52
# File 'lib/knockapi/models/object_list_params.rb', line 45

module Include
  extend Knockapi::Internal::Type::Enum

  PREFERENCES = :preferences

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