Class RulesRequestSummaryOneOf


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class RulesRequestSummaryOneOf
    extends Object
    A summary of the results of the addition of user-specified stream filtering rules.
    • Constructor Detail

      • RulesRequestSummaryOneOf

        public RulesRequestSummaryOneOf()
    • Method Detail

      • getCreated

        @Nonnull
        public Integer getCreated()
        Number of user-specified stream filtering rules that were created.
        Returns:
        created
      • setCreated

        public void setCreated​(Integer created)
      • getInvalid

        @Nonnull
        public Integer getInvalid()
        Number of invalid user-specified stream filtering rules.
        Returns:
        invalid
      • setInvalid

        public void setInvalid​(Integer invalid)
      • getNotCreated

        @Nonnull
        public Integer getNotCreated()
        Number of user-specified stream filtering rules that were not created.
        Returns:
        notCreated
      • setNotCreated

        public void setNotCreated​(Integer notCreated)
      • getValid

        @Nonnull
        public Integer getValid()
        Number of valid user-specified stream filtering rules.
        Returns:
        valid
      • setValid

        public void setValid​(Integer valid)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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 RulesRequestSummaryOneOf
      • fromJson

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

        public String toJson()
        Convert an instance of RulesRequestSummaryOneOf to an JSON string
        Returns:
        JSON string