/// <summary> /// Edits a robot based on its key. /// </summary> /// <remarks> /// Required permissions: Robots.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// key: Id /// </param> /// <param name='robotDto'> /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static RobotDto PutById(this IRobots operations, long id, RobotDto robotDto, long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.PutByIdAsync(id, robotDto, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }
/// <summary> /// Edits a robot based on its key. /// </summary> /// <remarks> /// Required permissions: Robots.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// key: Id /// </param> /// <param name='robotDto'> /// </param> public static RobotDto PutById(this IRobots operations, long id, RobotDto robotDto) { return(operations.PutByIdAsync(id, robotDto).GetAwaiter().GetResult()); }
/// <summary> /// Edits a robot based on its key. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Robots or Robots.Write. /// /// Required permissions: Robots.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='key'> /// </param> /// <param name='body'> /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static RobotDto PutById(this IRobots operations, long key, RobotDto body = default(RobotDto), long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.PutByIdAsync(key, body, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }