Table of Contents

Class Response<T>

Namespace
adas_core.Domain.Models.Responses
Assembly
adas-core.Domain.dll

Represents a generic response wrapper that encapsulates a payload of type T along with associated response metadata.

public class Response<T>

Type Parameters

T

The 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

data T

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

string

Succeeded

public bool? Succeeded { get; set; }

Property Value

bool?