Class 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.”
    • 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
      • resourcesNextLink

        protected String resourcesNextLink
    • Constructor Detail

      • DeviceManagementTroubleshootingErrorDetails

        protected DeviceManagementTroubleshootingErrorDetails()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • 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 of this with just the failureDetails field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of failureDetails field (as defined in service metadata)
        Returns:
        immutable copy of this with just the failureDetails field 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 of this with just the remediation field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of remediation field (as defined in service metadata)
        Returns:
        immutable copy of this with just the remediation field changed
      • 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
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType