/// <summary>
 /// Get the package identifier and the latest version for the specified test
 /// case.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Execution or Execution.Read.
 ///
 /// Requires authentication.
 ///
 /// Responses:
 /// 200 OK
 /// 403 If the caller doesn't have permissions to retrieve packages
 /// 404 If there is no test case with the specified UniqueId
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='testCaseUniqueId'>
 /// </param>
 /// <param name='packageIdentifier'>
 /// </param>
 public static TestPackageInfoDto GetPackageInfoByTestCaseUniqueId(this ITestAutomation operations, System.Guid?testCaseUniqueId = default(System.Guid?), string packageIdentifier = default(string))
 {
     return(operations.GetPackageInfoByTestCaseUniqueIdAsync(testCaseUniqueId, packageIdentifier).GetAwaiter().GetResult());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Client Credentials Flow required permissions: Execution or Execution.Read.
 ///
 /// Requires authentication.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='testCaseUniqueId'>
 /// </param>
 public static TestPackageInfoDto GetPackageInfoByTestCaseUniqueId(this ITestAutomation operations, System.Guid testCaseUniqueId)
 {
     return(operations.GetPackageInfoByTestCaseUniqueIdAsync(testCaseUniqueId).GetAwaiter().GetResult());
 }