Class TicketStatusResponse
TicketStatusResponse
Implements
Inherited Members
Namespace: Unity.Services.Apis.Matchmaker
Assembly: Unity.Services.Apis.dll
Syntax
[JsonConverter(typeof(TicketStatusResponseJsonConverter))]
[DataContract(Name = "TicketStatusResponse")]
[Preserve]
public class TicketStatusResponse : AbstractOpenAPISchema, IEquatable<TicketStatusResponse>
Constructors
TicketStatusResponse(MatchIdAssignment)
Initializes a new instance of the Ticket
Declaration
[Preserve]
public TicketStatusResponse(MatchIdAssignment actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Match |
actualInstance | An instance of MatchIdAssignment. |
TicketStatusResponse(MultiplayAssignment)
Initializes a new instance of the Ticket
Declaration
[Preserve]
public TicketStatusResponse(MultiplayAssignment actualInstance)
Parameters
Type | Name | Description |
---|---|---|
Multiplay |
actualInstance | An instance of MultiplayAssignment. |
Properties
ActualInstance
Gets or Sets ActualInstance
Declaration
public override object ActualInstance { get; set; }
Property Value
Type | Description |
---|---|
object |
Overrides
Methods
Equals(object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
object | input | Object to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
Overrides
Equals(TicketStatusResponse)
Returns true if TicketStatusResponse instances are equal
Declaration
public bool Equals(TicketStatusResponse input)
Parameters
Type | Name | Description |
---|---|---|
Ticket |
input | Instance of TicketStatusResponse to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
FromJson(string)
Converts the JSON string into an instance of TicketStatusResponse
Declaration
public static TicketStatusResponse FromJson(string jsonString)
Parameters
Type | Name | Description |
---|---|---|
string | jsonString | JSON string |
Returns
Type | Description |
---|---|
Ticket |
An instance of TicketStatusResponse |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | Hash code |
Overrides
GetMatchIdAssignment()
Get the actual instance of MatchIdAssignment
. If the actual instance is not MatchIdAssignment
,
the InvalidClassException will be thrown
Declaration
public MatchIdAssignment GetMatchIdAssignment()
Returns
Type | Description |
---|---|
Match |
An instance of MatchIdAssignment |
GetMultiplayAssignment()
Get the actual instance of MultiplayAssignment
. If the actual instance is not MultiplayAssignment
,
the InvalidClassException will be thrown
Declaration
public MultiplayAssignment GetMultiplayAssignment()
Returns
Type | Description |
---|---|
Multiplay |
An instance of MultiplayAssignment |
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |