View Source GoogleApi.Games.V1.Model.Instance (google_api_games v0.24.0)

The Instance resource.

Attributes

  • acquisitionUri (type: String.t, default: nil) - URI which shows where a user can acquire this instance.
  • androidInstance (type: GoogleApi.Games.V1.Model.InstanceAndroidDetails.t, default: nil) - Platform dependent details for Android.
  • iosInstance (type: GoogleApi.Games.V1.Model.InstanceIosDetails.t, default: nil) - Platform dependent details for iOS.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#instance.
  • name (type: String.t, default: nil) - Localized display name.
  • platformType (type: String.t, default: nil) - The platform type.
  • realtimePlay (type: boolean(), default: nil) - Flag to show if this game instance supports realtime play.
  • turnBasedPlay (type: boolean(), default: nil) - Flag to show if this game instance supports turn based play.
  • webInstance (type: GoogleApi.Games.V1.Model.InstanceWebDetails.t, default: nil) - Platform dependent details for Web.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Games.V1.Model.Instance{
  acquisitionUri: String.t() | nil,
  androidInstance: GoogleApi.Games.V1.Model.InstanceAndroidDetails.t() | nil,
  iosInstance: GoogleApi.Games.V1.Model.InstanceIosDetails.t() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  platformType: String.t() | nil,
  realtimePlay: boolean() | nil,
  turnBasedPlay: boolean() | nil,
  webInstance: GoogleApi.Games.V1.Model.InstanceWebDetails.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.