Class ListObjectsParams


  • @Generated("com.googlecode.jsonschema2pojo")
    public class ListObjectsParams
    extends java.lang.Object

    Original spec-file type: ListObjectsParams

     Parameters for the 'list_objects' function.
                     At least one, and no more than 10000, workspaces must be specified in one of the
                     two following parameters. It is strongly recommended that the list is restricted to
                     the workspaces of interest, or the results may be very large:
                     list ids - the numerical IDs of the workspaces of interest.
                     list workspaces - the names of the workspaces of interest.
                     Only one of each timestamp/epoch pair may be supplied.
                     Optional arguments:
                     type_string type - type of the objects to be listed.  Here, omitting
                             version information will find any objects that match the provided
                             type - e.g. Foo.Bar-0 will match Foo.Bar-0.X where X is any
                             existing version.
                     permission perm - DEPRECATED, no longer useful. Filter on minimum permission by providing
                             only workspaces with the desired permission levels in the input list(s).
                     list savedby - filter objects by the user that saved or
                             copied the object.
                     usermeta meta - filter objects by the user supplied metadata. NOTE:
                             only one key/value pair is supported at this time. A full map
                             is provided as input for the possibility for expansion in the
                             future.
                     timestamp after - only return objects that were created after this
                             date.
                     timestamp before - only return objects that were created before this
                             date.
                     epoch after_epoch - only return objects that were created after this
                             date.
                     epoch before_epoch - only return objects that were created before this
                             date.
                     string startafter - a reference-like string that determines where the
                             list of objects will begin. It takes the form X/Y/Z, where X is
                             the workspace ID, Y the object ID, and Z the version. The version
                             may be omitted, and the object ID omitted if the version is also
                             omitted. After a '/' separator either an integer or no characters
                             at all, including whitespace, may occur. Whitespace strings are
                             ignored. If startafter is provided, after, before,
                             after_epoch, before_epoch, savedby, meta, minObjectID, and
                             maxObjectID may not be provided. Only objects that are ordered
                             after the reference, exclusive, will be included in the
                             result, and the resulting list will be sorted by reference.
                     obj_id minObjectID - only return objects with an object id greater or
                             equal to this value.
                     obj_id maxObjectID - only return objects with an object id less than or
                             equal to this value.
                     boolean showDeleted - show deleted objects in workspaces to which the
                             user has write access.
                     boolean showOnlyDeleted - only show deleted objects in workspaces to
                             which the user has write access.
                     boolean showHidden - show hidden objects.
                     boolean showAllVersions - show all versions of each object that match
                             the filters rather than only the most recent version.
                     boolean includeMetadata - include the user provided metadata in the
                             returned object_info. If false (0 or null), the default, the
                             metadata will be null.
                     boolean excludeGlobal - DEPRECATED, no longer useful. Filter on global workspaces by
                             excluding them from the input workspace list(s).
                     int limit - limit the output to X objects. Default and maximum value
                             is 10000. Limit values < 1 are treated as 10000, the default.
     
    • Constructor Detail

      • ListObjectsParams

        public ListObjectsParams()
    • Method Detail

      • getWorkspaces

        public java.util.List<java.lang.String> getWorkspaces()
      • setWorkspaces

        public void setWorkspaces​(java.util.List<java.lang.String> workspaces)
      • withWorkspaces

        public ListObjectsParams withWorkspaces​(java.util.List<java.lang.String> workspaces)
      • getIds

        public java.util.List<java.lang.Long> getIds()
      • setIds

        public void setIds​(java.util.List<java.lang.Long> ids)
      • getType

        public java.lang.String getType()
      • setType

        public void setType​(java.lang.String type)
      • getPerm

        public java.lang.String getPerm()
      • setPerm

        public void setPerm​(java.lang.String perm)
      • getSavedby

        public java.util.List<java.lang.String> getSavedby()
      • setSavedby

        public void setSavedby​(java.util.List<java.lang.String> savedby)
      • withSavedby

        public ListObjectsParams withSavedby​(java.util.List<java.lang.String> savedby)
      • getMeta

        public java.util.Map<java.lang.String,​java.lang.String> getMeta()
      • setMeta

        public void setMeta​(java.util.Map<java.lang.String,​java.lang.String> meta)
      • withMeta

        public ListObjectsParams withMeta​(java.util.Map<java.lang.String,​java.lang.String> meta)
      • getAfter

        public java.lang.String getAfter()
      • setAfter

        public void setAfter​(java.lang.String after)
      • getBefore

        public java.lang.String getBefore()
      • setBefore

        public void setBefore​(java.lang.String before)
      • getAfterEpoch

        public java.lang.Long getAfterEpoch()
      • setAfterEpoch

        public void setAfterEpoch​(java.lang.Long afterEpoch)
      • withAfterEpoch

        public ListObjectsParams withAfterEpoch​(java.lang.Long afterEpoch)
      • getBeforeEpoch

        public java.lang.Long getBeforeEpoch()
      • setBeforeEpoch

        public void setBeforeEpoch​(java.lang.Long beforeEpoch)
      • withBeforeEpoch

        public ListObjectsParams withBeforeEpoch​(java.lang.Long beforeEpoch)
      • getStartafter

        public java.lang.String getStartafter()
      • setStartafter

        public void setStartafter​(java.lang.String startafter)
      • withStartafter

        public ListObjectsParams withStartafter​(java.lang.String startafter)
      • getMinObjectID

        public java.lang.Long getMinObjectID()
      • setMinObjectID

        public void setMinObjectID​(java.lang.Long minObjectID)
      • withMinObjectID

        public ListObjectsParams withMinObjectID​(java.lang.Long minObjectID)
      • getMaxObjectID

        public java.lang.Long getMaxObjectID()
      • setMaxObjectID

        public void setMaxObjectID​(java.lang.Long maxObjectID)
      • withMaxObjectID

        public ListObjectsParams withMaxObjectID​(java.lang.Long maxObjectID)
      • getShowDeleted

        public java.lang.Long getShowDeleted()
      • setShowDeleted

        public void setShowDeleted​(java.lang.Long showDeleted)
      • withShowDeleted

        public ListObjectsParams withShowDeleted​(java.lang.Long showDeleted)
      • getShowOnlyDeleted

        public java.lang.Long getShowOnlyDeleted()
      • setShowOnlyDeleted

        public void setShowOnlyDeleted​(java.lang.Long showOnlyDeleted)
      • withShowOnlyDeleted

        public ListObjectsParams withShowOnlyDeleted​(java.lang.Long showOnlyDeleted)
      • getShowHidden

        public java.lang.Long getShowHidden()
      • setShowHidden

        public void setShowHidden​(java.lang.Long showHidden)
      • withShowHidden

        public ListObjectsParams withShowHidden​(java.lang.Long showHidden)
      • getShowAllVersions

        public java.lang.Long getShowAllVersions()
      • setShowAllVersions

        public void setShowAllVersions​(java.lang.Long showAllVersions)
      • withShowAllVersions

        public ListObjectsParams withShowAllVersions​(java.lang.Long showAllVersions)
      • getIncludeMetadata

        public java.lang.Long getIncludeMetadata()
      • setIncludeMetadata

        public void setIncludeMetadata​(java.lang.Long includeMetadata)
      • withIncludeMetadata

        public ListObjectsParams withIncludeMetadata​(java.lang.Long includeMetadata)
      • getExcludeGlobal

        public java.lang.Long getExcludeGlobal()
      • setExcludeGlobal

        public void setExcludeGlobal​(java.lang.Long excludeGlobal)
      • withExcludeGlobal

        public ListObjectsParams withExcludeGlobal​(java.lang.Long excludeGlobal)
      • getLimit

        public java.lang.Long getLimit()
      • setLimit

        public void setLimit​(java.lang.Long limit)
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • setAdditionalProperties

        public void setAdditionalProperties​(java.lang.String name,
                                            java.lang.Object value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object