Class: Openlayer::Models::Projects::InferencePipelineListResponse::Item::Project::GitRepo

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

Overview

See Also:

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



797
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 797

def initialize: (

Instance Attribute Details

#branchString?

Parameters:

  • (String)

Returns:

  • (String, nil)


896
# File 'lib/openlayer/models/projects/inference_pipeline_list_response.rb', line 896

optional :branch, String

#date_connectedTime

Returns the value of attribute date_connected.

Returns:

  • (Time)


783
784
785
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 783

def date_connected
  @date_connected
end

#date_updatedTime

Returns the value of attribute date_updated.

Returns:

  • (Time)


785
786
787
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 785

def date_updated
  @date_updated
end

#git_account_idString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :git_account_id, String, api_name: :gitAccountId

#git_idInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


891
# File 'lib/openlayer/models/projects/inference_pipeline_list_response.rb', line 891

required :git_id, Integer, api_name: :gitId

#idString

Returns the value of attribute id.

Returns:

  • (String)


781
782
783
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 781

def id
  @id
end

#nameString

Returns the value of attribute name.

Returns:

  • (String)


787
788
789
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 787

def name
  @name
end

#privateBoolean

Returns the value of attribute private.

Returns:

  • (Boolean)


789
790
791
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 789

def private
  @private
end

#project_idString

Returns the value of attribute project_id.

Returns:

  • (String)


791
792
793
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 791

def project_id
  @project_id
end

#root_dirString?

Parameters:

  • (String)

Returns:

  • (String, nil)


901
# File 'lib/openlayer/models/projects/inference_pipeline_list_response.rb', line 901

optional :root_dir, String, api_name: :rootDir

#slugString

Returns the value of attribute slug.

Returns:

  • (String)


793
794
795
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 793

def slug
  @slug
end

#urlString

Returns the value of attribute url.

Returns:

  • (String)


795
796
797
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 795

def url
  @url
end

Instance Method Details

#to_hash{

Returns:

  • ({)


812
# File 'sig/openlayer/models/projects/inference_pipeline_list_response.rbs', line 812

def to_hash: -> {