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.



875
876
877
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 875

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



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

def installations
  @installations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



880
881
882
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 880

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