Class IndexField
A field in an index
Inherited Members
Namespace: Unity.Services.Apis.Admin.CloudSave
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "IndexField")]
[Preserve]
public class IndexField
Constructors
IndexField(string, bool)
Initializes a new instance of the IndexField class.
Declaration
[Preserve]
public IndexField(string key = null, bool asc = false)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The indexed Cloud Save key (required). |
| bool | asc | Whether the field is sorted in ascending order (required). |
Properties
Asc
Whether the field is sorted in ascending order
Declaration
[DataMember(Name = "asc", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public bool Asc { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | Whether the field is sorted in ascending order |
Key
The indexed Cloud Save key
Declaration
[DataMember(Name = "key", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The indexed Cloud Save key |