Auki::ConjureKit::Domains::DomainDataInfo
Represents information or metadata regarding DomainData returned by the backend.
Public Functions
Name | |
---|---|
void | GetPayload(Action< byte[]> onSuccess, Action< string > onFailure) Retrieves the payload as a byte array. Affects the UpdatedAt property. |
void | UpdatePayload(byte[] data, Action onSuccess, Action< string > onFailure) Updates the payload with the specified byte array data. Affects the UpdatedAt property. |
void | GetPayload(Action< string > onSuccess, Action< string > onFailure) Retrieves the payload as a string. |
void | UpdatePayload(string data, Action onSuccess, Action< string > onFailure) Updates the payload with the specified string data. |
Public Properties
Name | |
---|---|
string | Id Gets the unique identifier for the domain data. |
string | Name Gets the name of the domain data. |
string | DataType Gets the data type of the domain data. |
DateTime | CreatedAt Gets the timestamp at which the domain data was created. |
DateTime | UpdatedAt Gets the timestamp at which the domain data was last updated. |
string | DomainId Gets the Domain Id in which this data resides. |
Public Functions Documentation
function GetPayload
void GetPayload(
Action< byte[]> onSuccess,
Action< string > onFailure
)
Retrieves the payload as a byte array. Affects the UpdatedAt property.
Parameters:
- onSuccess Callback for a successful request, providing the payload data as a byte array.
- onFailure Callback for a failed request, providing an error message.
function UpdatePayload
void UpdatePayload(
byte[] data,
Action onSuccess,
Action< string > onFailure
)
Updates the payload with the specified byte array data. Affects the UpdatedAt property.
Parameters:
- data The byte array data to update the payload with.
- onSuccess Callback for a successful request.
- onFailure Callback for a failed request, providing an error message.
function GetPayload
void GetPayload(
Action< string > onSuccess,
Action< string > onFailure
)
Retrieves the payload as a string.
Parameters:
- onSuccess Callback for a successful request, providing the payload data as a string.
- onFailure Callback for a failed request, providing an error message.
function UpdatePayload
void UpdatePayload(
string data,
Action onSuccess,
Action< string > onFailure
)
Updates the payload with the specified string data.
Parameters:
- data The string data to update the payload with.
- onSuccess Callback for a successful request.
- onFailure Callback for a failed request, providing an error message.
Public Property Documentation
property Id
string Id;
Gets the unique identifier for the domain data.
property Name
string Name;
Gets the name of the domain data.
property DataType
string DataType;
Gets the data type of the domain data.
property CreatedAt
DateTime CreatedAt;
Gets the timestamp at which the domain data was created.
property UpdatedAt
DateTime UpdatedAt;
Gets the timestamp at which the domain data was last updated.
property DomainId
string DomainId;
Gets the Domain Id in which this data resides.