google_api_games v0.6.0 GoogleApi.Games.V1.Model.TurnBasedAutoMatchingCriteria View Source

This is a JSON template for an turn-based auto-match criteria object.

Attributes

  • exclusiveBitmask (type: String.t, default: nil) - A bitmask indicating when auto-matches are valid. When ANDed with other exclusive bitmasks, the result must be zero. Can be used to support exclusive roles within a game.
  • kind (type: String.t, default: games#turnBasedAutoMatchingCriteria) - Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedAutoMatchingCriteria.
  • maxAutoMatchingPlayers (type: integer(), default: nil) - The maximum number of players that should be added to the match by auto-matching.
  • minAutoMatchingPlayers (type: integer(), default: nil) - The minimum number of players that should be added to the match by auto-matching.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Games.V1.Model.TurnBasedAutoMatchingCriteria{
  exclusiveBitmask: String.t(),
  kind: String.t(),
  maxAutoMatchingPlayers: integer(),
  minAutoMatchingPlayers: integer()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.