コード例 #1
0
        /// <summary>
        ///  Returns API status, and TBA status information.
        /// </summary>
        /// <exception cref="TBAAPI.V3Client.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="ifModifiedSince">Value of the &#x60;Last-Modified&#x60; header in the most recently cached response by the client. (optional)</param>
        /// <returns>Task of APIStatus</returns>
        public async System.Threading.Tasks.Task <APIStatus> GetStatusAsync(string ifModifiedSince = default(string))
        {
            TBAAPI.V3Client.Client.ApiResponse <APIStatus> localVarResponse = await GetStatusAsyncWithHttpInfo(ifModifiedSince);

            return(localVarResponse.Data);
        }
コード例 #2
0
 /// <summary>
 ///  Returns API status, and TBA status information.
 /// </summary>
 /// <exception cref="TBAAPI.V3Client.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="ifModifiedSince">Value of the &#x60;Last-Modified&#x60; header in the most recently cached response by the client. (optional)</param>
 /// <returns>APIStatus</returns>
 public APIStatus GetStatus(string ifModifiedSince = default(string))
 {
     TBAAPI.V3Client.Client.ApiResponse <APIStatus> localVarResponse = GetStatusWithHttpInfo(ifModifiedSince);
     return(localVarResponse.Data);
 }