Class: Openlayer::Models::InferencePipelineUpdateResponse::Project::GitRepo

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

Overview

See Also:

  • Openlayer::Models::InferencePipelineUpdateResponse::Project#git_repo

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



780
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 780

def initialize: (

Instance Attribute Details

#branchString?

Parameters:

  • (String)

Returns:

  • (String, nil)


881
# File 'lib/openlayer/models/inference_pipeline_update_response.rb', line 881

optional :branch, String

#date_connectedTime

Returns the value of attribute date_connected.

Returns:

  • (Time)


766
767
768
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 766

def date_connected
  @date_connected
end

#date_updatedTime

Returns the value of attribute date_updated.

Returns:

  • (Time)


768
769
770
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 768

def date_updated
  @date_updated
end

#git_account_idString

Parameters:

  • value (String)

Returns:

  • (String)


871
# File 'lib/openlayer/models/inference_pipeline_update_response.rb', line 871

required :git_account_id, String, api_name: :gitAccountId

#git_idInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


876
# File 'lib/openlayer/models/inference_pipeline_update_response.rb', line 876

required :git_id, Integer, api_name: :gitId

#idString

Returns the value of attribute id.

Returns:

  • (String)


764
765
766
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 764

def id
  @id
end

#nameString

Returns the value of attribute name.

Returns:

  • (String)


770
771
772
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 770

def name
  @name
end

#privateBoolean

Returns the value of attribute private.

Returns:

  • (Boolean)


772
773
774
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 772

def private
  @private
end

#project_idString

Returns the value of attribute project_id.

Returns:

  • (String)


774
775
776
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 774

def project_id
  @project_id
end

#root_dirString?

Parameters:

  • (String)

Returns:

  • (String, nil)


886
# File 'lib/openlayer/models/inference_pipeline_update_response.rb', line 886

optional :root_dir, String, api_name: :rootDir

#slugString

Returns the value of attribute slug.

Returns:

  • (String)


776
777
778
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 776

def slug
  @slug
end

#urlString

Returns the value of attribute url.

Returns:

  • (String)


778
779
780
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 778

def url
  @url
end

Instance Method Details

#to_hash{

Returns:

  • ({)


795
# File 'sig/openlayer/models/inference_pipeline_update_response.rbs', line 795

def to_hash: -> {