Class PaginatedQueryResultModel


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class PaginatedQueryResultModel
    extends Object
    Generic paginated model to wrap query response data
    • Constructor Detail

      • PaginatedQueryResultModel

        public PaginatedQueryResultModel()
    • Method Detail

      • getAtRecordsetCount

        @Nullable
        public Integer getAtRecordsetCount()
        Get atRecordsetCount
        Returns:
        atRecordsetCount
      • setAtRecordsetCount

        public void setAtRecordsetCount​(Integer atRecordsetCount)
      • setValue

        public void setValue​(List<Object> value)
      • getAtNextLink

        @Nullable
        public String getAtNextLink()
        Get atNextLink
        Returns:
        atNextLink
      • setAtNextLink

        public void setAtNextLink​(String atNextLink)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to PaginatedQueryResultModel
      • fromJson

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

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