| DSUserObjectResponse {DatastreamR} | R Documentation |
DSUserObjectResponse
Description
This is the object returned from the client class' GetItem, CreateItem, UpdateItem and DeleteItem requests.
Value
DSUserObjectResponse object
Public fields
UserObjectIdThe ID of the object requested. If the item is deleted, the UserObject property will be NULL but the UserObjectId field will be populated
UserObjectTypespecifies the returned object type. e.g. DSUserObjectTypes.List, DSUserObjectTypes.TimeSeries, etc.
UserObjectFor all queries bar DeletItem, if the query is successful, this property will contain the user created item requested.
ResponseStatusThis property will contain a DSUserObjectResponseStatus value. DSUserObjectResponseStatus.UserObjectSuccess represents a successful response.
ErrorMessageIf ResponseStatus is not DSUserObjectResponseStatus.UserObjectSuccess this status string will provide a description of the error condition.
PropertiesNot currently used and will currently always return NULL.
Methods
Public methods
Method new()
Initialize
Usage
DSUserObjectResponse$new(jsonResp = NULL)
Arguments
jsonRespJSON Response
Returns
DSUserObjectResponse object
Method clone()
The objects of this class are cloneable with this method.
Usage
DSUserObjectResponse$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.