Class: Openlayer::Models::InferencePipelineUpdateResponse

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

Overview

See Also:

  • Openlayer::Resources::InferencePipelines#update

Defined Under Namespace

Modules: DataBackend, Status Classes: Links, Project, Workspace

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(id:, date_connected:, date_updated:, git_account_id:, git_id:, name:, private:, project_id:, slug:, url:, branch: nil, root_dir: nil) ⇒ Object

Parameters:

  • id (String)
  • date_connected (Time)
  • date_updated (Time)
  • git_account_id (String)
  • git_id (Integer)
  • name (String)
  • private (Boolean)
  • project_id (String)
  • slug (String)
  • url (String)
  • branch (String) (defaults to: nil)
  • root_dir (String) (defaults to: nil)


# File 'lib/openlayer/models/inference_pipeline_update_response.rb', line 134

Instance Attribute Details

#date_createdTime

Returns the value of attribute date_created.

Returns:

  • (Time)


41
42
43
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 41

def date_created
  @date_created
end

#date_last_evaluatedTime?

Returns the value of attribute date_last_evaluated.

Returns:

  • (Time, nil)


43
44
45
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 43

def date_last_evaluated
  @date_last_evaluated
end

#date_last_polledTime?

Returns the value of attribute date_last_polled.

Returns:

  • (Time, nil)


65
66
67
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 65

def date_last_polled
  @date_last_polled
end

#date_last_sample_receivedTime?

Returns the value of attribute date_last_sample_received.

Returns:

  • (Time, nil)


45
46
47
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 45

def date_last_sample_received
  @date_last_sample_received
end

#date_of_next_evaluationTime?

Returns the value of attribute date_of_next_evaluation.

Returns:

  • (Time, nil)


47
48
49
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 47

def date_of_next_evaluation
  @date_of_next_evaluation
end

#date_updatedTime

Returns the value of attribute date_updated.

Returns:

  • (Time)


49
50
51
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 49

def date_updated
  @date_updated
end

#descriptionString?

The inference pipeline description.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


11
# File 'lib/openlayer/models/inference_pipeline_update_response.rb', line 11

required :description, String, nil?: true

#failing_goal_countInteger

Returns the value of attribute failing_goal_count.

Returns:

  • (Integer)


51
52
53
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 51

def failing_goal_count
  @failing_goal_count
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


39
40
41
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 39

def id
  @id
end

Returns the value of attribute links.



53
54
55
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 53

def links
  @links
end

#nameString

The inference pipeline name.

Parameters:

  • value (String)

Returns:

  • (String)


17
# File 'lib/openlayer/models/inference_pipeline_update_response.rb', line 17

required :name, String

#passing_goal_countInteger

Returns the value of attribute passing_goal_count.

Returns:

  • (Integer)


55
56
57
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 55

def passing_goal_count
  @passing_goal_count
end

#projectOpenlayer::Models::InferencePipelineUpdateResponse::Project?



30
# File 'lib/openlayer/models/inference_pipeline_update_response.rb', line 30

optional :project, -> { Openlayer::Models::InferencePipelineUpdateResponse::Project }, nil?: true

#project_idString

Returns the value of attribute project_id.

Returns:

  • (String)


57
58
59
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 57

def project_id
  @project_id
end

#statusOpenlayer::Models::InferencePipelineUpdateResponse::status

Returns the value of attribute status.

Returns:

  • (Openlayer::Models::InferencePipelineUpdateResponse::status)


59
60
61
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 59

def status
  @status
end

#status_messageString?

Returns the value of attribute status_message.

Returns:

  • (String, nil)


61
62
63
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 61

def status_message
  @status_message
end

#total_goal_countInteger

Returns the value of attribute total_goal_count.

Returns:

  • (Integer)


63
64
65
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 63

def total_goal_count
  @total_goal_count
end

#total_records_countInteger?

Returns the value of attribute total_records_count.

Returns:

  • (Integer, nil)


67
68
69
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 67

def total_records_count
  @total_records_count
end

#workspaceOpenlayer::Models::InferencePipelineUpdateResponse::Workspace?



35
# File 'lib/openlayer/models/inference_pipeline_update_response.rb', line 35

optional :workspace, -> { Openlayer::Models::InferencePipelineUpdateResponse::Workspace }, nil?: true

#workspace_idString? (readonly)

Returns the value of attribute workspace_id.

Returns:

  • (String, nil)


69
70
71
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 69

def workspace_id
  @workspace_id
end

Instance Method Details

#to_hash{

Returns:

  • ({)


97
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 97

def to_hash: -> {

#workspace_id=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


71
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 71

def workspace_id=: (String) -> String