Class: Openlayer::Models::Projects::CommitCreateResponse::Commit

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

Overview

See Also:

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



152
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 152

def initialize: (

Instance Attribute Details

#author_idString

Returns the value of attribute author_id.

Returns:

  • (String)


124
125
126
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 124

def author_id
  @author_id
end

#date_createdTime? (readonly)

Returns the value of attribute date_created.

Returns:

  • (Time, nil)


136
137
138
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 136

def date_created
  @date_created
end

#file_sizeInteger?

Returns the value of attribute file_size.

Returns:

  • (Integer, nil)


126
127
128
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 126

def file_size
  @file_size
end

#git_commit_refString? (readonly)

Returns the value of attribute git_commit_ref.

Returns:

  • (String, nil)


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

def git_commit_ref
  @git_commit_ref
end

#git_commit_shaInteger? (readonly)

Returns the value of attribute git_commit_sha.

Returns:

  • (Integer, nil)


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

def git_commit_sha
  @git_commit_sha
end

#git_commit_urlString? (readonly)

Returns the value of attribute git_commit_url.

Returns:

  • (String, nil)


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

def git_commit_url
  @git_commit_url
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


122
123
124
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 122

def id
  @id
end

#messageString

The commit message.

Parameters:

  • value (String)

Returns:

  • (String)


148
# File 'lib/openlayer/models/projects/commit_create_response.rb', line 148

required :message, String

#ml_model_idString?

Returns the value of attribute ml_model_id.

Returns:

  • (String, nil)


128
129
130
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 128

def ml_model_id
  @ml_model_id
end

#storage_uriString

Returns the value of attribute storage_uri.

Returns:

  • (String)


130
131
132
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 130

def storage_uri
  @storage_uri
end

#training_dataset_idString?

Returns the value of attribute training_dataset_id.

Returns:

  • (String, nil)


132
133
134
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 132

def training_dataset_id
  @training_dataset_id
end

#validation_dataset_idString?

Returns the value of attribute validation_dataset_id.

Returns:

  • (String, nil)


134
135
136
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 134

def validation_dataset_id
  @validation_dataset_id
end

Instance Method Details

#date_created=Time (readonly)

Parameters:

  • (Time)

Returns:

  • (Time)


138
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 138

def date_created=: (Time) -> Time

#git_commit_ref=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


142
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 142

def git_commit_ref=: (String) -> String

#git_commit_sha=Integer (readonly)

Parameters:

  • (Integer)

Returns:

  • (Integer)


146
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 146

def git_commit_sha=: (Integer) -> Integer

#git_commit_url=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


150
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 150

def git_commit_url=: (String) -> String

#to_hash{

Returns:

  • ({)


167
# File 'sig/openlayer/models/projects/commit_create_response.rbs', line 167

def to_hash: -> {