Class MacOsVppAppRevokeLicensesActionResult

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

    public class MacOsVppAppRevokeLicensesActionResult
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Defines results for actions on MacOS Vpp Apps, contains inherited properties for ActionResult.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • actionName

        protected String actionName
      • failedLicensesCount

        protected Integer failedLicensesCount
      • managedDeviceId

        protected String managedDeviceId
      • totalLicensesCount

        protected Integer totalLicensesCount
      • userId

        protected String userId
    • Constructor Detail

      • MacOsVppAppRevokeLicensesActionResult

        protected MacOsVppAppRevokeLicensesActionResult()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getActionFailureReason

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

        public MacOsVppAppRevokeLicensesActionResult 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
      • getActionName

        public Optional<String> getActionName()
        “Action name”
        Returns:
        property actionName
      • withActionName

        public MacOsVppAppRevokeLicensesActionResult withActionName​(String actionName)
        Returns an immutable copy of this with just the actionName 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.

        “Action name”

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

        public Optional<ActionState> getActionState()
        “State of the action”
        Returns:
        property actionState
      • withActionState

        public MacOsVppAppRevokeLicensesActionResult withActionState​(ActionState actionState)
        Returns an immutable copy of this with just the actionState 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.

        “State of the action”

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

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

        public MacOsVppAppRevokeLicensesActionResult 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 for which revoke failed.”

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

        public Optional<OffsetDateTime> getLastUpdatedDateTime()
        “Time the action state was last updated”
        Returns:
        property lastUpdatedDateTime
      • withLastUpdatedDateTime

        public MacOsVppAppRevokeLicensesActionResult withLastUpdatedDateTime​(OffsetDateTime lastUpdatedDateTime)
        Returns an immutable copy of this with just the lastUpdatedDateTime 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.

        “Time the action state was last updated”

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

        public Optional<String> getManagedDeviceId()
        “DeviceId associated with the action.”
        Returns:
        property managedDeviceId
      • withManagedDeviceId

        public MacOsVppAppRevokeLicensesActionResult withManagedDeviceId​(String managedDeviceId)
        Returns an immutable copy of this with just the managedDeviceId 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.

        “DeviceId associated with the action.”

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

        public Optional<OffsetDateTime> getStartDateTime()
        “Time the action was initiated”
        Returns:
        property startDateTime
      • withStartDateTime

        public MacOsVppAppRevokeLicensesActionResult withStartDateTime​(OffsetDateTime startDateTime)
        Returns an immutable copy of this with just the startDateTime 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.

        “Time the action was initiated”

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

        public Optional<Integer> getTotalLicensesCount()
        “A count of the number of licenses for which revoke was attempted.”
        Returns:
        property totalLicensesCount
      • withTotalLicensesCount

        public MacOsVppAppRevokeLicensesActionResult 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 for which revoke was attempted.”

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

        public Optional<String> getUserId()
        “UserId associated with the action.”
        Returns:
        property userId
      • withUserId

        public MacOsVppAppRevokeLicensesActionResult withUserId​(String userId)
        Returns an immutable copy of this with just the userId 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.

        “UserId associated with the action.”

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

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

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

        public static MacOsVppAppRevokeLicensesActionResult.Builder builder()
        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