v1.0.0
Latest
2022.3+
Class ResponseMeta
The metadata for the response returned from an API call.
Inheritance
System.Object
ResponseMeta
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Relay.Models
Syntax
public class ResponseMeta
Constructors
ResponseMeta(String, Int32)
The metadata for the response returned from an API call.
Declaration
public ResponseMeta(string requestId, int status)
Parameters
Type | Name | Description |
---|---|---|
System.String | requestId | The unique ID of the request that triggered this response. |
System.Int32 | status | Indicates the HTTP status code of the response. |
Properties
RequestId
The unique ID of the request that triggered this response.
Declaration
public string RequestId { get; }
Property Value
Type | Description |
---|---|
System.String |
Status
Indicates the HTTP status code of the response.
Declaration
public int Status { get; }
Property Value
Type | Description |
---|---|
System.Int32 |