/// <summary> /// Convert a Standard Attended Robot to a Floating Robot. /// </summary> /// <remarks> /// Required permissions: Robots.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='convertToFloatingParams'> /// </param> public static void ConvertToFloating(this IRobots operations, ConvertToFloatingParams convertToFloatingParams) { operations.ConvertToFloatingAsync(convertToFloatingParams).GetAwaiter().GetResult(); }
/// <summary> /// Convert a Standard Attended Robot to a Floating Robot. /// </summary> /// <remarks> /// Required permissions: Robots.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='convertToFloatingParams'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task ConvertToFloatingAsync(this IRobots operations, ConvertToFloatingParams convertToFloatingParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { (await operations.ConvertToFloatingWithHttpMessagesAsync(convertToFloatingParams, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Convert a Standard Attended Robot to a Floating Robot. /// </summary> /// <remarks> /// Required permissions: Robots.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='convertToFloatingParams'> /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static void ConvertToFloating(this IRobots operations, ConvertToFloatingParams convertToFloatingParams, long?xUIPATHOrganizationUnitId = default(long?)) { operations.ConvertToFloatingAsync(convertToFloatingParams, xUIPATHOrganizationUnitId).GetAwaiter().GetResult(); }