Class RulesResponseMetadata


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class RulesResponseMetadata
    extends Object
    RulesResponseMetadata
    • Constructor Detail

      • RulesResponseMetadata

        public RulesResponseMetadata()
    • Method Detail

      • setSent

        public void setSent​(String sent)
      • getNextToken

        @Nullable
        public String getNextToken()
        This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
        Returns:
        nextToken
      • setNextToken

        public void setNextToken​(String nextToken)
      • getResultCount

        @Nullable
        public Integer getResultCount()
        Number of Rules in result set
        Returns:
        resultCount
      • setResultCount

        public void setResultCount​(Integer resultCount)
      • 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 RulesResponseMetadata
      • fromJson

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

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