Class: Google::Apis::DeveloperconnectV1::FetchGitRefsResponse

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 for fetching git refs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchGitRefsResponse

Returns a new instance of FetchGitRefsResponse.



891
892
893
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 891

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

Instance Attribute Details

#next_page_tokenString

A token identifying a page of results the server should return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


884
885
886
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 884

def next_page_token
  @next_page_token
end

#ref_namesArray<String>

Name of the refs fetched. Corresponds to the JSON property refNames

Returns:

  • (Array<String>)


889
890
891
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 889

def ref_names
  @ref_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



896
897
898
899
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 896

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