Class JsonListRequest
Represents a request that fetches the result of a python list
Inheritance
System.Object
JsonListRequest
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.JsonConverters
Assembly: TimeCockpit.Data.dll
Syntax
public class JsonListRequest
Constructors
JsonListRequest()
Declaration
public JsonListRequest()
Properties
ListName
Gets or sets the listname.
Declaration
public string ListName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The listname. |
MethodName
Gets or sets the methodname.
Declaration
public string MethodName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The methodname. |
Parameters
Gets or sets the parameters.
Declaration
public IEnumerable<QueryParameter> Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<QueryParameter> | The parameters. |
Methods
Read(JsonReader, Model)
Reads the specified reader.
Declaration
public static JsonListRequest Read(JsonReader reader, Model model)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.JsonReader | reader | The reader. |
| Model | model | The model. |
Returns
| Type | Description |
|---|---|
| JsonListRequest | An instance of JsonListRequest. |
Write(JsonWriter, Model, JsonListRequest)
Writes the json.
Declaration
public static void Write(JsonWriter writer, Model model, JsonListRequest listRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.JsonWriter | writer | The writer. |
| Model | model | The model. |
| JsonListRequest | listRequest | The result of a REST query. |