Search Results for

    Show / Hide Table of Contents

    Class JsonActionResponse

    Represents the response of a successfully executed action

    Inheritance
    System.Object
    JsonActionResponse
    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 JsonActionResponse

    Constructors

    JsonActionResponse()

    Initializes a new instance of the JsonActionResponse class.

    Declaration
    public JsonActionResponse()

    Properties

    Error

    Gets or sets the error.

    Declaration
    public JsonErrorMessage Error { get; set; }
    Property Value
    Type Description
    JsonErrorMessage

    The error.

    ModifiedInputSet

    Gets or sets the input set that was used as input to the action, but contains possible modifications by actions.

    Declaration
    public IEnumerable<EntityObject> ModifiedInputSet { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<EntityObject>

    Output

    Gets or sets the output.

    Declaration
    public string Output { get; set; }
    Property Value
    Type Description
    System.String

    The output.

    Methods

    Read(JsonReader, Model, Environment)

    Reads the json action resposne.

    Declaration
    public static JsonActionResponse 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
    JsonActionResponse

    An instance of JsonActionResponse.

    Write(JsonWriter, Model, JsonActionResponse, IEnumerable<ModelEntityBase>)

    Writes the json action response.

    Declaration
    public static void Write(JsonWriter writer, Model model, JsonActionResponse actionResponse, IEnumerable<ModelEntityBase> anonTypes)
    Parameters
    Type Name Description
    Newtonsoft.Json.JsonWriter writer

    The writer that writes json.

    Model model

    The model.

    JsonActionResponse actionResponse

    The select response.

    System.Collections.Generic.IEnumerable<ModelEntityBase> anonTypes

    anonymous types.

    In This Article
    Back to top Copyright © 2025 software architects gmbh