Class: Google::Apis::AndroidmanagementV1::ListMigrationTokensResponse

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

Overview

Response to a request to list migration tokens for a given enterprise.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListMigrationTokensResponse

Returns a new instance of ListMigrationTokensResponse.



3105
3106
3107
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3105

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

Instance Attribute Details

#migration_tokensArray<Google::Apis::AndroidmanagementV1::MigrationToken>

The migration tokens from the specified enterprise. Corresponds to the JSON property migrationTokens



3097
3098
3099
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3097

def migration_tokens
  @migration_tokens
end

#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)


3103
3104
3105
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3103

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3110
3111
3112
3113
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3110

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