Category
Category
Category Objects
class Category()Defines the builder to configure a category of a datamodel. With this builder you can configure a category
constructor
function constructor()Arguments:
ReferenceInternalOpenGateAPI - to the API object.identifieridentifier - of categorydatastreamsArray - of category
addDatastream
function addDatastream(datastream: Object) -> 'Category'Add a datastream to the category
Arguments:
datastreamObject - json object
Returns:
Category
addDatastreams
function addDatastreams(datastreams: Object) -> 'Category'Add a datastreams to the category
Arguments:
datastreamsObject - of datastream json object
Returns:
Category
withName
function withName(name: *) -> '*'Arguments:
name*
Returns:
*