Class: Openlayer::Models::Projects::InferencePipelineCreateResponse

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

Overview

See Also:

  • Openlayer::Resources::Projects::InferencePipelines#create

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/projects/inference_pipeline_create_response.rb', line 139

Instance Attribute Details

#date_createdTime

Returns the value of attribute date_created.

Returns:

  • (Time)


42
43
44
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 42

def date_created
  @date_created
end

#date_last_evaluatedTime?

Returns the value of attribute date_last_evaluated.

Returns:

  • (Time, nil)


44
45
46
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 44

def date_last_evaluated
  @date_last_evaluated
end

#date_last_polledTime?

Returns the value of attribute date_last_polled.

Returns:

  • (Time, nil)


66
67
68
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 66

def date_last_polled
  @date_last_polled
end

#date_last_sample_receivedTime?

Returns the value of attribute date_last_sample_received.

Returns:

  • (Time, nil)


46
47
48
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 46

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)


48
49
50
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 48

def date_of_next_evaluation
  @date_of_next_evaluation
end

#date_updatedTime

Returns the value of attribute date_updated.

Returns:

  • (Time)


50
51
52
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 50

def date_updated
  @date_updated
end

#descriptionString?

The inference pipeline description.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


12
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 12

required :description, String, nil?: true

#failing_goal_countInteger

Returns the value of attribute failing_goal_count.

Returns:

  • (Integer)


52
53
54
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 52

def failing_goal_count
  @failing_goal_count
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


40
41
42
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 40

def id
  @id
end

Returns the value of attribute links.



54
55
56
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 54

def links
  @links
end

#nameString

The inference pipeline name.

Parameters:

  • value (String)

Returns:

  • (String)


18
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 18

required :name, String

#passing_goal_countInteger

Returns the value of attribute passing_goal_count.

Returns:

  • (Integer)


56
57
58
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 56

def passing_goal_count
  @passing_goal_count
end

#projectOpenlayer::Models::Projects::InferencePipelineCreateResponse::Project?



31
32
33
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 31

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

#project_idString

Returns the value of attribute project_id.

Returns:

  • (String)


58
59
60
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 58

def project_id
  @project_id
end

#statusOpenlayer::Models::Projects::InferencePipelineCreateResponse::status

Returns the value of attribute status.

Returns:

  • (Openlayer::Models::Projects::InferencePipelineCreateResponse::status)


60
61
62
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 60

def status
  @status
end

#status_messageString?

Returns the value of attribute status_message.

Returns:

  • (String, nil)


62
63
64
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 62

def status_message
  @status_message
end

#total_goal_countInteger

Returns the value of attribute total_goal_count.

Returns:

  • (Integer)


64
65
66
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 64

def total_goal_count
  @total_goal_count
end

#total_records_countInteger?

Returns the value of attribute total_records_count.

Returns:

  • (Integer, nil)


68
69
70
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 68

def total_records_count
  @total_records_count
end

#workspaceOpenlayer::Models::Projects::InferencePipelineCreateResponse::Workspace?



38
39
40
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 38

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

#workspace_idString? (readonly)

Returns the value of attribute workspace_id.

Returns:

  • (String, nil)


70
71
72
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 70

def workspace_id
  @workspace_id
end

Instance Method Details

#to_hash{

Returns:

  • ({)


98
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 98

def to_hash: -> {

#workspace_id=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


72
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 72

def workspace_id=: (String) -> String