Table of Contents

Class JsonActionRequest

Namespace
TimeCockpit.Data.JsonConverters
Assembly
TimeCockpit.Data.dll

Represents a class that holds all the necessary parameters for calling an action on the server.

public class JsonActionRequest
Inheritance
Object
JsonActionRequest
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

JsonActionRequest()

public JsonActionRequest()

Properties

ActionId

Gets or sets the action id.

public Guid ActionId { get; set; }

Property Value

Guid

The action id.

EntityTypeId

Gets or sets the name of the entity.

public Guid EntityTypeId { get; set; }

Property Value

Guid

FetchModifications

Gets or sets a value indicating whether the modified entity objects from the input set have to be sent back.

public bool FetchModifications { get; set; }

Property Value

Boolean

InputSet

Gets or sets the input set.

public JsonEntityObjectList InputSet { get; set; }

Property Value

JsonEntityObjectList

The input set.

InputSetUuids

Gets or sets the input set uids.

public Guid[] InputSetUuids { get; set; }

Property Value

Guid[]

The input set.

Parameter

Gets or sets the parameter.

public JsonEntityObjectList Parameter { get; set; }

Property Value

JsonEntityObjectList

The parameter.

Methods

Read(JsonReader, Model, Environment)

Reads the json action request.

public static JsonActionRequest Read(JsonReader reader, Model model, Environment environment)

Parameters

reader JsonReader

The reader that reads json.

model Model

The model to deserialze the inputset.

environment Environment

The environment.

Returns

JsonActionRequest

An instance of JsonActionRequest.

Write(JsonWriter, Model, JsonActionRequest)

Writes the json action request.

public static void Write(JsonWriter writer, Model model, JsonActionRequest actionRequest)

Parameters

writer JsonWriter

The writer that writes json.

model Model

The model.

actionRequest JsonActionRequest

The select response.