Package us.kbase.workspace
Class GetObjects2Params
- java.lang.Object
-
- us.kbase.workspace.GetObjects2Params
-
@Generated("com.googlecode.jsonschema2pojo") public class GetObjects2Params extends java.lang.ObjectOriginal spec-file type: GetObjects2Params
Input parameters for the get_objects2 function. Required parameters: listobjects - the list of object specifications for the objects to return (via reference chain and as a subset if specified). Optional parameters: boolean ignoreErrors - Don't throw an exception if an object cannot be accessed; return null for that object's information instead. Default false. boolean infostruct - return the object information as a structure rather than a tuple. Default false. If true, ObjectData.path will be null as it is provided in the ObjectInfo data. boolean no_data - return the provenance, references, and object_info for this object without the object data. Default false. boolean skip_external_system_updates - if the objects contain any external IDs, don't contact external systems to perform any updates for those IDs (often ACL updates, e.g. for handle / blobstore / sample IDs). In some cases this can speed up fetching the data. Default false. boolean batch_external_system_updates - if the objects contain any external IDs, send all external system updates in a batch to each external system when possible rather than object by object. This can potentially speed up the updates, but the drawback is that if the external update fails for any object, all the objects that required updates for that system will be marked as having a failed update. Has no effect if skip_external_system_updates is true. Default false.
-
-
Constructor Summary
Constructors Constructor Description GetObjects2Params()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.LonggetBatchExternalSystemUpdates()java.lang.LonggetIgnoreErrors()java.lang.LonggetInfostruct()java.lang.LonggetNoData()java.util.List<ObjectSpecification>getObjects()java.lang.LonggetSkipExternalSystemUpdates()voidsetAdditionalProperties(java.lang.String name, java.lang.Object value)voidsetBatchExternalSystemUpdates(java.lang.Long batchExternalSystemUpdates)voidsetIgnoreErrors(java.lang.Long ignoreErrors)voidsetInfostruct(java.lang.Long infostruct)voidsetNoData(java.lang.Long noData)voidsetObjects(java.util.List<ObjectSpecification> objects)voidsetSkipExternalSystemUpdates(java.lang.Long skipExternalSystemUpdates)java.lang.StringtoString()GetObjects2ParamswithBatchExternalSystemUpdates(java.lang.Long batchExternalSystemUpdates)GetObjects2ParamswithIgnoreErrors(java.lang.Long ignoreErrors)GetObjects2ParamswithInfostruct(java.lang.Long infostruct)GetObjects2ParamswithNoData(java.lang.Long noData)GetObjects2ParamswithObjects(java.util.List<ObjectSpecification> objects)GetObjects2ParamswithSkipExternalSystemUpdates(java.lang.Long skipExternalSystemUpdates)
-
-
-
Method Detail
-
getObjects
public java.util.List<ObjectSpecification> getObjects()
-
setObjects
public void setObjects(java.util.List<ObjectSpecification> objects)
-
withObjects
public GetObjects2Params withObjects(java.util.List<ObjectSpecification> objects)
-
getIgnoreErrors
public java.lang.Long getIgnoreErrors()
-
setIgnoreErrors
public void setIgnoreErrors(java.lang.Long ignoreErrors)
-
withIgnoreErrors
public GetObjects2Params withIgnoreErrors(java.lang.Long ignoreErrors)
-
getInfostruct
public java.lang.Long getInfostruct()
-
setInfostruct
public void setInfostruct(java.lang.Long infostruct)
-
withInfostruct
public GetObjects2Params withInfostruct(java.lang.Long infostruct)
-
getNoData
public java.lang.Long getNoData()
-
setNoData
public void setNoData(java.lang.Long noData)
-
withNoData
public GetObjects2Params withNoData(java.lang.Long noData)
-
getSkipExternalSystemUpdates
public java.lang.Long getSkipExternalSystemUpdates()
-
setSkipExternalSystemUpdates
public void setSkipExternalSystemUpdates(java.lang.Long skipExternalSystemUpdates)
-
withSkipExternalSystemUpdates
public GetObjects2Params withSkipExternalSystemUpdates(java.lang.Long skipExternalSystemUpdates)
-
getBatchExternalSystemUpdates
public java.lang.Long getBatchExternalSystemUpdates()
-
setBatchExternalSystemUpdates
public void setBatchExternalSystemUpdates(java.lang.Long batchExternalSystemUpdates)
-
withBatchExternalSystemUpdates
public GetObjects2Params withBatchExternalSystemUpdates(java.lang.Long batchExternalSystemUpdates)
-
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:
toStringin classjava.lang.Object
-
-