Class: Openlayer::Models::Commits::TestResultListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/openlayer/models/commits/test_result_list_params.rb

Overview

Defined Under Namespace

Modules: Status, Type

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

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(include_archived: nil, page: nil, per_page: nil, status: nil, type: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Openlayer::Models::Commits::TestResultListParams for more details.

Parameters:

  • include_archived (Boolean) (defaults to: nil)

    Filter for archived tests.

  • page (Integer) (defaults to: nil)

    The page to return in a paginated query.

  • per_page (Integer) (defaults to: nil)

    Maximum number of items to return per page.

  • status (Symbol, Openlayer::Models::Commits::TestResultListParams::Status) (defaults to: nil)

    Filter list of test results by status. Available statuses are ‘running`, `passin

  • type (Symbol, Openlayer::Models::Commits::TestResultListParams::Type) (defaults to: nil)

    Filter objects by test type. Available types are ‘integrity`, `consistency`, `pe

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


# File 'lib/openlayer/models/commits/test_result_list_params.rb', line 43

Instance Attribute Details

#include_archivedBoolean?

Filter for archived tests.

Returns:

  • (Boolean, nil)


15
# File 'lib/openlayer/models/commits/test_result_list_params.rb', line 15

optional :include_archived, Openlayer::Internal::Type::Boolean

#pageInteger?

The page to return in a paginated query.

Returns:

  • (Integer, nil)


21
# File 'lib/openlayer/models/commits/test_result_list_params.rb', line 21

optional :page, Integer

#per_pageInteger?

Maximum number of items to return per page.

Returns:

  • (Integer, nil)


27
# File 'lib/openlayer/models/commits/test_result_list_params.rb', line 27

optional :per_page, Integer

#statusSymbol, ...

Filter list of test results by status. Available statuses are ‘running`, `passing`, `failing`, `skipped`, and `error`.



34
# File 'lib/openlayer/models/commits/test_result_list_params.rb', line 34

optional :status, enum: -> { Openlayer::Commits::TestResultListParams::Status }

#typeSymbol, ...

Filter objects by test type. Available types are ‘integrity`, `consistency`, `performance`, `fairness`, and `robustness`.



41
# File 'lib/openlayer/models/commits/test_result_list_params.rb', line 41

optional :type, enum: -> { Openlayer::Commits::TestResultListParams::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/commits/test_result_list_params.rb', line 70