Storage
Storage
Storage Objects
class Storage()This is a base object that allows the user to create a Datapoint.
constructor
function constructor()composeElement
function composeElement() -> '*'Returns:
*
withTotal
function withTotal(total: string) -> 'Usage'Set the total attribute
Arguments:
totalstring - optionals field
Returns:
Usage
withUnit
function withUnit(unit: string) -> 'Storage'Set the unit attribute
Arguments:
unitstring - optionals field
Returns:
Storage