Class: Google::Apis::AndroidmanagementV1::ListEnrollmentTokensResponse

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 enrollment tokens for a given enterprise.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListEnrollmentTokensResponse

Returns a new instance of ListEnrollmentTokensResponse.



3074
3075
3076
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3074

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

Instance Attribute Details

#enrollment_tokensArray<Google::Apis::AndroidmanagementV1::EnrollmentToken>

The list of enrollment tokens. Corresponds to the JSON property enrollmentTokens



3067
3068
3069
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3067

def enrollment_tokens
  @enrollment_tokens
end

#next_page_tokenString

If there are more results, a token to retrieve next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3072
3073
3074
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3072

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3079
3080
3081
3082
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3079

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