Пример #1
0
 public static RobotAssetDto GetRobotAssetByRobotidAndAssetname(this IAssets operations, string robotId, string assetName, string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.GetRobotAssetByRobotidAndAssetnameAsync(robotId, assetName, expand, select, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }
Пример #2
0
 /// <summary>
 /// Returns the named asset associated to the given robot Id.
 /// </summary>
 /// <remarks>
 /// Required permissions: Assets.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='robotId'>
 /// The Id of the robot for which the asset is being fetched.
 /// </param>
 /// <param name='assetName'>
 /// The name of the asset being fetched.
 /// </param>
 public static RobotAssetDto GetRobotAssetByRobotidAndAssetname(this IAssets operations, string robotId, string assetName)
 {
     return(operations.GetRobotAssetByRobotidAndAssetnameAsync(robotId, assetName).GetAwaiter().GetResult());
 }