Class ResponseMeta
The metadata for the response returned from an API call.
Inherited Members
Namespace: Unity.Services.Apis.Relay
Assembly: solution.dll
Syntax
[Preserve]
public class ResponseMeta
Constructors
ResponseMeta(string, int)
Initializes a new instance of the ResponseMeta class.
Declaration
[Preserve]
public ResponseMeta(string requestId = null, int status = 0)
Parameters
Type | Name | Description |
---|---|---|
string | requestId | The unique ID of the request that triggered this response. (required). |
int | status | Indicates the HTTP status code of the response. (required). |
Properties
RequestId
The unique ID of the request that triggered this response.
Declaration
[Preserve]
public string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique ID of the request that triggered this response. |
Status
Indicates the HTTP status code of the response.
Declaration
[Preserve]
public int Status { get; set; }
Property Value
Type | Description |
---|---|
int | Indicates the HTTP status code of the response. |