Table of Contents

Class JsonResponse<T>

Namespace
Geotab.Checkmate.ObjectModel.Web
Assembly
Geotab.Checkmate.ObjectModel.dll

A JSON-RPC response without error.

public class JsonResponse<T>

Type Parameters

T

The object type of the results.

Inheritance
JsonResponse<T>
Inherited Members

Constructors

JsonResponse()

public JsonResponse()

Properties

Error

Gets or sets the JsonRpcError.

public JsonRpcError? Error { get; set; }

Property Value

JsonRpcError

Error

Headers

Gets or Sets the headers of the response object.

public HttpHeaders? Headers { get; set; }

Property Value

HttpHeaders

Id

Id

Gets or sets the identifier which corresponds to the value of the id member in the request object.

public object? Id { get; set; }

Property Value

object

Id

Jsonrpc

Gets the version of the JSON-RPC protocol.

public string Jsonrpc { get; }

Property Value

string

Jsonrpc

RequestIndex

Gets or sets the int index.

[Obsolete("RequestIndex is no longer supported", false)]
public int? RequestIndex { get; set; }

Property Value

int?

The int index.

Result

Gets or sets the result.

public T? Result { get; set; }

Property Value

T

The result.