LUSID C# SDK
Public Member Functions | Properties | List of all members
Response< T > Class Template Reference

A container for data sent back from the API including deserialized data More...

Inheritance diagram for Response< T >:
Inheritance graph
[legend]

Public Member Functions

 Response ()
 
 Response (Request request)
 

Properties

T? Data [get, set]
 The deserialized data More...
 
- Properties inherited from ResponseBase
RequestRequest [get, set]
 The request that was made to get this response More...
 
string? Content [get, set]
 String representation of response content More...
 
HttpStatusCode StatusCode [get, set]
 HTTP response status code More...
 
bool IsSuccessStatusCode [get, set]
 Whether the HTTP response status code indicates success More...
 
bool IsSuccessful [get]
 Whether the HTTP response status code indicates success and no other error occurred (deserialization, timeout, ...) More...
 
string? StatusDescription [get, set]
 Description of HTTP status returned More...
 
byte?[] RawBytes [get, set]
 Response content More...
 
IReadOnlyCollection< HeaderHeaders = new List<Header>() [get, set]
 Response headers returned by server with the response More...
 
ResponseStatus ResponseStatus = ResponseStatus.None [get, set]
 Status of the request. Will return Error for transport errors. HTTP errors will still return ResponseStatus.Completed, check StatusCode instead More...
 
string? ErrorMessage [get, set]
 Transport or another non-HTTP error generated while attempting request More...
 
Exception? ErrorException [get, set]
 The exception thrown during the request, if any More...
 

Additional Inherited Members

- Protected Member Functions inherited from ResponseBase
 ResponseBase ()
 
 ResponseBase (Request request)
 

Detailed Description

A container for data sent back from the API including deserialized data

Template Parameters
TThe type of data to deserialize to

Property Documentation

◆ Data

T? Response< T >.Data
getset

The deserialized data


The documentation for this class was generated from the following file: