Class Response<T>
Represents a generic response wrapper that encapsulates a payload of type T along with associated response metadata.
public class Response<T>
Type Parameters
TThe type of the payload contained within the response.
- Inheritance
-
Response<T>
- Inherited Members
- Extension Methods
Constructors
Response()
public Response()
Response(T)
public Response(T data)
Parameters
dataT
Properties
Data
public T? Data { get; set; }
Property Value
- T
Errors
public string[]? Errors { get; set; }
Property Value
- string[]
Message
public string? Message { get; set; }
Property Value
Succeeded
public bool? Succeeded { get; set; }
Property Value
- bool?