Class: Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project

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

Overview

See Also:

  • Openlayer::Models::Projects::InferencePipelineListResponse::Item#project

Defined Under Namespace

Modules: Source, TaskType Classes: GitRepo, Links

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(app:) ⇒ Object

Links to the project.

Parameters:

  • app (String)


# File 'lib/openlayer/models/projects/inference_pipeline_list_response.rb', line 806

Instance Attribute Details

#creator_idString?

Returns the value of attribute creator_id.

Returns:

  • (String, nil)


651
652
653
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 651

def creator_id
  @creator_id
end

#date_createdTime

Returns the value of attribute date_created.

Returns:

  • (Time)


653
654
655
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 653

def date_created
  @date_created
end

#date_updatedTime

Returns the value of attribute date_updated.

Returns:

  • (Time)


655
656
657
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 655

def date_updated
  @date_updated
end

#descriptionString?

The project description.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


720
# File 'lib/openlayer/models/projects/inference_pipeline_list_response.rb', line 720

optional :description, String, nil?: true

#development_goal_countInteger

Returns the value of attribute development_goal_count.

Returns:

  • (Integer)


657
658
659
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 657

def development_goal_count
  @development_goal_count
end

#git_repoOpenlayer::Models::Projects::InferencePipelineListResponse::Item::Project::GitRepo?

Returns the value of attribute git_repo.



673
674
675
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 673

def git_repo
  @git_repo
end

#goal_countInteger

Returns the value of attribute goal_count.

Returns:

  • (Integer)


659
660
661
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 659

def goal_count
  @goal_count
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


649
650
651
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 649

def id
  @id
end

#inference_pipeline_countInteger

Returns the value of attribute inference_pipeline_count.

Returns:

  • (Integer)


661
662
663
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 661

def inference_pipeline_count
  @inference_pipeline_count
end

Returns the value of attribute links.



663
664
665
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 663

def links
  @links
end

#monitoring_goal_countInteger

Returns the value of attribute monitoring_goal_count.

Returns:

  • (Integer)


665
666
667
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 665

def monitoring_goal_count
  @monitoring_goal_count
end

#nameString

The project name.

Parameters:

  • value (String)

Returns:

  • (String)


706
# File 'lib/openlayer/models/projects/inference_pipeline_list_response.rb', line 706

required :name, String

#sourceOpenlayer::Models::Projects::InferencePipelineListResponse::Item::Project::source?

Returns the value of attribute source.

Returns:

  • (Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project::source, nil)


667
668
669
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 667

def source
  @source
end

#task_typeSymbol, Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project::TaskType

The task type of the project.

Parameters:

  • value (Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project::task_type)

Returns:



712
713
714
# File 'lib/openlayer/models/projects/inference_pipeline_list_response.rb', line 712

required :task_type,
enum: -> { Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project::TaskType },
api_name: :taskType

#version_countInteger

Returns the value of attribute version_count.

Returns:

  • (Integer)


669
670
671
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 669

def version_count
  @version_count
end

#workspace_idString?

Returns the value of attribute workspace_id.

Returns:

  • (String, nil)


671
672
673
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 671

def workspace_id
  @workspace_id
end

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/projects/inference_pipeline_list_response.rb', line 862

Instance Method Details

#to_hash{

Returns:

  • ({)


694
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 694

def to_hash: -> {