Class VppTokenRevokeLicensesActionResult

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

    public class VppTokenRevokeLicensesActionResult
    extends VppTokenActionResult
    implements com.github.davidmoten.odata.client.ODataType
    “The status of the revoke licenses action performed on the Apple Volume Purchase Program token.”
    • Constructor Detail

      • VppTokenRevokeLicensesActionResult

        protected VppTokenRevokeLicensesActionResult()
    • Method Detail

      • getActionFailureReason

        public Optional<VppTokenActionFailureReason> getActionFailureReason()
        “The reason for the revoke licenses action failure.”
        Returns:
        property actionFailureReason
      • withActionFailureReason

        public VppTokenRevokeLicensesActionResult withActionFailureReason​(VppTokenActionFailureReason actionFailureReason)
        Returns an immutable copy of this with just the actionFailureReason 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.

        “The reason for the revoke licenses action failure.”

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

        public Optional<Integer> getFailedLicensesCount()
        “A count of the number of licenses that failed to revoke.”
        Returns:
        property failedLicensesCount
      • withFailedLicensesCount

        public VppTokenRevokeLicensesActionResult 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.

        “A count of the number of 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()
        “A count of the number of licenses that were attempted to revoke.”
        Returns:
        property totalLicensesCount
      • withTotalLicensesCount

        public VppTokenRevokeLicensesActionResult 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.

        “A count of the number of licenses that were attempted to revoke.”

        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 VppTokenActionResult
      • postInject

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

        public static VppTokenRevokeLicensesActionResult.Builder builderVppTokenRevokeLicensesActionResult()
        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