Class: Google::Apis::VersionhistoryV1::ListPlatformsResponse

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 ListPlatforms.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPlatformsResponse

Returns a new instance of ListPlatformsResponse.



123
124
125
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 123

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)


116
117
118
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 116

def next_page_token
  @next_page_token
end

#platformsArray<Google::Apis::VersionhistoryV1::Platform>

The list of platforms. Corresponds to the JSON property platforms



121
122
123
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 121

def platforms
  @platforms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



128
129
130
131
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 128

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