You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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: ["PlayerIdStringModel"], # required
  acceptance_type: "ACCEPT", # required, accepts ACCEPT, REJECT
}

Represents the input for a request action.

Instance Attribute Summary collapse

Instance Attribute Details

#acceptance_typeString

Player response to the proposed match.

Returns:

  • (String)


38
39
40
41
42
43
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 38

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

#player_idsArray<String>

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

Returns:

  • (Array<String>)


38
39
40
41
42
43
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 38

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

#ticket_idString

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

Returns:

  • (String)


38
39
40
41
42
43
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 38

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