/// <summary> /// Updates the gateway async. /// </summary> /// <returns>The gateway async.</returns> /// <param name="updated">Updated.</param> public async Task <Gateway> UpdateGatewayAsync(Gateway updated) { return(await Update(updated, "/gateways/" + updated.GatewayEUI)); }
/// <summary> /// Creates the gateway async. /// </summary> /// <returns>The gateway async.</returns> /// <param name="template">Template.</param> public async Task <Gateway> CreateGatewayAsync(Gateway template) { return(await Create(template, "/gateways")); }