Class: Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListEntitlementsResponse

Returns a new instance of ListEntitlementsResponse.



1073
1074
1075
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1073

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

Instance Attribute Details

#entitlementArray<Google::Apis::AndroidenterpriseV1::Entitlement>

An entitlement of a user to a product (e.g. an app). For example, a free app that they have installed, or a paid app that they have been allocated a license to. Corresponds to the JSON property entitlement



1071
1072
1073
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1071

def entitlement
  @entitlement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1078
1079
1080
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1078

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