Class DuplicateRuleProblem


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class DuplicateRuleProblem
    extends Problem
    The rule you have submitted is a duplicate.
    • Constructor Detail

      • DuplicateRuleProblem

        public DuplicateRuleProblem()
    • Method Detail

      • setId

        public void setId​(String id)
      • setValue

        public void setValue​(String value)
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to DuplicateRuleProblem
      • fromJson

        public static DuplicateRuleProblem fromJson​(String jsonString)
                                             throws IOException
        Create an instance of DuplicateRuleProblem given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of DuplicateRuleProblem
        Throws:
        IOException - if the JSON string is invalid with respect to DuplicateRuleProblem
      • toJson

        public String toJson()
        Convert an instance of DuplicateRuleProblem to an JSON string
        Overrides:
        toJson in class Problem
        Returns:
        JSON string