Class DataResponseT

DataResponse<T> class

Represents a data response containing the specified data.

public class DataResponse<T> : BaseResponse
ParameterDescription
TThe type of data in the response.

Constructors

NameDescription
DataResponse()The default constructor.

Properties

NameDescription
Data { get; set; }Gets or sets the data in the response.
Detail { get; set; }Gets or sets the response detail.
Error { get; set; }Gets or sets the HTTP response error.
ErrorMessage { get; }Gets or sets the error information.
HttpResponseHeaders { get; set; }Gets or sets the HTTP response headers.
HttpStatusCode { get; set; }Gets or sets the HTTP status code.
IsSuccessful { get; }Indicates if the response was successful.
ReasonPhrase { get; }Gets the error reason phrase.

See Also