Class: Openlayer::Models::Governance::FrameworkListProjectsResponse::Item::GitRepo

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

Overview

See Also:

  • Openlayer::Models::Governance::FrameworkListProjectsResponse::Item#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)
  • date_connected (Time)
  • date_updated (Time)
  • git_account_id (String)
  • git_id (Integer)
  • name (String)
  • private (Boolean)
  • project_id (String)
  • slug (String)
  • url (String)
  • branch (String) (defaults to: nil)
  • root_dir (String) (defaults to: nil)


# File 'lib/openlayer/models/governance/framework_list_projects_response.rb', line 297

Instance Attribute Details

#branch ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


248
# File 'lib/openlayer/models/governance/framework_list_projects_response.rb', line 248

optional :branch, String

#date_connected ⇒ Time

Returns the value of attribute date_connected.

Returns:

  • (Time)


200
201
202
# File 'sig/openlayer/models/governance/framework_list_projects_response.rbs', line 200

def date_connected
  @date_connected
end

#date_updated ⇒ Time

Returns the value of attribute date_updated.

Returns:

  • (Time)


202
203
204
# File 'sig/openlayer/models/governance/framework_list_projects_response.rbs', line 202

def date_updated
  @date_updated
end

#git_account_id ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


238
# File 'lib/openlayer/models/governance/framework_list_projects_response.rb', line 238

required :git_account_id, String, api_name: :gitAccountId

#git_id ⇒ Integer

Parameters:

  • value (Integer)

Returns:

  • (Integer)


243
# File 'lib/openlayer/models/governance/framework_list_projects_response.rb', line 243

required :git_id, Integer, api_name: :gitId

#id ⇒ String

Returns the value of attribute id.

Returns:

  • (String)


198
199
200
# File 'sig/openlayer/models/governance/framework_list_projects_response.rbs', line 198

def id
  @id
end

#name ⇒ String

Returns the value of attribute name.

Returns:

  • (String)


204
205
206
# File 'sig/openlayer/models/governance/framework_list_projects_response.rbs', line 204

def name
  @name
end

#private ⇒ Boolean

Returns the value of attribute private.

Returns:

  • (Boolean)


206
207
208
# File 'sig/openlayer/models/governance/framework_list_projects_response.rbs', line 206

def private
  @private
end

#project_id ⇒ String

Returns the value of attribute project_id.

Returns:

  • (String)


208
209
210
# File 'sig/openlayer/models/governance/framework_list_projects_response.rbs', line 208

def project_id
  @project_id
end

#root_dir ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


253
# File 'lib/openlayer/models/governance/framework_list_projects_response.rb', line 253

optional :root_dir, String, api_name: :rootDir

#slug ⇒ String

Returns the value of attribute slug.

Returns:

  • (String)


210
211
212
# File 'sig/openlayer/models/governance/framework_list_projects_response.rbs', line 210

def slug
  @slug
end

#url ⇒ String

Returns the value of attribute url.

Returns:

  • (String)


212
213
214
# File 'sig/openlayer/models/governance/framework_list_projects_response.rbs', line 212

def url
  @url
end

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


229
# File 'sig/openlayer/models/governance/framework_list_projects_response.rbs', line 229

def to_hash: -> {