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

Instance Attribute Details

#assign_vpp_device_based_licensesBoolean Also known as: vpp_device_based?

Returns:

  • (Boolean)


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_licensesInteger (readonly) Also known as: vpp_licenses_remaining

Returns:

  • (Integer)


62
63
64
# File 'lib/jss/api_object/vppable.rb', line 62

def remaining_vpp_licenses
  @remaining_vpp_licenses
end

#total_vpp_licensesInteger (readonly) Also known as: vpp_total_licenses, vpp_license_count

Returns:

  • (Integer)


57
58
59
# File 'lib/jss/api_object/vppable.rb', line 57

def total_vpp_licenses
  @total_vpp_licenses
end

#used_vpp_licensesInteger (readonly) Also known as: vpp_licenses_used

Returns:

  • (Integer)


66
67
68
# File 'lib/jss/api_object/vppable.rb', line 66

def used_vpp_licenses
  @used_vpp_licenses
end

#vpp_admin_account_idInteger (readonly)

Returns:

  • (Integer)


50
51
52
# File 'lib/jss/api_object/vppable.rb', line 50

def 
  @vpp_admin_account_id
end

#vpp_codesHash (readonly)

Returns:



47
48
49
# File 'lib/jss/api_object/vppable.rb', line 47

def vpp_codes
  @vpp_codes
end