Class: Openlayer::Models::Projects::CommitListResponse::Item::Commit

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

Overview

See Also:

  • Openlayer::Models::Projects::CommitListResponse::Item#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



168
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 168

def initialize: (

Instance Attribute Details

#author_idString

Returns the value of attribute author_id.

Returns:

  • (String)


140
141
142
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 140

def author_id
  @author_id
end

#date_createdTime? (readonly)

Returns the value of attribute date_created.

Returns:

  • (Time, nil)


152
153
154
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 152

def date_created
  @date_created
end

#file_sizeInteger?

Returns the value of attribute file_size.

Returns:

  • (Integer, nil)


142
143
144
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 142

def file_size
  @file_size
end

#git_commit_refString? (readonly)

Returns the value of attribute git_commit_ref.

Returns:

  • (String, nil)


156
157
158
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 156

def git_commit_ref
  @git_commit_ref
end

#git_commit_shaInteger? (readonly)

Returns the value of attribute git_commit_sha.

Returns:

  • (Integer, nil)


160
161
162
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 160

def git_commit_sha
  @git_commit_sha
end

#git_commit_urlString? (readonly)

Returns the value of attribute git_commit_url.

Returns:

  • (String, nil)


164
165
166
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 164

def git_commit_url
  @git_commit_url
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


138
139
140
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 138

def id
  @id
end

#messageString

The commit message.

Parameters:

  • value (String)

Returns:

  • (String)


158
# File 'lib/openlayer/models/projects/commit_list_response.rb', line 158

required :message, String

#ml_model_idString?

Returns the value of attribute ml_model_id.

Returns:

  • (String, nil)


144
145
146
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 144

def ml_model_id
  @ml_model_id
end

#storage_uriString

Returns the value of attribute storage_uri.

Returns:

  • (String)


146
147
148
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 146

def storage_uri
  @storage_uri
end

#training_dataset_idString?

Returns the value of attribute training_dataset_id.

Returns:

  • (String, nil)


148
149
150
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 148

def training_dataset_id
  @training_dataset_id
end

#validation_dataset_idString?

Returns the value of attribute validation_dataset_id.

Returns:

  • (String, nil)


150
151
152
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 150

def validation_dataset_id
  @validation_dataset_id
end

Instance Method Details

#date_created=Time (readonly)

Parameters:

  • (Time)

Returns:

  • (Time)


154
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 154

def date_created=: (Time) -> Time

#git_commit_ref=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


158
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 158

def git_commit_ref=: (String) -> String

#git_commit_sha=Integer (readonly)

Parameters:

  • (Integer)

Returns:

  • (Integer)


162
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 162

def git_commit_sha=: (Integer) -> Integer

#git_commit_url=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


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

def git_commit_url=: (String) -> String

#to_hash{

Returns:

  • ({)


183
# File 'sig/openlayer/models/projects/commit_list_response.rbs', line 183

def to_hash: -> {