Class: Openlayer::Models::CommitRetrieveResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::CommitRetrieveResponse
- Defined in:
- lib/openlayer/models/commit_retrieve_response.rb,
sig/openlayer/models/commit_retrieve_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::CommitRetrieveResponse::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::CommitRetrieveResponse::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::CommitRetrieveResponse::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/commit_retrieve_response.rb', line 105
|
Instance Attribute Details
#archived ⇒ Boolean?
Whether the commit is archived.
17 |
# File 'lib/openlayer/models/commit_retrieve_response.rb', line 17 optional :archived, Openlayer::Internal::Type::Boolean, nil?: true |
#commit ⇒ Openlayer::Models::CommitRetrieveResponse::Commit
The details of a commit (project version).
11 |
# File 'lib/openlayer/models/commit_retrieve_response.rb', line 11 required :commit, -> { Openlayer::Models::CommitRetrieveResponse::Commit } |
#date_archived ⇒ Time?
Returns the value of attribute date_archived.
35 36 37 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 35 def date_archived @date_archived end |
#date_created ⇒ Time
Returns the value of attribute date_created.
37 38 39 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 37 def date_created @date_created end |
#deployment_status ⇒ String?
The deployment status associated with the commit's model.
23 |
# File 'lib/openlayer/models/commit_retrieve_response.rb', line 23 optional :deployment_status, String, api_name: :deploymentStatus |
#failing_goal_count ⇒ Integer
Returns the value of attribute failing_goal_count.
39 40 41 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 39 def failing_goal_count @failing_goal_count end |
#id ⇒ String
Returns the value of attribute id.
33 34 35 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 33 def id @id end |
#links ⇒ Openlayer::Models::CommitRetrieveResponse::Links? (readonly)
Returns the value of attribute links.
57 58 59 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 57 def links @links end |
#ml_model_id ⇒ String?
Returns the value of attribute ml_model_id.
41 42 43 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 41 def ml_model_id @ml_model_id end |
#passing_goal_count ⇒ Integer
Returns the value of attribute passing_goal_count.
43 44 45 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 43 def passing_goal_count @passing_goal_count end |
#project_id ⇒ String
Returns the value of attribute project_id.
45 46 47 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 45 def project_id @project_id end |
#status ⇒ Openlayer::Models::CommitRetrieveResponse::status
Returns the value of attribute status.
47 48 49 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 47 def status @status end |
#status_message ⇒ String?
Returns the value of attribute status_message.
49 50 51 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 49 def @status_message end |
#total_goal_count ⇒ Integer
Returns the value of attribute total_goal_count.
51 52 53 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 51 def total_goal_count @total_goal_count end |
#training_dataset_id ⇒ String?
Returns the value of attribute training_dataset_id.
53 54 55 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 53 def training_dataset_id @training_dataset_id end |
#validation_dataset_id ⇒ String?
Returns the value of attribute validation_dataset_id.
55 56 57 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 55 def validation_dataset_id @validation_dataset_id end |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openlayer/models/commit_retrieve_response.rb', line 259
|
Instance Method Details
#links= ⇒ Object (readonly)
59 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 59
def links=: (
|
#to_hash ⇒ {
82 |
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 82
def to_hash: -> {
|