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
Headers
Gets or Sets the headers of the response object.
public HttpHeaders? Headers { get; set; }
Property Value
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
Jsonrpc
Gets the version of the JSON-RPC protocol.
public string Jsonrpc { get; }
Property Value
RequestIndex
Gets or sets the int index.
[Obsolete("RequestIndex is no longer supported", false)]
public int? RequestIndex { get; set; }
Property Value
Result
Gets or sets the result.
public T? Result { get; set; }
Property Value
- T
The result.