Exemplo n.º 1
0
        /// <summary>
        /// Download Audit Records Download a zip of audit records for a time range
        /// </summary>
        /// <exception cref="DevOpsVault.SDK.Core.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="startDate">The start date to find audits from</param>
        /// <param name="endDate">The end date to find audits to</param>
        /// <returns>Task of System.IO.Stream</returns>
        public async System.Threading.Tasks.Task <System.IO.Stream> DownloadAuditAsync(string startDate, string endDate)
        {
            DevOpsVault.SDK.Core.Client.ApiResponse <System.IO.Stream> localVarResponse = await DownloadAuditAsyncWithHttpInfo(startDate, endDate);

            return(localVarResponse.Data);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Download Audit Records Download a zip of audit records for a time range
 /// </summary>
 /// <exception cref="DevOpsVault.SDK.Core.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="startDate">The start date to find audits from</param>
 /// <param name="endDate">The end date to find audits to</param>
 /// <returns>System.IO.Stream</returns>
 public System.IO.Stream DownloadAudit(string startDate, string endDate)
 {
     DevOpsVault.SDK.Core.Client.ApiResponse <System.IO.Stream> localVarResponse = DownloadAuditWithHttpInfo(startDate, endDate);
     return(localVarResponse.Data);
 }