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.



867
868
869
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 867

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



865
866
867
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 865

def installations
  @installations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



872
873
874
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 872

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