Class: Openlayer::Models::ProjectCreateResponse::GitRepo

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/project_create_response.rb

Overview

See Also:

  • #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(id: , date_connected: , date_updated: , git_account_id: , git_id: , name: , private: , project_id: , slug: , url: , branch: nil, root_dir: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: )
  • date_connected (Time) (defaults to: )
  • date_updated (Time) (defaults to: )
  • git_account_id (String) (defaults to: )
  • git_id (Integer) (defaults to: )
  • name (String) (defaults to: )
  • private (Boolean) (defaults to: )
  • project_id (String) (defaults to: )
  • slug (String) (defaults to: )
  • url (String) (defaults to: )
  • branch (String) (defaults to: nil)
  • root_dir (String) (defaults to: nil)


# File 'lib/openlayer/models/project_create_response.rb', line 246

Instance Attribute Details

#branchString?

Returns:

  • (String, nil)


197
# File 'lib/openlayer/models/project_create_response.rb', line 197

optional :branch, String

#git_account_idString

Returns:

  • (String)


187
# File 'lib/openlayer/models/project_create_response.rb', line 187

required :git_account_id, String, api_name: :gitAccountId

#git_idInteger

Returns:

  • (Integer)


192
# File 'lib/openlayer/models/project_create_response.rb', line 192

required :git_id, Integer, api_name: :gitId

#root_dirString?

Returns:

  • (String, nil)


202
# File 'lib/openlayer/models/project_create_response.rb', line 202

optional :root_dir, String, api_name: :rootDir