/// <summary>
        ///  Used to retrieve the available Activation Methods for a token that is awaiting activation. Activation Methods are the means by which a cardholder may complete cardholder authentication with the issuer beyond the scope of MDES. It is possible that there are no Activation Methods for a token when an issuer did not provide any cardholder-specific information with the Tokenization Authorization Request (TAR) pre-digitization network message response. 
        /// </summary>
        /// <exception cref="YourApp.MdesCustomerClient.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="tokenActivationMethodsRequestSchema">Contains the details of the request message. (optional)</param>
        /// <returns>Task of ApiResponse (TokenActivationMethodsResponseSchema)</returns>
        public async System.Threading.Tasks.Task<ApiResponse<TokenActivationMethodsResponseSchema>> TokenActivationmethodsPostAsyncWithHttpInfo (TokenActivationMethodsRequestSchema tokenActivationMethodsRequestSchema = null)
        {

            var localVarPath = "/token/activationmethods";
            var localVarPathParams = new Dictionary<String, String>();
            var localVarQueryParams = new List<KeyValuePair<String, String>>();
            var localVarHeaderParams = new Dictionary<String, String>(this.Configuration.DefaultHeader);
            var localVarFormParams = new Dictionary<String, String>();
            var localVarFileParams = new Dictionary<String, FileParameter>();
            Object localVarPostBody = null;

            // to determine the Content-Type header
            String[] localVarHttpContentTypes = new String[] {
                "application/json"
            };
            String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);

            // to determine the Accept header
            String[] localVarHttpHeaderAccepts = new String[] {
                "application/json"
            };
            String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
            if (localVarHttpHeaderAccept != null)
                localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);

            if (tokenActivationMethodsRequestSchema != null && tokenActivationMethodsRequestSchema.GetType() != typeof(byte[]))
            {
                localVarPostBody = this.Configuration.ApiClient.Serialize(tokenActivationMethodsRequestSchema); // http body (model) parameter
            }
            else
            {
                localVarPostBody = tokenActivationMethodsRequestSchema; // byte array
            }


            // make the HTTP request
            IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath,
                Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
                localVarPathParams, localVarHttpContentType);

            int localVarStatusCode = (int) localVarResponse.StatusCode;

            if (ExceptionFactory != null)
            {
                Exception exception = ExceptionFactory("TokenActivationmethodsPost", localVarResponse);
                if (exception != null) throw exception;
            }

            return new ApiResponse<TokenActivationMethodsResponseSchema>(localVarStatusCode,
                localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
                (TokenActivationMethodsResponseSchema) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(TokenActivationMethodsResponseSchema)));
        }
        /// <summary>
        ///  Used to retrieve the available Activation Methods for a token that is awaiting activation. Activation Methods are the means by which a cardholder may complete cardholder authentication with the issuer beyond the scope of MDES. It is possible that there are no Activation Methods for a token when an issuer did not provide any cardholder-specific information with the Tokenization Authorization Request (TAR) pre-digitization network message response. 
        /// </summary>
        /// <exception cref="YourApp.MdesCustomerClient.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="tokenActivationMethodsRequestSchema">Contains the details of the request message. (optional)</param>
        /// <returns>Task of TokenActivationMethodsResponseSchema</returns>
        public async System.Threading.Tasks.Task<TokenActivationMethodsResponseSchema> TokenActivationmethodsPostAsync (TokenActivationMethodsRequestSchema tokenActivationMethodsRequestSchema = null)
        {
             ApiResponse<TokenActivationMethodsResponseSchema> localVarResponse = await TokenActivationmethodsPostAsyncWithHttpInfo(tokenActivationMethodsRequestSchema);
             return localVarResponse.Data;

        }
 /// <summary>
 ///  Used to retrieve the available Activation Methods for a token that is awaiting activation. Activation Methods are the means by which a cardholder may complete cardholder authentication with the issuer beyond the scope of MDES. It is possible that there are no Activation Methods for a token when an issuer did not provide any cardholder-specific information with the Tokenization Authorization Request (TAR) pre-digitization network message response. 
 /// </summary>
 /// <exception cref="YourApp.MdesCustomerClient.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="tokenActivationMethodsRequestSchema">Contains the details of the request message. (optional)</param>
 /// <returns>TokenActivationMethodsResponseSchema</returns>
 public TokenActivationMethodsResponseSchema TokenActivationmethodsPost (TokenActivationMethodsRequestSchema tokenActivationMethodsRequestSchema = null)
 {
      ApiResponse<TokenActivationMethodsResponseSchema> localVarResponse = TokenActivationmethodsPostWithHttpInfo(tokenActivationMethodsRequestSchema);
      return localVarResponse.Data;
 }