Interface IMatchmakerBackfillApi
Represents a collection of functions to interact with the API endpoints
Namespace: Unity.Services.Apis.Matchmaker
Assembly: Unity.Services.Apis.dll
Syntax
public interface IMatchmakerBackfillApi : IApiAccessor
Methods
ApproveBackfillTicket(string, CancellationToken)
Approve a backfill ticket
Declaration
ApiOperation<BackfillTicket> ApproveBackfillTicket(string id, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | Ticket ID or Backfill Ticket ID. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation<BackfillTicket> | The operation |
CreateBackfillTicket(CreateBackfillTicketRequest, CancellationToken)
Create a backfill ticket
Declaration
ApiOperation<CreateBackfillTicketResponse> CreateBackfillTicket(CreateBackfillTicketRequest createBackfillTicketRequest = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateBackfillTicketRequest | createBackfillTicketRequest | (optional) |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation<CreateBackfillTicketResponse> | The operation |
DeleteBackfillTicket(string, CancellationToken)
Delete a backfill ticket
Declaration
ApiOperation DeleteBackfillTicket(string id, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | Ticket ID or Backfill Ticket ID. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation | The operation |
UpdateBackfillTicket(string, BackfillTicket, CancellationToken)
Update a backfill ticket
Declaration
ApiOperation UpdateBackfillTicket(string id, BackfillTicket backfillTicket = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | Ticket ID or Backfill Ticket ID. |
| BackfillTicket | backfillTicket | (optional) |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation | The operation |