Class: Google::Apis::DeveloperconnectV1::FetchGitHubInstallationsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb

Overview

Response of fetching github installations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchGitHubInstallationsResponse

Returns a new instance of FetchGitHubInstallationsResponse.



205
206
207
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 205

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#installationsArray<Google::Apis::DeveloperconnectV1::Installation>

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise). Corresponds to the JSON property installations



203
204
205
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 203

def installations
  @installations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



210
211
212
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 210

def update!(**args)
  @installations = args[:installations] if args.key?(:installations)
end