Class: Openlayer::Models::TestListResultsResponse::LastUnskippedResult

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/test_list_results_response.rb,
sig/openlayer/models/test_list_results_response.rbs

Overview

See Also:

  • Openlayer::Models::TestListResultsResponse#last_unskipped_result

Defined Under Namespace

Modules: Status Classes: ExpectedValue, Goal, RowsBody

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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(lower_threshold: nil, measurement: nil, upper_threshold: nil) ⇒ Object

Parameters:

  • lower_threshold (Float, nil) (defaults to: nil)

    the lower threshold for the expected value

  • measurement (String) (defaults to: nil)

    One of the measurement values in the test's thresholds

  • upper_threshold (Float, nil) (defaults to: nil)

    The upper threshold for the expected value



# File 'lib/openlayer/models/test_list_results_response.rb', line 937

Instance Attribute Details

#date_createdTime

Returns the value of attribute date_created.

Returns:

  • (Time)


824
825
826
# File 'sig/openlayer/models/test_list_results_response.rbs', line 824

def date_created
  @date_created
end

#date_data_endsTime?

Returns the value of attribute date_data_ends.

Returns:

  • (Time, nil)


826
827
828
# File 'sig/openlayer/models/test_list_results_response.rbs', line 826

def date_data_ends
  @date_data_ends
end

#date_data_startsTime?

Returns the value of attribute date_data_starts.

Returns:

  • (Time, nil)


828
829
830
# File 'sig/openlayer/models/test_list_results_response.rbs', line 828

def date_data_starts
  @date_data_starts
end

#date_updatedTime

Returns the value of attribute date_updated.

Returns:

  • (Time)


830
831
832
# File 'sig/openlayer/models/test_list_results_response.rbs', line 830

def date_updated
  @date_updated
end

#expected_valuesArray<Openlayer::Models::TestListResultsResponse::LastUnskippedResult::ExpectedValue>?



863
864
865
# File 'lib/openlayer/models/test_list_results_response.rb', line 863

optional :expected_values,
-> { Openlayer::Internal::Type::ArrayOf[Openlayer::Models::TestListResultsResponse::LastUnskippedResult::ExpectedValue] },
api_name: :expectedValues

#goalOpenlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal?



870
# File 'lib/openlayer/models/test_list_results_response.rb', line 870

optional :goal, -> { Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Goal }

#goal_idString?

Returns the value of attribute goal_id.

Returns:

  • (String, nil)


836
837
838
# File 'sig/openlayer/models/test_list_results_response.rbs', line 836

def goal_id
  @goal_id
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


822
823
824
# File 'sig/openlayer/models/test_list_results_response.rbs', line 822

def id
  @id
end

#inference_pipeline_idString?

Returns the value of attribute inference_pipeline_id.

Returns:

  • (String, nil)


832
833
834
# File 'sig/openlayer/models/test_list_results_response.rbs', line 832

def inference_pipeline_id
  @inference_pipeline_id
end

#project_version_idString?

Returns the value of attribute project_version_id.

Returns:

  • (String, nil)


834
835
836
# File 'sig/openlayer/models/test_list_results_response.rbs', line 834

def project_version_id
  @project_version_id
end

#rowsString?

The URL to the rows of the test result.

Parameters:

  • (String)

Returns:

  • (String, nil)


876
# File 'lib/openlayer/models/test_list_results_response.rb', line 876

optional :rows, String

#rows_bodyOpenlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody?

The body of the rows request.



882
883
884
885
# File 'lib/openlayer/models/test_list_results_response.rb', line 882

optional :rows_body,
-> { Openlayer::Models::TestListResultsResponse::LastUnskippedResult::RowsBody },
api_name: :rowsBody,
nil?: true

#statusSymbol, Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Status

The status of the test.

Parameters:

  • value (Openlayer::Models::TestListResultsResponse::LastUnskippedResult::status)

Returns:



852
# File 'lib/openlayer/models/test_list_results_response.rb', line 852

required :status, enum: -> { Openlayer::Models::TestListResultsResponse::LastUnskippedResult::Status }

#status_messageString?

The status message.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


858
# File 'lib/openlayer/models/test_list_results_response.rb', line 858

required :status_message, String, api_name: :statusMessage, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/test_list_results_response.rb', line 978

Instance Method Details

#to_hash{

Returns:

  • ({)


855
# File 'sig/openlayer/models/test_list_results_response.rbs', line 855

def to_hash: -> {