Class: Google::Apis::VersionhistoryV1::ListReleasesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/versionhistory_v1/classes.rb,
lib/google/apis/versionhistory_v1/representations.rb,
lib/google/apis/versionhistory_v1/representations.rb

Overview

Response message for ListReleases.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListReleasesResponse

Returns a new instance of ListReleasesResponse.



149
150
151
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 149

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


142
143
144
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 142

def next_page_token
  @next_page_token
end

#releasesArray<Google::Apis::VersionhistoryV1::Release>

The list of releases. Corresponds to the JSON property releases



147
148
149
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 147

def releases
  @releases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



154
155
156
157
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 154

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