Module: JSS::VPPable
- Included in:
- MobileDeviceApplication
- Defined in:
- lib/jss/api_object/vppable.rb,
lib/jss.rb
Overview
A mix-in module to handle VPP-related data in API objects that can be assigned via VPP.
To use this module, merely ‘include VPPable` when defining your subclass of JSS::APIObject
classes doing so MUST call #add_vpp_xml(xmldoc) in their #rest_xml method
Constant Summary collapse
- VPPABLE =
Mixed-in Constants
true
Instance Attribute Summary collapse
- #assign_vpp_device_based_licenses ⇒ Boolean (also: #vpp_device_based?)
- #remaining_vpp_licenses ⇒ Integer (also: #vpp_licenses_remaining) readonly
- #total_vpp_licenses ⇒ Integer (also: #vpp_total_licenses, #vpp_license_count) readonly
- #used_vpp_licenses ⇒ Integer (also: #vpp_licenses_used) readonly
- #vpp_admin_account_id ⇒ Integer readonly
- #vpp_codes ⇒ Hash readonly
Instance Attribute Details
#assign_vpp_device_based_licenses ⇒ Boolean Also known as: vpp_device_based?
53 54 55 |
# File 'lib/jss/api_object/vppable.rb', line 53 def assign_vpp_device_based_licenses @assign_vpp_device_based_licenses end |
#remaining_vpp_licenses ⇒ Integer (readonly) Also known as: vpp_licenses_remaining
62 63 64 |
# File 'lib/jss/api_object/vppable.rb', line 62 def remaining_vpp_licenses @remaining_vpp_licenses end |
#total_vpp_licenses ⇒ Integer (readonly) Also known as: vpp_total_licenses, vpp_license_count
57 58 59 |
# File 'lib/jss/api_object/vppable.rb', line 57 def total_vpp_licenses @total_vpp_licenses end |
#used_vpp_licenses ⇒ Integer (readonly) Also known as: vpp_licenses_used
66 67 68 |
# File 'lib/jss/api_object/vppable.rb', line 66 def used_vpp_licenses @used_vpp_licenses end |
#vpp_admin_account_id ⇒ Integer (readonly)
50 51 52 |
# File 'lib/jss/api_object/vppable.rb', line 50 def vpp_admin_account_id @vpp_admin_account_id end |
#vpp_codes ⇒ Hash (readonly)
47 48 49 |
# File 'lib/jss/api_object/vppable.rb', line 47 def vpp_codes @vpp_codes end |