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.



3125
3126
3127
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3125

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



3117
3118
3119
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3117

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)


3123
3124
3125
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3123

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3130
3131
3132
3133
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3130

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