public void Delete(string username) { ClientUtils.WaitTask(DeleteAsync(username)); }
public bool ObjectExists(string deviceId) { return(ClientUtils.WaitTask <bool>(ObjectExistsAsync(deviceId))); }
public IEnumerable <DataSet> GetDataSets() { return(ClientUtils.WaitTask <IEnumerable <DataSet> >(GetDataSetsAsync())); }
public void Create(SmartObject smartObject) { ClientUtils.WaitTask(CreateAsync(smartObject)); }
public void Update(SmartObject smartObject, string deviceId) { ClientUtils.WaitTask(UpdateAsync(smartObject, deviceId)); }
public List <OwnerAttribute> GetOwnerAttributes() { return(ClientUtils.WaitTask(GetOwnerAttributesAsync())); }
public bool EventExists(Guid eventId) { return(ClientUtils.WaitTask <bool>(EventExistsAsync(eventId))); }
public void Create(List <A> value) { ClientUtils.WaitTask(CreateAsync(value)); }
public string GenerateDeployCode(string key) { return(ClientUtils.WaitTask(GenerateDeployCodeAsync(key))); }
public List <Timeseries> GetTimeseries() { return(ClientUtils.WaitTask(GetTimeseriesAsync())); }
public void Delete(string key) { ClientUtils.WaitTask(DeleteAsync(key)); }
public IEnumerable <Result> CreateUpdate(IEnumerable <Owner> owners) { return(ClientUtils.WaitTask <IEnumerable <Result> >(CreateUpdateAsync(owners))); }
public void UpdatePassword(string username, string password) { ClientUtils.WaitTask(UpdatePasswordAsync(username, password)); }
public void Update(Owner owner, string username) { ClientUtils.WaitTask(UpdateAsync(owner, username)); }
public List <EventType> GetEventTypes() { return(ClientUtils.WaitTask(GetEventTypesAsync())); }
/// <summary> /// Implements <see cref="Mnubo.SmartObjects.Client.IModelClient.Export" /> /// </summary> public Model Export() { return(ClientUtils.WaitTask(ExportAsync())); }
public List <ObjectType> GetObjectTypes() { return(ClientUtils.WaitTask(GetObjectTypesAsync())); }
public void ApplyDeployCode(string key, string code) { ClientUtils.WaitTask(ApplyDeployCodeAsync(key, code)); }
public IEnumerable <EventResult> Send(IEnumerable <Event> events) { return(ClientUtils.WaitTask(SendAsync(events))); }
public void Deploy(string key) { ClientUtils.WaitTask(DeployAsync(key)); }
public IDictionary <string, bool> EventsExist(IList <Guid> eventIds) { return(ClientUtils.WaitTask <IDictionary <string, bool> >(EventsExistAsync(eventIds))); }
public void Update(string key, UpdateEntity update) { ClientUtils.WaitTask(UpdateAsync(key, update)); }
public void Delete(string deviceId) { ClientUtils.WaitTask(DeleteAsync(deviceId)); }
public string GenerateResetCode() { return(ClientUtils.WaitTask(GenerateResetCodeAsync())); }
public IEnumerable <Result> CreateUpdate(IEnumerable <SmartObject> objects) { return(ClientUtils.WaitTask <IEnumerable <Result> >(CreateUpdateAsync(objects))); }
public void ApplyResetCode(string code) { ClientUtils.WaitTask(ApplyResetCodeAsync(code)); }
public IDictionary <string, bool> ObjectsExist(IList <string> deviceIds) { return(ClientUtils.WaitTask <IDictionary <string, bool> >(ObjectsExistAsync(deviceIds))); }
public void Reset() { ClientUtils.WaitTask(ResetAsync()); }
public ResultSet Search(string query) { return(ClientUtils.WaitTask <ResultSet>(SearchAsync(query))); }
public void Create(Owner owner) { ClientUtils.WaitTask(CreateAsync(owner)); }