Class TrinityResponse
- Namespace
- AbanoubNassem.Trinity.RequestHelpers
- Assembly
- AbanoubNassem.Trinity.dll
Represents a response class for the Trinity application.
public class TrinityResponse
- Inheritance
-
TrinityResponse
- Inherited Members
Properties
Configs
Gets or sets the Trinity configurations object.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public TrinityConfigurations? Configs { get; set; }
Property Value
Data
Gets or sets the data object.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public object? Data { get; set; }
Property Value
Errors
Gets or sets the collection of error messages.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public BadRequestObjectResult? Errors { get; set; }
Property Value
FallbackLocale
Gets or sets the fallback locale strings/>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, string>? FallbackLocale { get; set; }
Property Value
IsRtl
Gets or sets a value indicating whether the text is right-to-left (RTL).
public bool IsRtl { get; set; }
Property Value
Locale
Gets or sets the current locale strings GetAllStrings(string?)
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, string>? Locale { get; set; }
Property Value
Notifications
Gets or sets the collection of notifications.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<object>? Notifications { get; set; }
Property Value
Page
Gets or sets the current page object.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public object? Page { get; set; }
Property Value
Pages
Gets or sets the collection of pages.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, object>? Pages { get; set; }
Property Value
Resource
Gets or sets the current resource object.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public object? Resource { get; set; }
Property Value
Resources
Gets or sets the collection of resources.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IEnumerable<object>? Resources { get; set; }
Property Value
User
Gets or sets the current logged-in user.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public object? User { get; set; }