/// <summary> /// Retrieve the loaded domain Returns the domain specification the currently loaded model is using. /// </summary> /// <exception cref="ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Domain</returns> public Domain DomainGet() { ApiClient.Client.ApiResponse <Domain> localVarResponse = DomainGetWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// Retrieve the loaded domain Returns the domain specification the currently loaded model is using. /// </summary> /// <exception cref="ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of Domain</returns> public async System.Threading.Tasks.Task <Domain> DomainGetAsync() { ApiClient.Client.ApiResponse <Domain> localVarResponse = await DomainGetAsyncWithHttpInfo(); return(localVarResponse.Data); }
public async Task <List <WebhookMessage> > SendMessageAsync(string conversationId, string message) { ApiClient.Client.ApiResponse <List <WebhookMessage> > localVarResponse = await SendMessageAsyncWithHttpInfo(conversationId, message); return(localVarResponse.Data); }
public List <WebhookMessage> SendMessage(string conversationId, string message) { ApiClient.Client.ApiResponse <List <WebhookMessage> > localVarResponse = SendMessageWithHttpInfo(conversationId, message); return(localVarResponse.Data); }
/// <summary> /// Version of Rasa Returns the version of Rasa. /// </summary> /// <exception cref="ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of InlineResponse200</returns> public async System.Threading.Tasks.Task <InlineResponse200> VersionGetAsync() { ApiClient.Client.ApiResponse <InlineResponse200> localVarResponse = await VersionGetAsyncWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// Version of Rasa Returns the version of Rasa. /// </summary> /// <exception cref="ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>InlineResponse200</returns> public InlineResponse200 VersionGet() { ApiClient.Client.ApiResponse <InlineResponse200> localVarResponse = VersionGetWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// Status of the currently loaded Rasa model Information about the currently loaded Rasa model. /// </summary> /// <exception cref="ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>InlineResponse2001</returns> public InlineResponse2001 StatusGet() { ApiClient.Client.ApiResponse <InlineResponse2001> localVarResponse = StatusGetWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// Health endpoint of Rasa Server This URL can be used as an endpoint to run health checks against. When the server is running this will return 200. /// </summary> /// <exception cref="ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of string</returns> public async System.Threading.Tasks.Task <string> RootGetAsync() { ApiClient.Client.ApiResponse <string> localVarResponse = await RootGetAsyncWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// Health endpoint of Rasa Server This URL can be used as an endpoint to run health checks against. When the server is running this will return 200. /// </summary> /// <exception cref="ApiClient.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>string</returns> public string RootGet() { ApiClient.Client.ApiResponse <string> localVarResponse = RootGetWithHttpInfo(); return(localVarResponse.Data); }