Class DeviceManagementTroubleshootingErrorDetails
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementTroubleshootingErrorDetails
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementTroubleshootingErrorDetails extends Object implements com.github.davidmoten.odata.client.ODataType
“Object containing detailed information about the error and its remediation.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementTroubleshootingErrorDetails.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcontextprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringfailureprotected StringfailureDetailsprotected StringodataTypeprotected Stringremediationprotected List<DeviceManagementTroubleshootingErrorResource>resourcesprotected StringresourcesNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementTroubleshootingErrorDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementTroubleshootingErrorDetails.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getContext()Optional<String>getFailure()Optional<String>getFailureDetails()“The detailed description of what went wrong.”Optional<String>getRemediation()“The detailed description of how to remediate this issue.”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementTroubleshootingErrorResource>getResources()“Links to helpful documentation about this failure.”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementTroubleshootingErrorResource>getResources(com.github.davidmoten.odata.client.HttpRequestOptions options)“Links to helpful documentation about this failure.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementTroubleshootingErrorDetailswithContext(String context)DeviceManagementTroubleshootingErrorDetailswithFailure(String failure)DeviceManagementTroubleshootingErrorDetailswithFailureDetails(String failureDetails)Returns an immutable copy ofthiswith just thefailureDetailsfield changed.DeviceManagementTroubleshootingErrorDetailswithRemediation(String remediation)Returns an immutable copy ofthiswith just theremediationfield changed.DeviceManagementTroubleshootingErrorDetailswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
context
protected String context
-
failure
protected String failure
-
failureDetails
protected String failureDetails
-
remediation
protected String remediation
-
resources
protected List<DeviceManagementTroubleshootingErrorResource> resources
-
resourcesNextLink
protected String resourcesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withContext
public DeviceManagementTroubleshootingErrorDetails withContext(String context)
-
withFailure
public DeviceManagementTroubleshootingErrorDetails withFailure(String failure)
-
getFailureDetails
public Optional<String> getFailureDetails()
“The detailed description of what went wrong.”- Returns:
- property failureDetails
-
withFailureDetails
public DeviceManagementTroubleshootingErrorDetails withFailureDetails(String failureDetails)
Returns an immutable copy ofthiswith just thefailureDetailsfield 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.“The detailed description of what went wrong.”
- Parameters:
failureDetails- new value offailureDetailsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailureDetailsfield changed
-
getRemediation
public Optional<String> getRemediation()
“The detailed description of how to remediate this issue.”- Returns:
- property remediation
-
withRemediation
public DeviceManagementTroubleshootingErrorDetails withRemediation(String remediation)
Returns an immutable copy ofthiswith just theremediationfield 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.“The detailed description of how to remediate this issue.”
- Parameters:
remediation- new value ofremediationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediationfield changed
-
getResources
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementTroubleshootingErrorResource> getResources()
“Links to helpful documentation about this failure.”- Returns:
- property resources
-
getResources
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementTroubleshootingErrorResource> getResources(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Links to helpful documentation about this failure.”- Parameters:
options- specify connect and read timeouts- Returns:
- property resources
-
withUnmappedField
public DeviceManagementTroubleshootingErrorDetails withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeviceManagementTroubleshootingErrorDetails.Builder builder()
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
-
-