Class: Openlayer::Models::CommitRetrieveResponse::Commit

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

Overview

See Also:

  • Openlayer::Models::CommitRetrieveResponse#commit

Instance Attribute 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

#initializeObject



151
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 151

def initialize: (

Instance Attribute Details

#author_idString

Returns the value of attribute author_id.

Returns:

  • (String)


123
124
125
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 123

def author_id
  @author_id
end

#date_createdTime? (readonly)

Returns the value of attribute date_created.

Returns:

  • (Time, nil)


135
136
137
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 135

def date_created
  @date_created
end

#file_sizeInteger?

Returns the value of attribute file_size.

Returns:

  • (Integer, nil)


125
126
127
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 125

def file_size
  @file_size
end

#git_commit_refString? (readonly)

Returns the value of attribute git_commit_ref.

Returns:

  • (String, nil)


139
140
141
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 139

def git_commit_ref
  @git_commit_ref
end

#git_commit_shaInteger? (readonly)

Returns the value of attribute git_commit_sha.

Returns:

  • (Integer, nil)


143
144
145
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 143

def git_commit_sha
  @git_commit_sha
end

#git_commit_urlString? (readonly)

Returns the value of attribute git_commit_url.

Returns:

  • (String, nil)


147
148
149
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 147

def git_commit_url
  @git_commit_url
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


121
122
123
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 121

def id
  @id
end

#messageString

The commit message.

Parameters:

  • value (String)

Returns:

  • (String)


147
# File 'lib/openlayer/models/commit_retrieve_response.rb', line 147

required :message, String

#ml_model_idString?

Returns the value of attribute ml_model_id.

Returns:

  • (String, nil)


127
128
129
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 127

def ml_model_id
  @ml_model_id
end

#storage_uriString

Returns the value of attribute storage_uri.

Returns:

  • (String)


129
130
131
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 129

def storage_uri
  @storage_uri
end

#training_dataset_idString?

Returns the value of attribute training_dataset_id.

Returns:

  • (String, nil)


131
132
133
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 131

def training_dataset_id
  @training_dataset_id
end

#validation_dataset_idString?

Returns the value of attribute validation_dataset_id.

Returns:

  • (String, nil)


133
134
135
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 133

def validation_dataset_id
  @validation_dataset_id
end

Instance Method Details

#date_created=Time (readonly)

Parameters:

  • (Time)

Returns:

  • (Time)


137
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 137

def date_created=: (Time) -> Time

#git_commit_ref=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


141
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 141

def git_commit_ref=: (String) -> String

#git_commit_sha=Integer (readonly)

Parameters:

  • (Integer)

Returns:

  • (Integer)


145
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 145

def git_commit_sha=: (Integer) -> Integer

#git_commit_url=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


149
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 149

def git_commit_url=: (String) -> String

#to_hash{

Returns:

  • ({)


166
# File 'sig/openlayer/models/commit_retrieve_response.rbs', line 166

def to_hash: -> {