Class MobileAppTroubleshootingAppTargetHistory
- java.lang.Object
-
- odata.msgraph.client.beta.complex.MobileAppTroubleshootingHistoryItem
-
- odata.msgraph.client.beta.complex.MobileAppTroubleshootingAppTargetHistory
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MobileAppTroubleshootingAppTargetHistory 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 classMobileAppTroubleshootingAppTargetHistory.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringerrorCodeprotected RunStaterunStateprotected StringsecurityGroupId-
Fields inherited from class odata.msgraph.client.beta.complex.MobileAppTroubleshootingHistoryItem
contextPath, occurrenceDateTime, odataType, troubleshootingErrorDetails, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileAppTroubleshootingAppTargetHistory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobileAppTroubleshootingAppTargetHistory.BuilderbuilderMobileAppTroubleshootingAppTargetHistory()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.”Optional<String>getSecurityGroupId()“AAD security group id to which it was targeted.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MobileAppTroubleshootingAppTargetHistorywithErrorCode(String errorCode)Returns an immutable copy ofthiswith just theerrorCodefield changed.MobileAppTroubleshootingAppTargetHistorywithRunState(RunState runState)Returns an immutable copy ofthiswith just therunStatefield changed.MobileAppTroubleshootingAppTargetHistorywithSecurityGroupId(String securityGroupId)Returns an immutable copy ofthiswith just thesecurityGroupIdfield changed.MobileAppTroubleshootingAppTargetHistorywithUnmappedField(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 MobileAppTroubleshootingAppTargetHistory 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 MobileAppTroubleshootingAppTargetHistory 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
-
getSecurityGroupId
public Optional<String> getSecurityGroupId()
“AAD security group id to which it was targeted.”- Returns:
- property securityGroupId
-
withSecurityGroupId
public MobileAppTroubleshootingAppTargetHistory withSecurityGroupId(String securityGroupId)
Returns an immutable copy ofthiswith just thesecurityGroupIdfield 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.“AAD security group id to which it was targeted.”
- Parameters:
securityGroupId- new value ofsecurityGroupIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecurityGroupIdfield changed
-
withUnmappedField
public MobileAppTroubleshootingAppTargetHistory 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
-
builderMobileAppTroubleshootingAppTargetHistory
public static MobileAppTroubleshootingAppTargetHistory.Builder builderMobileAppTroubleshootingAppTargetHistory()
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
-
-