Class AllocateResponseBody
AllocateResponseBody model
Inherited Members
Namespace: Unity.Services.Relay.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "AllocateResponseBody")]
public class AllocateResponseBody
Constructors
AllocateResponseBody(ResponseMeta, AllocationData, ResponseLinks)
Creates an instance of AllocateResponseBody.
Declaration
[Preserve]
public AllocateResponseBody(ResponseMeta meta, AllocationData data, ResponseLinks links = null)
Parameters
Type | Name | Description |
---|---|---|
ResponseMeta | meta | meta param |
AllocationData | data | data param |
ResponseLinks | links | links param |
Properties
Data
Parameter data of AllocateResponseBody
Declaration
[Preserve]
[DataMember(Name = "data", IsRequired = true, EmitDefaultValue = true)]
public AllocationData Data { get; }
Property Value
Type | Description |
---|---|
AllocationData |
Links
Parameter links of AllocateResponseBody
Declaration
[Preserve]
[DataMember(Name = "links", EmitDefaultValue = false)]
public ResponseLinks Links { get; }
Property Value
Type | Description |
---|---|
ResponseLinks |
Meta
Parameter meta of AllocateResponseBody
Declaration
[Preserve]
[DataMember(Name = "meta", IsRequired = true, EmitDefaultValue = true)]
public ResponseMeta Meta { get; }
Property Value
Type | Description |
---|---|
ResponseMeta |