Class MobileAppTroubleshootingAppPolicyCreationHistory
- java.lang.Object
-
- odata.msgraph.client.beta.complex.MobileAppTroubleshootingHistoryItem
-
- odata.msgraph.client.beta.complex.MobileAppTroubleshootingAppPolicyCreationHistory
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MobileAppTroubleshootingAppPolicyCreationHistory 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 classMobileAppTroubleshootingAppPolicyCreationHistory.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringerrorCodeprotected RunStaterunState-
Fields inherited from class odata.msgraph.client.beta.complex.MobileAppTroubleshootingHistoryItem
contextPath, occurrenceDateTime, odataType, troubleshootingErrorDetails, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileAppTroubleshootingAppPolicyCreationHistory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileAppTroubleshootingAppPolicyCreationHistory.BuilderbuilderMobileAppTroubleshootingAppPolicyCreationHistory()Returns a builder which is used to create a new instance of this class (given that this class is immutable).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()MobileAppTroubleshootingAppPolicyCreationHistorywithErrorCode(String errorCode)Returns an immutable copy ofthiswith just theerrorCodefield changed.MobileAppTroubleshootingAppPolicyCreationHistorywithRunState(RunState runState)Returns an immutable copy ofthiswith just therunStatefield changed.MobileAppTroubleshootingAppPolicyCreationHistorywithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.MobileAppTroubleshootingHistoryItem
builder, getOccurrenceDateTime, getTroubleshootingErrorDetails, withOccurrenceDateTime, withTroubleshootingErrorDetails
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileAppTroubleshootingHistoryItem
-
getErrorCode
public Optional<String> getErrorCode()
“Error code for the failure, empty if no failure.”- Returns:
- property errorCode
-
withErrorCode
public MobileAppTroubleshootingAppPolicyCreationHistory 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 MobileAppTroubleshootingAppPolicyCreationHistory 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 MobileAppTroubleshootingAppPolicyCreationHistory 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
-
builderMobileAppTroubleshootingAppPolicyCreationHistory
public static MobileAppTroubleshootingAppPolicyCreationHistory.Builder builderMobileAppTroubleshootingAppPolicyCreationHistory()
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
-
-