Class: Google::Apis::AndroidenterpriseV1::CreateEnrollmentTokenResponse

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

Overview

Response message for create enrollment token.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateEnrollmentTokenResponse

Returns a new instance of CreateEnrollmentTokenResponse.



675
676
677
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 675

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

Instance Attribute Details

#enrollment_tokenString

Enrollment token. Corresponds to the JSON property enrollmentToken

Returns:

  • (String)


673
674
675
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 673

def enrollment_token
  @enrollment_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



680
681
682
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 680

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