KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The api provided type of object with fields More...
Public Member Functions | |
ApiObjectType () | |
Initializes a new instance of the ApiObjectType class. More... | |
ApiObjectType (string typeName, IEnumerable< ApiField > fields=null) | |
Initializes a new instance of the ApiObjectType class. More... | |
ApiField | CreateField (string name, EnFieldFlags flags=EnFieldFlags.Queryable, string description=null) |
Creates a field of this type More... | |
Public Member Functions inherited from KlusterKite.API.Client.ApiType | |
override string | ToString () |
Properties | |
List< ApiField > | Fields [get, set] |
Gets or sets the list of fields More... | |
List< ApiField > | DirectMutations = new List<ApiField>() [get, set] |
Gets or sets the list of direct mutations More... | |
Properties inherited from KlusterKite.API.Client.ApiType | |
string | Description [get, set] |
Gets or sets the human-readable type description for auto-publishing More... | |
string | TypeName [get, set] |
Gets or sets the type name for the api More... | |
The api provided type of object with fields
Definition at line 19 of file ApiObjectType.cs.
KlusterKite.API.Client.ApiObjectType.ApiObjectType | ( | ) |
Initializes a new instance of the ApiObjectType class.
Definition at line 24 of file ApiObjectType.cs.
KlusterKite.API.Client.ApiObjectType.ApiObjectType | ( | string | typeName, |
IEnumerable< ApiField > | fields = null |
||
) |
Initializes a new instance of the ApiObjectType class.
typeName | The type name. |
fields | The fields. |
Definition at line 37 of file ApiObjectType.cs.
ApiField KlusterKite.API.Client.ApiObjectType.CreateField | ( | string | name, |
EnFieldFlags | flags = EnFieldFlags.Queryable , |
||
string | description = null |
||
) |
Creates a field of this type
name | The field name |
flags | The list of field flags |
description | The field description |
Definition at line 67 of file ApiObjectType.cs.
Gets or sets the list of direct mutations
Definition at line 58 of file ApiObjectType.cs.
|
getset |
Gets or sets the list of fields
Definition at line 51 of file ApiObjectType.cs.