Exemplo n.º 1
0
 /// <summary>
 /// Returns the named asset associated to the given robot key.
 /// </summary>
 /// <remarks>
 /// Required permissions: Assets.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='robotAssetParameters'>
 /// </param>
 public static RobotAssetDto GetRobotAssetByNameForRobotKey(this IAssets operations, RobotAssetParameters robotAssetParameters = default(RobotAssetParameters))
 {
     return(operations.GetRobotAssetByNameForRobotKeyAsync(robotAssetParameters).GetAwaiter().GetResult());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Returns the named asset associated to the given robot key.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Assets or Assets.Write.
 ///
 /// Required permissions: Assets.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static RobotAssetDto GetRobotAssetByNameForRobotKey(this IAssets operations, AssetsGetRobotAssetByNameForRobotKeyParameters body = default(AssetsGetRobotAssetByNameForRobotKeyParameters), string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.GetRobotAssetByNameForRobotKeyAsync(body, expand, select, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Returns the named asset associated to the given robot key.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Assets or Assets.Write.
 ///
 /// Required permissions: Assets.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='robotAssetParameters'>
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static RobotAssetDto GetRobotAssetByNameForRobotKey(this IAssets operations, RobotAssetParameters robotAssetParameters = default(RobotAssetParameters), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.GetRobotAssetByNameForRobotKeyAsync(robotAssetParameters, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }