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.



158
159
160
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 158

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



156
157
158
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 156

def installations
  @installations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



163
164
165
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 163

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