Class: Openlayer::Models::Projects::InferencePipelineCreateResponse::Project::GitRepo

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

Overview

See Also:

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

#initialize ⇒ Object



800
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 800

def initialize: (

Instance Attribute Details

#branch ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


922
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 922

optional :branch, String

#date_connected ⇒ Time

Returns the value of attribute date_connected.

Returns:

  • (Time)


786
787
788
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 786

def date_connected
  @date_connected
end

#date_updated ⇒ Time

Returns the value of attribute date_updated.

Returns:

  • (Time)


788
789
790
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 788

def date_updated
  @date_updated
end

#git_account_id ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


912
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 912

required :git_account_id, String, api_name: :gitAccountId

#git_id ⇒ Integer

Parameters:

  • value (Integer)

Returns:

  • (Integer)


917
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 917

required :git_id, Integer, api_name: :gitId

#id ⇒ String

Returns the value of attribute id.

Returns:

  • (String)


784
785
786
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 784

def id
  @id
end

#name ⇒ String

Returns the value of attribute name.

Returns:

  • (String)


790
791
792
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 790

def name
  @name
end

#private ⇒ Boolean

Returns the value of attribute private.

Returns:

  • (Boolean)


792
793
794
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 792

def private
  @private
end

#project_id ⇒ String

Returns the value of attribute project_id.

Returns:

  • (String)


794
795
796
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 794

def project_id
  @project_id
end

#root_dir ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


927
# File 'lib/openlayer/models/projects/inference_pipeline_create_response.rb', line 927

optional :root_dir, String, api_name: :rootDir

#slug ⇒ String

Returns the value of attribute slug.

Returns:

  • (String)


796
797
798
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 796

def slug
  @slug
end

#url ⇒ String

Returns the value of attribute url.

Returns:

  • (String)


798
799
800
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 798

def url
  @url
end

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


815
# File 'sig/openlayer/models/projects/inference_pipeline_create_response.rbs', line 815

def to_hash: -> {