google_api_games v0.5.0 GoogleApi.Games.V1.Model.EventDefinition View Source

This is a JSON template for an event definition resource.

Attributes

  • childEvents (type: list(GoogleApi.Games.V1.Model.EventChild.t), default: nil) - A list of events that are a child of this event.
  • description (type: String.t, default: nil) - Description of what this event represents.
  • displayName (type: String.t, default: nil) - The name to display for the event.
  • id (type: String.t, default: nil) - The ID of the event.
  • imageUrl (type: String.t, default: nil) - The base URL for the image that represents the event.
  • isDefaultImageUrl (type: boolean(), default: nil) - Indicates whether the icon image being returned is a default image, or is game-provided.
  • kind (type: String.t, default: games#eventDefinition) - Uniquely identifies the type of this resource. Value is always the fixed string games#eventDefinition.
  • visibility (type: String.t, default: nil) - The visibility of event being tracked in this definition. Possible values are:

    • "REVEALED": This event should be visible to all users.
    • "HIDDEN": This event should only be shown to users that have recorded this event at least once.

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.EventDefinition{
  childEvents: [GoogleApi.Games.V1.Model.EventChild.t()],
  description: String.t(),
  displayName: String.t(),
  id: String.t(),
  imageUrl: String.t(),
  isDefaultImageUrl: boolean(),
  kind: String.t(),
  visibility: String.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.