Exemple #1
0
        public virtual async Task DeleteProfileAsync(Guid id)
        {
            var response = await RepositoryClient.SendJsonDeleteAsync(ApiKeys.SpeakerRecognition, $"{ApiKeys.SpeakerRecognition}identificationProfiles/{id.ToString("D")}");

            return;
        }
 public virtual async Task DeleteKnowledgeBaseAsync(Guid knowledgeBaseId)
 {
     await RepositoryClient.SendJsonDeleteAsync(ApiKeys.QnA, $"{ApiKeys.QnAEndpoint}{knowledgeBaseId}");
 }
Exemple #3
0
 public virtual async Task DeleteImageAsync(string listId, string imageId)
 {
     await RepositoryClient.SendJsonDeleteAsync(ApiKeys.ContentModerator, $"{ApiKeys.ContentModeratorEndpoint}{listUrl}{listId}/images/{imageId}");
 }
Exemple #4
0
        public virtual async Task DeleteFaceListAsync(string faceListId)
        {
            var response = await RepositoryClient.SendJsonDeleteAsync(ApiKeys.Face, $"{ApiKeys.FaceEndpoint}facelists/{faceListId}");

            return;
        }
Exemple #5
0
        public virtual async Task DeletePersonGroupAsync(string personGroupId)
        {
            var response = await RepositoryClient.SendJsonDeleteAsync(ApiKeys.Face, $"{ApiKeys.FaceEndpoint}persongroups{personGroupId}");

            return;
        }
 public virtual async Task CancelOperationAsync(string operationId)
 {
     await RepositoryClient.SendJsonDeleteAsync(ApiKeys.Recommendations, $"{ApiKeys.RecommendationsEndpoint}{operationsUrl}?id={operationId}");
 }