Class: Openlayer::Models::ProjectCreateResponse::GitRepo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::ProjectCreateResponse::GitRepo
- Defined in:
- lib/openlayer/models/project_create_response.rb,
sig/openlayer/models/project_create_response.rbs
Overview
Instance Attribute Summary collapse
- #branch ⇒ String?
-
#date_connected ⇒ Time
Returns the value of attribute date_connected.
-
#date_updated ⇒ Time
Returns the value of attribute date_updated.
- #git_account_id ⇒ String
- #git_id ⇒ Integer
-
#id ⇒ String
Returns the value of attribute id.
-
#name ⇒ String
Returns the value of attribute name.
-
#private ⇒ Boolean
Returns the value of attribute private.
-
#project_id ⇒ String
Returns the value of attribute project_id.
- #root_dir ⇒ String?
-
#slug ⇒ String
Returns the value of attribute slug.
-
#url ⇒ String
Returns the value of attribute url.
Instance Method Summary collapse
- #initialize(id:, date_connected:, date_updated:, git_account_id:, git_id:, name:, private:, project_id:, slug:, url:, branch: nil, root_dir: nil) ⇒ Object constructor
- #to_hash ⇒ {
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
|
|
# File 'lib/openlayer/models/project_create_response.rb', line 246
|
Instance Attribute Details
#branch ⇒ String?
197 |
# File 'lib/openlayer/models/project_create_response.rb', line 197 optional :branch, String |
#date_connected ⇒ Time
Returns the value of attribute date_connected.
164 165 166 |
# File 'sig/openlayer/models/project_create_response.rbs', line 164 def date_connected @date_connected end |
#date_updated ⇒ Time
Returns the value of attribute date_updated.
166 167 168 |
# File 'sig/openlayer/models/project_create_response.rbs', line 166 def date_updated @date_updated end |
#git_account_id ⇒ String
187 |
# File 'lib/openlayer/models/project_create_response.rb', line 187 required :git_account_id, String, api_name: :gitAccountId |
#git_id ⇒ Integer
192 |
# File 'lib/openlayer/models/project_create_response.rb', line 192 required :git_id, Integer, api_name: :gitId |
#id ⇒ String
Returns the value of attribute id.
162 163 164 |
# File 'sig/openlayer/models/project_create_response.rbs', line 162 def id @id end |
#name ⇒ String
Returns the value of attribute name.
168 169 170 |
# File 'sig/openlayer/models/project_create_response.rbs', line 168 def name @name end |
#private ⇒ Boolean
Returns the value of attribute private.
170 171 172 |
# File 'sig/openlayer/models/project_create_response.rbs', line 170 def private @private end |
#project_id ⇒ String
Returns the value of attribute project_id.
172 173 174 |
# File 'sig/openlayer/models/project_create_response.rbs', line 172 def project_id @project_id end |
#root_dir ⇒ String?
202 |
# File 'lib/openlayer/models/project_create_response.rb', line 202 optional :root_dir, String, api_name: :rootDir |
#slug ⇒ String
Returns the value of attribute slug.
174 175 176 |
# File 'sig/openlayer/models/project_create_response.rbs', line 174 def slug @slug end |
#url ⇒ String
Returns the value of attribute url.
176 177 178 |
# File 'sig/openlayer/models/project_create_response.rbs', line 176 def url @url end |
Instance Method Details
#to_hash ⇒ {
193 |
# File 'sig/openlayer/models/project_create_response.rbs', line 193
def to_hash: -> {
|