Class: Google::Apis::DeveloperconnectV1::FetchGitRefsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::FetchGitRefsResponse
- 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
-
#next_page_token ⇒ String
A token identifying a page of results the server should return.
-
#ref_names ⇒ Array<String>
Name of the refs fetched.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FetchGitRefsResponse
constructor
A new instance of FetchGitRefsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FetchGitRefsResponse
Returns a new instance of FetchGitRefsResponse.
229 230 231 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 229 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token identifying a page of results the server should return.
Corresponds to the JSON property nextPageToken
222 223 224 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 222 def next_page_token @next_page_token end |
#ref_names ⇒ Array<String>
Name of the refs fetched.
Corresponds to the JSON property refNames
227 228 229 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 227 def ref_names @ref_names end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
234 235 236 237 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 234 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 |