Class MobileAppTroubleshootingAppStateHistory
- java.lang.Object
-
- odata.msgraph.client.beta.complex.MobileAppTroubleshootingHistoryItem
-
- odata.msgraph.client.beta.complex.MobileAppTroubleshootingAppStateHistory
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MobileAppTroubleshootingAppStateHistory extends MobileAppTroubleshootingHistoryItem implements com.github.davidmoten.odata.client.ODataType
“History Item contained in the Mobile App Troubleshooting Event.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobileAppTroubleshootingAppStateHistory.Builder
-
Field Summary
Fields Modifier and Type Field Description protected MobileAppActionTypeactionTypeprotected StringerrorCodeprotected RunStaterunState-
Fields inherited from class odata.msgraph.client.beta.complex.MobileAppTroubleshootingHistoryItem
contextPath, occurrenceDateTime, odataType, troubleshootingErrorDetails, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileAppTroubleshootingAppStateHistory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileAppTroubleshootingAppStateHistory.BuilderbuilderMobileAppTroubleshootingAppStateHistory()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<MobileAppActionType>getActionType()“Action type for Intune Application.”Optional<String>getErrorCode()“Error code for the failure, empty if no failure.”Optional<RunState>getRunState()“Status of the item.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MobileAppTroubleshootingAppStateHistorywithActionType(MobileAppActionType actionType)Returns an immutable copy ofthiswith just theactionTypefield changed.MobileAppTroubleshootingAppStateHistorywithErrorCode(String errorCode)Returns an immutable copy ofthiswith just theerrorCodefield changed.MobileAppTroubleshootingAppStateHistorywithRunState(RunState runState)Returns an immutable copy ofthiswith just therunStatefield changed.MobileAppTroubleshootingAppStateHistorywithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.MobileAppTroubleshootingHistoryItem
builder, getOccurrenceDateTime, getTroubleshootingErrorDetails, withOccurrenceDateTime, withTroubleshootingErrorDetails
-
-
-
-
Field Detail
-
actionType
protected MobileAppActionType actionType
-
errorCode
protected String errorCode
-
runState
protected RunState runState
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileAppTroubleshootingHistoryItem
-
getActionType
public Optional<MobileAppActionType> getActionType()
“Action type for Intune Application.”- Returns:
- property actionType
-
withActionType
public MobileAppTroubleshootingAppStateHistory withActionType(MobileAppActionType actionType)
Returns an immutable copy ofthiswith just theactionTypefield 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.“Action type for Intune Application.”
- Parameters:
actionType- new value ofactionTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactionTypefield changed
-
getErrorCode
public Optional<String> getErrorCode()
“Error code for the failure, empty if no failure.”- Returns:
- property errorCode
-
withErrorCode
public MobileAppTroubleshootingAppStateHistory withErrorCode(String errorCode)
Returns an immutable copy ofthiswith just theerrorCodefield 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.“Error code for the failure, empty if no failure.”
- Parameters:
errorCode- new value oferrorCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorCodefield changed
-
getRunState
public Optional<RunState> getRunState()
“Status of the item.”- Returns:
- property runState
-
withRunState
public MobileAppTroubleshootingAppStateHistory withRunState(RunState runState)
Returns an immutable copy ofthiswith just therunStatefield 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.“Status of the item.”
- Parameters:
runState- new value ofrunStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therunStatefield changed
-
withUnmappedField
public MobileAppTroubleshootingAppStateHistory withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classMobileAppTroubleshootingHistoryItem
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileAppTroubleshootingHistoryItem
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMobileAppTroubleshootingHistoryItem
-
builderMobileAppTroubleshootingAppStateHistory
public static MobileAppTroubleshootingAppStateHistory.Builder builderMobileAppTroubleshootingAppStateHistory()
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
-
toString
public String toString()
- Overrides:
toStringin classMobileAppTroubleshootingHistoryItem
-
-