// Code generated by github.com/99designs/gqlgen, DO NOT EDIT. package model import ( "time" ) type Supergraph interface { IsSupergraph() } type APIKey struct { ID string `json:"id"` Name string `json:"name"` Key *string `json:"key,omitempty"` Organization *Organization `json:"organization"` Refs []string `json:"refs"` Read bool `json:"read"` Publish bool `json:"publish"` } type InputAPIKey struct { Name string `json:"name"` OrganizationID string `json:"organizationId"` Refs []string `json:"refs"` Read bool `json:"read"` Publish bool `json:"publish"` } type InputSubGraph struct { Ref string `json:"ref"` Service string `json:"service"` URL *string `json:"url,omitempty"` WsURL *string `json:"wsUrl,omitempty"` Sdl string `json:"sdl"` } type Organization struct { ID string `json:"id"` Name string `json:"name"` Users []*User `json:"users"` APIKeys []*APIKey `json:"apiKeys"` } type SubGraph struct { ID string `json:"id"` Service string `json:"service"` URL *string `json:"url,omitempty"` WsURL *string `json:"wsUrl,omitempty"` Sdl string `json:"sdl"` ChangedBy string `json:"changedBy"` ChangedAt time.Time `json:"changedAt"` } type SubGraphs struct { ID string `json:"id"` MinDelaySeconds int `json:"minDelaySeconds"` SubGraphs []*SubGraph `json:"subGraphs"` } func (SubGraphs) IsSupergraph() {} type Unchanged struct { ID string `json:"id"` MinDelaySeconds int `json:"minDelaySeconds"` } func (Unchanged) IsSupergraph() {} type User struct { ID string `json:"id"` }