Class AppleVppTokenTroubleshootingEvent

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

    public class AppleVppTokenTroubleshootingEvent
    extends DeviceManagementTroubleshootingEvent
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Event representing an Apple Vpp Token Troubleshooting Event.”
    • Field Detail

      • tokenId

        protected String tokenId
    • Constructor Detail

      • AppleVppTokenTroubleshootingEvent

        protected AppleVppTokenTroubleshootingEvent()
    • Method Detail

      • builderAppleVppTokenTroubleshootingEvent

        public static AppleVppTokenTroubleshootingEvent.Builder builderAppleVppTokenTroubleshootingEvent()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceManagementTroubleshootingEvent
      • getTokenId

        public Optional<String> getTokenId()
        “Apple Volume Purchase Program Token Identifier.”
        Returns:
        property tokenId
      • withTokenId

        public AppleVppTokenTroubleshootingEvent withTokenId​(String tokenId)
        Returns an immutable copy of this with just the tokenId 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.

        “Apple Volume Purchase Program Token Identifier.”

        Parameters:
        tokenId - new value of tokenId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the tokenId 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 DeviceManagementTroubleshootingEvent
      • patch

        public AppleVppTokenTroubleshootingEvent patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceManagementTroubleshootingEvent
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public AppleVppTokenTroubleshootingEvent put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceManagementTroubleshootingEvent
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected