Package odata.msgraph.client.beta.entity
Class AppleVppTokenTroubleshootingEvent
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementTroubleshootingEvent
-
- odata.msgraph.client.beta.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppleVppTokenTroubleshootingEvent.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringtokenId-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceManagementTroubleshootingEvent
additionalInformation, additionalInformationNextLink, correlationId, eventDateTime, eventName, troubleshootingErrorDetails
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppleVppTokenTroubleshootingEvent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppleVppTokenTroubleshootingEvent.BuilderbuilderAppleVppTokenTroubleshootingEvent()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getTokenId()“Apple Volume Purchase Program Token Identifier.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AppleVppTokenTroubleshootingEventpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AppleVppTokenTroubleshootingEventput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AppleVppTokenTroubleshootingEventwithTokenId(String tokenId)Returns an immutable copy ofthiswith just thetokenIdfield changed.AppleVppTokenTroubleshootingEventwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceManagementTroubleshootingEvent
builderDeviceManagementTroubleshootingEvent, getAdditionalInformation, getAdditionalInformation, getCorrelationId, getEventDateTime, getEventName, getTroubleshootingErrorDetails, withAdditionalInformation, withCorrelationId, withEventDateTime, withEventName, withTroubleshootingErrorDetails
-
-
-
-
Field Detail
-
tokenId
protected String tokenId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementTroubleshootingEvent
-
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceManagementTroubleshootingEvent
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementTroubleshootingEvent
-
getTokenId
public Optional<String> getTokenId()
“Apple Volume Purchase Program Token Identifier.”- Returns:
- property tokenId
-
withTokenId
public AppleVppTokenTroubleshootingEvent withTokenId(String tokenId)
Returns an immutable copy ofthiswith just thetokenIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 oftokenIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetokenIdfield changed
-
withUnmappedField
public AppleVppTokenTroubleshootingEvent withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementTroubleshootingEvent
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementTroubleshootingEvent
-
patch
public AppleVppTokenTroubleshootingEvent patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceManagementTroubleshootingEvent- Returns:
- a copy of
thiswith 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 ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceManagementTroubleshootingEvent- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceManagementTroubleshootingEvent
-
-