Class JsonActionRequest
Represents a class that holds all the necessary parameters for calling an action on the server.
Inheritance
System.Object
JsonActionRequest
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 JsonActionRequest
Constructors
JsonActionRequest()
Declaration
public JsonActionRequest()
Properties
ActionId
Gets or sets the action id.
Declaration
public Guid ActionId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid | The action id. |
EntityTypeId
Gets or sets the name of the entity.
Declaration
public Guid EntityTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
FetchModifications
Gets or sets a value indicating whether the modified entity objects from the input set have to be sent back.
Declaration
public bool FetchModifications { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
InputSet
Gets or sets the input set.
Declaration
public JsonEntityObjectList InputSet { get; set; }
Property Value
| Type | Description |
|---|---|
| JsonEntityObjectList | The input set. |
InputSetUuids
Gets or sets the input set uids.
Declaration
public Guid[] InputSetUuids { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid[] | The input set. |
Parameter
Gets or sets the parameter.
Declaration
public JsonEntityObjectList Parameter { get; set; }
Property Value
| Type | Description |
|---|---|
| JsonEntityObjectList | The parameter. |
Methods
Read(JsonReader, Model, Environment)
Reads the json action request.
Declaration
public static JsonActionRequest Read(JsonReader reader, Model model, Environment environment)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.JsonReader | reader | The reader that reads json. |
| Model | model | The model to deserialze the inputset. |
| Environment | environment | The environment. |
Returns
| Type | Description |
|---|---|
| JsonActionRequest | An instance of JsonActionRequest. |
Write(JsonWriter, Model, JsonActionRequest)
Writes the json action request.
Declaration
public static void Write(JsonWriter writer, Model model, JsonActionRequest actionRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.JsonWriter | writer | The writer that writes json. |
| Model | model | The model. |
| JsonActionRequest | actionRequest | The select response. |