File
methodBaas.File()
A class to model a Baas File.
Set the path in the options object.
@constructor
@param {object} options {client:client, data: {'key': 'value'}}
Baas.File = function(options) {
if(options){
this._client = options.client;
this._data = options.data || {};
this._data.type = "files";
this._data.minsize = options.minsize || 1;
this._data.maxsize = options.maxsize || 10485760;
this._data.allowExts = options.allowExts || "";
this.count = 0;
}
}