Class Rank
The rank contains a tuple of numbers which may be used as a general sort order. The rank should be treated as an ordered set of numbers, where the ordering is done in descending order of the most significant rank member. For example, given the following ranks described as (primary, secondary): (1,1), (1,2), (2,2) (2,1) The descending rank-order is: (2,2) > (2,1) > (1,2) > (1,1)
Inheritance
System.Object
Rank
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class Rank : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Primary
The primary rank is the most significant rank member. This rank element should always be present. Items with higher primary rank are always considered of higher rank than those of lower primary rank.
Declaration
[JsonProperty("primary")]
public virtual long? Primary { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Secondary
The secondary rank may be used to rank items of identical primary rank. This rank element should always be present.
Declaration
[JsonProperty("secondary")]
public virtual long? Secondary { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Implements
Google.Apis.Requests.IDirectResponseSchema