Class: Openlayer::Models::ProjectUpdateResponse::GitRepo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::ProjectUpdateResponse::GitRepo
- Defined in:
- lib/openlayer/models/project_update_response.rb,
sig/openlayer/models/project_update_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_update_response.rb', line 282
|
Instance Attribute Details
#branch ⇒ String?
233 |
# File 'lib/openlayer/models/project_update_response.rb', line 233 optional :branch, String |
#date_connected ⇒ Time
Returns the value of attribute date_connected.
184 185 186 |
# File 'sig/openlayer/models/project_update_response.rbs', line 184 def date_connected @date_connected end |
#date_updated ⇒ Time
Returns the value of attribute date_updated.
186 187 188 |
# File 'sig/openlayer/models/project_update_response.rbs', line 186 def date_updated @date_updated end |
#git_account_id ⇒ String
223 |
# File 'lib/openlayer/models/project_update_response.rb', line 223 required :git_account_id, String, api_name: :gitAccountId |
#git_id ⇒ Integer
228 |
# File 'lib/openlayer/models/project_update_response.rb', line 228 required :git_id, Integer, api_name: :gitId |
#id ⇒ String
Returns the value of attribute id.
182 183 184 |
# File 'sig/openlayer/models/project_update_response.rbs', line 182 def id @id end |
#name ⇒ String
Returns the value of attribute name.
188 189 190 |
# File 'sig/openlayer/models/project_update_response.rbs', line 188 def name @name end |
#private ⇒ Boolean
Returns the value of attribute private.
190 191 192 |
# File 'sig/openlayer/models/project_update_response.rbs', line 190 def private @private end |
#project_id ⇒ String
Returns the value of attribute project_id.
192 193 194 |
# File 'sig/openlayer/models/project_update_response.rbs', line 192 def project_id @project_id end |
#root_dir ⇒ String?
238 |
# File 'lib/openlayer/models/project_update_response.rb', line 238 optional :root_dir, String, api_name: :rootDir |
#slug ⇒ String
Returns the value of attribute slug.
194 195 196 |
# File 'sig/openlayer/models/project_update_response.rbs', line 194 def slug @slug end |
#url ⇒ String
Returns the value of attribute url.
196 197 198 |
# File 'sig/openlayer/models/project_update_response.rbs', line 196 def url @url end |
Instance Method Details
#to_hash ⇒ {
213 |
# File 'sig/openlayer/models/project_update_response.rbs', line 213
def to_hash: -> {
|