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

View

Represents the view object type.
public int ArtifactTypeId { get; set; }

Gets or sets the artifact type ID.

public NamedArtifact Dashboard { get; set; }

Gets or sets a dashboard object contains properties that include the Artifact ID of the dashboard, its name, and a list of GUIDs associated with it.

public NamedArtifact[] Fields { get; set; }

Gets or sets the fields to be included in the view result set. This fields are specified as a collection of Fields objects. You must include at least one field in the view.

public string GroupDefinitionFieldArtifactId { get; set; }

Gets or sets group definition field artifactID associated with the view.

public bool IsRelationalFieldView { get; set; }

Gets or sets a value indicating whether the view is used to display relational fields. The default value is false.

public bool IsSystemView { get; set; }

Gets or sets a value indicating whether the view is a system view. Relativity contains system views that are provided as part of the application by default. You can't edit all system views, such as the workspace system view. The default value is false.

public bool IsVisible { get; set; }

Gets or sets a value indicating whether the view is visible in the system. The default value is true.

public NamedArtifact ObjectType { get; set; }

Gets or sets the artifact type information for the object that the view is assigned to.

public int Order { get; set; }

Gets or sets the position of the view in the view drop-down list.

public NamedArtifact Owner { get; set; }

Gets or sets the user who owns the view. The default value is Public.

public string QueryHint { get; set; }

Gets or sets a string parameter used to optimize the view.

Gets or sets the relativity applications associated with the view.

public CriteriaCollection SearchCriteria { get; set; }

Gets or sets the search criteria specified as a CriteriaCollection object. This object contains the list of conditions specified in the query.

public List<Sort> Sorts { get; set; }

Gets or sets the sort order for view results specified as a collection of Sort objects. This field indicates whether the results are sorted in ascending or descending order, identifies a field by Artifact ID and GUID, and specifies a sort order.

public NamedArtifact SystemCreatedBy { get; set; }

Gets or sets the user who created the view. The user is identified with a name and Artifact ID.

public DateTime? SystemCreatedOn { get; set; }

Gets or sets the date and time in UTC when the view was created.

public NamedArtifact SystemLastModifiedBy { get; set; }

Gets or sets the user who last modified the view.

public DateTime? SystemLastModifiedOn { get; set; }

Gets or sets the date and time in UTC when the view was last modified.

public bool VisibleInDropdown { get; set; }

Gets or sets a value indicating whether the view is visible in the view drop-down list. The default value is false.

public View()

Fills the required properties.