Class VppTokenActionResult

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    VppTokenRevokeLicensesActionResult

    public class VppTokenActionResult
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “The status of the action performed with an Apple Volume Purchase Program token.”
    • 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
    • Constructor Detail

      • VppTokenActionResult

        protected VppTokenActionResult()
    • Method Detail

      • odataTypeName

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

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

        public VppTokenActionResult 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 VppTokenActionResult 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
      • getLastUpdatedDateTime

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

        public VppTokenActionResult 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
      • getStartDateTime

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

        public VppTokenActionResult 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
      • 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 VppTokenActionResult.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