<PackageReference Include="Relativity.Server.Testing.Framework.Api.SDK" Version="5001.0.38" />

Relativity.Testing.Framework.Api.ObjectManagement.ObjectQuery<TObject>

public class ObjectQuery<TObject> : Query<TObject, ObjectQuery<TObject>>
Represents the object query.
public ObjectQuery<TObject> For(int workspaceId)

Sets the workspace ID for which the query should be executed.

public ObjectQuery<TObject> With(UserCredentials userCredentials)

Sets the user credentials with which the query should be executed.