Class: Openlayer::Models::ProjectCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::ProjectCreateResponse
- Defined in:
- lib/openlayer/models/project_create_response.rb,
sig/openlayer/models/project_create_response.rbs
Overview
Defined Under Namespace
Modules: Source, TaskType Classes: GitRepo, Links
Instance Attribute Summary collapse
-
#creator_id ⇒ String?
Returns the value of attribute creator_id.
-
#date_created ⇒ Time
Returns the value of attribute date_created.
-
#date_updated ⇒ Time
Returns the value of attribute date_updated.
-
#description ⇒ String?
The project description.
-
#development_goal_count ⇒ Integer
Returns the value of attribute development_goal_count.
-
#git_repo ⇒ Openlayer::Models::ProjectCreateResponse::GitRepo?
Returns the value of attribute git_repo.
-
#goal_count ⇒ Integer
Returns the value of attribute goal_count.
-
#id ⇒ String
Returns the value of attribute id.
-
#inference_pipeline_count ⇒ Integer
Returns the value of attribute inference_pipeline_count.
-
#links ⇒ Openlayer::Models::ProjectCreateResponse::Links
Returns the value of attribute links.
-
#monitoring_goal_count ⇒ Integer
Returns the value of attribute monitoring_goal_count.
-
#name ⇒ String
The project name.
-
#source ⇒ Openlayer::Models::ProjectCreateResponse::source?
Returns the value of attribute source.
-
#task_type ⇒ Symbol, Openlayer::Models::ProjectCreateResponse::TaskType
The task type of the project.
-
#version_count ⇒ Integer
Returns the value of attribute version_count.
-
#workspace_id ⇒ String?
Returns the value of attribute workspace_id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(app:) ⇒ Object
constructor
Links to the project.
- #to_hash ⇒ {
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.
|
|
# File 'lib/openlayer/models/project_create_response.rb', line 107
|
Instance Attribute Details
#creator_id ⇒ String?
Returns the value of attribute creator_id.
32 33 34 |
# File 'sig/openlayer/models/project_create_response.rbs', line 32 def creator_id @creator_id end |
#date_created ⇒ Time
Returns the value of attribute date_created.
34 35 36 |
# File 'sig/openlayer/models/project_create_response.rbs', line 34 def date_created @date_created end |
#date_updated ⇒ Time
Returns the value of attribute date_updated.
36 37 38 |
# File 'sig/openlayer/models/project_create_response.rbs', line 36 def date_updated @date_updated end |
#description ⇒ String?
The project description.
23 |
# File 'lib/openlayer/models/project_create_response.rb', line 23 optional :description, String, nil?: true |
#development_goal_count ⇒ Integer
Returns the value of attribute development_goal_count.
38 39 40 |
# File 'sig/openlayer/models/project_create_response.rbs', line 38 def development_goal_count @development_goal_count end |
#git_repo ⇒ Openlayer::Models::ProjectCreateResponse::GitRepo?
Returns the value of attribute git_repo.
54 55 56 |
# File 'sig/openlayer/models/project_create_response.rbs', line 54 def git_repo @git_repo end |
#goal_count ⇒ Integer
Returns the value of attribute goal_count.
40 41 42 |
# File 'sig/openlayer/models/project_create_response.rbs', line 40 def goal_count @goal_count end |
#id ⇒ String
Returns the value of attribute id.
30 31 32 |
# File 'sig/openlayer/models/project_create_response.rbs', line 30 def id @id end |
#inference_pipeline_count ⇒ Integer
Returns the value of attribute inference_pipeline_count.
42 43 44 |
# File 'sig/openlayer/models/project_create_response.rbs', line 42 def inference_pipeline_count @inference_pipeline_count end |
#links ⇒ Openlayer::Models::ProjectCreateResponse::Links
Returns the value of attribute links.
44 45 46 |
# File 'sig/openlayer/models/project_create_response.rbs', line 44 def links @links end |
#monitoring_goal_count ⇒ Integer
Returns the value of attribute monitoring_goal_count.
46 47 48 |
# File 'sig/openlayer/models/project_create_response.rbs', line 46 def monitoring_goal_count @monitoring_goal_count end |
#name ⇒ String
The project name.
11 |
# File 'lib/openlayer/models/project_create_response.rb', line 11 required :name, String |
#source ⇒ Openlayer::Models::ProjectCreateResponse::source?
Returns the value of attribute source.
48 49 50 |
# File 'sig/openlayer/models/project_create_response.rbs', line 48 def source @source end |
#task_type ⇒ Symbol, Openlayer::Models::ProjectCreateResponse::TaskType
The task type of the project.
17 |
# File 'lib/openlayer/models/project_create_response.rb', line 17 required :task_type, enum: -> { Openlayer::Models::ProjectCreateResponse::TaskType }, api_name: :taskType |
#version_count ⇒ Integer
Returns the value of attribute version_count.
50 51 52 |
# File 'sig/openlayer/models/project_create_response.rbs', line 50 def version_count @version_count end |
#workspace_id ⇒ String?
Returns the value of attribute workspace_id.
52 53 54 |
# File 'sig/openlayer/models/project_create_response.rbs', line 52 def workspace_id @workspace_id end |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openlayer/models/project_create_response.rb', line 163
|
Instance Method Details
#to_hash ⇒ {
75 |
# File 'sig/openlayer/models/project_create_response.rbs', line 75
def to_hash: -> {
|