public IEnumerable <EventResult> Send(IEnumerable <Event> events) { return(ClientUtils.WaitTask(SendAsync(events))); }
public List <ObjectType> GetObjectTypes() { return(ClientUtils.WaitTask(GetObjectTypesAsync())); }
/// <summary> /// Implements <see cref="IRestitutionClient.GetDataSets"/> /// </summary> public IEnumerable <DataSet> GetDataSets() { return(ClientUtils.WaitTask <IEnumerable <DataSet> >(GetDataSetsAsync())); }
public string GenerateResetCode() { return(ClientUtils.WaitTask(GenerateResetCodeAsync())); }
public void Reset() { ClientUtils.WaitTask(ResetAsync()); }
public string GenerateDeployCode(string key) { return(ClientUtils.WaitTask(GenerateDeployCodeAsync(key))); }
public void Deploy(string key) { ClientUtils.WaitTask(DeployAsync(key)); }
/// <summary> /// Implements <see cref="IOwnerClient.BatchUnclaim" /> /// </summary> public IEnumerable <Result> BatchUnclaim(IEnumerable <ClaimOrUnclaim> unclaims) { return(ClientUtils.WaitTask(BatchUnclaimAsync(unclaims))); }
/// <summary> /// Implements <see cref="IOwnerClient.Create" /> /// </summary> public void Create(Owner owner) { ClientUtils.WaitTask(CreateAsync(owner)); }
/// <summary> /// Implements <see cref="IOwnerClient.OwnersExist" /> /// </summary> public IDictionary <string, bool> OwnersExist(IList <string> usernames) { return(ClientUtils.WaitTask <IDictionary <string, bool> >(OwnersExistAsync(usernames))); }
/// <summary> /// Implements <see cref="IOwnerClient.Unclaim" /> /// </summary> public void Unclaim(string username, string deviceId, Dictionary <string, object> body) { ClientUtils.WaitTask(UnclaimAsync(username, deviceId, body)); }
/// <summary> /// Implements <see cref="IOwnerClient.OwnerExists" /> /// </summary> public bool OwnerExists(string username) { return(ClientUtils.WaitTask <bool>(OwnerExistsAsync(username))); }
public IDictionary <string, bool> EventsExist(IList <Guid> eventIds) { return(ClientUtils.WaitTask <IDictionary <string, bool> >(EventsExistAsync(eventIds))); }
public bool EventExists(Guid eventId) { return(ClientUtils.WaitTask <bool>(EventExistsAsync(eventId))); }
public void Create(List <A> value) { ClientUtils.WaitTask(CreateAsync(value)); }
/// <summary> /// Implements <see cref="IOwnerClient.Delete" /> /// </summary> public void Delete(string username) { ClientUtils.WaitTask(DeleteAsync(username)); }
/// <summary> /// Implements <see cref="System.ComponentModel.Composition.Primitives.Export" /> /// </summary> public Model Export() { return(ClientUtils.WaitTask(ExportAsync())); }
/// <summary> /// Implements <see cref="IOwnerClient.Update" /> /// </summary> public void Update(Owner owner, string username) { ClientUtils.WaitTask(UpdateAsync(owner, username)); }
public void ApplyDeployCode(string key, string code) { ClientUtils.WaitTask(ApplyDeployCodeAsync(key, code)); }
/// <summary> /// Implements <see cref="IOwnerClient.UpdatePassword" /> /// </summary> public void UpdatePassword(string username, string password) { ClientUtils.WaitTask(UpdatePasswordAsync(username, password)); }
public void Update(string key, UpdateEntity update) { ClientUtils.WaitTask(UpdateAsync(key, update)); }
/// <summary> /// Implements <see cref="IOwnerClient.CreateUpdate" /> /// </summary> public IEnumerable <Result> CreateUpdate(IEnumerable <Owner> owners) { return(ClientUtils.WaitTask <IEnumerable <Result> >(CreateUpdateAsync(owners))); }
public void ApplyResetCode(string code) { ClientUtils.WaitTask(ApplyResetCodeAsync(code)); }
public List <Timeseries> GetTimeseries() { return(ClientUtils.WaitTask(GetTimeseriesAsync())); }
public List <EventType> GetEventTypes() { return(ClientUtils.WaitTask(GetEventTypesAsync())); }
public void Delete(string key) { ClientUtils.WaitTask(DeleteAsync(key)); }
public List <OwnerAttribute> GetOwnerAttributes() { return(ClientUtils.WaitTask(GetOwnerAttributesAsync())); }
public void RemoveRelation(string key, string entityKey) { ClientUtils.WaitTask(RemoveRelationAsync(key, entityKey)); }
/// <summary> /// Implements <see cref="IRestitutionClient.Search"/> /// </summary> public ResultSet Search(string query) { return(ClientUtils.WaitTask <ResultSet>(SearchAsync(query))); }
/// <summary> /// Implements <see cref="IObjectClient.ObjectsExist" /> /// </summary> public IDictionary <string, bool> ObjectsExist(IList <string> deviceIds) { return(ClientUtils.WaitTask <IDictionary <string, bool> >(ObjectsExistAsync(deviceIds))); }