Class KinveyReference<T>
Represents JSON object with information about Kinvey reference.
Inheritance
System.Object
KinveyReference<T>
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class KinveyReference<T> : object
Type Parameters
Name | Description |
---|---|
T | The type of a response returned from the backend. |
Constructors
| Improve this Doc View SourceKinveyReference()
Initializes a new instance of the KinveyReference<T> class.
Declaration
public KinveyReference()
KinveyReference(String, String)
Initializes a new instance of the KinveyReference<T> class.
Declaration
public KinveyReference(string collection, string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | collection | Collection name. |
System.String | id | Identifier. |
Properties
| Improve this Doc View Sourcecollection
The collection of a reference.
Declaration
public string collection { get; set; }
Property Value
Type | Description |
---|---|
System.String | The collection property gets/sets the value of the string field, _collection. |
id
The identifier of a reference.
Declaration
public string id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The id property gets/sets the value of the string field, _id. |
resolved
Resolved object.
Declaration
public T resolved { get; set; }
Property Value
Type | Description |
---|---|
T | The resolved property gets/sets the value of the T field, _resolved. |
type
The type of a reference.
Declaration
public string type { get; set; }
Property Value
Type | Description |
---|---|
System.String | The type property gets/sets the value of the string field, _type. |
Methods
| Improve this Doc View SourcegetResolvedObject()
Gets resolved object.
Declaration
public T getResolvedObject()
Returns
Type | Description |
---|---|
T | Resolved object. |