Ejemplo n.º 1
0
 /// <summary>
 /// Even though the return type is application/json, the value is either true or false, indicating whether the create/update succeeded.The table below shows this endpoint's support for blocking queries, consistency modes, and required ACLs.
 /// </summary>
 /// <param name="firEventParmeter">Create Update Key Parmeter</param>
 /// <param name="value">value</param>
 /// <returns></returns>
 public async Task <(bool result, bool createUpdateResult)> CreateUpdateKey(CreateUpdateKeyParmeter createUpdateKeyParmeter, object value)
 {
     return(await Put <CreateUpdateKeyParmeter, bool>(createUpdateKeyParmeter, value, $"/kv/{createUpdateKeyParmeter.Key}"));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Even though the return type is application/json, the value is either true or false, indicating whether the create/update succeeded.The table below shows this endpoint's support for blocking queries, consistency modes, and required ACLs.
 /// </summary>
 /// <param name="firEventParmeter">Create Update Key Parmeter</param>
 /// <returns></returns>
 public async Task <(bool result, bool createUpdateResult)> CreateUpdateKey(CreateUpdateKeyParmeter createUpdateKeyParmeter)
 {
     return(await Put <CreateUpdateKeyParmeter, bool>(createUpdateKeyParmeter, $"/kv"));
 }