Class MicrosoftGraphPublicError


  • public final class MicrosoftGraphPublicError
    extends Object
    publicError.
    • Constructor Detail

      • MicrosoftGraphPublicError

        public MicrosoftGraphPublicError()
    • Method Detail

      • code

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

        public MicrosoftGraphPublicError withCode​(String code)
        Set the code property: The code property.
        Parameters:
        code - the code value to set.
        Returns:
        the MicrosoftGraphPublicError object itself.
      • message

        public String message()
        Get the message property: The message property.
        Returns:
        the message value.
      • withMessage

        public MicrosoftGraphPublicError withMessage​(String message)
        Set the message property: The message property.
        Parameters:
        message - the message value to set.
        Returns:
        the MicrosoftGraphPublicError object itself.
      • target

        public String target()
        Get the target property: The target property.
        Returns:
        the target value.
      • withTarget

        public MicrosoftGraphPublicError withTarget​(String target)
        Set the target property: The target property.
        Parameters:
        target - the target value to set.
        Returns:
        the MicrosoftGraphPublicError object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: publicError.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphPublicError withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: publicError.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphPublicError object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.