Package com.clinia.model.registry
Class CreateResourceRequest<T>
java.lang.Object
com.clinia.model.registry.CreateResourceRequest<T>
CreateResourceRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanResources contained in this top-level resource.getData()Dynamic data attributes, based on the resource type.getId()Id of the resource (optional).getMeta()Get metainthashCode()putContained(String key, List<CreateResourceRequestContainedValueInner> containedItem) setContained(Map<String, List<CreateResourceRequestContainedValueInner>> contained) toString()
-
Constructor Details
-
CreateResourceRequest
public CreateResourceRequest()
-
-
Method Details
-
setId
-
getId
Id of the resource (optional). When not provided or equal to the special `@rootId` token, the id will be generated. When provided and not equal to `@rootId`, id must follow pattern: `^[a-zA-Z0-9-][\\w-]{1,92}$`. Note: - `@rootId` token can be used in any properties of type `reference` and, when provided, will be replaced by the actual id of the created resource. -
setData
-
getData
Dynamic data attributes, based on the resource type. -
setContained
public CreateResourceRequest<T> setContained(Map<String, List<CreateResourceRequestContainedValueInner>> contained) -
putContained
public CreateResourceRequest<T> putContained(String key, List<CreateResourceRequestContainedValueInner> containedItem) -
getContained
Resources contained in this top-level resource. Contained resources exists only within the context of this top-level resource. -
setMeta
-
getMeta
Get meta -
equals
-
hashCode
public int hashCode() -
toString
-