Class: Openlayer::Models::InferencePipelineRetrieveResponse::Project

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

Overview

See Also:

  • Openlayer::Models::InferencePipelineRetrieveResponse#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/inference_pipeline_retrieve_response.rb', line 791

Instance Attribute Details

#creator_idString?

Returns the value of attribute creator_id.

Returns:

  • (String, nil)


634
635
636
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 634

def creator_id
  @creator_id
end

#date_createdTime

Returns the value of attribute date_created.

Returns:

  • (Time)


636
637
638
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 636

def date_created
  @date_created
end

#date_updatedTime

Returns the value of attribute date_updated.

Returns:

  • (Time)


638
639
640
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 638

def date_updated
  @date_updated
end

#descriptionString?

The project description.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


705
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 705

optional :description, String, nil?: true

#development_goal_countInteger

Returns the value of attribute development_goal_count.

Returns:

  • (Integer)


640
641
642
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 640

def development_goal_count
  @development_goal_count
end

#git_repoOpenlayer::Models::InferencePipelineRetrieveResponse::Project::GitRepo?

Returns the value of attribute git_repo.



656
657
658
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 656

def git_repo
  @git_repo
end

#goal_countInteger

Returns the value of attribute goal_count.

Returns:

  • (Integer)


642
643
644
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 642

def goal_count
  @goal_count
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


632
633
634
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 632

def id
  @id
end

#inference_pipeline_countInteger

Returns the value of attribute inference_pipeline_count.

Returns:

  • (Integer)


644
645
646
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 644

def inference_pipeline_count
  @inference_pipeline_count
end

Returns the value of attribute links.



646
647
648
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 646

def links
  @links
end

#monitoring_goal_countInteger

Returns the value of attribute monitoring_goal_count.

Returns:

  • (Integer)


648
649
650
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 648

def monitoring_goal_count
  @monitoring_goal_count
end

#nameString

The project name.

Parameters:

  • value (String)

Returns:

  • (String)


691
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 691

required :name, String

#sourceOpenlayer::Models::InferencePipelineRetrieveResponse::Project::source?

Returns the value of attribute source.

Returns:

  • (Openlayer::Models::InferencePipelineRetrieveResponse::Project::source, nil)


650
651
652
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 650

def source
  @source
end

#task_typeSymbol, Openlayer::Models::InferencePipelineRetrieveResponse::Project::TaskType

The task type of the project.

Parameters:

  • value (Openlayer::Models::InferencePipelineRetrieveResponse::Project::task_type)

Returns:



697
698
699
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 697

required :task_type,
enum: -> { Openlayer::Models::InferencePipelineRetrieveResponse::Project::TaskType },
api_name: :taskType

#version_countInteger

Returns the value of attribute version_count.

Returns:

  • (Integer)


652
653
654
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 652

def version_count
  @version_count
end

#workspace_idString?

Returns the value of attribute workspace_id.

Returns:

  • (String, nil)


654
655
656
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 654

def workspace_id
  @workspace_id
end

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 847

Instance Method Details

#to_hash{

Returns:

  • ({)


677
# File 'sig/openlayer/models/inference_pipeline_retrieve_response.rbs', line 677

def to_hash: -> {