/* * 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 IAccountApiApi : IApiAccessor { #region Synchronous Operations /// /// /// /// /// /// /// Thrown when fails to make API call /// /// /// /// /// /// /// /// /// /// int? int? AccountApiAgentRegisterClientAccountAsync(string mobile, string realName, int? gender, string profession, int? industryId, int? secondLevelId, bool? isMobileUser, string ipAddress, string password); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// /// /// /// /// /// /// /// /// ApiResponse of int? ApiResponse AccountApiAgentRegisterClientAccountAsyncWithHttpInfo(string mobile, string realName, int? gender, string profession, int? industryId, int? secondLevelId, bool? isMobileUser, string ipAddress, string password); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiChangeAvatarUrl(ChangeUserAvatarUrlInputModel changeUserAvatarUrlInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiChangeAvatarUrlWithHttpInfo(ChangeUserAvatarUrlInputModel changeUserAvatarUrlInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiChangeBirthYear(BirthYearInputModel birthYearInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiChangeBirthYearWithHttpInfo(BirthYearInputModel birthYearInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// 手机号码 /// void AccountApiChangeFht1AccountVerifyCode(CreateSmsVerificationCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// 手机号码 /// ApiResponse of Object(void) ApiResponse AccountApiChangeFht1AccountVerifyCodeWithHttpInfo(CreateSmsVerificationCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiChangeGender(ChangeUserGenderInputModel changeUserGenderInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiChangeGenderWithHttpInfo(ChangeUserGenderInputModel changeUserGenderInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiChangeIndustry(ChangeUserIndustryInputModel changeUserIndustryInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiChangeIndustryWithHttpInfo(ChangeUserIndustryInputModel changeUserIndustryInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiChangeMobile(ChangePhoneNumberInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiChangeMobileWithHttpInfo(ChangePhoneNumberInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiChangePassword(ChangeUserPasswordInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiChangePasswordWithHttpInfo(ChangeUserPasswordInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiChangeProfession(ChangeUserProfessionInputModel changeUserProfessionInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiChangeProfessionWithHttpInfo(ChangeUserProfessionInputModel changeUserProfessionInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiChangeRealName(ChangeUserRealNameInputModel changeUserRealNameInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiChangeRealNameWithHttpInfo(ChangeUserRealNameInputModel changeUserRealNameInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiChangeRegion(RegionInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiChangeRegionWithHttpInfo(RegionInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// AppVersionViewModel AppVersionViewModel AccountApiCheckApiVersionAsync(string deviceType); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of AppVersionViewModel ApiResponse AccountApiCheckApiVersionAsyncWithHttpInfo(string deviceType); /// /// /// /// /// /// /// Thrown when fails to make API call /// BoolViewModel BoolViewModel AccountApiCheckFht1AccountIsGuided(); /// /// /// /// /// /// /// Thrown when fails to make API call /// ApiResponse of BoolViewModel ApiResponse AccountApiCheckFht1AccountIsGuidedWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// CheckAccountRegisteredViewModel CheckAccountRegisteredViewModel AccountApiCheckFht1MobileRegistered(AccountInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of CheckAccountRegisteredViewModel ApiResponse AccountApiCheckFht1MobileRegisteredWithHttpInfo(AccountInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// BoolViewModel BoolViewModel AccountApiCheckIfAccountExists(string userName); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of BoolViewModel ApiResponse AccountApiCheckIfAccountExistsWithHttpInfo(string userName); /// /// /// /// /// /// /// Thrown when fails to make API call /// UserAndCompanyIsvalidViewModel UserAndCompanyIsvalidViewModel AccountApiCheckUserAndCompanyIsValidAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// ApiResponse of UserAndCompanyIsvalidViewModel ApiResponse AccountApiCheckUserAndCompanyIsValidAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiCreateVerifyCode(CreateSmsVerificationCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiCreateVerifyCodeWithHttpInfo(CreateSmsVerificationCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// List<UserDefaultAvatarsViewModel> List AccountApiDefaultAvatars(); /// /// /// /// /// /// /// Thrown when fails to make API call /// ApiResponse of List<UserDefaultAvatarsViewModel> ApiResponse> AccountApiDefaultAvatarsWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// bool? bool? AccountApiFindPassword(FindUserPasswordInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of bool? ApiResponse AccountApiFindPasswordWithHttpInfo(FindUserPasswordInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// MobileViewModel MobileViewModel AccountApiGetMobile(); /// /// /// /// /// /// /// Thrown when fails to make API call /// ApiResponse of MobileViewModel ApiResponse AccountApiGetMobileWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// PreferenceViewModel PreferenceViewModel AccountApiGetPreferenceAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// ApiResponse of PreferenceViewModel ApiResponse AccountApiGetPreferenceAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// MyProfileViewModel MyProfileViewModel AccountApiGetProfileAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// ApiResponse of MyProfileViewModel ApiResponse AccountApiGetProfileAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// List<UserContactListViewModel> List AccountApiGetUserContactList(); /// /// /// /// /// /// /// Thrown when fails to make API call /// ApiResponse of List<UserContactListViewModel> ApiResponse> AccountApiGetUserContactListWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// UserFriendStatusViewModel UserFriendStatusViewModel AccountApiGetUserStatus(int? userId); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of UserFriendStatusViewModel ApiResponse AccountApiGetUserStatusWithHttpInfo(int? userId); /// /// /// /// /// /// /// Thrown when fails to make API call /// void AccountApiMobileVisibledDisabled(); /// /// /// /// /// /// /// Thrown when fails to make API call /// ApiResponse of Object(void) ApiResponse AccountApiMobileVisibledDisabledWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// void AccountApiMobileVisibledEnabled(); /// /// /// /// /// /// /// Thrown when fails to make API call /// ApiResponse of Object(void) ApiResponse AccountApiMobileVisibledEnabledWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// The requested API version (optional, default to 1.0) /// Object object AccountApiOptions(string apiVersion = null); /// /// /// /// /// /// /// Thrown when fails to make API call /// The requested API version (optional, default to 1.0) /// ApiResponse of Object ApiResponse AccountApiOptionsWithHttpInfo(string apiVersion = null); /// /// /// /// /// /// /// Thrown when fails to make API call /// (optional) /// (optional) /// void AccountApiPing(double? longitude = null, double? latitude = null); /// /// /// /// /// /// /// Thrown when fails to make API call /// (optional) /// (optional) /// ApiResponse of Object(void) ApiResponse AccountApiPingWithHttpInfo(double? longitude = null, double? latitude = null); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiRegister(AccountRegisterInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiRegisterWithHttpInfo(AccountRegisterInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiResetAccount(ChangeFht1AccountApiInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiResetAccountWithHttpInfo(ChangeFht1AccountApiInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiTemporaryChatPreference(ChangeTemporaryChatPreferenceInputModel temporaryChatPreference); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiTemporaryChatPreferenceWithHttpInfo(ChangeTemporaryChatPreferenceInputModel temporaryChatPreference); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// void AccountApiUploadUserContactList(UserContactListInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse AccountApiUploadUserContactListWithHttpInfo(UserContactListInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// BoolViewModel BoolViewModel AccountApiVerifyAccountAndSmsCode(VerifyCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of BoolViewModel ApiResponse AccountApiVerifyAccountAndSmsCodeWithHttpInfo(VerifyCodeInputModel model); #endregion Synchronous Operations #region Asynchronous Operations /// /// /// /// /// /// /// Thrown when fails to make API call /// /// /// /// /// /// /// /// /// /// Task of int? System.Threading.Tasks.Task AccountApiAgentRegisterClientAccountAsyncAsync(string mobile, string realName, int? gender, string profession, int? industryId, int? secondLevelId, bool? isMobileUser, string ipAddress, string password); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// /// /// /// /// /// /// /// /// Task of ApiResponse (int?) System.Threading.Tasks.Task> AccountApiAgentRegisterClientAccountAsyncAsyncWithHttpInfo(string mobile, string realName, int? gender, string profession, int? industryId, int? secondLevelId, bool? isMobileUser, string ipAddress, string password); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiChangeAvatarUrlAsync(ChangeUserAvatarUrlInputModel changeUserAvatarUrlInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangeAvatarUrlAsyncWithHttpInfo(ChangeUserAvatarUrlInputModel changeUserAvatarUrlInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiChangeBirthYearAsync(BirthYearInputModel birthYearInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangeBirthYearAsyncWithHttpInfo(BirthYearInputModel birthYearInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// 手机号码 /// Task of void System.Threading.Tasks.Task AccountApiChangeFht1AccountVerifyCodeAsync(CreateSmsVerificationCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// 手机号码 /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangeFht1AccountVerifyCodeAsyncWithHttpInfo(CreateSmsVerificationCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiChangeGenderAsync(ChangeUserGenderInputModel changeUserGenderInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangeGenderAsyncWithHttpInfo(ChangeUserGenderInputModel changeUserGenderInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiChangeIndustryAsync(ChangeUserIndustryInputModel changeUserIndustryInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangeIndustryAsyncWithHttpInfo(ChangeUserIndustryInputModel changeUserIndustryInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiChangeMobileAsync(ChangePhoneNumberInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangeMobileAsyncWithHttpInfo(ChangePhoneNumberInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiChangePasswordAsync(ChangeUserPasswordInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangePasswordAsyncWithHttpInfo(ChangeUserPasswordInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiChangeProfessionAsync(ChangeUserProfessionInputModel changeUserProfessionInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangeProfessionAsyncWithHttpInfo(ChangeUserProfessionInputModel changeUserProfessionInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiChangeRealNameAsync(ChangeUserRealNameInputModel changeUserRealNameInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangeRealNameAsyncWithHttpInfo(ChangeUserRealNameInputModel changeUserRealNameInputModel); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiChangeRegionAsync(RegionInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiChangeRegionAsyncWithHttpInfo(RegionInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of AppVersionViewModel System.Threading.Tasks.Task AccountApiCheckApiVersionAsyncAsync(string deviceType); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (AppVersionViewModel) System.Threading.Tasks.Task> AccountApiCheckApiVersionAsyncAsyncWithHttpInfo(string deviceType); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of BoolViewModel System.Threading.Tasks.Task AccountApiCheckFht1AccountIsGuidedAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (BoolViewModel) System.Threading.Tasks.Task> AccountApiCheckFht1AccountIsGuidedAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of CheckAccountRegisteredViewModel System.Threading.Tasks.Task AccountApiCheckFht1MobileRegisteredAsync(AccountInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (CheckAccountRegisteredViewModel) System.Threading.Tasks.Task> AccountApiCheckFht1MobileRegisteredAsyncWithHttpInfo(AccountInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of BoolViewModel System.Threading.Tasks.Task AccountApiCheckIfAccountExistsAsync(string userName); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (BoolViewModel) System.Threading.Tasks.Task> AccountApiCheckIfAccountExistsAsyncWithHttpInfo(string userName); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of UserAndCompanyIsvalidViewModel System.Threading.Tasks.Task AccountApiCheckUserAndCompanyIsValidAsyncAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (UserAndCompanyIsvalidViewModel) System.Threading.Tasks.Task> AccountApiCheckUserAndCompanyIsValidAsyncAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiCreateVerifyCodeAsync(CreateSmsVerificationCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiCreateVerifyCodeAsyncWithHttpInfo(CreateSmsVerificationCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of List<UserDefaultAvatarsViewModel> System.Threading.Tasks.Task> AccountApiDefaultAvatarsAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (List<UserDefaultAvatarsViewModel>) System.Threading.Tasks.Task>> AccountApiDefaultAvatarsAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of bool? System.Threading.Tasks.Task AccountApiFindPasswordAsync(FindUserPasswordInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (bool?) System.Threading.Tasks.Task> AccountApiFindPasswordAsyncWithHttpInfo(FindUserPasswordInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of MobileViewModel System.Threading.Tasks.Task AccountApiGetMobileAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (MobileViewModel) System.Threading.Tasks.Task> AccountApiGetMobileAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of PreferenceViewModel System.Threading.Tasks.Task AccountApiGetPreferenceAsyncAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (PreferenceViewModel) System.Threading.Tasks.Task> AccountApiGetPreferenceAsyncAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of MyProfileViewModel System.Threading.Tasks.Task AccountApiGetProfileAsyncAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (MyProfileViewModel) System.Threading.Tasks.Task> AccountApiGetProfileAsyncAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of List<UserContactListViewModel> System.Threading.Tasks.Task> AccountApiGetUserContactListAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (List<UserContactListViewModel>) System.Threading.Tasks.Task>> AccountApiGetUserContactListAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of UserFriendStatusViewModel System.Threading.Tasks.Task AccountApiGetUserStatusAsync(int? userId); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (UserFriendStatusViewModel) System.Threading.Tasks.Task> AccountApiGetUserStatusAsyncWithHttpInfo(int? userId); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of void System.Threading.Tasks.Task AccountApiMobileVisibledDisabledAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiMobileVisibledDisabledAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of void System.Threading.Tasks.Task AccountApiMobileVisibledEnabledAsync(); /// /// /// /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiMobileVisibledEnabledAsyncWithHttpInfo(); /// /// /// /// /// /// /// Thrown when fails to make API call /// The requested API version (optional, default to 1.0) /// Task of Object System.Threading.Tasks.Task AccountApiOptionsAsync(string apiVersion = null); /// /// /// /// /// /// /// Thrown when fails to make API call /// The requested API version (optional, default to 1.0) /// Task of ApiResponse (Object) System.Threading.Tasks.Task> AccountApiOptionsAsyncWithHttpInfo(string apiVersion = null); /// /// /// /// /// /// /// Thrown when fails to make API call /// (optional) /// (optional) /// Task of void System.Threading.Tasks.Task AccountApiPingAsync(double? longitude = null, double? latitude = null); /// /// /// /// /// /// /// Thrown when fails to make API call /// (optional) /// (optional) /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiPingAsyncWithHttpInfo(double? longitude = null, double? latitude = null); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiRegisterAsync(AccountRegisterInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiRegisterAsyncWithHttpInfo(AccountRegisterInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiResetAccountAsync(ChangeFht1AccountApiInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiResetAccountAsyncWithHttpInfo(ChangeFht1AccountApiInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiTemporaryChatPreferenceAsync(ChangeTemporaryChatPreferenceInputModel temporaryChatPreference); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiTemporaryChatPreferenceAsyncWithHttpInfo(ChangeTemporaryChatPreferenceInputModel temporaryChatPreference); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of void System.Threading.Tasks.Task AccountApiUploadUserContactListAsync(UserContactListInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse System.Threading.Tasks.Task> AccountApiUploadUserContactListAsyncWithHttpInfo(UserContactListInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of BoolViewModel System.Threading.Tasks.Task AccountApiVerifyAccountAndSmsCodeAsync(VerifyCodeInputModel model); /// /// /// /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (BoolViewModel) System.Threading.Tasks.Task> AccountApiVerifyAccountAndSmsCodeAsyncWithHttpInfo(VerifyCodeInputModel model); #endregion Asynchronous Operations } /// /// Represents a collection of functions to interact with the API endpoints /// public partial class AccountApiApi : IAccountApiApi { private IO.Swagger.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class /// using Configuration object /// /// An instance of Configuration /// public AccountApiApi(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 /// /// /// /// /// /// /// /// /// /// int? public int? AccountApiAgentRegisterClientAccountAsync(string mobile, string realName, int? gender, string profession, int? industryId, int? secondLevelId, bool? isMobileUser, string ipAddress, string password) { ApiResponse localVarResponse = AccountApiAgentRegisterClientAccountAsyncWithHttpInfo(mobile, realName, gender, profession, industryId, secondLevelId, isMobileUser, ipAddress, password); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// /// /// /// /// /// /// /// /// ApiResponse of int? public ApiResponse AccountApiAgentRegisterClientAccountAsyncWithHttpInfo(string mobile, string realName, int? gender, string profession, int? industryId, int? secondLevelId, bool? isMobileUser, string ipAddress, string password) { // verify the required parameter 'mobile' is set if (mobile == null) throw new ApiException(400, "Missing required parameter 'mobile' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'realName' is set if (realName == null) throw new ApiException(400, "Missing required parameter 'realName' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'gender' is set if (gender == null) throw new ApiException(400, "Missing required parameter 'gender' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'profession' is set if (profession == null) throw new ApiException(400, "Missing required parameter 'profession' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'industryId' is set if (industryId == null) throw new ApiException(400, "Missing required parameter 'industryId' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'secondLevelId' is set if (secondLevelId == null) throw new ApiException(400, "Missing required parameter 'secondLevelId' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'isMobileUser' is set if (isMobileUser == null) throw new ApiException(400, "Missing required parameter 'isMobileUser' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'ipAddress' is set if (ipAddress == null) throw new ApiException(400, "Missing required parameter 'ipAddress' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'password' is set if (password == null) throw new ApiException(400, "Missing required parameter 'password' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); string localVarPath = "/v1/_agentregisterclientaccount"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (mobile != null) localVarQueryParams.Add("mobile", Configuration.ApiClient.ParameterToString(mobile)); // query parameter if (realName != null) localVarQueryParams.Add("realName", Configuration.ApiClient.ParameterToString(realName)); // query parameter if (gender != null) localVarQueryParams.Add("gender", Configuration.ApiClient.ParameterToString(gender)); // query parameter if (profession != null) localVarQueryParams.Add("profession", Configuration.ApiClient.ParameterToString(profession)); // query parameter if (industryId != null) localVarQueryParams.Add("industryId", Configuration.ApiClient.ParameterToString(industryId)); // query parameter if (secondLevelId != null) localVarQueryParams.Add("secondLevelId", Configuration.ApiClient.ParameterToString(secondLevelId)); // query parameter if (isMobileUser != null) localVarQueryParams.Add("isMobileUser", Configuration.ApiClient.ParameterToString(isMobileUser)); // query parameter if (ipAddress != null) localVarQueryParams.Add("ipAddress", Configuration.ApiClient.ParameterToString(ipAddress)); // query parameter if (password != null) localVarQueryParams.Add("password", Configuration.ApiClient.ParameterToString(password)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiAgentRegisterClientAccountAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (int?)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(int?))); } /// /// /// /// Thrown when fails to make API call /// /// /// /// /// /// /// /// /// /// Task of int? public async System.Threading.Tasks.Task AccountApiAgentRegisterClientAccountAsyncAsync(string mobile, string realName, int? gender, string profession, int? industryId, int? secondLevelId, bool? isMobileUser, string ipAddress, string password) { ApiResponse localVarResponse = await AccountApiAgentRegisterClientAccountAsyncAsyncWithHttpInfo(mobile, realName, gender, profession, industryId, secondLevelId, isMobileUser, ipAddress, password); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// /// /// /// /// /// /// /// /// Task of ApiResponse (int?) public async System.Threading.Tasks.Task> AccountApiAgentRegisterClientAccountAsyncAsyncWithHttpInfo(string mobile, string realName, int? gender, string profession, int? industryId, int? secondLevelId, bool? isMobileUser, string ipAddress, string password) { // verify the required parameter 'mobile' is set if (mobile == null) throw new ApiException(400, "Missing required parameter 'mobile' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'realName' is set if (realName == null) throw new ApiException(400, "Missing required parameter 'realName' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'gender' is set if (gender == null) throw new ApiException(400, "Missing required parameter 'gender' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'profession' is set if (profession == null) throw new ApiException(400, "Missing required parameter 'profession' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'industryId' is set if (industryId == null) throw new ApiException(400, "Missing required parameter 'industryId' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'secondLevelId' is set if (secondLevelId == null) throw new ApiException(400, "Missing required parameter 'secondLevelId' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'isMobileUser' is set if (isMobileUser == null) throw new ApiException(400, "Missing required parameter 'isMobileUser' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'ipAddress' is set if (ipAddress == null) throw new ApiException(400, "Missing required parameter 'ipAddress' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); // verify the required parameter 'password' is set if (password == null) throw new ApiException(400, "Missing required parameter 'password' when calling AccountApiApi->AccountApiAgentRegisterClientAccountAsync"); string localVarPath = "/v1/_agentregisterclientaccount"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (mobile != null) localVarQueryParams.Add("mobile", Configuration.ApiClient.ParameterToString(mobile)); // query parameter if (realName != null) localVarQueryParams.Add("realName", Configuration.ApiClient.ParameterToString(realName)); // query parameter if (gender != null) localVarQueryParams.Add("gender", Configuration.ApiClient.ParameterToString(gender)); // query parameter if (profession != null) localVarQueryParams.Add("profession", Configuration.ApiClient.ParameterToString(profession)); // query parameter if (industryId != null) localVarQueryParams.Add("industryId", Configuration.ApiClient.ParameterToString(industryId)); // query parameter if (secondLevelId != null) localVarQueryParams.Add("secondLevelId", Configuration.ApiClient.ParameterToString(secondLevelId)); // query parameter if (isMobileUser != null) localVarQueryParams.Add("isMobileUser", Configuration.ApiClient.ParameterToString(isMobileUser)); // query parameter if (ipAddress != null) localVarQueryParams.Add("ipAddress", Configuration.ApiClient.ParameterToString(ipAddress)); // query parameter if (password != null) localVarQueryParams.Add("password", Configuration.ApiClient.ParameterToString(password)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiAgentRegisterClientAccountAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (int?)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(int?))); } /// /// /// /// Thrown when fails to make API call /// /// public void AccountApiChangeAvatarUrl(ChangeUserAvatarUrlInputModel changeUserAvatarUrlInputModel) { AccountApiChangeAvatarUrlWithHttpInfo(changeUserAvatarUrlInputModel); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiChangeAvatarUrlWithHttpInfo(ChangeUserAvatarUrlInputModel changeUserAvatarUrlInputModel) { // verify the required parameter 'changeUserAvatarUrlInputModel' is set if (changeUserAvatarUrlInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserAvatarUrlInputModel' when calling AccountApiApi->AccountApiChangeAvatarUrl"); string localVarPath = "/v1/account/profile/avatarUrl"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserAvatarUrlInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeAvatarUrl", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiChangeAvatarUrlAsync(ChangeUserAvatarUrlInputModel changeUserAvatarUrlInputModel) { await AccountApiChangeAvatarUrlAsyncWithHttpInfo(changeUserAvatarUrlInputModel); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangeAvatarUrlAsyncWithHttpInfo(ChangeUserAvatarUrlInputModel changeUserAvatarUrlInputModel) { // verify the required parameter 'changeUserAvatarUrlInputModel' is set if (changeUserAvatarUrlInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserAvatarUrlInputModel' when calling AccountApiApi->AccountApiChangeAvatarUrl"); string localVarPath = "/v1/account/profile/avatarUrl"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserAvatarUrlInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeAvatarUrl", 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 /// /// public void AccountApiChangeBirthYear(BirthYearInputModel birthYearInputModel) { AccountApiChangeBirthYearWithHttpInfo(birthYearInputModel); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiChangeBirthYearWithHttpInfo(BirthYearInputModel birthYearInputModel) { // verify the required parameter 'birthYearInputModel' is set if (birthYearInputModel == null) throw new ApiException(400, "Missing required parameter 'birthYearInputModel' when calling AccountApiApi->AccountApiChangeBirthYear"); string localVarPath = "/v1/account/profile/BirthYear"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(birthYearInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeBirthYear", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiChangeBirthYearAsync(BirthYearInputModel birthYearInputModel) { await AccountApiChangeBirthYearAsyncWithHttpInfo(birthYearInputModel); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangeBirthYearAsyncWithHttpInfo(BirthYearInputModel birthYearInputModel) { // verify the required parameter 'birthYearInputModel' is set if (birthYearInputModel == null) throw new ApiException(400, "Missing required parameter 'birthYearInputModel' when calling AccountApiApi->AccountApiChangeBirthYear"); string localVarPath = "/v1/account/profile/BirthYear"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(birthYearInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeBirthYear", 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 /// 手机号码 /// public void AccountApiChangeFht1AccountVerifyCode(CreateSmsVerificationCodeInputModel model) { AccountApiChangeFht1AccountVerifyCodeWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// 手机号码 /// ApiResponse of Object(void) public ApiResponse AccountApiChangeFht1AccountVerifyCodeWithHttpInfo(CreateSmsVerificationCodeInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiChangeFht1AccountVerifyCode"); string localVarPath = "/v1/account/_changefht1accountverifycode"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeFht1AccountVerifyCode", 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 /// 手机号码 /// Task of void public async System.Threading.Tasks.Task AccountApiChangeFht1AccountVerifyCodeAsync(CreateSmsVerificationCodeInputModel model) { await AccountApiChangeFht1AccountVerifyCodeAsyncWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// 手机号码 /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangeFht1AccountVerifyCodeAsyncWithHttpInfo(CreateSmsVerificationCodeInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiChangeFht1AccountVerifyCode"); string localVarPath = "/v1/account/_changefht1accountverifycode"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeFht1AccountVerifyCode", 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 /// /// public void AccountApiChangeGender(ChangeUserGenderInputModel changeUserGenderInputModel) { AccountApiChangeGenderWithHttpInfo(changeUserGenderInputModel); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiChangeGenderWithHttpInfo(ChangeUserGenderInputModel changeUserGenderInputModel) { // verify the required parameter 'changeUserGenderInputModel' is set if (changeUserGenderInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserGenderInputModel' when calling AccountApiApi->AccountApiChangeGender"); string localVarPath = "/v1/account/profile/gender"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserGenderInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeGender", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiChangeGenderAsync(ChangeUserGenderInputModel changeUserGenderInputModel) { await AccountApiChangeGenderAsyncWithHttpInfo(changeUserGenderInputModel); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangeGenderAsyncWithHttpInfo(ChangeUserGenderInputModel changeUserGenderInputModel) { // verify the required parameter 'changeUserGenderInputModel' is set if (changeUserGenderInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserGenderInputModel' when calling AccountApiApi->AccountApiChangeGender"); string localVarPath = "/v1/account/profile/gender"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserGenderInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeGender", 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 /// /// public void AccountApiChangeIndustry(ChangeUserIndustryInputModel changeUserIndustryInputModel) { AccountApiChangeIndustryWithHttpInfo(changeUserIndustryInputModel); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiChangeIndustryWithHttpInfo(ChangeUserIndustryInputModel changeUserIndustryInputModel) { // verify the required parameter 'changeUserIndustryInputModel' is set if (changeUserIndustryInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserIndustryInputModel' when calling AccountApiApi->AccountApiChangeIndustry"); string localVarPath = "/v1/account/profile/industry"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserIndustryInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeIndustry", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiChangeIndustryAsync(ChangeUserIndustryInputModel changeUserIndustryInputModel) { await AccountApiChangeIndustryAsyncWithHttpInfo(changeUserIndustryInputModel); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangeIndustryAsyncWithHttpInfo(ChangeUserIndustryInputModel changeUserIndustryInputModel) { // verify the required parameter 'changeUserIndustryInputModel' is set if (changeUserIndustryInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserIndustryInputModel' when calling AccountApiApi->AccountApiChangeIndustry"); string localVarPath = "/v1/account/profile/industry"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserIndustryInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeIndustry", 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 /// /// public void AccountApiChangeMobile(ChangePhoneNumberInputModel model) { AccountApiChangeMobileWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiChangeMobileWithHttpInfo(ChangePhoneNumberInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiChangeMobile"); string localVarPath = "/v1/account/_changeMobile"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeMobile", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiChangeMobileAsync(ChangePhoneNumberInputModel model) { await AccountApiChangeMobileAsyncWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangeMobileAsyncWithHttpInfo(ChangePhoneNumberInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiChangeMobile"); string localVarPath = "/v1/account/_changeMobile"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeMobile", 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 /// /// public void AccountApiChangePassword(ChangeUserPasswordInputModel model) { AccountApiChangePasswordWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiChangePasswordWithHttpInfo(ChangeUserPasswordInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiChangePassword"); string localVarPath = "/v1/account/password"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangePassword", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiChangePasswordAsync(ChangeUserPasswordInputModel model) { await AccountApiChangePasswordAsyncWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangePasswordAsyncWithHttpInfo(ChangeUserPasswordInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiChangePassword"); string localVarPath = "/v1/account/password"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangePassword", 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 /// /// public void AccountApiChangeProfession(ChangeUserProfessionInputModel changeUserProfessionInputModel) { AccountApiChangeProfessionWithHttpInfo(changeUserProfessionInputModel); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiChangeProfessionWithHttpInfo(ChangeUserProfessionInputModel changeUserProfessionInputModel) { // verify the required parameter 'changeUserProfessionInputModel' is set if (changeUserProfessionInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserProfessionInputModel' when calling AccountApiApi->AccountApiChangeProfession"); string localVarPath = "/v1/account/profile/profession"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserProfessionInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeProfession", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiChangeProfessionAsync(ChangeUserProfessionInputModel changeUserProfessionInputModel) { await AccountApiChangeProfessionAsyncWithHttpInfo(changeUserProfessionInputModel); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangeProfessionAsyncWithHttpInfo(ChangeUserProfessionInputModel changeUserProfessionInputModel) { // verify the required parameter 'changeUserProfessionInputModel' is set if (changeUserProfessionInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserProfessionInputModel' when calling AccountApiApi->AccountApiChangeProfession"); string localVarPath = "/v1/account/profile/profession"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserProfessionInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeProfession", 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 /// /// public void AccountApiChangeRealName(ChangeUserRealNameInputModel changeUserRealNameInputModel) { AccountApiChangeRealNameWithHttpInfo(changeUserRealNameInputModel); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiChangeRealNameWithHttpInfo(ChangeUserRealNameInputModel changeUserRealNameInputModel) { // verify the required parameter 'changeUserRealNameInputModel' is set if (changeUserRealNameInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserRealNameInputModel' when calling AccountApiApi->AccountApiChangeRealName"); string localVarPath = "/v1/account/profile/realName"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserRealNameInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeRealName", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiChangeRealNameAsync(ChangeUserRealNameInputModel changeUserRealNameInputModel) { await AccountApiChangeRealNameAsyncWithHttpInfo(changeUserRealNameInputModel); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangeRealNameAsyncWithHttpInfo(ChangeUserRealNameInputModel changeUserRealNameInputModel) { // verify the required parameter 'changeUserRealNameInputModel' is set if (changeUserRealNameInputModel == null) throw new ApiException(400, "Missing required parameter 'changeUserRealNameInputModel' when calling AccountApiApi->AccountApiChangeRealName"); string localVarPath = "/v1/account/profile/realName"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(changeUserRealNameInputModel); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeRealName", 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 /// /// public void AccountApiChangeRegion(RegionInputModel model) { AccountApiChangeRegionWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiChangeRegionWithHttpInfo(RegionInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiChangeRegion"); string localVarPath = "/v1/account/profile/region"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeRegion", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiChangeRegionAsync(RegionInputModel model) { await AccountApiChangeRegionAsyncWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiChangeRegionAsyncWithHttpInfo(RegionInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiChangeRegion"); string localVarPath = "/v1/account/profile/region"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiChangeRegion", 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 /// /// AppVersionViewModel public AppVersionViewModel AccountApiCheckApiVersionAsync(string deviceType) { ApiResponse localVarResponse = AccountApiCheckApiVersionAsyncWithHttpInfo(deviceType); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of AppVersionViewModel public ApiResponse AccountApiCheckApiVersionAsyncWithHttpInfo(string deviceType) { // verify the required parameter 'deviceType' is set if (deviceType == null) throw new ApiException(400, "Missing required parameter 'deviceType' when calling AccountApiApi->AccountApiCheckApiVersionAsync"); string localVarPath = "/v1/_checkApiVersion"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (deviceType != null) localVarQueryParams.Add("deviceType", Configuration.ApiClient.ParameterToString(deviceType)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckApiVersionAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (AppVersionViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(AppVersionViewModel))); } /// /// /// /// Thrown when fails to make API call /// /// Task of AppVersionViewModel public async System.Threading.Tasks.Task AccountApiCheckApiVersionAsyncAsync(string deviceType) { ApiResponse localVarResponse = await AccountApiCheckApiVersionAsyncAsyncWithHttpInfo(deviceType); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (AppVersionViewModel) public async System.Threading.Tasks.Task> AccountApiCheckApiVersionAsyncAsyncWithHttpInfo(string deviceType) { // verify the required parameter 'deviceType' is set if (deviceType == null) throw new ApiException(400, "Missing required parameter 'deviceType' when calling AccountApiApi->AccountApiCheckApiVersionAsync"); string localVarPath = "/v1/_checkApiVersion"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (deviceType != null) localVarQueryParams.Add("deviceType", Configuration.ApiClient.ParameterToString(deviceType)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckApiVersionAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (AppVersionViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(AppVersionViewModel))); } /// /// /// /// Thrown when fails to make API call /// BoolViewModel public BoolViewModel AccountApiCheckFht1AccountIsGuided() { ApiResponse localVarResponse = AccountApiCheckFht1AccountIsGuidedWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// ApiResponse of BoolViewModel public ApiResponse AccountApiCheckFht1AccountIsGuidedWithHttpInfo() { string localVarPath = "/v1/account/_checkfht1accountisguided"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckFht1AccountIsGuided", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (BoolViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(BoolViewModel))); } /// /// /// /// Thrown when fails to make API call /// Task of BoolViewModel public async System.Threading.Tasks.Task AccountApiCheckFht1AccountIsGuidedAsync() { ApiResponse localVarResponse = await AccountApiCheckFht1AccountIsGuidedAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (BoolViewModel) public async System.Threading.Tasks.Task> AccountApiCheckFht1AccountIsGuidedAsyncWithHttpInfo() { string localVarPath = "/v1/account/_checkfht1accountisguided"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckFht1AccountIsGuided", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (BoolViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(BoolViewModel))); } /// /// /// /// Thrown when fails to make API call /// /// CheckAccountRegisteredViewModel public CheckAccountRegisteredViewModel AccountApiCheckFht1MobileRegistered(AccountInputModel model) { ApiResponse localVarResponse = AccountApiCheckFht1MobileRegisteredWithHttpInfo(model); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of CheckAccountRegisteredViewModel public ApiResponse AccountApiCheckFht1MobileRegisteredWithHttpInfo(AccountInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiCheckFht1MobileRegistered"); string localVarPath = "/v1/account/_checkfht1mobileregistered"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckFht1MobileRegistered", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (CheckAccountRegisteredViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(CheckAccountRegisteredViewModel))); } /// /// /// /// Thrown when fails to make API call /// /// Task of CheckAccountRegisteredViewModel public async System.Threading.Tasks.Task AccountApiCheckFht1MobileRegisteredAsync(AccountInputModel model) { ApiResponse localVarResponse = await AccountApiCheckFht1MobileRegisteredAsyncWithHttpInfo(model); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (CheckAccountRegisteredViewModel) public async System.Threading.Tasks.Task> AccountApiCheckFht1MobileRegisteredAsyncWithHttpInfo(AccountInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiCheckFht1MobileRegistered"); string localVarPath = "/v1/account/_checkfht1mobileregistered"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckFht1MobileRegistered", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (CheckAccountRegisteredViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(CheckAccountRegisteredViewModel))); } /// /// /// /// Thrown when fails to make API call /// /// BoolViewModel public BoolViewModel AccountApiCheckIfAccountExists(string userName) { ApiResponse localVarResponse = AccountApiCheckIfAccountExistsWithHttpInfo(userName); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of BoolViewModel public ApiResponse AccountApiCheckIfAccountExistsWithHttpInfo(string userName) { // verify the required parameter 'userName' is set if (userName == null) throw new ApiException(400, "Missing required parameter 'userName' when calling AccountApiApi->AccountApiCheckIfAccountExists"); string localVarPath = "/v1/checkIfAccountExists"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (userName != null) localVarQueryParams.Add("userName", Configuration.ApiClient.ParameterToString(userName)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckIfAccountExists", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (BoolViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(BoolViewModel))); } /// /// /// /// Thrown when fails to make API call /// /// Task of BoolViewModel public async System.Threading.Tasks.Task AccountApiCheckIfAccountExistsAsync(string userName) { ApiResponse localVarResponse = await AccountApiCheckIfAccountExistsAsyncWithHttpInfo(userName); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (BoolViewModel) public async System.Threading.Tasks.Task> AccountApiCheckIfAccountExistsAsyncWithHttpInfo(string userName) { // verify the required parameter 'userName' is set if (userName == null) throw new ApiException(400, "Missing required parameter 'userName' when calling AccountApiApi->AccountApiCheckIfAccountExists"); string localVarPath = "/v1/checkIfAccountExists"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (userName != null) localVarQueryParams.Add("userName", Configuration.ApiClient.ParameterToString(userName)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckIfAccountExists", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (BoolViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(BoolViewModel))); } /// /// /// /// Thrown when fails to make API call /// UserAndCompanyIsvalidViewModel public UserAndCompanyIsvalidViewModel AccountApiCheckUserAndCompanyIsValidAsync() { ApiResponse localVarResponse = AccountApiCheckUserAndCompanyIsValidAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// ApiResponse of UserAndCompanyIsvalidViewModel public ApiResponse AccountApiCheckUserAndCompanyIsValidAsyncWithHttpInfo() { string localVarPath = "/v1/checkUserAndCompanyIsValid"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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" }; string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckUserAndCompanyIsValidAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (UserAndCompanyIsvalidViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(UserAndCompanyIsvalidViewModel))); } /// /// /// /// Thrown when fails to make API call /// Task of UserAndCompanyIsvalidViewModel public async System.Threading.Tasks.Task AccountApiCheckUserAndCompanyIsValidAsyncAsync() { ApiResponse localVarResponse = await AccountApiCheckUserAndCompanyIsValidAsyncAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (UserAndCompanyIsvalidViewModel) public async System.Threading.Tasks.Task> AccountApiCheckUserAndCompanyIsValidAsyncAsyncWithHttpInfo() { string localVarPath = "/v1/checkUserAndCompanyIsValid"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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" }; string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCheckUserAndCompanyIsValidAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (UserAndCompanyIsvalidViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(UserAndCompanyIsvalidViewModel))); } /// /// /// /// Thrown when fails to make API call /// /// public void AccountApiCreateVerifyCode(CreateSmsVerificationCodeInputModel model) { AccountApiCreateVerifyCodeWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiCreateVerifyCodeWithHttpInfo(CreateSmsVerificationCodeInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiCreateVerifyCode"); string localVarPath = "/v1/account/_createVerifyCode"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCreateVerifyCode", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiCreateVerifyCodeAsync(CreateSmsVerificationCodeInputModel model) { await AccountApiCreateVerifyCodeAsyncWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiCreateVerifyCodeAsyncWithHttpInfo(CreateSmsVerificationCodeInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiCreateVerifyCode"); string localVarPath = "/v1/account/_createVerifyCode"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiCreateVerifyCode", 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 /// List<UserDefaultAvatarsViewModel> public List AccountApiDefaultAvatars() { ApiResponse> localVarResponse = AccountApiDefaultAvatarsWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// ApiResponse of List<UserDefaultAvatarsViewModel> public ApiResponse> AccountApiDefaultAvatarsWithHttpInfo() { string localVarPath = "/v1/DefaultAvatars"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiDefaultAvatars", localVarResponse); if (exception != null) throw exception; } return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (List)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(List))); } /// /// /// /// Thrown when fails to make API call /// Task of List<UserDefaultAvatarsViewModel> public async System.Threading.Tasks.Task> AccountApiDefaultAvatarsAsync() { ApiResponse> localVarResponse = await AccountApiDefaultAvatarsAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (List<UserDefaultAvatarsViewModel>) public async System.Threading.Tasks.Task>> AccountApiDefaultAvatarsAsyncWithHttpInfo() { string localVarPath = "/v1/DefaultAvatars"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiDefaultAvatars", localVarResponse); if (exception != null) throw exception; } return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (List)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(List))); } /// /// /// /// Thrown when fails to make API call /// /// bool? public bool? AccountApiFindPassword(FindUserPasswordInputModel model) { ApiResponse localVarResponse = AccountApiFindPasswordWithHttpInfo(model); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of bool? public ApiResponse AccountApiFindPasswordWithHttpInfo(FindUserPasswordInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiFindPassword"); string localVarPath = "/v1/account/_findPassword"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiFindPassword", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (bool?)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(bool?))); } /// /// /// /// Thrown when fails to make API call /// /// Task of bool? public async System.Threading.Tasks.Task AccountApiFindPasswordAsync(FindUserPasswordInputModel model) { ApiResponse localVarResponse = await AccountApiFindPasswordAsyncWithHttpInfo(model); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (bool?) public async System.Threading.Tasks.Task> AccountApiFindPasswordAsyncWithHttpInfo(FindUserPasswordInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiFindPassword"); string localVarPath = "/v1/account/_findPassword"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiFindPassword", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (bool?)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(bool?))); } /// /// /// /// Thrown when fails to make API call /// MobileViewModel public MobileViewModel AccountApiGetMobile() { ApiResponse localVarResponse = AccountApiGetMobileWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// ApiResponse of MobileViewModel public ApiResponse AccountApiGetMobileWithHttpInfo() { string localVarPath = "/v1/account/mobile"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetMobile", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (MobileViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(MobileViewModel))); } /// /// /// /// Thrown when fails to make API call /// Task of MobileViewModel public async System.Threading.Tasks.Task AccountApiGetMobileAsync() { ApiResponse localVarResponse = await AccountApiGetMobileAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (MobileViewModel) public async System.Threading.Tasks.Task> AccountApiGetMobileAsyncWithHttpInfo() { string localVarPath = "/v1/account/mobile"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetMobile", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (MobileViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(MobileViewModel))); } /// /// /// /// Thrown when fails to make API call /// PreferenceViewModel public PreferenceViewModel AccountApiGetPreferenceAsync() { ApiResponse localVarResponse = AccountApiGetPreferenceAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// ApiResponse of PreferenceViewModel public ApiResponse AccountApiGetPreferenceAsyncWithHttpInfo() { string localVarPath = "/v1/account/preference"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetPreferenceAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (PreferenceViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(PreferenceViewModel))); } /// /// /// /// Thrown when fails to make API call /// Task of PreferenceViewModel public async System.Threading.Tasks.Task AccountApiGetPreferenceAsyncAsync() { ApiResponse localVarResponse = await AccountApiGetPreferenceAsyncAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (PreferenceViewModel) public async System.Threading.Tasks.Task> AccountApiGetPreferenceAsyncAsyncWithHttpInfo() { string localVarPath = "/v1/account/preference"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetPreferenceAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (PreferenceViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(PreferenceViewModel))); } /// /// /// /// Thrown when fails to make API call /// MyProfileViewModel public MyProfileViewModel AccountApiGetProfileAsync() { ApiResponse localVarResponse = AccountApiGetProfileAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// ApiResponse of MyProfileViewModel public ApiResponse AccountApiGetProfileAsyncWithHttpInfo() { string localVarPath = "/v1/account/profile"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetProfileAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (MyProfileViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(MyProfileViewModel))); } /// /// /// /// Thrown when fails to make API call /// Task of MyProfileViewModel public async System.Threading.Tasks.Task AccountApiGetProfileAsyncAsync() { ApiResponse localVarResponse = await AccountApiGetProfileAsyncAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (MyProfileViewModel) public async System.Threading.Tasks.Task> AccountApiGetProfileAsyncAsyncWithHttpInfo() { string localVarPath = "/v1/account/profile"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetProfileAsync", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (MyProfileViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(MyProfileViewModel))); } /// /// /// /// Thrown when fails to make API call /// List<UserContactListViewModel> public List AccountApiGetUserContactList() { ApiResponse> localVarResponse = AccountApiGetUserContactListWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// ApiResponse of List<UserContactListViewModel> public ApiResponse> AccountApiGetUserContactListWithHttpInfo() { string localVarPath = "/v1/account/userContactList"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetUserContactList", localVarResponse); if (exception != null) throw exception; } return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (List)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(List))); } /// /// /// /// Thrown when fails to make API call /// Task of List<UserContactListViewModel> public async System.Threading.Tasks.Task> AccountApiGetUserContactListAsync() { ApiResponse> localVarResponse = await AccountApiGetUserContactListAsyncWithHttpInfo(); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse (List<UserContactListViewModel>) public async System.Threading.Tasks.Task>> AccountApiGetUserContactListAsyncWithHttpInfo() { string localVarPath = "/v1/account/userContactList"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetUserContactList", localVarResponse); if (exception != null) throw exception; } return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (List)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(List))); } /// /// /// /// Thrown when fails to make API call /// /// UserFriendStatusViewModel public UserFriendStatusViewModel AccountApiGetUserStatus(int? userId) { ApiResponse localVarResponse = AccountApiGetUserStatusWithHttpInfo(userId); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of UserFriendStatusViewModel public ApiResponse AccountApiGetUserStatusWithHttpInfo(int? userId) { // verify the required parameter 'userId' is set if (userId == null) throw new ApiException(400, "Missing required parameter 'userId' when calling AccountApiApi->AccountApiGetUserStatus"); string localVarPath = "/v1/users/{userId}/friendstatus"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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" }; string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetUserStatus", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (UserFriendStatusViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(UserFriendStatusViewModel))); } /// /// /// /// Thrown when fails to make API call /// /// Task of UserFriendStatusViewModel public async System.Threading.Tasks.Task AccountApiGetUserStatusAsync(int? userId) { ApiResponse localVarResponse = await AccountApiGetUserStatusAsyncWithHttpInfo(userId); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (UserFriendStatusViewModel) public async System.Threading.Tasks.Task> AccountApiGetUserStatusAsyncWithHttpInfo(int? userId) { // verify the required parameter 'userId' is set if (userId == null) throw new ApiException(400, "Missing required parameter 'userId' when calling AccountApiApi->AccountApiGetUserStatus"); string localVarPath = "/v1/users/{userId}/friendstatus"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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" }; string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiGetUserStatus", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (UserFriendStatusViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(UserFriendStatusViewModel))); } /// /// /// /// Thrown when fails to make API call /// public void AccountApiMobileVisibledDisabled() { AccountApiMobileVisibledDisabledWithHttpInfo(); } /// /// /// /// Thrown when fails to make API call /// ApiResponse of Object(void) public ApiResponse AccountApiMobileVisibledDisabledWithHttpInfo() { string localVarPath = "/v1/users/profile/mobileVisibledDisabled"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiMobileVisibledDisabled", 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 /// Task of void public async System.Threading.Tasks.Task AccountApiMobileVisibledDisabledAsync() { await AccountApiMobileVisibledDisabledAsyncWithHttpInfo(); } /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiMobileVisibledDisabledAsyncWithHttpInfo() { string localVarPath = "/v1/users/profile/mobileVisibledDisabled"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiMobileVisibledDisabled", 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 /// public void AccountApiMobileVisibledEnabled() { AccountApiMobileVisibledEnabledWithHttpInfo(); } /// /// /// /// Thrown when fails to make API call /// ApiResponse of Object(void) public ApiResponse AccountApiMobileVisibledEnabledWithHttpInfo() { string localVarPath = "/v1/users/profile/mobileVisibledEnabled"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiMobileVisibledEnabled", 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 /// Task of void public async System.Threading.Tasks.Task AccountApiMobileVisibledEnabledAsync() { await AccountApiMobileVisibledEnabledAsyncWithHttpInfo(); } /// /// /// /// Thrown when fails to make API call /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiMobileVisibledEnabledAsyncWithHttpInfo() { string localVarPath = "/v1/users/profile/mobileVisibledEnabled"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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 HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiMobileVisibledEnabled", 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 /// The requested API version (optional, default to 1.0) /// Object public object AccountApiOptions(string apiVersion = null) { ApiResponse localVarResponse = AccountApiOptionsWithHttpInfo(apiVersion); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// The requested API version (optional, default to 1.0) /// ApiResponse of Object public ApiResponse AccountApiOptionsWithHttpInfo(string apiVersion = null) { string localVarPath = "/api/versions"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (apiVersion != null) localVarQueryParams.Add("api-version", Configuration.ApiClient.ParameterToString(apiVersion)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "OPTIONS", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiOptions", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (object)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(object))); } /// /// /// /// Thrown when fails to make API call /// The requested API version (optional, default to 1.0) /// Task of Object public async System.Threading.Tasks.Task AccountApiOptionsAsync(string apiVersion = null) { ApiResponse localVarResponse = await AccountApiOptionsAsyncWithHttpInfo(apiVersion); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// The requested API version (optional, default to 1.0) /// Task of ApiResponse (Object) public async System.Threading.Tasks.Task> AccountApiOptionsAsyncWithHttpInfo(string apiVersion = null) { string localVarPath = "/api/versions"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (apiVersion != null) localVarQueryParams.Add("api-version", Configuration.ApiClient.ParameterToString(apiVersion)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "OPTIONS", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiOptions", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (object)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(object))); } /// /// /// /// Thrown when fails to make API call /// (optional) /// (optional) /// public void AccountApiPing(double? longitude = null, double? latitude = null) { AccountApiPingWithHttpInfo(longitude, latitude); } /// /// /// /// Thrown when fails to make API call /// (optional) /// (optional) /// ApiResponse of Object(void) public ApiResponse AccountApiPingWithHttpInfo(double? longitude = null, double? latitude = null) { string localVarPath = "/v1/_ping"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (longitude != null) localVarQueryParams.Add("longitude", Configuration.ApiClient.ParameterToString(longitude)); // query parameter if (latitude != null) localVarQueryParams.Add("latitude", Configuration.ApiClient.ParameterToString(latitude)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiPing", 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 /// (optional) /// (optional) /// Task of void public async System.Threading.Tasks.Task AccountApiPingAsync(double? longitude = null, double? latitude = null) { await AccountApiPingAsyncWithHttpInfo(longitude, latitude); } /// /// /// /// Thrown when fails to make API call /// (optional) /// (optional) /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiPingAsyncWithHttpInfo(double? longitude = null, double? latitude = null) { string localVarPath = "/v1/_ping"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary 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); if (longitude != null) localVarQueryParams.Add("longitude", Configuration.ApiClient.ParameterToString(longitude)); // query parameter if (latitude != null) localVarQueryParams.Add("latitude", Configuration.ApiClient.ParameterToString(latitude)); // query parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiPing", 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 /// /// public void AccountApiRegister(AccountRegisterInputModel model) { AccountApiRegisterWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiRegisterWithHttpInfo(AccountRegisterInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiRegister"); string localVarPath = "/v1/account/_register"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiRegister", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiRegisterAsync(AccountRegisterInputModel model) { await AccountApiRegisterAsyncWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiRegisterAsyncWithHttpInfo(AccountRegisterInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiRegister"); string localVarPath = "/v1/account/_register"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiRegister", 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 /// /// public void AccountApiResetAccount(ChangeFht1AccountApiInputModel model) { AccountApiResetAccountWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiResetAccountWithHttpInfo(ChangeFht1AccountApiInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiResetAccount"); string localVarPath = "/v1/account/_resetaccount"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiResetAccount", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiResetAccountAsync(ChangeFht1AccountApiInputModel model) { await AccountApiResetAccountAsyncWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiResetAccountAsyncWithHttpInfo(ChangeFht1AccountApiInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiResetAccount"); string localVarPath = "/v1/account/_resetaccount"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiResetAccount", 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 /// /// public void AccountApiTemporaryChatPreference(ChangeTemporaryChatPreferenceInputModel temporaryChatPreference) { AccountApiTemporaryChatPreferenceWithHttpInfo(temporaryChatPreference); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiTemporaryChatPreferenceWithHttpInfo(ChangeTemporaryChatPreferenceInputModel temporaryChatPreference) { // verify the required parameter 'temporaryChatPreference' is set if (temporaryChatPreference == null) throw new ApiException(400, "Missing required parameter 'temporaryChatPreference' when calling AccountApiApi->AccountApiTemporaryChatPreference"); string localVarPath = "/v1/users/profile/temporaryChatPreference"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(temporaryChatPreference); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiTemporaryChatPreference", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiTemporaryChatPreferenceAsync(ChangeTemporaryChatPreferenceInputModel temporaryChatPreference) { await AccountApiTemporaryChatPreferenceAsyncWithHttpInfo(temporaryChatPreference); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiTemporaryChatPreferenceAsyncWithHttpInfo(ChangeTemporaryChatPreferenceInputModel temporaryChatPreference) { // verify the required parameter 'temporaryChatPreference' is set if (temporaryChatPreference == null) throw new ApiException(400, "Missing required parameter 'temporaryChatPreference' when calling AccountApiApi->AccountApiTemporaryChatPreference"); string localVarPath = "/v1/users/profile/temporaryChatPreference"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(temporaryChatPreference); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiTemporaryChatPreference", 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 /// /// public void AccountApiUploadUserContactList(UserContactListInputModel model) { AccountApiUploadUserContactListWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of Object(void) public ApiResponse AccountApiUploadUserContactListWithHttpInfo(UserContactListInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiUploadUserContactList"); string localVarPath = "/v1/account/userContactList"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiUploadUserContactList", 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 /// /// Task of void public async System.Threading.Tasks.Task AccountApiUploadUserContactListAsync(UserContactListInputModel model) { await AccountApiUploadUserContactListAsyncWithHttpInfo(model); } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse public async System.Threading.Tasks.Task> AccountApiUploadUserContactListAsyncWithHttpInfo(UserContactListInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiUploadUserContactList"); string localVarPath = "/v1/account/userContactList"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiUploadUserContactList", 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 /// /// BoolViewModel public BoolViewModel AccountApiVerifyAccountAndSmsCode(VerifyCodeInputModel model) { ApiResponse localVarResponse = AccountApiVerifyAccountAndSmsCodeWithHttpInfo(model); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// ApiResponse of BoolViewModel public ApiResponse AccountApiVerifyAccountAndSmsCodeWithHttpInfo(VerifyCodeInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiVerifyAccountAndSmsCode"); string localVarPath = "/v1/account/_verifyAccountAndSmsCode"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = Configuration.ApiClient.CallApi(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiVerifyAccountAndSmsCode", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (BoolViewModel)Configuration.ApiClient.Deserialize(localVarResponse.Content.ReadAsStringAsync().Result, typeof(BoolViewModel))); } /// /// /// /// Thrown when fails to make API call /// /// Task of BoolViewModel public async System.Threading.Tasks.Task AccountApiVerifyAccountAndSmsCodeAsync(VerifyCodeInputModel model) { ApiResponse localVarResponse = await AccountApiVerifyAccountAndSmsCodeAsyncWithHttpInfo(model); return localVarResponse.Data; } /// /// /// /// Thrown when fails to make API call /// /// Task of ApiResponse (BoolViewModel) public async System.Threading.Tasks.Task> AccountApiVerifyAccountAndSmsCodeAsyncWithHttpInfo(VerifyCodeInputModel model) { // verify the required parameter 'model' is set if (model == null) throw new ApiException(400, "Missing required parameter 'model' when calling AccountApiApi->AccountApiVerifyAccountAndSmsCode"); string localVarPath = "/v1/account/_verifyAccountAndSmsCode"; Dictionary localVarQueryParams = new Dictionary(); Dictionary localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); Dictionary localVarFormParams = new Dictionary(); string localVarPostBody = null; // to determine the Content-Type header string[] localVarHttpContentTypes = new string[] { "application/vnd.fht360.enumAsString+json", "application/vnd.fht360.preserveCircularReference+json", "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; 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); localVarPostBody = Configuration.ApiClient.Serialize(model); // http body (model) parameter // make the HTTP request HttpResponseMessage localVarResponse = await Configuration.ApiClient.CallApiAsync(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("AccountApiVerifyAccountAndSmsCode", localVarResponse); if (exception != null) throw exception; } return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), (BoolViewModel)Configuration.ApiClient.Deserialize(await localVarResponse.Content.ReadAsStringAsync(), typeof(BoolViewModel))); } } }