public class CosmosItemProperties extends Resource
| Constructor and Description |
|---|
CosmosItemProperties()
Initialize an empty CosmosItemProperties object.
|
CosmosItemProperties(String jsonString)
Initialize a CosmosItemProperties object from json string.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getObject(Class<?> klass) |
CosmosItemProperties |
id(String id)
Sets the id
|
etag, id, resourceId, resourceId, selfLink, timestampget, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toStringpublic CosmosItemProperties()
public CosmosItemProperties(String jsonString)
jsonString - the json string that represents the document object.public CosmosItemProperties id(String id)
public <T> T getObject(Class<?> klass) throws IOException
IOExceptionCopyright © 2019. All rights reserved.