Class: Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse
- 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
-
#entitlement ⇒ Array<Google::Apis::AndroidenterpriseV1::Entitlement>
An entitlement of a user to a product (e.g. an app).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListEntitlementsResponse
constructor
A new instance of ListEntitlementsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListEntitlementsResponse
Returns a new instance of ListEntitlementsResponse.
1057 1058 1059 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1057 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entitlement ⇒ Array<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
1055 1056 1057 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1055 def entitlement @entitlement end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1062 1063 1064 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1062 def update!(**args) @entitlement = args[:entitlement] if args.key?(:entitlement) end |