Sorting Objects

SortingSet

This object refers to how Sorting defined in Hawksearch for your account will be returned to or fed to the Hawksearch API.

public class SortingSetModel { public int SortingSetId { get; set; } public Guid SyncGuid { get; set; } public string Name { get; set; } public string Code { get; set; } public string RuleXml { get; set; } public int SortOrder { get; set; } public List < SortingSetFieldModel > Fields { get; set; } }

 

Sorting Option

This object refers to how Sorting Option defined in Hawksearch for your account will be returned to or fed to the Hawksearch API.

public class SortingSetFieldModel { public int SortingSetFieldId { get; set; } public bool IsDefault { get; set; } public bool IsPinSortIncluded { get; set; } public string ParamName { get; set; } public string Label { get; set; } public IEnumerable < SortingSetFieldDataModel > FieldsConfig { get; set; } }


Sorting Set Field

This object references how a Sorting Set Field is defined and will be returned back from the methods or should be sent to method when creating a Sorting.

public class SortingSetFieldModel { public int SortingSetFieldId { get; set; } public bool IsDefault { get; set; } public bool IsPinSortIncluded { get; set; } public string ParamName { get; set; } public string Label { get; set; } public IEnumerable < SortingSetFieldDataModel > FieldsConfig { get; set; } }

 

Sorting Set Field Data

This object references how a Sorting Set Field Data is defined and will be returned back from the methods or should be sent to method when creating a Sorting Option.