![]() |
CotC C# SDK for Unity
v1.4.0.1
Making social games is easy !
|
Result of an index query. Represents a single returned object. This object is a CotcSdk.PropertiesObject, meaning that additional properties can be queried. If you want to check what is returned as a JSON object, simply log this.ToString()
.
Properties | |
string | IndexName [get] |
The name of the index. More... | |
string | ObjectId [get] |
The ID of the returned object, as passed when indexing the object. More... | |
Bundle | Payload [get] |
Document payload; passed upon indexing the object. More... | |
Bundle | Properties [get] |
Indexed properties. Passed upon indexing the object. More... | |
int | ResultScore [get] |
Score (elastic search term) of the document. More... | |
![]() | |
Bundle | this[string key] [get] |
Allows to query additional properties via an indexer (can be enriched via hooks). More... | |
Additional Inherited Members | |
![]() | |
Bundle | AsBundle () |
Gets the underlying Bundle. Dangerous, only use internally, when you want to put the contents of a properties object into an existing bundle. More... | |
Dictionary< string, Bundle >.KeyCollection | Keys () |
Allows to browse all keys (might include some that are already exposed as typed properties in the object). More... | |
Dictionary< string, Bundle >.Enumerator | GetEnumerator () |
Allows to browse all keys (might include some that are already exposed as typed properties in the object). More... | |
override string | ToString () |
You may use this to debug what is inside this property object. More... | |
string | ToJson () |
Builds a JSON representation of this object, same as ToString actually. More... | |
![]() | |
PropertiesObject (Bundle baseData) | |
![]() | |
Bundle | Props |
|
get |
The name of the index.
|
get |
The ID of the returned object, as passed when indexing the object.
|
get |
Document payload; passed upon indexing the object.
|
get |
Indexed properties. Passed upon indexing the object.
|
get |
Score (elastic search term) of the document.