v1.1.4
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
[Preserve]
public class ResponseMeta

Constructors

ResponseMeta(String, Int32)

The metadata for the response returned from an API call.

Declaration
[Preserve]
public ResponseMeta(string requestId, int status)
Parameters
TypeNameDescription
System.StringrequestId

The unique ID of the request that triggered this response.

System.Int32status

Indicates the HTTP status code of the response.

Properties

RequestId

The unique ID of the request that triggered this response.

Declaration
[Preserve]
public string RequestId { get; }
Property Value
TypeDescription
System.String

Status

Indicates the HTTP status code of the response.

Declaration
[Preserve]
public int Status { get; }
Property Value
TypeDescription
System.Int32