Class: Openlayer::Models::Projects::CommitCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Projects::CommitCreateResponse
- Defined in:
- lib/openlayer/models/projects/commit_create_response.rb,
sig/openlayer/models/projects/commit_create_response.rbs
Overview
Defined Under Namespace
Modules: Status Classes: Commit, Links
Instance Attribute Summary collapse
-
#archived ⇒ Boolean?
Whether the commit is archived.
-
#commit ⇒ Openlayer::Models::Projects::CommitCreateResponse::Commit
The details of a commit (project version).
-
#date_archived ⇒ Time?
Returns the value of attribute date_archived.
-
#date_created ⇒ Time
Returns the value of attribute date_created.
-
#deployment_status ⇒ String?
The deployment status associated with the commit's model.
-
#failing_goal_count ⇒ Integer
Returns the value of attribute failing_goal_count.
-
#id ⇒ String
Returns the value of attribute id.
-
#links ⇒ Openlayer::Models::Projects::CommitCreateResponse::Links?
readonly
Returns the value of attribute links.
-
#ml_model_id ⇒ String?
Returns the value of attribute ml_model_id.
-
#passing_goal_count ⇒ Integer
Returns the value of attribute passing_goal_count.
-
#project_id ⇒ String
Returns the value of attribute project_id.
-
#status ⇒ Openlayer::Models::Projects::CommitCreateResponse::status
Returns the value of attribute status.
-
#status_message ⇒ String?
Returns the value of attribute status_message.
-
#total_goal_count ⇒ Integer
Returns the value of attribute total_goal_count.
-
#training_dataset_id ⇒ String?
Returns the value of attribute training_dataset_id.
-
#validation_dataset_id ⇒ String?
Returns the value of attribute validation_dataset_id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, author_id:, file_size:, message:, ml_model_id:, storage_uri:, training_dataset_id:, validation_dataset_id:, date_created: nil, git_commit_ref: nil, git_commit_sha: nil, git_commit_url: nil) ⇒ Object
constructor
The details of a commit (project version).
- #links ⇒ Object readonly
- #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(id:, author_id:, file_size:, message:, ml_model_id:, storage_uri:, training_dataset_id:, validation_dataset_id:, date_created: nil, git_commit_ref: nil, git_commit_sha: nil, git_commit_url: nil) ⇒ Object
The details of a commit (project version).
|
|
# File 'lib/openlayer/models/projects/commit_create_response.rb', line 106
|
Instance Attribute Details
#archived ⇒ Boolean?
Whether the commit is archived.
18 |
# File 'lib/openlayer/models/projects/commit_create_response.rb', line 18 optional :archived, Openlayer::Internal::Type::Boolean, nil?: true |
#commit ⇒ Openlayer::Models::Projects::CommitCreateResponse::Commit
The details of a commit (project version).
12 |
# File 'lib/openlayer/models/projects/commit_create_response.rb', line 12 required :commit, -> { Openlayer::Models::Projects::CommitCreateResponse::Commit } |
#date_archived ⇒ Time?
Returns the value of attribute date_archived.
36 37 38 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 36 def date_archived @date_archived end |
#date_created ⇒ Time
Returns the value of attribute date_created.
38 39 40 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 38 def date_created @date_created end |
#deployment_status ⇒ String?
The deployment status associated with the commit's model.
24 |
# File 'lib/openlayer/models/projects/commit_create_response.rb', line 24 optional :deployment_status, String, api_name: :deploymentStatus |
#failing_goal_count ⇒ Integer
Returns the value of attribute failing_goal_count.
40 41 42 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 40 def failing_goal_count @failing_goal_count end |
#id ⇒ String
Returns the value of attribute id.
34 35 36 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 34 def id @id end |
#links ⇒ Openlayer::Models::Projects::CommitCreateResponse::Links? (readonly)
Returns the value of attribute links.
58 59 60 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 58 def links @links end |
#ml_model_id ⇒ String?
Returns the value of attribute ml_model_id.
42 43 44 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 42 def ml_model_id @ml_model_id end |
#passing_goal_count ⇒ Integer
Returns the value of attribute passing_goal_count.
44 45 46 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 44 def passing_goal_count @passing_goal_count end |
#project_id ⇒ String
Returns the value of attribute project_id.
46 47 48 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 46 def project_id @project_id end |
#status ⇒ Openlayer::Models::Projects::CommitCreateResponse::status
Returns the value of attribute status.
48 49 50 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 48 def status @status end |
#status_message ⇒ String?
Returns the value of attribute status_message.
50 51 52 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 50 def @status_message end |
#total_goal_count ⇒ Integer
Returns the value of attribute total_goal_count.
52 53 54 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 52 def total_goal_count @total_goal_count end |
#training_dataset_id ⇒ String?
Returns the value of attribute training_dataset_id.
54 55 56 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 54 def training_dataset_id @training_dataset_id end |
#validation_dataset_id ⇒ String?
Returns the value of attribute validation_dataset_id.
56 57 58 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 56 def validation_dataset_id @validation_dataset_id end |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openlayer/models/projects/commit_create_response.rb', line 260
|
Instance Method Details
#links= ⇒ Object (readonly)
60 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 60
def links=: (
|
#to_hash ⇒ {
83 |
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 83
def to_hash: -> {
|