Package us.kbase.workspace
Class ListObjectsParams
- java.lang.Object
-
- us.kbase.workspace.ListObjectsParams
-
@Generated("com.googlecode.jsonschema2pojo") public class ListObjectsParams extends 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 Summary
Constructors Constructor Description ListObjectsParams()
-
Method Summary
-
-
-
Method Detail
-
withWorkspaces
public ListObjectsParams withWorkspaces(List<String> workspaces)
-
withIds
public ListObjectsParams withIds(List<Long> ids)
-
getType
public String getType()
-
setType
public void setType(String type)
-
withType
public ListObjectsParams withType(String type)
-
getPerm
public String getPerm()
-
setPerm
public void setPerm(String perm)
-
withPerm
public ListObjectsParams withPerm(String perm)
-
withSavedby
public ListObjectsParams withSavedby(List<String> savedby)
-
withMeta
public ListObjectsParams withMeta(Map<String,String> meta)
-
getAfter
public String getAfter()
-
setAfter
public void setAfter(String after)
-
withAfter
public ListObjectsParams withAfter(String after)
-
getBefore
public String getBefore()
-
setBefore
public void setBefore(String before)
-
withBefore
public ListObjectsParams withBefore(String before)
-
getAfterEpoch
public Long getAfterEpoch()
-
setAfterEpoch
public void setAfterEpoch(Long afterEpoch)
-
withAfterEpoch
public ListObjectsParams withAfterEpoch(Long afterEpoch)
-
getBeforeEpoch
public Long getBeforeEpoch()
-
setBeforeEpoch
public void setBeforeEpoch(Long beforeEpoch)
-
withBeforeEpoch
public ListObjectsParams withBeforeEpoch(Long beforeEpoch)
-
getStartafter
public String getStartafter()
-
setStartafter
public void setStartafter(String startafter)
-
withStartafter
public ListObjectsParams withStartafter(String startafter)
-
getMinObjectID
public Long getMinObjectID()
-
setMinObjectID
public void setMinObjectID(Long minObjectID)
-
withMinObjectID
public ListObjectsParams withMinObjectID(Long minObjectID)
-
getMaxObjectID
public Long getMaxObjectID()
-
setMaxObjectID
public void setMaxObjectID(Long maxObjectID)
-
withMaxObjectID
public ListObjectsParams withMaxObjectID(Long maxObjectID)
-
getShowDeleted
public Long getShowDeleted()
-
setShowDeleted
public void setShowDeleted(Long showDeleted)
-
withShowDeleted
public ListObjectsParams withShowDeleted(Long showDeleted)
-
getShowOnlyDeleted
public Long getShowOnlyDeleted()
-
setShowOnlyDeleted
public void setShowOnlyDeleted(Long showOnlyDeleted)
-
withShowOnlyDeleted
public ListObjectsParams withShowOnlyDeleted(Long showOnlyDeleted)
-
getShowHidden
public Long getShowHidden()
-
setShowHidden
public void setShowHidden(Long showHidden)
-
withShowHidden
public ListObjectsParams withShowHidden(Long showHidden)
-
getShowAllVersions
public Long getShowAllVersions()
-
setShowAllVersions
public void setShowAllVersions(Long showAllVersions)
-
withShowAllVersions
public ListObjectsParams withShowAllVersions(Long showAllVersions)
-
getIncludeMetadata
public Long getIncludeMetadata()
-
setIncludeMetadata
public void setIncludeMetadata(Long includeMetadata)
-
withIncludeMetadata
public ListObjectsParams withIncludeMetadata(Long includeMetadata)
-
getExcludeGlobal
public Long getExcludeGlobal()
-
setExcludeGlobal
public void setExcludeGlobal(Long excludeGlobal)
-
withExcludeGlobal
public ListObjectsParams withExcludeGlobal(Long excludeGlobal)
-
getLimit
public Long getLimit()
-
setLimit
public void setLimit(Long limit)
-
withLimit
public ListObjectsParams withLimit(Long limit)
-
-