Class RevokeAppleVppLicensesActionResult

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class RevokeAppleVppLicensesActionResult
    extends DeviceActionResult
    implements com.github.davidmoten.odata.client.ODataType
    “Revoke Apple Vpp licenses action result”
    • Field Detail

      • failedLicensesCount

        protected Integer failedLicensesCount
      • totalLicensesCount

        protected Integer totalLicensesCount
    • Constructor Detail

      • RevokeAppleVppLicensesActionResult

        protected RevokeAppleVppLicensesActionResult()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceActionResult
      • getFailedLicensesCount

        public Optional<Integer> getFailedLicensesCount()
        “Total number of Apple Vpp licenses that failed to revoke”
        Returns:
        property failedLicensesCount
      • withFailedLicensesCount

        public RevokeAppleVppLicensesActionResult withFailedLicensesCount​(Integer failedLicensesCount)
        Returns an immutable copy of this with just the failedLicensesCount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Total number of Apple Vpp licenses that failed to revoke”

        Parameters:
        failedLicensesCount - new value of failedLicensesCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the failedLicensesCount field changed
      • getTotalLicensesCount

        public Optional<Integer> getTotalLicensesCount()
        “Total number of Apple Vpp licenses associated”
        Returns:
        property totalLicensesCount
      • withTotalLicensesCount

        public RevokeAppleVppLicensesActionResult withTotalLicensesCount​(Integer totalLicensesCount)
        Returns an immutable copy of this with just the totalLicensesCount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Total number of Apple Vpp licenses associated”

        Parameters:
        totalLicensesCount - new value of totalLicensesCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the totalLicensesCount field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceActionResult
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DeviceActionResult
      • builderRevokeAppleVppLicensesActionResult

        public static RevokeAppleVppLicensesActionResult.Builder builderRevokeAppleVppLicensesActionResult()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class