Class: Google::Apis::AndroidenterpriseV1::ListUsersResponse

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

Overview

The matching user resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListUsersResponse

Returns a new instance of ListUsersResponse.



3039
3040
3041
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 3039

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#usersListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


3032
3033
3034
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 3032

def kind
  @kind
end

#userArray<Google::Apis::AndroidenterpriseV1::User>

A user of an enterprise. Corresponds to the JSON property user



3037
3038
3039
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 3037

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3044
3045
3046
3047
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 3044

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