Class: OpenAI::Models::Skills::VersionListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/openai/models/skills/version_list_params.rb

Overview

Defined Under Namespace

Modules: Order

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(skill_id:, after: nil, limit: nil, order: nil, request_options: {}) ⇒ Object

Parameters:

  • (defaults to: nil)

    The skill version ID to start after.

  • (defaults to: nil)

    Number of versions to retrieve.

  • (defaults to: nil)

    Sort order of results by version number.

  • (defaults to: {})


# File 'lib/openai/models/skills/version_list_params.rb', line 34


Instance Attribute Details

#afterString?

The skill version ID to start after.

Returns:



20
# File 'lib/openai/models/skills/version_list_params.rb', line 20

optional :after, String

#limitInteger?

Number of versions to retrieve.

Returns:



26
# File 'lib/openai/models/skills/version_list_params.rb', line 26

optional :limit, Integer

#orderSymbol, ...

Sort order of results by version number.

Returns:



32
# File 'lib/openai/models/skills/version_list_params.rb', line 32

optional :order, enum: -> { OpenAI::Skills::VersionListParams::Order }

#skill_idString

Returns:



14
# File 'lib/openai/models/skills/version_list_params.rb', line 14

required :skill_id, String