google_api_games v0.2.0 GoogleApi.Games.V1.Model.Instance View Source

This is a JSON template for the Instance resource.

Attributes

  • acquisitionUri (String.t): URI which shows where a user can acquire this instance. Defaults to: null.
  • androidInstance (InstanceAndroidDetails): Platform dependent details for Android. Defaults to: null.
  • iosInstance (InstanceIosDetails): Platform dependent details for iOS. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#instance. Defaults to: null.
  • name (String.t): Localized display name. Defaults to: null.
  • platformType (String.t): The platform type. Possible values are: - "ANDROID" - Instance is for Android. - "IOS" - Instance is for iOS - "WEB_APP" - Instance is for Web App. Defaults to: null.
  • realtimePlay (boolean()): Flag to show if this game instance supports realtime play. Defaults to: null.
  • turnBasedPlay (boolean()): Flag to show if this game instance supports turn based play. Defaults to: null.
  • webInstance (InstanceWebDetails): Platform dependent details for Web. Defaults to: null.

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.Instance{
  acquisitionUri: any(),
  androidInstance: GoogleApi.Games.V1.Model.InstanceAndroidDetails.t(),
  iosInstance: GoogleApi.Games.V1.Model.InstanceIosDetails.t(),
  kind: any(),
  name: any(),
  platformType: any(),
  realtimePlay: any(),
  turnBasedPlay: any(),
  webInstance: GoogleApi.Games.V1.Model.InstanceWebDetails.t()
}

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.