Class MultiplayAllocationsTestAllocation
A single test allocation, possibly within an allocations list.
Inherited Members
Namespace: Unity.Services.Apis.Admin.Multiplay
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "multiplay.allocations.TestAllocation")]
[Preserve]
public class MultiplayAllocationsTestAllocation
Constructors
MultiplayAllocationsTestAllocation(string, long, DateTime, bool, string, DateTime, int, string, string, long, bool, DateTime, string, string, DateTime, long, long)
Initializes a new instance of the Multiplay
Declaration
[Preserve]
public MultiplayAllocationsTestAllocation(string allocationId = null, long buildConfigurationId = 0, DateTime created = default, bool failed = false, string fleetId = null, DateTime fulfilled = default, int gamePort = 0, string ipv4 = null, string ipv6 = null, long machineId = 0, bool readiness = false, DateTime ready = default, string regionId = null, string requestId = null, DateTime requested = default, long serverId = 0, long timeout = 0)
Parameters
Type | Name | Description |
---|---|---|
string | allocationId | The ID of the allocation. (required). |
long | buildConfigurationId | ID of the build configuration.. |
Date |
created | The time at which the allocation was created.. |
bool | failed | Has the Allocation failed. |
string | fleetId | ID of the Fleet.. |
Date |
fulfilled | The time at which the allocation was fulfilled.. |
int | gamePort | The port of the allocated server on the machine.. |
string | ipv4 | IPv4 of the allocated server.. |
string | ipv6 | IPv6 of the allocated server.. |
long | machineId | ID of the machine.. |
bool | readiness | An indication of whether readiness is implemented by the server.. |
Date |
ready | The time at which the allocation was ready.. |
string | regionId | ID of the Region.. |
string | requestId | The unique ID of this allocation request.. |
Date |
requested | The time at which the allocation was requested.. |
long | serverId | ID of the server.. |
long | timeout | The maximum time the allocation will be held for.. |
Properties
AllocationId
The ID of the allocation.
Declaration
[DataMember(Name = "allocationId", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string AllocationId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the allocation. |
BuildConfigurationId
ID of the build configuration.
Declaration
[DataMember(Name = "buildConfigurationId", EmitDefaultValue = false)]
[Preserve]
public long BuildConfigurationId { get; set; }
Property Value
Type | Description |
---|---|
long | ID of the build configuration. |
Created
The time at which the allocation was created.
Declaration
[DataMember(Name = "created", EmitDefaultValue = false)]
[Preserve]
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
Date |
The time at which the allocation was created. |
Failed
Has the Allocation failed
Declaration
[DataMember(Name = "failed", EmitDefaultValue = true)]
[Preserve]
public bool Failed { get; set; }
Property Value
Type | Description |
---|---|
bool | Has the Allocation failed |
FleetId
ID of the Fleet.
Declaration
[DataMember(Name = "fleetId", EmitDefaultValue = false)]
[Preserve]
public string FleetId { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the Fleet. |
Fulfilled
The time at which the allocation was fulfilled.
Declaration
[DataMember(Name = "fulfilled", EmitDefaultValue = false)]
[Preserve]
public DateTime Fulfilled { get; set; }
Property Value
Type | Description |
---|---|
Date |
The time at which the allocation was fulfilled. |
GamePort
The port of the allocated server on the machine.
Declaration
[DataMember(Name = "gamePort", EmitDefaultValue = false)]
[Preserve]
public int GamePort { get; set; }
Property Value
Type | Description |
---|---|
int | The port of the allocated server on the machine. |
Ipv4
IPv4 of the allocated server.
Declaration
[DataMember(Name = "ipv4", EmitDefaultValue = false)]
[Preserve]
public string Ipv4 { get; set; }
Property Value
Type | Description |
---|---|
string | IPv4 of the allocated server. |
Ipv6
IPv6 of the allocated server.
Declaration
[DataMember(Name = "ipv6", EmitDefaultValue = false)]
[Preserve]
public string Ipv6 { get; set; }
Property Value
Type | Description |
---|---|
string | IPv6 of the allocated server. |
MachineId
ID of the machine.
Declaration
[DataMember(Name = "machineId", EmitDefaultValue = false)]
[Preserve]
public long MachineId { get; set; }
Property Value
Type | Description |
---|---|
long | ID of the machine. |
Readiness
An indication of whether readiness is implemented by the server.
Declaration
[DataMember(Name = "readiness", EmitDefaultValue = true)]
[Preserve]
public bool Readiness { get; set; }
Property Value
Type | Description |
---|---|
bool | An indication of whether readiness is implemented by the server. |
Ready
The time at which the allocation was ready.
Declaration
[DataMember(Name = "ready", EmitDefaultValue = false)]
[Preserve]
public DateTime Ready { get; set; }
Property Value
Type | Description |
---|---|
Date |
The time at which the allocation was ready. |
RegionId
ID of the Region.
Declaration
[DataMember(Name = "regionId", EmitDefaultValue = false)]
[Preserve]
public string RegionId { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the Region. |
RequestId
The unique ID of this allocation request.
Declaration
[DataMember(Name = "requestId", EmitDefaultValue = false)]
[Preserve]
public string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique ID of this allocation request. |
Requested
The time at which the allocation was requested.
Declaration
[DataMember(Name = "requested", EmitDefaultValue = false)]
[Preserve]
public DateTime Requested { get; set; }
Property Value
Type | Description |
---|---|
Date |
The time at which the allocation was requested. |
ServerId
ID of the server.
Declaration
[DataMember(Name = "serverId", EmitDefaultValue = false)]
[Preserve]
public long ServerId { get; set; }
Property Value
Type | Description |
---|---|
long | ID of the server. |
Timeout
The maximum time the allocation will be held for.
Declaration
[DataMember(Name = "timeout", EmitDefaultValue = false)]
[Preserve]
public long Timeout { get; set; }
Property Value
Type | Description |
---|---|
long | The maximum time the allocation will be held for. |