Class InnerErrorModel


  • public class InnerErrorModel
    extends Object
    An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
    • Constructor Detail

      • InnerErrorModel

        public InnerErrorModel()
    • Method Detail

      • code

        public String code()
        Get the code value.
        Returns:
        the code value
      • withCode

        public InnerErrorModel withCode​(String code)
        Set the code value.
        Parameters:
        code - the code value to set
        Returns:
        the InnerErrorModel object itself.
      • innerError

        public InnerErrorModel innerError()
        Get the innerError value.
        Returns:
        the innerError value
      • withInnerError

        public InnerErrorModel withInnerError​(InnerErrorModel innerError)
        Set the innerError value.
        Parameters:
        innerError - the innerError value to set
        Returns:
        the InnerErrorModel object itself.