Skip to main content

GmContainerType

A studio-defined container type: the schema for a kind of runtime entity (like a class).

type GmContainerType {
appId: BigInt!
typeName: String!
displayName: String!
description: String
instantiableBy: String!
defaultPropertyVisibility: String!
metadataJson: String!
}

Fields

GmContainerType.appId ● BigInt! non-null scalar

The app (tenant) that owns the type.

GmContainerType.typeName ● String! non-null scalar

Stable type name (unique per app); used to reference the type.

GmContainerType.displayName ● String! non-null scalar

Human-friendly display name.

GmContainerType.description ● String scalar

Optional description of the type.

GmContainerType.instantiableBy ● String! non-null scalar

Who may instantiate this type: admin | member | owner.

GmContainerType.defaultPropertyVisibility ● String! non-null scalar

Default visibility for this type's properties: public | owner | hidden.

GmContainerType.metadataJson ● String! non-null scalar

JSON object of developer metadata.

Returned By

gameModelContainerTypes query ● gameModelUpsertContainerType mutation