/* * FHT.Core.API 1.0 * * ̨group.apiVersion:1.0 * * OpenAPI spec version: v1 * Contact: fht@fht360.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net.Http; using IO.Swagger.Client; using IO.Swagger.Model; namespace IO.Swagger.Api { /// /// Represents a collection of functions to interact with the API endpoints /// public interface IMeetupChatApiApi : IApiAccessor { #region Synchronous Operations /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// void MeetupChatApiDisableNoDisturb (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// ApiResponse of Object(void) ApiResponse MeetupChatApiDisableNoDisturbWithHttpInfo (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// void MeetupChatApiDisableTop (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// ApiResponse of Object(void) ApiResponse MeetupChatApiDisableTopWithHttpInfo (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// void MeetupChatApiEnableNoDisturb (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// ApiResponse of Object(void) ApiResponse MeetupChatApiEnableNoDisturbWithHttpInfo (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// void MeetupChatApiEnableTop (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// ApiResponse of Object(void) ApiResponse MeetupChatApiEnableTopWithHttpInfo (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// MeetupChatViewModel MeetupChatViewModel MeetupChatApiGetMeetupChat (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of MeetupChatViewModel ApiResponse MeetupChatApiGetMeetupChatWithHttpInfo (long? meetupId); #endregion Synchronous Operations #region Asynchronous Operations /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of void System.Threading.Tasks.Task MeetupChatApiDisableNoDisturbAsync (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of ApiResponse System.Threading.Tasks.Task> MeetupChatApiDisableNoDisturbAsyncWithHttpInfo (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of void System.Threading.Tasks.Task MeetupChatApiDisableTopAsync (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of ApiResponse System.Threading.Tasks.Task> MeetupChatApiDisableTopAsyncWithHttpInfo (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of void System.Threading.Tasks.Task MeetupChatApiEnableNoDisturbAsync (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of ApiResponse System.Threading.Tasks.Task> MeetupChatApiEnableNoDisturbAsyncWithHttpInfo (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of void System.Threading.Tasks.Task MeetupChatApiEnableTopAsync (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of ApiResponse System.Threading.Tasks.Task> MeetupChatApiEnableTopAsyncWithHttpInfo (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of MeetupChatViewModel System.Threading.Tasks.Task MeetupChatApiGetMeetupChatAsync (long? meetupId); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (MeetupChatViewModel) System.Threading.Tasks.Task> MeetupChatApiGetMeetupChatAsyncWithHttpInfo (long? meetupId); #endregion Asynchronous Operations } /// /// Represents a collection of functions to interact with the API endpoints /// public partial class MeetupChatApiApi : IMeetupChatApiApi { private IO.Swagger.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class /// using Configuration object /// /// An instance of Configuration /// public MeetupChatApiApi(Configuration configuration) { this.Configuration = configuration; ExceptionFactory = IO.Swagger.Client.Configuration.DefaultExceptionFactory; // ensure API client has configuration ready if (Configuration.ApiClient.Configuration == null) { this.Configuration.ApiClient.Configuration = this.Configuration; } } /// /// Gets or sets the configuration object /// /// An instance of the Configuration public Configuration Configuration {get; set;} /// /// Provides a factory method hook for the creation of exceptions. /// public IO.Swagger.Client.ExceptionFactory ExceptionFactory { get { if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1) { throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported."); } return _exceptionFactory; } set { _exceptionFactory = value; } } /// /// /// /// Thrown when fails to make API call /// 组ID /// public void MeetupChatApiDisableNoDisturb (long? meetupId) { MeetupChatApiDisableNoDisturbWithHttpInfo(meetupId); } /// /// /// /// Thrown when fails to make API call /// 组ID /// ApiResponse of Object(void) public ApiResponse MeetupChatApiDisableNoDisturbWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiDisableNoDisturb"); var localVarPath = "/v1/meetupChats/{meetupId}/_disableNoDisturb"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiDisableNoDisturb", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), null); } /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of void public async System.Threading.Tasks.Task MeetupChatApiDisableNoDisturbAsync (long? meetupId) { await MeetupChatApiDisableNoDisturbAsyncWithHttpInfo(meetupId); } /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of ApiResponse public async System.Threading.Tasks.Task> MeetupChatApiDisableNoDisturbAsyncWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiDisableNoDisturb"); var localVarPath = "/v1/meetupChats/{meetupId}/_disableNoDisturb"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiDisableNoDisturb", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), null); } /// /// /// /// Thrown when fails to make API call /// 组ID /// public void MeetupChatApiDisableTop (long? meetupId) { MeetupChatApiDisableTopWithHttpInfo(meetupId); } /// /// /// /// Thrown when fails to make API call /// 组ID /// ApiResponse of Object(void) public ApiResponse MeetupChatApiDisableTopWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiDisableTop"); var localVarPath = "/v1/meetupChats/{meetupId}/_disableTop"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiDisableTop", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), null); } /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of void public async System.Threading.Tasks.Task MeetupChatApiDisableTopAsync (long? meetupId) { await MeetupChatApiDisableTopAsyncWithHttpInfo(meetupId); } /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of ApiResponse public async System.Threading.Tasks.Task> MeetupChatApiDisableTopAsyncWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiDisableTop"); var localVarPath = "/v1/meetupChats/{meetupId}/_disableTop"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiDisableTop", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), null); } /// /// /// /// Thrown when fails to make API call /// 组ID /// public void MeetupChatApiEnableNoDisturb (long? meetupId) { MeetupChatApiEnableNoDisturbWithHttpInfo(meetupId); } /// /// /// /// Thrown when fails to make API call /// 组ID /// ApiResponse of Object(void) public ApiResponse MeetupChatApiEnableNoDisturbWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiEnableNoDisturb"); var localVarPath = "/v1/meetupChats/{meetupId}/_enableNoDisturb"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiEnableNoDisturb", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), null); } /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of void public async System.Threading.Tasks.Task MeetupChatApiEnableNoDisturbAsync (long? meetupId) { await MeetupChatApiEnableNoDisturbAsyncWithHttpInfo(meetupId); } /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of ApiResponse public async System.Threading.Tasks.Task> MeetupChatApiEnableNoDisturbAsyncWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiEnableNoDisturb"); var localVarPath = "/v1/meetupChats/{meetupId}/_enableNoDisturb"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiEnableNoDisturb", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), null); } /// /// /// /// Thrown when fails to make API call /// 组ID /// public void MeetupChatApiEnableTop (long? meetupId) { MeetupChatApiEnableTopWithHttpInfo(meetupId); } /// /// /// /// Thrown when fails to make API call /// 组ID /// ApiResponse of Object(void) public ApiResponse MeetupChatApiEnableTopWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiEnableTop"); var localVarPath = "/v1/meetupChats/{meetupId}/_enableTop"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiEnableTop", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), null); } /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of void public async System.Threading.Tasks.Task MeetupChatApiEnableTopAsync (long? meetupId) { await MeetupChatApiEnableTopAsyncWithHttpInfo(meetupId); } /// /// /// /// Thrown when fails to make API call /// 组ID /// Task of ApiResponse public async System.Threading.Tasks.Task> MeetupChatApiEnableTopAsyncWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiEnableTop"); var localVarPath = "/v1/meetupChats/{meetupId}/_enableTop"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiEnableTop", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), null); } /// /// /// /// Thrown when fails to make API call /// /// MeetupChatViewModel public MeetupChatViewModel MeetupChatApiGetMeetupChat (long? meetupId) { ApiResponse localVarResponse = MeetupChatApiGetMeetupChatWithHttpInfo(meetupId); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of MeetupChatViewModel public ApiResponse< MeetupChatViewModel > MeetupChatApiGetMeetupChatWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiGetMeetupChat"); var localVarPath = "/v1/meetupChats/{meetupId}"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml" }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiGetMeetupChat", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (MeetupChatViewModel) Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(MeetupChatViewModel))); } /// /// /// /// Thrown when fails to make API call /// /// Task of MeetupChatViewModel public async System.Threading.Tasks.Task MeetupChatApiGetMeetupChatAsync (long? meetupId) { ApiResponse localVarResponse = await MeetupChatApiGetMeetupChatAsyncWithHttpInfo(meetupId); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (MeetupChatViewModel) public async System.Threading.Tasks.Task> MeetupChatApiGetMeetupChatAsyncWithHttpInfo (long? meetupId) { // verify the required parameter 'meetupId' is set if (meetupId == null) throw new ApiException(400, "Missing required parameter 'meetupId' when calling MeetupChatApiApi->MeetupChatApiGetMeetupChat"); var localVarPath = "/v1/meetupChats/{meetupId}"; var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { }; String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml" }; String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request var localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int) localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("MeetupChatApiGetMeetupChat", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (MeetupChatViewModel) Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(MeetupChatViewModel))); } } }