Package odata.msgraph.client.beta.entity
Class MobileAppTroubleshootingEvent
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementTroubleshootingEvent
-
- odata.msgraph.client.beta.entity.MobileAppTroubleshootingEvent
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MobileAppTroubleshootingEvent extends DeviceManagementTroubleshootingEvent implements com.github.davidmoten.odata.client.ODataEntityType
“Event representing a users device application install status.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobileAppTroubleshootingEvent.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringapplicationIdprotected List<MobileAppTroubleshootingHistoryItem>historyprotected StringhistoryNextLinkprotected StringmanagedDeviceIdentifierprotected StringuserId-
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 protectedMobileAppTroubleshootingEvent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileAppTroubleshootingEvent.BuilderbuilderMobileAppTroubleshootingEvent()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getApplicationId()“Intune application identifier.”AppLogCollectionRequestCollectionRequestgetAppLogCollectionRequests()“The collection property of AppLogUploadRequest.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<MobileAppTroubleshootingHistoryItem>getHistory()“Intune Mobile Application Troubleshooting History Item”com.github.davidmoten.odata.client.CollectionPage<MobileAppTroubleshootingHistoryItem>getHistory(com.github.davidmoten.odata.client.HttpRequestOptions options)“Intune Mobile Application Troubleshooting History Item”Optional<String>getManagedDeviceIdentifier()“Device identifier created or collected by Intune.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserId()“Identifier for the user that tried to enroll the device.”StringodataTypeName()MobileAppTroubleshootingEventpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MobileAppTroubleshootingEventput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MobileAppTroubleshootingEventwithApplicationId(String applicationId)Returns an immutable copy ofthiswith just theapplicationIdfield changed.MobileAppTroubleshootingEventwithHistory(List<MobileAppTroubleshootingHistoryItem> history)Returns an immutable copy ofthiswith just thehistoryfield changed.MobileAppTroubleshootingEventwithManagedDeviceIdentifier(String managedDeviceIdentifier)Returns an immutable copy ofthiswith just themanagedDeviceIdentifierfield changed.MobileAppTroubleshootingEventwithUnmappedField(String name, String value)MobileAppTroubleshootingEventwithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceManagementTroubleshootingEvent
builderDeviceManagementTroubleshootingEvent, getAdditionalInformation, getAdditionalInformation, getCorrelationId, getEventDateTime, getEventName, getTroubleshootingErrorDetails, withAdditionalInformation, withCorrelationId, withEventDateTime, withEventName, withTroubleshootingErrorDetails
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementTroubleshootingEvent
-
builderMobileAppTroubleshootingEvent
public static MobileAppTroubleshootingEvent.Builder builderMobileAppTroubleshootingEvent()
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
-
getApplicationId
public Optional<String> getApplicationId()
“Intune application identifier.”- Returns:
- property applicationId
-
withApplicationId
public MobileAppTroubleshootingEvent withApplicationId(String applicationId)
Returns an immutable copy ofthiswith just theapplicationIdfield 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.“Intune application identifier.”
- Parameters:
applicationId- new value ofapplicationIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicationIdfield changed
-
getHistory
public com.github.davidmoten.odata.client.CollectionPage<MobileAppTroubleshootingHistoryItem> getHistory()
“Intune Mobile Application Troubleshooting History Item”- Returns:
- property history
-
withHistory
public MobileAppTroubleshootingEvent withHistory(List<MobileAppTroubleshootingHistoryItem> history)
Returns an immutable copy ofthiswith just thehistoryfield 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.“Intune Mobile Application Troubleshooting History Item”
- Parameters:
history- new value ofhistoryfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehistoryfield changed
-
getHistory
public com.github.davidmoten.odata.client.CollectionPage<MobileAppTroubleshootingHistoryItem> getHistory(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Intune Mobile Application Troubleshooting History Item”- Parameters:
options- specify connect and read timeouts- Returns:
- property history
-
getManagedDeviceIdentifier
public Optional<String> getManagedDeviceIdentifier()
“Device identifier created or collected by Intune.”- Returns:
- property managedDeviceIdentifier
-
withManagedDeviceIdentifier
public MobileAppTroubleshootingEvent withManagedDeviceIdentifier(String managedDeviceIdentifier)
Returns an immutable copy ofthiswith just themanagedDeviceIdentifierfield 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.“Device identifier created or collected by Intune.”
- Parameters:
managedDeviceIdentifier- new value ofmanagedDeviceIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceIdentifierfield changed
-
getUserId
public Optional<String> getUserId()
“Identifier for the user that tried to enroll the device.”- Returns:
- property userId
-
withUserId
public MobileAppTroubleshootingEvent withUserId(String userId)
Returns an immutable copy ofthiswith just theuserIdfield 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.“Identifier for the user that tried to enroll the device.”
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
withUnmappedField
public MobileAppTroubleshootingEvent withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementTroubleshootingEvent
-
getAppLogCollectionRequests
public AppLogCollectionRequestCollectionRequest getAppLogCollectionRequests()
“The collection property of AppLogUploadRequest.”- Returns:
- navigational property appLogCollectionRequests
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementTroubleshootingEvent
-
patch
public MobileAppTroubleshootingEvent 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 MobileAppTroubleshootingEvent 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
-
-