Class: Aws::GameLift::Types::AcceptMatchInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

Overview

Note:

When making an API call, you may pass AcceptMatchInput data as a hash:

{
  ticket_id: "MatchmakingIdStringModel", # required
  player_ids: ["NonZeroAndMaxString"], # required
  acceptance_type: "ACCEPT", # required, accepts ACCEPT, REJECT
}

Represents the input for a request operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#acceptance_typeString

Player response to the proposed match.

Returns:

  • (String)


40
41
42
43
44
45
46
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 40

class AcceptMatchInput < Struct.new(
  :ticket_id,
  :player_ids,
  :acceptance_type)
  SENSITIVE = []
  include Aws::Structure
end

#player_idsArray<String>

A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.

Returns:

  • (Array<String>)


40
41
42
43
44
45
46
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 40

class AcceptMatchInput < Struct.new(
  :ticket_id,
  :player_ids,
  :acceptance_type)
  SENSITIVE = []
  include Aws::Structure
end

#ticket_idString

A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this request will fail.

Returns:

  • (String)


40
41
42
43
44
45
46
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 40

class AcceptMatchInput < Struct.new(
  :ticket_id,
  :player_ids,
  :acceptance_type)
  SENSITIVE = []
  include Aws::Structure
end