diff --git a/genqlient.yaml b/genqlient.yaml index eb9816b4..131ac9bc 100644 --- a/genqlient.yaml +++ b/genqlient.yaml @@ -11,6 +11,7 @@ operations: - internal/job/**/*.go - internal/kafka/**/*.go - internal/postgres/**/*.go + - internal/config/**/*.go - internal/secret/**/*.go - internal/vulnerability/**/*.go bindings: diff --git a/internal/application/application.go b/internal/application/application.go index 1cad9705..c135c6fb 100644 --- a/internal/application/application.go +++ b/internal/application/application.go @@ -12,6 +12,7 @@ import ( alpha "github.com/nais/cli/internal/alpha/command" appCommand "github.com/nais/cli/internal/app/command" "github.com/nais/cli/internal/auth" + configCmd "github.com/nais/cli/internal/config/command" debug "github.com/nais/cli/internal/debug/command" "github.com/nais/cli/internal/flags" issues "github.com/nais/cli/internal/issues/command" @@ -78,6 +79,7 @@ func New(w io.Writer) (*Application, *flags.GlobalFlags, error) { postgres.Postgres(globalFlags), debug.Debug(globalFlags), kubeconfig.Kubeconfig(globalFlags), + configCmd.Config(globalFlags), secrets.Secrets(globalFlags), vulnerabilities.Vulnerabilities(globalFlags), validate.Validate(globalFlags), diff --git a/internal/config/activity.go b/internal/config/activity.go new file mode 100644 index 00000000..b0305bc3 --- /dev/null +++ b/internal/config/activity.go @@ -0,0 +1,127 @@ +package config + +import ( + "context" + "slices" + "sort" + "time" + + "github.com/nais/cli/internal/naisapi" + "github.com/nais/cli/internal/naisapi/gql" +) + +type ConfigActivity struct { + CreatedAt time.Time `heading:"Created" json:"created_at"` + Actor string `json:"actor"` + Environment string `json:"environment"` + Message string `json:"message"` +} + +type configActivityEntry struct { + CreatedAt time.Time + Actor string + Message string + EnvironmentName string +} + +type configActivityResource struct { + Name string + DefaultEnvName string + Entries []configActivityEntry +} + +func GetActivity(ctx context.Context, team, name string, environments []string, activityTypes []gql.ActivityLogActivityType, limit int) ([]ConfigActivity, bool, error) { + _ = `# @genqlient + query GetConfigActivity($team: Slug!, $name: String!, $activityTypes: [ActivityLogActivityType!], $first: Int) { + team(slug: $team) { + configs(filter: { name: $name }, first: 1000) { + nodes { + name + teamEnvironment { + environment { + name + } + } + activityLog(first: $first, filter: { activityTypes: $activityTypes }) { + nodes { + actor + createdAt + message + environmentName + } + } + } + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return nil, false, err + } + + resp, err := gql.GetConfigActivity(ctx, client, team, name, activityTypes, limit) + if err != nil { + return nil, false, err + } + + resources := make([]configActivityResource, 0, len(resp.Team.Configs.Nodes)) + for _, c := range resp.Team.Configs.Nodes { + entries := make([]configActivityEntry, 0, len(c.ActivityLog.Nodes)) + for _, entry := range c.ActivityLog.Nodes { + entries = append(entries, configActivityEntry{ + CreatedAt: entry.GetCreatedAt(), + Actor: entry.GetActor(), + Message: entry.GetMessage(), + EnvironmentName: entry.GetEnvironmentName(), + }) + } + + resources = append(resources, configActivityResource{ + Name: c.Name, + DefaultEnvName: c.TeamEnvironment.Environment.Name, + Entries: entries, + }) + } + + ret, found := buildConfigActivity(resources, name, environments) + return ret, found, nil +} + +func buildConfigActivity(resources []configActivityResource, name string, environments []string) ([]ConfigActivity, bool) { + found := false + ret := make([]ConfigActivity, 0) + + for _, c := range resources { + if c.Name != name { + continue + } + + defaultEnv := c.DefaultEnvName + if len(environments) > 0 && !slices.Contains(environments, defaultEnv) { + continue + } + + found = true + + for _, entry := range c.Entries { + env := defaultEnv + if entry.EnvironmentName != "" { + env = entry.EnvironmentName + } + ret = append(ret, ConfigActivity{ + CreatedAt: entry.CreatedAt, + Actor: entry.Actor, + Environment: env, + Message: entry.Message, + }) + } + } + + sort.SliceStable(ret, func(i, j int) bool { + return ret[i].CreatedAt.After(ret[j].CreatedAt) + }) + + return ret, found +} diff --git a/internal/config/activity_test.go b/internal/config/activity_test.go new file mode 100644 index 00000000..8b8b44d2 --- /dev/null +++ b/internal/config/activity_test.go @@ -0,0 +1,131 @@ +package config + +import ( + "reflect" + "testing" + "time" +) + +func TestBuildConfigActivity(t *testing.T) { + t.Parallel() + + now := time.Now().UTC() + + tests := []struct { + name string + resources []configActivityResource + configName string + environments []string + wantFound bool + want []ConfigActivity + }{ + { + name: "exact name match with fallback environment", + configName: "app-settings", + resources: []configActivityResource{ + { + Name: "app-settings", + DefaultEnvName: "dev-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "alice@example.com", Message: "Updated config value", EnvironmentName: ""}, + }, + }, + }, + wantFound: true, + want: []ConfigActivity{ + {CreatedAt: now, Actor: "alice@example.com", Environment: "dev-gcp", Message: "Updated config value"}, + }, + }, + { + name: "entry with explicit environment overrides default", + configName: "app-settings", + resources: []configActivityResource{ + { + Name: "app-settings", + DefaultEnvName: "dev-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "bob@example.com", Message: "Created config", EnvironmentName: "prod-gcp"}, + }, + }, + }, + wantFound: true, + want: []ConfigActivity{ + {CreatedAt: now, Actor: "bob@example.com", Environment: "prod-gcp", Message: "Created config"}, + }, + }, + { + name: "not found in requested environment", + configName: "app-settings", + resources: []configActivityResource{ + { + Name: "app-settings", + DefaultEnvName: "dev-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "alice@example.com", Message: "Updated config value", EnvironmentName: ""}, + }, + }, + }, + environments: []string{"prod-gcp"}, + wantFound: false, + want: []ConfigActivity{}, + }, + { + name: "not found when only partial name exists", + configName: "app", + resources: []configActivityResource{ + { + Name: "app-settings", + DefaultEnvName: "dev-gcp", + }, + }, + wantFound: false, + want: []ConfigActivity{}, + }, + { + name: "multiple resources same name different envs", + configName: "db-config", + resources: []configActivityResource{ + { + Name: "db-config", + DefaultEnvName: "dev-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "alice@example.com", Message: "Added key", EnvironmentName: ""}, + }, + }, + { + Name: "db-config", + DefaultEnvName: "prod-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "bob@example.com", Message: "Updated key", EnvironmentName: ""}, + }, + }, + }, + environments: []string{"prod-gcp"}, + wantFound: true, + want: []ConfigActivity{ + {CreatedAt: now, Actor: "bob@example.com", Environment: "prod-gcp", Message: "Updated key"}, + }, + }, + { + name: "empty resources", + configName: "anything", + resources: nil, + wantFound: false, + want: []ConfigActivity{}, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + + got, found := buildConfigActivity(tt.resources, tt.configName, tt.environments) + if found != tt.wantFound { + t.Fatalf("buildConfigActivity() found = %v, want %v", found, tt.wantFound) + } + if !reflect.DeepEqual(got, tt.want) { + t.Fatalf("buildConfigActivity() = %#v, want %#v", got, tt.want) + } + }) + } +} diff --git a/internal/config/command/activity.go b/internal/config/command/activity.go new file mode 100644 index 00000000..ba1d0d6a --- /dev/null +++ b/internal/config/command/activity.go @@ -0,0 +1,70 @@ +package command + +import ( + "context" + + activityutil "github.com/nais/cli/internal/activity" + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/naistrix" + "github.com/nais/naistrix/output" +) + +func activity(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Activity{ + Config: parentFlags, + Output: "table", + Limit: 20, + } + + return &naistrix.Command{ + Name: "activity", + Title: "Show activity for a config.", + Args: defaultArgs, + Flags: f, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + if err := validateArgs(args); err != nil { + return err + } + + activityTypes, err := activityutil.ParseActivityTypes(f.ActivityType) + if err != nil { + return err + } + + ret, found, err := config.GetActivity(ctx, f.Team, args.Get("name"), f.Environment, activityTypes, f.Limit) + if err != nil { + return err + } + + if !found { + out.Println("Config not found.") + return nil + } + + if len(ret) == 0 { + out.Println("No activity found for config.") + return nil + } + + if f.Output == "json" { + return out.JSON(output.JSONWithPrettyOutput()).Render(ret) + } + + return out.Table().Render(ret) + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + if f.Team == "" { + return nil, "Please provide team to auto-complete config names. 'nais defaults set team ', or '--team ' flag." + } + environments := []string(f.Environment) + if len(environments) == 0 { + environments = environmentValuesFromCLIArgs() + } + return autoCompleteConfigNamesInEnvironments(ctx, f.Team, environments, false) + } + return nil, "" + }, + } +} diff --git a/internal/config/command/command.go b/internal/config/command/command.go new file mode 100644 index 00000000..b2385cd8 --- /dev/null +++ b/internal/config/command/command.go @@ -0,0 +1,128 @@ +package command + +import ( + "context" + "fmt" + "sort" + "strings" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/flags" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" +) + +func Config(parentFlags *flags.GlobalFlags) *naistrix.Command { + f := &flag.Config{GlobalFlags: parentFlags} + return &naistrix.Command{ + Name: "config", + Title: "Manage config for a team.", + StickyFlags: f, + ValidateFunc: func(context.Context, *naistrix.Arguments) error { + return validation.CheckTeam(f.Team) + }, + SubCommands: []*naistrix.Command{ + list(f), + activity(f), + get(f), + create(f), + deleteConfig(f), + set(f), + unset(f), + }, + } +} + +var defaultArgs = []naistrix.Argument{ + {Name: "name"}, +} + +func validateArgs(args *naistrix.Arguments) error { + if args.Len() != 1 { + return fmt.Errorf("expected 1 argument, got %d", args.Len()) + } + if args.Get("name") == "" { + return fmt.Errorf("name cannot be empty") + } + return nil +} + +func metadataFromArgs(args *naistrix.Arguments, team string, environment string) config.Metadata { + return config.Metadata{ + TeamSlug: team, + EnvironmentName: environment, + Name: args.Get("name"), + } +} + +func autoCompleteConfigNames(ctx context.Context, team, environment string, requireEnvironment bool) ([]string, string) { + if countEnvironmentFlagsInCLIArgs() > 1 { + return nil, "Only one --environment/-e flag may be provided." + } + + if environment == "" { + envs := environmentValuesFromCLIArgs() + if len(envs) == 1 { + environment = envs[0] + } + } + + environments := []string{} + if environment != "" { + environments = append(environments, environment) + } + return autoCompleteConfigNamesInEnvironments(ctx, team, environments, requireEnvironment) +} + +func autoCompleteConfigNamesInEnvironments(ctx context.Context, team string, environments []string, requireEnvironment bool) ([]string, string) { + if team == "" { + return nil, "Please provide team to auto-complete config names. 'nais defaults set team ', or '--team ' flag." + } + if requireEnvironment && len(environments) == 0 { + return nil, "Please provide environment to auto-complete config names. '--environment ' flag." + } + + environmentFilter := make(map[string]struct{}, len(environments)) + for _, env := range environments { + if env == "" { + continue + } + environmentFilter[env] = struct{}{} + } + + configs, err := config.GetAll(ctx, team) + if err != nil { + return nil, fmt.Sprintf("Unable to fetch config for auto-completion: %v", err) + } + + seen := make(map[string]struct{}) + var names []string + for _, c := range configs { + if len(environmentFilter) > 0 { + if _, ok := environmentFilter[c.TeamEnvironment.Environment.Name]; !ok { + continue + } + } + if _, ok := seen[c.Name]; ok { + continue + } + seen[c.Name] = struct{}{} + names = append(names, c.Name) + } + sort.Strings(names) + + if len(names) == 0 && len(environmentFilter) > 0 { + sortedEnvironments := make([]string, 0, len(environmentFilter)) + for env := range environmentFilter { + sortedEnvironments = append(sortedEnvironments, env) + } + sort.Strings(sortedEnvironments) + if len(sortedEnvironments) == 1 { + return nil, fmt.Sprintf("No config found in environment %q.", sortedEnvironments[0]) + } + return nil, fmt.Sprintf("No config found in environments: %s.", strings.Join(sortedEnvironments, ", ")) + } + + return names, "Select a config." +} diff --git a/internal/config/command/create.go b/internal/config/command/create.go new file mode 100644 index 00000000..0734037d --- /dev/null +++ b/internal/config/command/create.go @@ -0,0 +1,46 @@ +package command + +import ( + "context" + "fmt" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/pterm/pterm" +) + +func create(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Create{Config: parentFlags} + return &naistrix.Command{ + Name: "create", + Title: "Create a new config.", + Description: "This command creates a new empty config in a team environment.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validation.CheckEnvironment(string(f.Environment)); err != nil { + return err + } + return validateArgs(args) + }, + Examples: []naistrix.Example{ + { + Description: "Create a config named my-config in environment dev.", + Command: "my-config --environment dev", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + metadata := metadataFromArgs(args, f.Team, string(f.Environment)) + + _, err := config.Create(ctx, metadata) + if err != nil { + return fmt.Errorf("creating config: %w", err) + } + + pterm.Success.Printfln("Created config %q in %q for team %q", metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + return nil + }, + } +} diff --git a/internal/config/command/delete.go b/internal/config/command/delete.go new file mode 100644 index 00000000..6b03b9f6 --- /dev/null +++ b/internal/config/command/delete.go @@ -0,0 +1,94 @@ +package command + +import ( + "context" + "fmt" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/pterm/pterm" +) + +func deleteConfig(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Delete{Config: parentFlags} + return &naistrix.Command{ + Name: "delete", + Title: "Delete a config.", + Description: "This command deletes a config and all its values.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validateSingleEnvironmentFlagUsage(); err != nil { + return err + } + if err := validation.CheckEnvironment(string(f.Environment)); err != nil { + return err + } + return validateArgs(args) + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + return autoCompleteConfigNames(ctx, f.Team, string(f.Environment), true) + } + return nil, "" + }, + Examples: []naistrix.Example{ + { + Description: "Delete a config named my-config in environment dev.", + Command: "my-config --environment dev", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + metadata := metadataFromArgs(args, f.Team, string(f.Environment)) + + existing, err := config.Get(ctx, metadata) + if err != nil { + return fmt.Errorf("fetching config: %w", err) + } + + pterm.Warning.Println("You are about to delete a config with the following configuration:") + err = pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(config.FormatDetails(metadata, existing)). + Render() + if err != nil { + return err + } + + if len(existing.Workloads.Nodes) > 0 { + pterm.Warning.Println("This config is currently in use by the following workloads:") + err = pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(config.FormatWorkloads(existing)). + Render() + if err != nil { + return err + } + } + + if !f.Yes { + result, _ := pterm.DefaultInteractiveConfirm.Show("Are you sure you want to continue?") + if !result { + return fmt.Errorf("cancelled by user") + } + } + + deleted, err := config.Delete(ctx, metadata) + if err != nil { + return fmt.Errorf("deleting config: %w", err) + } + + if !deleted { + pterm.Warning.Printfln("Config %q in %q for team %q was not deleted", metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + return nil + } + + pterm.Success.Printfln("Deleted config %q from %q for team %q", metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + return nil + }, + } +} diff --git a/internal/config/command/environment.go b/internal/config/command/environment.go new file mode 100644 index 00000000..a172465f --- /dev/null +++ b/internal/config/command/environment.go @@ -0,0 +1,62 @@ +package command + +import ( + "context" + "fmt" + "os" + "slices" + "sort" + "strings" + + "github.com/nais/cli/internal/cliflags" + "github.com/nais/cli/internal/config" +) + +func resolveConfigEnvironment(ctx context.Context, team, name, provided string) (string, error) { + envs, err := config.ConfigEnvironments(ctx, team, name) + if err != nil { + return "", fmt.Errorf("fetching environments for config %q: %w", name, err) + } + + return selectConfigEnvironment(team, name, provided, envs) +} + +func selectConfigEnvironment(team, name, provided string, envs []string) (string, error) { + if provided != "" { + if slices.Contains(envs, provided) { + return provided, nil + } + + if len(envs) == 0 { + return "", fmt.Errorf("config %q not found in team %q", name, team) + } + + sort.Strings(envs) + return "", fmt.Errorf("config %q does not exist in environment %q; available environments: %s", name, provided, strings.Join(envs, ", ")) + } + + switch len(envs) { + case 0: + return "", fmt.Errorf("config %q not found in team %q", name, team) + case 1: + return envs[0], nil + default: + sort.Strings(envs) + return "", fmt.Errorf("config %q exists in multiple environments (%s); specify --environment/-e", name, strings.Join(envs, ", ")) + } +} + +func validateSingleEnvironmentFlagUsage() error { + if countEnvironmentFlagsInCLIArgs() > 1 { + return fmt.Errorf("only one --environment/-e flag may be provided") + } + return nil +} + +func countEnvironmentFlagsInCLIArgs() int { + return cliflags.CountFlagOccurrences(os.Args, "-e", "--environment") +} + +func environmentValuesFromCLIArgs() []string { + return cliflags.UniqueFlagValues(os.Args, "-e", "--environment") +} diff --git a/internal/config/command/environment_test.go b/internal/config/command/environment_test.go new file mode 100644 index 00000000..1af8e353 --- /dev/null +++ b/internal/config/command/environment_test.go @@ -0,0 +1,87 @@ +package command + +import "testing" + +func TestSelectConfigEnvironment(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + team string + config string + provided string + envs []string + wantEnv string + wantError string + }{ + { + name: "provided environment exists", + team: "nais", + config: "my-config", + provided: "dev-gcp", + envs: []string{"dev-gcp", "prod-gcp"}, + wantEnv: "dev-gcp", + }, + { + name: "provided environment missing with alternatives", + team: "nais", + config: "my-config", + provided: "staging-gcp", + envs: []string{"prod-gcp", "dev-gcp"}, + wantError: "config \"my-config\" does not exist in environment \"staging-gcp\"; available environments: dev-gcp, prod-gcp", + }, + { + name: "provided environment missing and config absent", + team: "nais", + config: "my-config", + provided: "dev-gcp", + envs: nil, + wantError: "config \"my-config\" not found in team \"nais\"", + }, + { + name: "no provided and no environments", + team: "nais", + config: "my-config", + envs: nil, + wantError: "config \"my-config\" not found in team \"nais\"", + }, + { + name: "no provided and one environment", + team: "nais", + config: "my-config", + envs: []string{"dev-gcp"}, + wantEnv: "dev-gcp", + }, + { + name: "no provided and multiple environments", + team: "nais", + config: "my-config", + envs: []string{"prod-gcp", "dev-gcp"}, + wantError: "config \"my-config\" exists in multiple environments (dev-gcp, prod-gcp); specify --environment/-e", + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + + gotEnv, err := selectConfigEnvironment(tt.team, tt.config, tt.provided, tt.envs) + if tt.wantError != "" { + if err == nil { + t.Fatalf("expected error %q, got nil", tt.wantError) + } + if err.Error() != tt.wantError { + t.Fatalf("error = %q, want %q", err.Error(), tt.wantError) + } + return + } + + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if gotEnv != tt.wantEnv { + t.Fatalf("env = %q, want %q", gotEnv, tt.wantEnv) + } + }) + } +} diff --git a/internal/config/command/flag/flag.go b/internal/config/command/flag/flag.go new file mode 100644 index 00000000..b8be2dd2 --- /dev/null +++ b/internal/config/command/flag/flag.go @@ -0,0 +1,129 @@ +package flag + +import ( + "context" + "fmt" + + activityutil "github.com/nais/cli/internal/activity" + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/flags" + "github.com/nais/cli/internal/naisapi" + "github.com/nais/cli/internal/naisapi/gql" + "github.com/nais/naistrix" +) + +type Config struct { + *flags.GlobalFlags + Environment Env `name:"environment" short:"e" usage:"Filter by environment."` +} + +type Env string + +func (e *Env) AutoComplete(ctx context.Context, _ *naistrix.Arguments, _ string, _ any) ([]string, string) { + return autoCompleteEnvironments(ctx) +} + +// GetEnv is like Env but provides context-aware autocomplete: when a config +// name argument has been provided, only environments where that config exists +// are suggested. +type GetEnv string + +func (e *GetEnv) AutoComplete(ctx context.Context, args *naistrix.Arguments, _ string, flags any) ([]string, string) { + if args.Len() == 0 { + return autoCompleteEnvironments(ctx) + } + + type teamProvider interface { + GetTeam() string + } + + tp, ok := flags.(teamProvider) + if !ok || tp.GetTeam() == "" { + return nil, "Please provide team to auto-complete environments. 'nais defaults set team ', or '--team ' flag." + } + + envs, err := config.ConfigEnvironments(ctx, tp.GetTeam(), args.Get("name")) + if err != nil { + return nil, fmt.Sprintf("Failed to fetch environments for auto-completion: %v", err) + } + return envs, "Available environments" +} + +func autoCompleteEnvironments(ctx context.Context) ([]string, string) { + envs, err := naisapi.GetAllEnvironments(ctx) + if err != nil { + return nil, fmt.Sprintf("Failed to fetch environments for auto-completion: %v", err) + } + return envs, "Available environments" +} + +type Environments []string + +func (e *Environments) AutoComplete(ctx context.Context, _ *naistrix.Arguments, _ string, _ any) ([]string, string) { + return autoCompleteEnvironments(ctx) +} + +type Output string + +func (o *Output) AutoComplete(context.Context, *naistrix.Arguments, string, any) ([]string, string) { + return []string{"table", "json"}, "Available output formats." +} + +type List struct { + *Config + Environment Environments `name:"environment" short:"e" usage:"Filter by environment."` + Output Output `name:"output" short:"o" usage:"Format output (table|json)."` +} + +type Activity struct { + *Config + Environment Environments `name:"environment" short:"e" usage:"Filter by environment."` + Output Output `name:"output" short:"o" usage:"Format output (table|json)."` + Limit int `name:"limit" short:"l" usage:"Maximum number of activity entries to fetch."` + ActivityType ActivityTypes `name:"activity-type" usage:"Filter by activity type. Can be repeated."` +} + +type ActivityTypes []string + +func (a *ActivityTypes) AutoComplete(context.Context, *naistrix.Arguments, string, any) ([]string, string) { + return activityutil.EnumStrings(gql.AllActivityLogActivityType), "Available activity types" +} + +type Get struct { + *Config + Environment GetEnv `name:"environment" short:"e" usage:"Filter by environment."` + Output Output `name:"output" short:"o" usage:"Format output (table|json)."` +} + +func (g *Get) GetTeam() string { return string(g.Team) } + +type Create struct { + *Config +} + +type Delete struct { + *Config + Environment GetEnv `name:"environment" short:"e" usage:"Filter by environment."` + Yes bool `name:"yes" short:"y" usage:"Automatic yes to prompts; assume 'yes' as answer to all prompts and run non-interactively."` +} + +func (d *Delete) GetTeam() string { return string(d.Team) } + +type Set struct { + *Config + Environment GetEnv `name:"environment" short:"e" usage:"Filter by environment."` + Key string `name:"key" usage:"Name of the key to set."` + Value string `name:"value" usage:"Value to set."` + ValueFromStdin bool `name:"value-from-stdin" usage:"Read value from stdin."` +} + +func (s *Set) GetTeam() string { return string(s.Team) } + +type Unset struct { + *Config + Environment GetEnv `name:"environment" short:"e" usage:"Filter by environment."` + Key string `name:"key" usage:"Name of the key to unset."` + Yes bool `name:"yes" short:"y" usage:"Automatic yes to prompts; assume 'yes' as answer to all prompts and run non-interactively."` +} + +func (u *Unset) GetTeam() string { return string(u.Team) } diff --git a/internal/config/command/get.go b/internal/config/command/get.go new file mode 100644 index 00000000..aecb95e3 --- /dev/null +++ b/internal/config/command/get.go @@ -0,0 +1,141 @@ +package command + +import ( + "context" + "fmt" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/nais/naistrix/output" + "github.com/pterm/pterm" +) + +// Entry represents a key-value pair in a config. +type Entry struct { + Key string `json:"key"` + Value string `json:"value"` +} + +type ConfigDetail struct { + Name string `json:"name"` + Environment string `json:"environment"` + Data []Entry `json:"data"` + LastModified config.LastModified `json:"lastModified"` + ModifiedBy string `json:"modifiedBy,omitempty"` + Workloads []string `json:"workloads,omitempty"` +} + +func get(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Get{Config: parentFlags} + return &naistrix.Command{ + Name: "get", + Title: "Get details about a config.", + Description: "This command shows details about a config, including its key-value pairs, workloads using it, and last modification info.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validateSingleEnvironmentFlagUsage(); err != nil { + return err + } + if providedEnvironment := string(f.Environment); providedEnvironment != "" { + if err := validation.CheckEnvironment(providedEnvironment); err != nil { + return err + } + } + return validateArgs(args) + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + return autoCompleteConfigNames(ctx, f.Team, string(f.Environment), false) + } + return nil, "" + }, + Examples: []naistrix.Example{ + { + Description: "Get details for a config named my-config in environment dev.", + Command: "my-config --environment dev", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + if providedEnvironment := string(f.Environment); providedEnvironment != "" { + return runGetCommand(ctx, args, out, f.Team, providedEnvironment, f.Output) + } + + environment, err := resolveConfigEnvironment(ctx, f.Team, args.Get("name"), string(f.Environment)) + if err != nil { + return err + } + + return runGetCommand(ctx, args, out, f.Team, environment, f.Output) + }, + } +} + +func runGetCommand(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter, team, environment string, outputFormat flag.Output) error { + metadata := metadataFromArgs(args, team, environment) + + existing, err := config.Get(ctx, metadata) + if err != nil { + return fmt.Errorf("fetching config: %w", err) + } + + entries := make([]Entry, len(existing.Values)) + for i, v := range existing.Values { + entries[i] = Entry{Key: v.Name, Value: v.Value} + } + + if outputFormat == "json" { + detail := ConfigDetail{ + Name: existing.Name, + Environment: existing.TeamEnvironment.Environment.Name, + Data: entries, + LastModified: config.LastModified(existing.LastModifiedAt), + } + if existing.LastModifiedBy.Email != "" { + detail.ModifiedBy = existing.LastModifiedBy.Email + } + for _, w := range existing.Workloads.Nodes { + detail.Workloads = append(detail.Workloads, w.GetName()) + } + return out.JSON(output.JSONWithPrettyOutput()).Render(detail) + } + + pterm.DefaultSection.Println("Config details") + err = pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(config.FormatDetails(metadata, existing)). + Render() + if err != nil { + return fmt.Errorf("rendering table: %w", err) + } + + pterm.DefaultSection.Println("Data") + if len(entries) > 0 { + data := config.FormatData(existing.Values) + err = pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(data). + Render() + if err != nil { + return fmt.Errorf("rendering data table: %w", err) + } + } else { + pterm.Info.Println("This config has no keys.") + } + + if len(existing.Workloads.Nodes) > 0 { + pterm.DefaultSection.Println("Workloads using this config") + return pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(config.FormatWorkloads(existing)). + Render() + } + + pterm.Info.Println("No workloads are using this config.") + return nil +} diff --git a/internal/config/command/list.go b/internal/config/command/list.go new file mode 100644 index 00000000..f766eb0e --- /dev/null +++ b/internal/config/command/list.go @@ -0,0 +1,106 @@ +package command + +import ( + "context" + "fmt" + "slices" + "strings" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/naistrix" + "github.com/nais/naistrix/output" +) + +type ConfigSummary struct { + Name string `heading:"Name"` + Environment string `heading:"Environment"` + Keys string `heading:"Keys"` + Workloads string `heading:"Workloads"` + LastModified config.LastModified `heading:"Last Modified"` +} + +const maxListItems = 3 + +func list(parentFlags *flag.Config) *naistrix.Command { + f := &flag.List{Config: parentFlags} + + return &naistrix.Command{ + Name: "list", + Title: "List config for a team.", + Description: "This command lists all config for a given team.", + Flags: f, + Examples: []naistrix.Example{ + { + Description: "List all config for the team.", + }, + { + Description: "List config in a specific environment.", + Command: "--environment dev", + }, + }, + RunFunc: func(ctx context.Context, _ *naistrix.Arguments, out *naistrix.OutputWriter) error { + configs, err := config.GetAll(ctx, f.Team) + if err != nil { + return fmt.Errorf("fetching config: %w", err) + } + + if len(configs) == 0 { + out.Infoln("No config found") + return nil + } + + var summaries []ConfigSummary + for _, c := range configs { + envName := c.TeamEnvironment.Environment.Name + + if len(f.Environment) > 0 && !slices.Contains(f.Environment, envName) { + continue + } + + var keyNames []string + for _, v := range c.Values { + keyNames = append(keyNames, v.Name) + } + + var workloadNames []string + for _, w := range c.Workloads.Nodes { + workloadNames = append(workloadNames, w.GetName()) + } + + summaries = append(summaries, ConfigSummary{ + Name: c.Name, + Environment: envName, + Keys: summarizeList(keyNames), + Workloads: summarizeList(workloadNames), + LastModified: config.LastModified(c.LastModifiedAt), + }) + } + + if len(summaries) == 0 { + out.Infoln("No config matches the given filters") + return nil + } + + if f.Output == "json" { + return out.JSON(output.JSONWithPrettyOutput()).Render(summaries) + } + + return out.Table().Render(summaries) + }, + } +} + +// summarizeList joins items with ", " and truncates if there are more than maxListItems. +// e.g. ["a", "b", "c", "d", "e"] -> "a, b, c, +2 more" +func summarizeList(items []string) string { + if len(items) == 0 { + return "" + } + + if len(items) <= maxListItems { + return strings.Join(items, ", ") + } + + return fmt.Sprintf("%s, +%d more", strings.Join(items[:maxListItems], ", "), len(items)-maxListItems) +} diff --git a/internal/config/command/list_test.go b/internal/config/command/list_test.go new file mode 100644 index 00000000..82f8d695 --- /dev/null +++ b/internal/config/command/list_test.go @@ -0,0 +1,54 @@ +package command + +import "testing" + +func TestSummarizeList(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + items []string + want string + }{ + { + name: "empty", + items: nil, + want: "", + }, + { + name: "single item", + items: []string{"a"}, + want: "a", + }, + { + name: "two items", + items: []string{"a", "b"}, + want: "a, b", + }, + { + name: "exactly max items", + items: []string{"a", "b", "c"}, + want: "a, b, c", + }, + { + name: "one over max", + items: []string{"a", "b", "c", "d"}, + want: "a, b, c, +1 more", + }, + { + name: "many over max", + items: []string{"a", "b", "c", "d", "e", "f"}, + want: "a, b, c, +3 more", + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := summarizeList(tt.items) + if got != tt.want { + t.Errorf("summarizeList(%v) = %q, want %q", tt.items, got, tt.want) + } + }) + } +} diff --git a/internal/config/command/set.go b/internal/config/command/set.go new file mode 100644 index 00000000..92988245 --- /dev/null +++ b/internal/config/command/set.go @@ -0,0 +1,88 @@ +package command + +import ( + "context" + "fmt" + "io" + "os" + "strings" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/pterm/pterm" +) + +func set(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Set{Config: parentFlags} + return &naistrix.Command{ + Name: "set", + Title: "Set a key-value pair in a config.", + Description: "Set a key-value pair in a config. If the key already exists, its value is updated. If the key does not exist, it is added. Updating a value will cause a restart of workloads referencing the config.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validateSingleEnvironmentFlagUsage(); err != nil { + return err + } + if err := validation.CheckEnvironment(string(f.Environment)); err != nil { + return err + } + if err := validateArgs(args); err != nil { + return err + } + if f.Key == "" { + return fmt.Errorf("--key is required") + } + if f.Value == "" && !f.ValueFromStdin { + return fmt.Errorf("--value or --value-from-stdin is required") + } + if f.Value != "" && f.ValueFromStdin { + return fmt.Errorf("--value and --value-from-stdin are mutually exclusive") + } + return nil + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + return autoCompleteConfigNames(ctx, f.Team, string(f.Environment), true) + } + return nil, "" + }, + Examples: []naistrix.Example{ + { + Description: "Set a key-value pair in a config.", + Command: "my-config --environment dev --key DATABASE_HOST --value db.example.com", + }, + { + Description: "Read value from stdin (useful for multi-line values).", + Command: "my-config --environment dev --key CONFIG_FILE --value-from-stdin < config.yaml", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + metadata := metadataFromArgs(args, f.Team, string(f.Environment)) + + value := f.Value + if f.ValueFromStdin { + data, err := io.ReadAll(os.Stdin) + if err != nil { + return fmt.Errorf("reading from stdin: %w", err) + } + value = strings.TrimSuffix(string(data), "\n") + } + + updated, err := config.SetValue(ctx, metadata, f.Key, value) + if err != nil { + return fmt.Errorf("setting config value: %w", err) + } + + if updated { + pterm.Success.Printfln("Updated key %q in config %q in %q", f.Key, metadata.Name, metadata.EnvironmentName) + } else { + pterm.Success.Printfln("Added key %q to config %q in %q", f.Key, metadata.Name, metadata.EnvironmentName) + } + + return nil + }, + } +} diff --git a/internal/config/command/unset.go b/internal/config/command/unset.go new file mode 100644 index 00000000..75b8a2b9 --- /dev/null +++ b/internal/config/command/unset.go @@ -0,0 +1,69 @@ +package command + +import ( + "context" + "fmt" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/pterm/pterm" +) + +func unset(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Unset{Config: parentFlags} + return &naistrix.Command{ + Name: "unset", + Title: "Unset a key from a config.", + Description: "This command removes a key-value pair from a config.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validateSingleEnvironmentFlagUsage(); err != nil { + return err + } + if err := validation.CheckEnvironment(string(f.Environment)); err != nil { + return err + } + if err := validateArgs(args); err != nil { + return err + } + if f.Key == "" { + return fmt.Errorf("--key is required") + } + return nil + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + return autoCompleteConfigNames(ctx, f.Team, string(f.Environment), true) + } + return nil, "" + }, + Examples: []naistrix.Example{ + { + Description: "Unset a key from a config.", + Command: "my-config --environment dev --key OLD_SETTING", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + metadata := metadataFromArgs(args, f.Team, string(f.Environment)) + + pterm.Warning.Printfln("You are about to unset key %q from config %q in %q.", f.Key, metadata.Name, metadata.EnvironmentName) + + if !f.Yes { + result, _ := pterm.DefaultInteractiveConfirm.Show("Are you sure you want to continue?") + if !result { + return fmt.Errorf("cancelled by user") + } + } + + if err := config.RemoveValue(ctx, metadata, f.Key); err != nil { + return fmt.Errorf("unsetting config key: %w", err) + } + + pterm.Success.Printfln("Unset key %q from config %q in %q", f.Key, metadata.Name, metadata.EnvironmentName) + return nil + }, + } +} diff --git a/internal/config/config.go b/internal/config/config.go new file mode 100644 index 00000000..1c281b58 --- /dev/null +++ b/internal/config/config.go @@ -0,0 +1,347 @@ +package config + +import ( + "context" + "fmt" + "slices" + "time" + + "github.com/nais/cli/internal/naisapi" + "github.com/nais/cli/internal/naisapi/gql" +) + +// Metadata identifies a specific config in a team environment. +type Metadata struct { + // TeamSlug is the slug of the team that owns the config. + TeamSlug string + // EnvironmentName is the name of the environment where the config exists. + EnvironmentName string + // Name is the name of the config. + Name string +} + +// LastModified is a time.Time that renders as human-readable relative time in +// table output (e.g. "3h", "7d") and as RFC3339 in JSON output. +type LastModified time.Time + +func (t LastModified) String() string { + v := time.Time(t) + if v.IsZero() { + return "" + } + + d := time.Since(v) + if seconds := int(d.Seconds()); seconds < -1 { + return "" + } else if seconds < 0 { + return "0s" + } else if seconds < 60 { + return fmt.Sprintf("%vs", seconds) + } else if minutes := int(d.Minutes()); minutes < 60 { + return fmt.Sprintf("%vm", minutes) + } else if hours := int(d.Hours()); hours < 24 { + return fmt.Sprintf("%vh", hours) + } else if hours < 24*365 { + return fmt.Sprintf("%vd", hours/24) + } + return fmt.Sprintf("%vy", int(d.Hours()/24/365)) +} + +func (t LastModified) MarshalJSON() ([]byte, error) { + v := time.Time(t) + if v.IsZero() { + return []byte(`""`), nil + } + return fmt.Appendf(nil, "%q", v.Format(time.RFC3339)), nil +} + +// ConfigEnvironments returns the environments where a config with the given name exists. +func ConfigEnvironments(ctx context.Context, teamSlug, name string) ([]string, error) { + all, err := GetAll(ctx, teamSlug) + if err != nil { + return nil, err + } + var envs []string + for _, c := range all { + if c.Name == name { + envs = append(envs, c.TeamEnvironment.Environment.Name) + } + } + return envs, nil +} + +// GetAll retrieves all configs for a team. +func GetAll(ctx context.Context, teamSlug string) ([]gql.GetAllConfigsTeamConfigsConfigConnectionNodesConfig, error) { + _ = `# @genqlient + query GetAllConfigs($teamSlug: Slug!) { + team(slug: $teamSlug) { + configs(first: 1000, orderBy: {field: NAME, direction: ASC}) { + nodes { + name + values { + name + value + } + teamEnvironment { + environment { + name + } + } + workloads(first: 1000) { + nodes { + name + __typename + } + } + lastModifiedAt + lastModifiedBy { + email + } + } + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return nil, err + } + + resp, err := gql.GetAllConfigs(ctx, client, teamSlug) + if err != nil { + return nil, err + } + + return resp.Team.Configs.Nodes, nil +} + +// Get retrieves a specific config by name in a team environment. +func Get(ctx context.Context, metadata Metadata) (*gql.GetConfigTeamEnvironmentConfig, error) { + _ = `# @genqlient + query GetConfig($name: String!, $environmentName: String!, $teamSlug: Slug!) { + team(slug: $teamSlug) { + environment(name: $environmentName) { + config(name: $name) { + name + values { + name + value + } + teamEnvironment { + environment { + name + } + } + workloads(first: 1000) { + nodes { + name + __typename + } + } + lastModifiedAt + lastModifiedBy { + email + } + } + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return nil, err + } + + resp, err := gql.GetConfig(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + if err != nil { + return nil, err + } + + return &resp.Team.Environment.Config, nil +} + +// Create creates a new empty config in a team environment. +func Create(ctx context.Context, metadata Metadata) (*gql.CreateConfigCreateConfigCreateConfigPayloadConfig, error) { + _ = `# @genqlient + mutation CreateConfig($name: String!, $environmentName: String!, $teamSlug: Slug!) { + createConfig(input: {name: $name, environmentName: $environmentName, teamSlug: $teamSlug}) { + config { + id + name + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return nil, err + } + + resp, err := gql.CreateConfig(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + if err != nil { + return nil, err + } + + return &resp.CreateConfig.Config, nil +} + +// Delete deletes a config and all its values. +func Delete(ctx context.Context, metadata Metadata) (bool, error) { + _ = `# @genqlient + mutation DeleteConfig($name: String!, $environmentName: String!, $teamSlug: Slug!) { + deleteConfig(input: {name: $name, environmentName: $environmentName, teamSlug: $teamSlug}) { + configDeleted + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return false, err + } + + resp, err := gql.DeleteConfig(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + if err != nil { + return false, err + } + + return resp.DeleteConfig.ConfigDeleted, nil +} + +// SetValue sets a key-value pair in a config. If the key already exists, its value is updated. +// If the key does not exist, it is added. +func SetValue(ctx context.Context, metadata Metadata, key, value string) (updated bool, err error) { + existing, err := Get(ctx, metadata) + if err != nil { + return false, fmt.Errorf("fetching config: %w", err) + } + + keyExists := slices.ContainsFunc(existing.Values, func(v gql.GetConfigTeamEnvironmentConfigValuesConfigValue) bool { + return v.Name == key + }) + + if keyExists { + return true, updateValue(ctx, metadata, key, value) + } + + return false, addValue(ctx, metadata, key, value) +} + +func addValue(ctx context.Context, metadata Metadata, key, value string) error { + _ = `# @genqlient + mutation AddConfigValue($name: String!, $environmentName: String!, $teamSlug: Slug!, $value: ConfigValueInput!) { + addConfigValue(input: {name: $name, environmentName: $environmentName, teamSlug: $teamSlug, value: $value}) { + config { + id + name + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return err + } + + _, err = gql.AddConfigValue(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug, gql.ConfigValueInput{ + Name: key, + Value: value, + }) + return err +} + +func updateValue(ctx context.Context, metadata Metadata, key, value string) error { + _ = `# @genqlient + mutation UpdateConfigValue($name: String!, $environmentName: String!, $teamSlug: Slug!, $value: ConfigValueInput!) { + updateConfigValue(input: {name: $name, environmentName: $environmentName, teamSlug: $teamSlug, value: $value}) { + config { + id + name + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return err + } + + _, err = gql.UpdateConfigValue(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug, gql.ConfigValueInput{ + Name: key, + Value: value, + }) + return err +} + +// RemoveValue removes a key-value pair from a config. +func RemoveValue(ctx context.Context, metadata Metadata, valueName string) error { + _ = `# @genqlient + mutation RemoveConfigValue($configName: String!, $environmentName: String!, $teamSlug: Slug!, $valueName: String!) { + removeConfigValue(input: {configName: $configName, environmentName: $environmentName, teamSlug: $teamSlug, valueName: $valueName}) { + config { + id + name + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return err + } + + _, err = gql.RemoveConfigValue(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug, valueName) + return err +} + +// FormatDetails formats config metadata for pterm table rendering. +func FormatDetails(metadata Metadata, c *gql.GetConfigTeamEnvironmentConfig) [][]string { + data := [][]string{ + {"Field", "Value"}, + {"Team", metadata.TeamSlug}, + {"Environment", metadata.EnvironmentName}, + {"Name", c.Name}, + } + + if !c.LastModifiedAt.IsZero() { + data = append(data, []string{"Last Modified", LastModified(c.LastModifiedAt).String()}) + } + if c.LastModifiedBy.Email != "" { + data = append(data, []string{"Modified By", c.LastModifiedBy.Email}) + } + + return data +} + +// FormatData formats config values as a key-value table for pterm rendering. +func FormatData(values []gql.GetConfigTeamEnvironmentConfigValuesConfigValue) [][]string { + data := [][]string{ + {"Key", "Value"}, + } + for _, v := range values { + data = append(data, []string{v.Name, v.Value}) + } + return data +} + +// FormatWorkloads formats the workloads using a config for pterm table rendering. +func FormatWorkloads(c *gql.GetConfigTeamEnvironmentConfig) [][]string { + workloads := [][]string{ + {"Name", "Type"}, + } + + for _, w := range c.Workloads.Nodes { + workloads = append(workloads, []string{ + w.GetName(), + w.GetTypename(), + }) + } + + return workloads +} diff --git a/internal/config/config_test.go b/internal/config/config_test.go new file mode 100644 index 00000000..2f95ba94 --- /dev/null +++ b/internal/config/config_test.go @@ -0,0 +1,268 @@ +package config + +import ( + "encoding/json" + "reflect" + "testing" + "time" + + "github.com/nais/cli/internal/naisapi/gql" +) + +func TestFormatDetails(t *testing.T) { + t.Parallel() + + recentTime := time.Now().Add(-2 * time.Hour) + recentExpected := LastModified(recentTime).String() + + tests := []struct { + name string + metadata Metadata + config *gql.GetConfigTeamEnvironmentConfig + want [][]string + }{ + { + name: "all fields present", + metadata: Metadata{ + TeamSlug: "my-team", + EnvironmentName: "dev", + Name: "my-config", + }, + config: &gql.GetConfigTeamEnvironmentConfig{ + Name: "my-config", + TeamEnvironment: gql.GetConfigTeamEnvironmentConfigTeamEnvironment{ + Environment: gql.GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment{Name: "dev"}, + }, + LastModifiedAt: recentTime, + LastModifiedBy: gql.GetConfigTeamEnvironmentConfigLastModifiedByUser{Email: "user@example.com"}, + }, + want: [][]string{ + {"Field", "Value"}, + {"Team", "my-team"}, + {"Environment", "dev"}, + {"Name", "my-config"}, + {"Last Modified", recentExpected}, + {"Modified By", "user@example.com"}, + }, + }, + { + name: "no modification info", + metadata: Metadata{ + TeamSlug: "my-team", + EnvironmentName: "prod", + Name: "db-config", + }, + config: &gql.GetConfigTeamEnvironmentConfig{ + Name: "db-config", + TeamEnvironment: gql.GetConfigTeamEnvironmentConfigTeamEnvironment{ + Environment: gql.GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment{Name: "prod"}, + }, + }, + want: [][]string{ + {"Field", "Value"}, + {"Team", "my-team"}, + {"Environment", "prod"}, + {"Name", "db-config"}, + }, + }, + { + name: "modified at set but no modified by", + metadata: Metadata{ + TeamSlug: "team-a", + EnvironmentName: "staging", + Name: "app-settings", + }, + config: &gql.GetConfigTeamEnvironmentConfig{ + Name: "app-settings", + TeamEnvironment: gql.GetConfigTeamEnvironmentConfigTeamEnvironment{ + Environment: gql.GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment{Name: "staging"}, + }, + LastModifiedAt: recentTime, + }, + want: [][]string{ + {"Field", "Value"}, + {"Team", "team-a"}, + {"Environment", "staging"}, + {"Name", "app-settings"}, + {"Last Modified", recentExpected}, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := FormatDetails(tt.metadata, tt.config) + if !reflect.DeepEqual(got, tt.want) { + t.Errorf("FormatDetails() =\n %v\nwant\n %v", got, tt.want) + } + }) + } +} + +func TestFormatData(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + values []gql.GetConfigTeamEnvironmentConfigValuesConfigValue + want [][]string + }{ + { + name: "multiple values", + values: []gql.GetConfigTeamEnvironmentConfigValuesConfigValue{ + {Name: "DATABASE_HOST", Value: "db.example.com"}, + {Name: "LOG_LEVEL", Value: "info"}, + {Name: "PORT", Value: "8080"}, + }, + want: [][]string{ + {"Key", "Value"}, + {"DATABASE_HOST", "db.example.com"}, + {"LOG_LEVEL", "info"}, + {"PORT", "8080"}, + }, + }, + { + name: "no values", + values: nil, + want: [][]string{ + {"Key", "Value"}, + }, + }, + { + name: "single value", + values: []gql.GetConfigTeamEnvironmentConfigValuesConfigValue{ + {Name: "ONLY_KEY", Value: "only_value"}, + }, + want: [][]string{ + {"Key", "Value"}, + {"ONLY_KEY", "only_value"}, + }, + }, + { + name: "value with empty string", + values: []gql.GetConfigTeamEnvironmentConfigValuesConfigValue{ + {Name: "EMPTY_KEY", Value: ""}, + }, + want: [][]string{ + {"Key", "Value"}, + {"EMPTY_KEY", ""}, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := FormatData(tt.values) + if !reflect.DeepEqual(got, tt.want) { + t.Errorf("FormatData() =\n %v\nwant\n %v", got, tt.want) + } + }) + } +} + +func TestFormatWorkloads(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + config *gql.GetConfigTeamEnvironmentConfig + want [][]string + }{ + { + name: "with workloads", + config: &gql.GetConfigTeamEnvironmentConfig{ + Workloads: gql.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection{ + Nodes: []gql.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload{ + &gql.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication{ + Name: "my-app", + Typename: "Application", + }, + &gql.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob{ + Name: "my-job", + Typename: "Job", + }, + }, + }, + }, + want: [][]string{ + {"Name", "Type"}, + {"my-app", "Application"}, + {"my-job", "Job"}, + }, + }, + { + name: "no workloads", + config: &gql.GetConfigTeamEnvironmentConfig{}, + want: [][]string{ + {"Name", "Type"}, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := FormatWorkloads(tt.config) + if !reflect.DeepEqual(got, tt.want) { + t.Errorf("FormatWorkloads() =\n %v\nwant\n %v", got, tt.want) + } + }) + } +} + +func TestLastModified_String(t *testing.T) { + t.Parallel() + + // Use large enough durations that parallel test scheduling cannot cause + // the value to cross a bucket boundary (e.g. 30s drifting to 1m). + tests := []struct { + name string + time time.Time + want string + }{ + {name: "zero time", time: time.Time{}, want: ""}, + {name: "seconds ago", time: time.Now().Add(-10 * time.Second), want: "10s"}, + {name: "minutes ago", time: time.Now().Add(-30 * time.Minute), want: "30m"}, + {name: "hours ago", time: time.Now().Add(-12 * time.Hour), want: "12h"}, + {name: "days ago", time: time.Now().Add(-100 * 24 * time.Hour), want: "100d"}, + {name: "years ago", time: time.Now().Add(-400 * 24 * time.Hour), want: "1y"}, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := LastModified(tt.time).String() + if got != tt.want { + t.Errorf("LastModified.String() = %q, want %q", got, tt.want) + } + }) + } +} + +func TestLastModified_MarshalJSON(t *testing.T) { + t.Parallel() + + ts := time.Date(2025, 6, 15, 12, 30, 0, 0, time.UTC) + lm := LastModified(ts) + + data, err := json.Marshal(lm) + if err != nil { + t.Fatalf("MarshalJSON() error = %v", err) + } + + want := `"2025-06-15T12:30:00Z"` + if string(data) != want { + t.Errorf("MarshalJSON() = %s, want %s", data, want) + } + + // Zero time should marshal to empty string + data, err = json.Marshal(LastModified(time.Time{})) + if err != nil { + t.Fatalf("MarshalJSON() error = %v", err) + } + if string(data) != `""` { + t.Errorf("MarshalJSON() zero = %s, want %q", data, "") + } +} diff --git a/internal/naisapi/gql/generated.go b/internal/naisapi/gql/generated.go index 32bd3345..735c081e 100644 --- a/internal/naisapi/gql/generated.go +++ b/internal/naisapi/gql/generated.go @@ -15,6 +15,8 @@ import ( type ActivityLogActivityType string const ( + // Filter for credential creation events. + ActivityLogActivityTypeCredentialsCreate ActivityLogActivityType = "CREDENTIALS_CREATE" // An application was deleted. ActivityLogActivityTypeApplicationDeleted ActivityLogActivityType = "APPLICATION_DELETED" // An application was restarted. @@ -23,6 +25,12 @@ const ( ActivityLogActivityTypeApplicationScaled ActivityLogActivityType = "APPLICATION_SCALED" // All activity log entries related to direct cluster changes. ActivityLogActivityTypeClusterAudit ActivityLogActivityType = "CLUSTER_AUDIT" + // Config was created. + ActivityLogActivityTypeConfigCreated ActivityLogActivityType = "CONFIG_CREATED" + // Config was updated. + ActivityLogActivityTypeConfigUpdated ActivityLogActivityType = "CONFIG_UPDATED" + // Config was deleted. + ActivityLogActivityTypeConfigDeleted ActivityLogActivityType = "CONFIG_DELETED" // Activity log entry for deployment activity. ActivityLogActivityTypeDeployment ActivityLogActivityType = "DEPLOYMENT" // Activity log entry for team deploy key updates. @@ -113,15 +121,17 @@ const ( ActivityLogActivityTypeValkeyMaintenanceStarted ActivityLogActivityType = "VALKEY_MAINTENANCE_STARTED" // Activity log entry for when a vulnerability is updated. ActivityLogActivityTypeVulnerabilityUpdated ActivityLogActivityType = "VULNERABILITY_UPDATED" - // Filter for credential creation events. - ActivityLogActivityTypeCredentialsCreate ActivityLogActivityType = "CREDENTIALS_CREATE" ) var AllActivityLogActivityType = []ActivityLogActivityType{ + ActivityLogActivityTypeCredentialsCreate, ActivityLogActivityTypeApplicationDeleted, ActivityLogActivityTypeApplicationRestarted, ActivityLogActivityTypeApplicationScaled, ActivityLogActivityTypeClusterAudit, + ActivityLogActivityTypeConfigCreated, + ActivityLogActivityTypeConfigUpdated, + ActivityLogActivityTypeConfigDeleted, ActivityLogActivityTypeDeployment, ActivityLogActivityTypeTeamDeployKeyUpdated, ActivityLogActivityTypeJobDeleted, @@ -167,7 +177,6 @@ var AllActivityLogActivityType = []ActivityLogActivityType{ ActivityLogActivityTypeValkeyDeleted, ActivityLogActivityTypeValkeyMaintenanceStarted, ActivityLogActivityTypeVulnerabilityUpdated, - ActivityLogActivityTypeCredentialsCreate, } // The type of the resource that was affected by the activity. @@ -176,10 +185,14 @@ type ActivityLogEntryResourceType string const ( // Unknown type. ActivityLogEntryResourceTypeUnknown ActivityLogEntryResourceType = "UNKNOWN" + // All activity log entries related to credential creation will use this resource type. + ActivityLogEntryResourceTypeCredentials ActivityLogEntryResourceType = "CREDENTIALS" // All activity log entries related to applications will use this resource type. ActivityLogEntryResourceTypeApp ActivityLogEntryResourceType = "APP" // All activity log entries related to direct cluster changes. ActivityLogEntryResourceTypeClusterAudit ActivityLogEntryResourceType = "CLUSTER_AUDIT" + // All activity log entries related to configs will use this resource type. + ActivityLogEntryResourceTypeConfig ActivityLogEntryResourceType = "CONFIG" // All activity log entries related to deploy keys will use this resource type. ActivityLogEntryResourceTypeDeployKey ActivityLogEntryResourceType = "DEPLOY_KEY" // All activity log entries related to jobs will use this resource type. @@ -203,14 +216,14 @@ const ( ActivityLogEntryResourceTypeValkey ActivityLogEntryResourceType = "VALKEY" // All activity log entries related to vulnerabilities will use this resource type. ActivityLogEntryResourceTypeVulnerability ActivityLogEntryResourceType = "VULNERABILITY" - // All activity log entries related to credential creation will use this resource type. - ActivityLogEntryResourceTypeCredentials ActivityLogEntryResourceType = "CREDENTIALS" ) var AllActivityLogEntryResourceType = []ActivityLogEntryResourceType{ ActivityLogEntryResourceTypeUnknown, + ActivityLogEntryResourceTypeCredentials, ActivityLogEntryResourceTypeApp, ActivityLogEntryResourceTypeClusterAudit, + ActivityLogEntryResourceTypeConfig, ActivityLogEntryResourceTypeDeployKey, ActivityLogEntryResourceTypeJob, ActivityLogEntryResourceTypeOpensearch, @@ -223,7 +236,45 @@ var AllActivityLogEntryResourceType = []ActivityLogEntryResourceType{ ActivityLogEntryResourceTypeUnleash, ActivityLogEntryResourceTypeValkey, ActivityLogEntryResourceTypeVulnerability, - ActivityLogEntryResourceTypeCredentials, +} + +// AddConfigValueAddConfigValueAddConfigValuePayload includes the requested fields of the GraphQL type AddConfigValuePayload. +type AddConfigValueAddConfigValueAddConfigValuePayload struct { + // The updated config. + Config AddConfigValueAddConfigValueAddConfigValuePayloadConfig `json:"config"` +} + +// GetConfig returns AddConfigValueAddConfigValueAddConfigValuePayload.Config, and is useful for accessing the field via an interface. +func (v *AddConfigValueAddConfigValueAddConfigValuePayload) GetConfig() AddConfigValueAddConfigValueAddConfigValuePayloadConfig { + return v.Config +} + +// AddConfigValueAddConfigValueAddConfigValuePayloadConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type AddConfigValueAddConfigValueAddConfigValuePayloadConfig struct { + // The globally unique ID of the config. + Id string `json:"id"` + // The name of the config. + Name string `json:"name"` +} + +// GetId returns AddConfigValueAddConfigValueAddConfigValuePayloadConfig.Id, and is useful for accessing the field via an interface. +func (v *AddConfigValueAddConfigValueAddConfigValuePayloadConfig) GetId() string { return v.Id } + +// GetName returns AddConfigValueAddConfigValueAddConfigValuePayloadConfig.Name, and is useful for accessing the field via an interface. +func (v *AddConfigValueAddConfigValueAddConfigValuePayloadConfig) GetName() string { return v.Name } + +// AddConfigValueResponse is returned by AddConfigValue on success. +type AddConfigValueResponse struct { + // Add a value to a config. + AddConfigValue AddConfigValueAddConfigValueAddConfigValuePayload `json:"addConfigValue"` +} + +// GetAddConfigValue returns AddConfigValueResponse.AddConfigValue, and is useful for accessing the field via an interface. +func (v *AddConfigValueResponse) GetAddConfigValue() AddConfigValueAddConfigValueAddConfigValuePayload { + return v.AddConfigValue } // AddSecretValueAddSecretValueAddSecretValuePayload includes the requested fields of the GraphQL type AddSecretValuePayload. @@ -462,6 +513,56 @@ var AllApplicationState = []ApplicationState{ ApplicationStateUnknown, } +type ConfigValueInput struct { + Name string `json:"name"` + Value string `json:"value"` +} + +// GetName returns ConfigValueInput.Name, and is useful for accessing the field via an interface. +func (v *ConfigValueInput) GetName() string { return v.Name } + +// GetValue returns ConfigValueInput.Value, and is useful for accessing the field via an interface. +func (v *ConfigValueInput) GetValue() string { return v.Value } + +// CreateConfigCreateConfigCreateConfigPayload includes the requested fields of the GraphQL type CreateConfigPayload. +type CreateConfigCreateConfigCreateConfigPayload struct { + // The created config. + Config CreateConfigCreateConfigCreateConfigPayloadConfig `json:"config"` +} + +// GetConfig returns CreateConfigCreateConfigCreateConfigPayload.Config, and is useful for accessing the field via an interface. +func (v *CreateConfigCreateConfigCreateConfigPayload) GetConfig() CreateConfigCreateConfigCreateConfigPayloadConfig { + return v.Config +} + +// CreateConfigCreateConfigCreateConfigPayloadConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type CreateConfigCreateConfigCreateConfigPayloadConfig struct { + // The globally unique ID of the config. + Id string `json:"id"` + // The name of the config. + Name string `json:"name"` +} + +// GetId returns CreateConfigCreateConfigCreateConfigPayloadConfig.Id, and is useful for accessing the field via an interface. +func (v *CreateConfigCreateConfigCreateConfigPayloadConfig) GetId() string { return v.Id } + +// GetName returns CreateConfigCreateConfigCreateConfigPayloadConfig.Name, and is useful for accessing the field via an interface. +func (v *CreateConfigCreateConfigCreateConfigPayloadConfig) GetName() string { return v.Name } + +// CreateConfigResponse is returned by CreateConfig on success. +type CreateConfigResponse struct { + // Create a new config. + CreateConfig CreateConfigCreateConfigCreateConfigPayload `json:"createConfig"` +} + +// GetCreateConfig returns CreateConfigResponse.CreateConfig, and is useful for accessing the field via an interface. +func (v *CreateConfigResponse) GetCreateConfig() CreateConfigCreateConfigCreateConfigPayload { + return v.CreateConfig +} + // CreateKafkaCredentialsCreateKafkaCredentialsCreateKafkaCredentialsPayload includes the requested fields of the GraphQL type CreateKafkaCredentialsPayload. type CreateKafkaCredentialsCreateKafkaCredentialsCreateKafkaCredentialsPayload struct { // The generated credentials. @@ -780,6 +881,26 @@ var AllCredentialPermission = []CredentialPermission{ CredentialPermissionAdmin, } +// DeleteConfigDeleteConfigDeleteConfigPayload includes the requested fields of the GraphQL type DeleteConfigPayload. +type DeleteConfigDeleteConfigDeleteConfigPayload struct { + // The deleted config. + ConfigDeleted bool `json:"configDeleted"` +} + +// GetConfigDeleted returns DeleteConfigDeleteConfigDeleteConfigPayload.ConfigDeleted, and is useful for accessing the field via an interface. +func (v *DeleteConfigDeleteConfigDeleteConfigPayload) GetConfigDeleted() bool { return v.ConfigDeleted } + +// DeleteConfigResponse is returned by DeleteConfig on success. +type DeleteConfigResponse struct { + // Delete a config, and the values it contains. + DeleteConfig DeleteConfigDeleteConfigDeleteConfigPayload `json:"deleteConfig"` +} + +// GetDeleteConfig returns DeleteConfigResponse.DeleteConfig, and is useful for accessing the field via an interface. +func (v *DeleteConfigResponse) GetDeleteConfig() DeleteConfigDeleteConfigDeleteConfigPayload { + return v.DeleteConfig +} + // DeleteJobRunDeleteJobRunDeleteJobRunPayload includes the requested fields of the GraphQL type DeleteJobRunPayload. type DeleteJobRunDeleteJobRunDeleteJobRunPayload struct { // Whether or not the run was deleted. @@ -1282,16 +1403,16 @@ type FindWorkloadsForCveResponse struct { // GetCve returns FindWorkloadsForCveResponse.Cve, and is useful for accessing the field via an interface. func (v *FindWorkloadsForCveResponse) GetCve() FindWorkloadsForCveCveCVE { return v.Cve } -// GetAllIssuesResponse is returned by GetAllIssues on success. -type GetAllIssuesResponse struct { +// GetAllConfigsResponse is returned by GetAllConfigs on success. +type GetAllConfigsResponse struct { // Get a team by its slug. - Team GetAllIssuesTeam `json:"team"` + Team GetAllConfigsTeam `json:"team"` } -// GetTeam returns GetAllIssuesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetAllIssuesResponse) GetTeam() GetAllIssuesTeam { return v.Team } +// GetTeam returns GetAllConfigsResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllConfigsResponse) GetTeam() GetAllConfigsTeam { return v.Team } -// GetAllIssuesTeam includes the requested fields of the GraphQL type Team. +// GetAllConfigsTeam includes the requested fields of the GraphQL type Team. // The GraphQL type's documentation follows. // // The team type represents a team on the [Nais platform](https://nais.io/). @@ -1299,37 +1420,157 @@ func (v *GetAllIssuesResponse) GetTeam() GetAllIssuesTeam { return v.Team } // Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). // // External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetAllIssuesTeam struct { - // Issues that affects the team. - Issues GetAllIssuesTeamIssuesIssueConnection `json:"issues"` +type GetAllConfigsTeam struct { + // Configs owned by the team. + Configs GetAllConfigsTeamConfigsConfigConnection `json:"configs"` } -// GetIssues returns GetAllIssuesTeam.Issues, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeam) GetIssues() GetAllIssuesTeamIssuesIssueConnection { return v.Issues } +// GetConfigs returns GetAllConfigsTeam.Configs, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeam) GetConfigs() GetAllConfigsTeamConfigsConfigConnection { return v.Configs } -// GetAllIssuesTeamIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection. -type GetAllIssuesTeamIssuesIssueConnection struct { +// GetAllConfigsTeamConfigsConfigConnection includes the requested fields of the GraphQL type ConfigConnection. +type GetAllConfigsTeamConfigsConfigConnection struct { // List of nodes. - Nodes []GetAllIssuesTeamIssuesIssueConnectionNodesIssue `json:"-"` + Nodes []GetAllConfigsTeamConfigsConfigConnectionNodesConfig `json:"nodes"` } -// GetNodes returns GetAllIssuesTeamIssuesIssueConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnection) GetNodes() []GetAllIssuesTeamIssuesIssueConnectionNodesIssue { +// GetNodes returns GetAllConfigsTeamConfigsConfigConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnection) GetNodes() []GetAllConfigsTeamConfigsConfigConnectionNodesConfig { return v.Nodes } -func (v *GetAllIssuesTeamIssuesIssueConnection) UnmarshalJSON(b []byte) error { +// GetAllConfigsTeamConfigsConfigConnectionNodesConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfig struct { + // The name of the config. + Name string `json:"name"` + // The values stored in the config. + Values []GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue `json:"values"` + // The environment the config exists in. + TeamEnvironment GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment `json:"teamEnvironment"` + // Workloads that use the config. + Workloads GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection `json:"workloads"` + // Last time the config was modified. + LastModifiedAt time.Time `json:"lastModifiedAt"` + // User who last modified the config. + LastModifiedBy GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser `json:"lastModifiedBy"` +} + +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetName() string { return v.Name } + +// GetValues returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.Values, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetValues() []GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue { + return v.Values +} + +// GetTeamEnvironment returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetTeamEnvironment() GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment { + return v.TeamEnvironment +} + +// GetWorkloads returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.Workloads, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetWorkloads() GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection { + return v.Workloads +} + +// GetLastModifiedAt returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.LastModifiedAt, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetLastModifiedAt() time.Time { + return v.LastModifiedAt +} + +// GetLastModifiedBy returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.LastModifiedBy, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetLastModifiedBy() GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser { + return v.LastModifiedBy +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser includes the requested fields of the GraphQL type User. +// The GraphQL type's documentation follows. +// +// The user type represents a user of the Nais platform and the Nais GraphQL API. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser struct { + // The email address of the user. + Email string `json:"email"` +} + +// GetEmail returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser.Email, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser) GetEmail() string { + return v.Email +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment struct { + // Get the environment. + Environment GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment) GetEnvironment() GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment { + return v.Environment +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue includes the requested fields of the GraphQL type ConfigValue. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue struct { + // The name of the config value. + Name string `json:"name"` + // The config value itself. + Value string `json:"value"` +} + +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue) GetName() string { + return v.Name +} + +// GetValue returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue.Value, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue) GetValue() string { + return v.Value +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection includes the requested fields of the GraphQL type WorkloadConnection. +// The GraphQL type's documentation follows. +// +// Workload connection. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection struct { + // List of nodes. + Nodes []GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload `json:"-"` +} + +// GetNodes returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection) GetNodes() []GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload { + return v.Nodes +} + +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnection + *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection Nodes []json.RawMessage `json:"nodes"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnection = v + firstPass.GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -1340,16 +1581,16 @@ func (v *GetAllIssuesTeamIssuesIssueConnection) UnmarshalJSON(b []byte) error { dst := &v.Nodes src := firstPass.Nodes *dst = make( - []GetAllIssuesTeamIssuesIssueConnectionNodesIssue, + []GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload, len(src)) for i, src := range src { dst := &(*dst)[i] if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue( + err = __unmarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnection.Nodes: %w", err) + "unable to unmarshal GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection.Nodes: %w", err) } } } @@ -1357,11 +1598,11 @@ func (v *GetAllIssuesTeamIssuesIssueConnection) UnmarshalJSON(b []byte) error { return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnection struct { +type __premarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection struct { Nodes []json.RawMessage `json:"nodes"` } -func (v *GetAllIssuesTeamIssuesIssueConnection) MarshalJSON() ([]byte, error) { +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -1369,8 +1610,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnection) MarshalJSON() ([]byte, error) { return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnection) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnection, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnection +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection) __premarshalJSON() (*__premarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection, error) { + var retval __premarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection { @@ -1382,228 +1623,87 @@ func (v *GetAllIssuesTeamIssuesIssueConnection) __premarshalJSON() (*__premarsha for i, src := range src { dst := &(*dst)[i] var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue( + *dst, err = __marshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnection.Nodes: %w", err) + "unable to marshal GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection.Nodes: %w", err) } } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue includes the requested fields of the GraphQL type DeprecatedIngressIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Application GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication `json:"application"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTypename() string { - return v.Typename -} - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetId() string { - return v.Id -} - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetMessage() string { - return v.Message -} - -// GetApplication returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Application, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetApplication() GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication { - return v.Application -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication includes the requested fields of the GraphQL type Application. +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication struct { - // The name of the application. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication struct { + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication) GetName() string { +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication) GetTypename() string { +// GetTypename returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue includes the requested fields of the GraphQL type DeprecatedRegistryIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload `json:"-"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTypename() string { - return v.Typename +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob) GetName() string { + return v.Name } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetId() string { - return v.Id +// GetTypename returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob) GetTypename() string { + return v.Typename } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetSeverity() Severity { - return v.Severity +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload includes the requested fields of the GraphQL interface Workload. +// +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload is implemented by the following types: +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob +// The GraphQL type's documentation follows. +// +// Interface for workloads. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload interface { + implementsGraphQLInterfaceGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Interface for workloads. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetMessage() string { - return v.Message +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication) implementsGraphQLInterfaceGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload() { } - -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload { - return v.Workload +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob) implementsGraphQLInterfaceGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) UnmarshalJSON(b []byte) error { - +func __unmarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload(b []byte, v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload) error { if string(b) == "null" { return nil } - var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue - Workload json.RawMessage `json:"workload"` - graphql.NoUnmarshalJSON - } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue = v - - err := json.Unmarshal(b, &firstPass) - if err != nil { - return err - } - - { - dst := &v.Workload - src := firstPass.Workload - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload: %w", err) - } - } - } - return nil -} - -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { - Typename string `json:"__typename"` - - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - - Id string `json:"id"` - - Severity Severity `json:"severity"` - - Message string `json:"message"` - - Workload json.RawMessage `json:"workload"` -} - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) MarshalJSON() ([]byte, error) { - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - return json.Marshal(premarshaled) -} - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue - - retval.Typename = v.Typename - retval.TeamEnvironment = v.TeamEnvironment - retval.Id = v.Id - retval.Severity = v.Severity - retval.Message = v.Message - { - - dst := &retval.Workload - src := v.Workload - var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload: %w", err) - } - } - return &retval, nil -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload includes the requested fields of the GraphQL interface Workload. -// -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob -// The GraphQL type's documentation follows. -// -// Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() - // GetName returns the interface-field "name" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for workloads. - GetName() string - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string -} - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() { -} - -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload) error { - if string(b) == "null" { - return nil - } - - var tn struct { - TypeName string `json:"__typename"` + var tn struct { + TypeName string `json:"__typename"` } err := json.Unmarshal(b, &tn) if err != nil { @@ -1612,139 +1712,96 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssu switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) + *v = new(GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) + *v = new(GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload) ([]byte, error) { +func __marshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload(v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication: + case *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication + *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob: + case *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob + *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) GetName() string { - return v.Name -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) GetName() string { - return v.Name -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue includes the requested fields of the GraphQL type ExternalIngressCriticalVulnerabilityIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload `json:"-"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTypename() string { - return v.Typename +// GetAllIssuesResponse is returned by GetAllIssues on success. +type GetAllIssuesResponse struct { + // Get a team by its slug. + Team GetAllIssuesTeam `json:"team"` } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} +// GetTeam returns GetAllIssuesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllIssuesResponse) GetTeam() GetAllIssuesTeam { return v.Team } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetId() string { - return v.Id +// GetAllIssuesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetAllIssuesTeam struct { + // Issues that affects the team. + Issues GetAllIssuesTeamIssuesIssueConnection `json:"issues"` } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetSeverity() Severity { - return v.Severity -} +// GetIssues returns GetAllIssuesTeam.Issues, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeam) GetIssues() GetAllIssuesTeamIssuesIssueConnection { return v.Issues } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetMessage() string { - return v.Message +// GetAllIssuesTeamIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection. +type GetAllIssuesTeamIssuesIssueConnection struct { + // List of nodes. + Nodes []GetAllIssuesTeamIssuesIssueConnectionNodesIssue `json:"-"` } -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload { - return v.Workload +// GetNodes returns GetAllIssuesTeamIssuesIssueConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnection) GetNodes() []GetAllIssuesTeamIssuesIssueConnectionNodesIssue { + return v.Nodes } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnection) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue - Workload json.RawMessage `json:"workload"` + *GetAllIssuesTeamIssuesIssueConnection + Nodes []json.RawMessage `json:"nodes"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue = v + firstPass.GetAllIssuesTeamIssuesIssueConnection = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -1752,35 +1809,31 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulner } { - dst := &v.Workload - src := firstPass.Workload - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload: %w", err) + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetAllIssuesTeamIssuesIssueConnectionNodesIssue, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnection.Nodes: %w", err) + } } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { - Typename string `json:"__typename"` - - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - - Id string `json:"id"` - - Severity Severity `json:"severity"` - - Message string `json:"message"` - - Workload json.RawMessage `json:"workload"` +type __premarshalGetAllIssuesTeamIssuesIssueConnection struct { + Nodes []json.RawMessage `json:"nodes"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnection) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -1788,201 +1841,144 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulner return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue +func (v *GetAllIssuesTeamIssuesIssueConnection) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnection, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnection - retval.Typename = v.Typename - retval.TeamEnvironment = v.TeamEnvironment - retval.Id = v.Id - retval.Severity = v.Severity - retval.Message = v.Message { - dst := &retval.Workload - src := v.Workload - var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload: %w", err) + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetAllIssuesTeamIssuesIssueConnection.Nodes: %w", err) + } } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload includes the requested fields of the GraphQL interface Workload. -// -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob -// The GraphQL type's documentation follows. -// -// Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() - // GetName returns the interface-field "name" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for workloads. - GetName() string - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue includes the requested fields of the GraphQL type DeprecatedIngressIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Application GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication `json:"application"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTypename() string { + return v.Typename } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload) error { - if string(b) == "null" { - return nil - } - - var tn struct { - TypeName string `json:"__typename"` - } - err := json.Unmarshal(b, &tn) - if err != nil { - return err - } - - switch tn.TypeName { - case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) - return json.Unmarshal(b, *v) - case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) - return json.Unmarshal(b, *v) - case "": - return fmt.Errorf( - "response was missing Workload.__typename") - default: - return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload: "%v"`, tn.TypeName) - } +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload) ([]byte, error) { +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetId() string { + return v.Id +} - var typename string - switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication: - typename = "Application" +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob: - typename = "Job" +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload: "%T"`, v) - } +// GetApplication returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Application, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetApplication() GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication { + return v.Application } -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) GetName() string { - return v.Name -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob struct { - // Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication struct { + // The name of the application. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue includes the requested fields of the GraphQL type FailedSynchronizationIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload `json:"-"` +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue includes the requested fields of the GraphQL type DeprecatedRegistryIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload `json:"-"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetId() string { +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetId() string { return v.Id } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetMessage() string { return v.Message } -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload { +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload { return v.Workload } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue Workload json.RawMessage `json:"workload"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue = v + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -1993,18 +1989,18 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) U dst := &v.Workload src := firstPass.Workload if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload( + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload: %w", err) + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload: %w", err) } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue struct { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` @@ -2018,7 +2014,7 @@ type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronization Workload json.RawMessage `json:"workload"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -2026,8 +2022,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) M return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue retval.Typename = v.Typename retval.TeamEnvironment = v.TeamEnvironment @@ -2039,26 +2035,26 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) _ dst := &retval.Workload src := v.Workload var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload( + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload: %w", err) + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload: %w", err) } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload includes the requested fields of the GraphQL interface Workload. +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob // The GraphQL type's documentation follows. // // Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // @@ -2068,12 +2064,12 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloa GetTypename() string } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload) error { if string(b) == "null" { return nil } @@ -2088,137 +2084,139 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationI switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication: + case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob: + case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob + *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication struct { +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication struct { // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob struct { +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob struct { // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue includes the requested fields of the GraphQL type InvalidSpecIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload `json:"-"` +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue includes the requested fields of the GraphQL type ExternalIngressCriticalVulnerabilityIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload `json:"-"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetId() string { return v.Id } +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetId() string { + return v.Id +} -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetMessage() string { return v.Message } -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload { +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload { return v.Workload } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue Workload json.RawMessage `json:"workload"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue = v + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -2229,18 +2227,18 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) UnmarshalJS dst := &v.Workload src := firstPass.Workload if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload( + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload: %w", err) + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload: %w", err) } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue struct { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` @@ -2254,7 +2252,7 @@ type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue stru Workload json.RawMessage `json:"workload"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -2262,8 +2260,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) MarshalJSON return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue retval.Typename = v.Typename retval.TeamEnvironment = v.TeamEnvironment @@ -2275,26 +2273,26 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) __premarsha dst := &retval.Workload src := v.Workload var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload( + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload: %w", err) + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload: %w", err) } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload includes the requested fields of the GraphQL interface Workload. +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob // The GraphQL type's documentation follows. // // Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() +type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // @@ -2304,12 +2302,12 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload interfac GetTypename() string } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload) error { if string(b) == "null" { return nil } @@ -2324,496 +2322,375 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorklo switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication: + case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob: + case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob + *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication struct { +type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication struct { // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob struct { +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob struct { // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesIssue includes the requested fields of the GraphQL interface Issue. -// -// GetAllIssuesTeamIssuesIssueConnectionNodesIssue is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue -type GetAllIssuesTeamIssuesIssueConnectionNodesIssue interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string - // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. - GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment - // GetId returns the interface-field "id" from its implementation. - GetId() string - // GetSeverity returns the interface-field "severity" from its implementation. - GetSeverity() Severity - // GetMessage returns the interface-field "message" from its implementation. - GetMessage() string +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue includes the requested fields of the GraphQL type FailedSynchronizationIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload `json:"-"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTypename() string { + return v.Typename } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetId() string { + return v.Id } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetSeverity() Severity { + return v.Severity } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetMessage() string { + return v.Message } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload { + return v.Workload } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesIssue) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) UnmarshalJSON(b []byte) error { + if string(b) == "null" { return nil } - var tn struct { - TypeName string `json:"__typename"` + var firstPass struct { + *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue + Workload json.RawMessage `json:"workload"` + graphql.NoUnmarshalJSON } - err := json.Unmarshal(b, &tn) + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue = v + + err := json.Unmarshal(b, &firstPass) if err != nil { return err } - switch tn.TypeName { - case "DeprecatedIngressIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) - return json.Unmarshal(b, *v) - case "DeprecatedRegistryIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) - return json.Unmarshal(b, *v) - case "ExternalIngressCriticalVulnerabilityIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) - return json.Unmarshal(b, *v) - case "FailedSynchronizationIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) - return json.Unmarshal(b, *v) - case "InvalidSpecIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) - return json.Unmarshal(b, *v) - case "LastRunFailedIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) - return json.Unmarshal(b, *v) - case "MissingSbomIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) - return json.Unmarshal(b, *v) - case "NoRunningInstancesIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) - return json.Unmarshal(b, *v) - case "OpenSearchIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) - return json.Unmarshal(b, *v) - case "SqlInstanceStateIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) - return json.Unmarshal(b, *v) - case "SqlInstanceVersionIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) - return json.Unmarshal(b, *v) - case "UnleashReleaseChannelIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) - return json.Unmarshal(b, *v) - case "ValkeyIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) - return json.Unmarshal(b, *v) - case "VulnerableImageIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) - return json.Unmarshal(b, *v) - case "": - return fmt.Errorf( - "response was missing Issue.__typename") - default: - return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesIssue: "%v"`, tn.TypeName) + { + dst := &v.Workload + src := firstPass.Workload + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload: %w", err) + } + } } + return nil } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue(v *GetAllIssuesTeamIssuesIssueConnectionNodesIssue) ([]byte, error) { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue struct { + Typename string `json:"__typename"` - var typename string - switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue: - typename = "DeprecatedIngressIssue" + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue: - typename = "DeprecatedRegistryIssue" + Id string `json:"id"` - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue: - typename = "ExternalIngressCriticalVulnerabilityIssue" + Severity Severity `json:"severity"` - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue: - typename = "FailedSynchronizationIssue" + Message string `json:"message"` - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue: - typename = "InvalidSpecIssue" + Workload json.RawMessage `json:"workload"` +} - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue: - typename = "LastRunFailedIssue" +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue: - typename = "MissingSbomIssue" +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue: - typename = "NoRunningInstancesIssue" + retval.Typename = v.Typename + retval.TeamEnvironment = v.TeamEnvironment + retval.Id = v.Id + retval.Severity = v.Severity + retval.Message = v.Message + { - premarshaled, err := v.__premarshalJSON() + dst := &retval.Workload + src := v.Workload + var err error + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload( + &src) if err != nil { - return nil, err + return nil, fmt.Errorf( + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload: %w", err) } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue: - typename = "OpenSearchIssue" + } + return &retval, nil +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue: - typename = "SqlInstanceStateIssue" +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload includes the requested fields of the GraphQL interface Workload. +// +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob +// The GraphQL type's documentation follows. +// +// Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Interface for workloads. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue: - typename = "SqlInstanceVersionIssue" +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() { +} +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() { +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue: - typename = "UnleashReleaseChannelIssue" +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "Application": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) + return json.Unmarshal(b, *v) + case "Job": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Workload.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload: "%v"`, tn.TypeName) + } +} + +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication: + typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue: - typename = "ValkeyIssue" + case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob: + typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue: - typename = "VulnerableImageIssue" + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload: "%T"`, v) + } +} - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue - }{typename, premarshaled} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesIssue: "%T"`, v) - } -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment struct { - // Get the environment. - Environment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment `json:"environment"` -} - -// GetEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment) GetEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment { - return v.Environment -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // -// An environment represents a runtime environment for workloads. +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) GetName() string { return v.Name } -// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue includes the requested fields of the GraphQL type LastRunFailedIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Job GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob `json:"job"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetId() string { return v.Id } - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetMessage() string { - return v.Message -} - -// GetJob returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Job, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetJob() GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob { - return v.Job -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob struct { - // The name of the job. +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob struct { + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue includes the requested fields of the GraphQL type MissingSbomIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue struct { +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue includes the requested fields of the GraphQL type InvalidSpecIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` Id string `json:"id"` Severity Severity `json:"severity"` Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload `json:"-"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload `json:"-"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetId() string { return v.Id } +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetId() string { return v.Id } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetMessage() string { return v.Message } -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload { +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload { return v.Workload } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue Workload json.RawMessage `json:"workload"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue = v + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -2824,18 +2701,18 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) UnmarshalJS dst := &v.Workload src := firstPass.Workload if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload( + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload: %w", err) + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload: %w", err) } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue struct { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` @@ -2849,7 +2726,7 @@ type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue stru Workload json.RawMessage `json:"workload"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -2857,8 +2734,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) MarshalJSON return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue retval.Typename = v.Typename retval.TeamEnvironment = v.TeamEnvironment @@ -2870,26 +2747,26 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) __premarsha dst := &retval.Workload src := v.Workload var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload( + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload: %w", err) + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload: %w", err) } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload includes the requested fields of the GraphQL interface Workload. +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob // The GraphQL type's documentation follows. // // Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() +type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // @@ -2899,12 +2776,12 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload interfac GetTypename() string } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload) error { if string(b) == "null" { return nil } @@ -2919,230 +2796,148 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorklo switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication: + case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob: + case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob + *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication struct { +type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication struct { // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob struct { +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob struct { // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue includes the requested fields of the GraphQL type NoRunningInstancesIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload `json:"-"` +// GetAllIssuesTeamIssuesIssueConnectionNodesIssue includes the requested fields of the GraphQL interface Issue. +// +// GetAllIssuesTeamIssuesIssueConnectionNodesIssue is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue +type GetAllIssuesTeamIssuesIssueConnectionNodesIssue interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string + // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. + GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment + // GetId returns the interface-field "id" from its implementation. + GetId() string + // GetSeverity returns the interface-field "severity" from its implementation. + GetSeverity() Severity + // GetMessage returns the interface-field "message" from its implementation. + GetMessage() string } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTypename() string { - return v.Typename +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetId() string { - return v.Id +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetSeverity() Severity { - return v.Severity +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetMessage() string { - return v.Message +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload { - return v.Workload +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) UnmarshalJSON(b []byte) error { - - if string(b) == "null" { - return nil - } - - var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue - Workload json.RawMessage `json:"workload"` - graphql.NoUnmarshalJSON - } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue = v - - err := json.Unmarshal(b, &firstPass) - if err != nil { - return err - } - - { - dst := &v.Workload - src := firstPass.Workload - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload: %w", err) - } - } - } - return nil +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue struct { - Typename string `json:"__typename"` - - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - - Id string `json:"id"` - - Severity Severity `json:"severity"` - - Message string `json:"message"` - - Workload json.RawMessage `json:"workload"` +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) MarshalJSON() ([]byte, error) { - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - return json.Marshal(premarshaled) +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue - - retval.Typename = v.Typename - retval.TeamEnvironment = v.TeamEnvironment - retval.Id = v.Id - retval.Severity = v.Severity - retval.Message = v.Message - { - - dst := &retval.Workload - src := v.Workload - var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload: %w", err) - } - } - return &retval, nil +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload includes the requested fields of the GraphQL interface Workload. -// -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob -// The GraphQL type's documentation follows. -// -// Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() - // GetName returns the interface-field "name" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for workloads. - GetName() string - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { +} +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesIssue) error { if string(b) == "null" { return nil } @@ -3156,408 +2951,341 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssu } switch tn.TypeName { - case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) + case "DeprecatedIngressIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) return json.Unmarshal(b, *v) - case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) + case "DeprecatedRegistryIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) + return json.Unmarshal(b, *v) + case "ExternalIngressCriticalVulnerabilityIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) + return json.Unmarshal(b, *v) + case "FailedSynchronizationIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) + return json.Unmarshal(b, *v) + case "InvalidSpecIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) + return json.Unmarshal(b, *v) + case "LastRunFailedIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) + return json.Unmarshal(b, *v) + case "MissingSbomIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) + return json.Unmarshal(b, *v) + case "NoRunningInstancesIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) + return json.Unmarshal(b, *v) + case "OpenSearchIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) + return json.Unmarshal(b, *v) + case "SqlInstanceStateIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) + return json.Unmarshal(b, *v) + case "SqlInstanceVersionIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) + return json.Unmarshal(b, *v) + case "UnleashReleaseChannelIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) + return json.Unmarshal(b, *v) + case "ValkeyIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) + return json.Unmarshal(b, *v) + case "VulnerableImageIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) return json.Unmarshal(b, *v) case "": return fmt.Errorf( - "response was missing Workload.__typename") + "response was missing Issue.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesIssue: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue(v *GetAllIssuesTeamIssuesIssueConnectionNodesIssue) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication: - typename = "Application" + case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue: + typename = "DeprecatedIngressIssue" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob: - typename = "Job" + case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue: + typename = "DeprecatedRegistryIssue" + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob - }{typename, v} + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue + }{typename, premarshaled} return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload: "%T"`, v) - } -} + case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue: + typename = "ExternalIngressCriticalVulnerabilityIssue" -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue: + typename = "FailedSynchronizationIssue" -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) GetName() string { - return v.Name -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue: + typename = "InvalidSpecIssue" -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) GetTypename() string { - return v.Typename -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue: + typename = "LastRunFailedIssue" -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue: + typename = "MissingSbomIssue" -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) GetName() string { - return v.Name -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue: + typename = "NoRunningInstancesIssue" -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) GetTypename() string { - return v.Typename -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue: + typename = "OpenSearchIssue" -// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue includes the requested fields of the GraphQL type OpenSearchIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - OpenSearch GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch `json:"openSearch"` -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue: + typename = "SqlInstanceStateIssue" -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue: + typename = "SqlInstanceVersionIssue" -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue: + typename = "UnleashReleaseChannelIssue" -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetId() string { return v.Id } + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue: + typename = "ValkeyIssue" -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetSeverity() Severity { - return v.Severity -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue: + typename = "VulnerableImageIssue" -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetMessage() string { - return v.Message + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue + }{typename, premarshaled} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesIssue: "%T"`, v) + } } -// GetOpenSearch returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.OpenSearch, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetOpenSearch() GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch { - return v.OpenSearch +// GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment struct { + // Get the environment. + Environment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment `json:"environment"` } -// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch includes the requested fields of the GraphQL type OpenSearch. -type GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch struct { - Name string `json:"name"` - Typename string `json:"__typename"` +// GetEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment) GetEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment { + return v.Environment } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch) GetName() string { - return v.Name +// GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch) GetTypename() string { - return v.Typename +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment) GetName() string { + return v.Name } -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue includes the requested fields of the GraphQL type SqlInstanceStateIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - SqlInstance GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance `json:"sqlInstance"` +// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue includes the requested fields of the GraphQL type LastRunFailedIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Job GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob `json:"job"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetId() string { return v.Id } +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetId() string { return v.Id } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetMessage() string { return v.Message } -// GetSqlInstance returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.SqlInstance, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSqlInstance() GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance { - return v.SqlInstance +// GetJob returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Job, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetJob() GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob { + return v.Job } -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance includes the requested fields of the GraphQL type SqlInstance. -type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance struct { +// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob struct { + // The name of the job. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue includes the requested fields of the GraphQL type SqlInstanceVersionIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - SqlInstance GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance `json:"sqlInstance"` +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue includes the requested fields of the GraphQL type MissingSbomIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload `json:"-"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetId() string { - return v.Id -} +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetId() string { return v.Id } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetMessage() string { return v.Message } -// GetSqlInstance returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.SqlInstance, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSqlInstance() GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance { - return v.SqlInstance -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance includes the requested fields of the GraphQL type SqlInstance. -type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance struct { - Name string `json:"name"` - Typename string `json:"__typename"` +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload { + return v.Workload } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance) GetName() string { - return v.Name -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue includes the requested fields of the GraphQL type UnleashReleaseChannelIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Unleash GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance `json:"unleash"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTypename() string { - return v.Typename -} - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetId() string { - return v.Id -} - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetMessage() string { - return v.Message -} - -// GetUnleash returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Unleash, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetUnleash() GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance { - return v.Unleash -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance includes the requested fields of the GraphQL type UnleashInstance. -type GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance struct { - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance) GetName() string { - return v.Name -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue includes the requested fields of the GraphQL type ValkeyIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Valkey GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey `json:"valkey"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetTypename() string { - return v.Typename -} - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetId() string { return v.Id } - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetMessage() string { return v.Message } - -// GetValkey returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Valkey, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetValkey() GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey { - return v.Valkey -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey includes the requested fields of the GraphQL type Valkey. -type GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey struct { - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey) GetName() string { return v.Name } - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue includes the requested fields of the GraphQL type VulnerableImageIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload `json:"-"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetTypename() string { - return v.Typename -} - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetId() string { return v.Id } - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetMessage() string { - return v.Message -} - -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload { - return v.Workload -} - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue Workload json.RawMessage `json:"workload"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue = v + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -3568,18 +3296,18 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) Unmarsh dst := &v.Workload src := firstPass.Workload if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload( + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload: %w", err) + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload: %w", err) } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue struct { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` @@ -3593,7 +3321,7 @@ type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue Workload json.RawMessage `json:"workload"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -3601,8 +3329,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) Marshal return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue retval.Typename = v.Typename retval.TeamEnvironment = v.TeamEnvironment @@ -3614,26 +3342,26 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) __prema dst := &retval.Workload src := v.Workload var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload( + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload: %w", err) + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload: %w", err) } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload includes the requested fields of the GraphQL interface Workload. +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob // The GraphQL type's documentation follows. // // Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() +type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // @@ -3643,12 +3371,12 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload inte GetTypename() string } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload) error { if string(b) == "null" { return nil } @@ -3663,811 +3391,645 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWo switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication: + case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob: + case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob + *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication struct { +type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication struct { // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob struct { +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob struct { // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllOpenSearchesResponse is returned by GetAllOpenSearches on success. -type GetAllOpenSearchesResponse struct { - // Get a team by its slug. - Team GetAllOpenSearchesTeam `json:"team"` +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue includes the requested fields of the GraphQL type NoRunningInstancesIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload `json:"-"` } -// GetTeam returns GetAllOpenSearchesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesResponse) GetTeam() GetAllOpenSearchesTeam { return v.Team } +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTypename() string { + return v.Typename +} -// GetAllOpenSearchesTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetAllOpenSearchesTeam struct { - // OpenSearch instances owned by the team. - OpenSearches GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection `json:"openSearches"` -} - -// GetOpenSearches returns GetAllOpenSearchesTeam.OpenSearches, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeam) GetOpenSearches() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection { - return v.OpenSearches +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection includes the requested fields of the GraphQL type OpenSearchConnection. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection struct { - Nodes []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch `json:"nodes"` +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetId() string { + return v.Id } -// GetNodes returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection) GetNodes() []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch { - return v.Nodes +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetSeverity() Severity { + return v.Severity } -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch includes the requested fields of the GraphQL type OpenSearch. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch struct { - Name string `json:"name"` - // Available memory for the OpenSearch instance. - Memory OpenSearchMemory `json:"memory"` - // Availability tier for the OpenSearch instance. - Tier OpenSearchTier `json:"tier"` - // Available storage in GB. - StorageGB int `json:"storageGB"` - // Fetch version for the OpenSearch instance. - Version GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion `json:"version"` - State OpenSearchState `json:"state"` - TeamEnvironment GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment `json:"teamEnvironment"` - Access GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection `json:"access"` +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetMessage() string { + return v.Message } -// GetName returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Name, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetName() string { - return v.Name +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload { + return v.Workload } -// GetMemory returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Memory, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetMemory() OpenSearchMemory { - return v.Memory -} +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) UnmarshalJSON(b []byte) error { -// GetTier returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Tier, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetTier() OpenSearchTier { - return v.Tier -} + if string(b) == "null" { + return nil + } -// GetStorageGB returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.StorageGB, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetStorageGB() int { - return v.StorageGB -} + var firstPass struct { + *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue + Workload json.RawMessage `json:"workload"` + graphql.NoUnmarshalJSON + } + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue = v -// GetVersion returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Version, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetVersion() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion { - return v.Version -} + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } -// GetState returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.State, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetState() OpenSearchState { - return v.State + { + dst := &v.Workload + src := firstPass.Workload + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload: %w", err) + } + } + } + return nil } -// GetTeamEnvironment returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetTeamEnvironment() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment { - return v.TeamEnvironment -} +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue struct { + Typename string `json:"__typename"` -// GetAccess returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Access, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetAccess() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection { - return v.Access -} + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection includes the requested fields of the GraphQL type OpenSearchAccessConnection. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection struct { - Edges []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge `json:"edges"` -} + Id string `json:"id"` -// GetEdges returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection.Edges, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection) GetEdges() []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge { - return v.Edges -} + Severity Severity `json:"severity"` -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge includes the requested fields of the GraphQL type OpenSearchAccessEdge. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge struct { - Node GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess `json:"node"` -} + Message string `json:"message"` -// GetNode returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge.Node, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge) GetNode() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess { - return v.Node + Workload json.RawMessage `json:"workload"` } -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess includes the requested fields of the GraphQL type OpenSearchAccess. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess struct { - Access string `json:"access"` +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) } -// GetAccess returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess.Access, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess) GetAccess() string { - return v.Access -} +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment struct { - // Get the environment. - Environment GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment `json:"environment"` -} + retval.Typename = v.Typename + retval.TeamEnvironment = v.TeamEnvironment + retval.Id = v.Id + retval.Severity = v.Severity + retval.Message = v.Message + { -// GetEnvironment returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment) GetEnvironment() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment { - return v.Environment + dst := &retval.Workload + src := v.Workload + var err error + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload: %w", err) + } + } + return &retval, nil } -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// An environment represents a runtime environment for workloads. +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob +// The GraphQL type's documentation follows. // -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` -} - -// GetName returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment) GetName() string { - return v.Name +// Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Interface for workloads. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string } -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion includes the requested fields of the GraphQL type OpenSearchVersion. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion struct { - // The full version string of the OpenSearch instance. This will be available after the instance is created. - Actual string `json:"actual"` +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() { } - -// GetActual returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion.Actual, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion) GetActual() string { - return v.Actual +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() { } -// GetAllSecretsResponse is returned by GetAllSecrets on success. -type GetAllSecretsResponse struct { - // Get a team by its slug. - Team GetAllSecretsTeam `json:"team"` -} +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload) error { + if string(b) == "null" { + return nil + } -// GetTeam returns GetAllSecretsResponse.Team, and is useful for accessing the field via an interface. -func (v *GetAllSecretsResponse) GetTeam() GetAllSecretsTeam { return v.Team } + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } -// GetAllSecretsTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetAllSecretsTeam struct { - // Secrets owned by the team. - Secrets GetAllSecretsTeamSecretsSecretConnection `json:"secrets"` + switch tn.TypeName { + case "Application": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) + return json.Unmarshal(b, *v) + case "Job": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Workload.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload: "%v"`, tn.TypeName) + } } -// GetSecrets returns GetAllSecretsTeam.Secrets, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeam) GetSecrets() GetAllSecretsTeamSecretsSecretConnection { return v.Secrets } +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload) ([]byte, error) { -// GetAllSecretsTeamSecretsSecretConnection includes the requested fields of the GraphQL type SecretConnection. -type GetAllSecretsTeamSecretsSecretConnection struct { - // List of nodes. - Nodes []GetAllSecretsTeamSecretsSecretConnectionNodesSecret `json:"nodes"` -} + var typename string + switch v := (*v).(type) { + case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication: + typename = "Application" -// GetNodes returns GetAllSecretsTeamSecretsSecretConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnection) GetNodes() []GetAllSecretsTeamSecretsSecretConnectionNodesSecret { - return v.Nodes + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob: + typename = "Job" + + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload: "%T"`, v) + } } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecret includes the requested fields of the GraphQL type Secret. +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // -// A secret is a collection of secret values. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecret struct { - // The name of the secret. - Name string `json:"name"` - // The names of the keys in the secret. This does not require elevation to access. - Keys []string `json:"keys"` - // The environment the secret exists in. - TeamEnvironment GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment `json:"teamEnvironment"` - // Workloads that use the secret. - Workloads GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection `json:"workloads"` - // Last time the secret was modified. - LastModifiedAt time.Time `json:"lastModifiedAt"` - // User who last modified the secret. - LastModifiedBy GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser `json:"lastModifiedBy"` +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Name, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetName() string { return v.Name } +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) GetName() string { + return v.Name +} -// GetKeys returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Keys, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetKeys() []string { return v.Keys } +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) GetTypename() string { + return v.Typename +} -// GetTeamEnvironment returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetTeamEnvironment() GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment { - return v.TeamEnvironment +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetWorkloads returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Workloads, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetWorkloads() GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection { - return v.Workloads +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) GetName() string { + return v.Name } -// GetLastModifiedAt returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.LastModifiedAt, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetLastModifiedAt() time.Time { - return v.LastModifiedAt +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) GetTypename() string { + return v.Typename } -// GetLastModifiedBy returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.LastModifiedBy, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetLastModifiedBy() GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser { - return v.LastModifiedBy +// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue includes the requested fields of the GraphQL type OpenSearchIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + OpenSearch GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch `json:"openSearch"` } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser includes the requested fields of the GraphQL type User. -// The GraphQL type's documentation follows. -// -// The user type represents a user of the Nais platform and the Nais GraphQL API. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser struct { - // The email address of the user. - Email string `json:"email"` +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetTypename() string { + return v.Typename } -// GetEmail returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser.Email, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser) GetEmail() string { - return v.Email +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment struct { - // Get the environment. - Environment GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment `json:"environment"` +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetId() string { return v.Id } + +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetSeverity() Severity { + return v.Severity } -// GetEnvironment returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment) GetEnvironment() GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment { - return v.Environment +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetMessage() string { + return v.Message } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. -// -// An environment represents a runtime environment for workloads. -// -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` +// GetOpenSearch returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.OpenSearch, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetOpenSearch() GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch { + return v.OpenSearch } -// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment) GetName() string { - return v.Name +// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch includes the requested fields of the GraphQL type OpenSearch. +type GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch struct { + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection includes the requested fields of the GraphQL type WorkloadConnection. -// The GraphQL type's documentation follows. -// -// Workload connection. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection struct { - // List of nodes. - Nodes []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload `json:"-"` +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch) GetName() string { + return v.Name } -// GetNodes returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) GetNodes() []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload { - return v.Nodes +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch) GetTypename() string { + return v.Typename } -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) UnmarshalJSON(b []byte) error { +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue includes the requested fields of the GraphQL type SqlInstanceStateIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + SqlInstance GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance `json:"sqlInstance"` +} - if string(b) == "null" { - return nil - } +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTypename() string { + return v.Typename +} - var firstPass struct { - *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection - Nodes []json.RawMessage `json:"nodes"` - graphql.NoUnmarshalJSON - } - firstPass.GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection = v +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment +} - err := json.Unmarshal(b, &firstPass) - if err != nil { - return err - } +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetId() string { return v.Id } - { - dst := &v.Nodes - src := firstPass.Nodes - *dst = make( - []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes: %w", err) - } - } - } - } - return nil +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSeverity() Severity { + return v.Severity } -type __premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection struct { - Nodes []json.RawMessage `json:"nodes"` +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetMessage() string { + return v.Message } -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) MarshalJSON() ([]byte, error) { - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - return json.Marshal(premarshaled) +// GetSqlInstance returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.SqlInstance, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSqlInstance() GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance { + return v.SqlInstance } -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) __premarshalJSON() (*__premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection, error) { - var retval __premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance includes the requested fields of the GraphQL type SqlInstance. +type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance struct { + Name string `json:"name"` + Typename string `json:"__typename"` +} - { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance) GetName() string { + return v.Name +} - dst := &retval.Nodes - src := v.Nodes - *dst = make( - []json.RawMessage, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - var err error - *dst, err = __marshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes: %w", err) - } - } - } - return &retval, nil +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance) GetTypename() string { + return v.Typename } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue includes the requested fields of the GraphQL type SqlInstanceVersionIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + SqlInstance GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance `json:"sqlInstance"` } -// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) GetName() string { - return v.Name +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTypename() string { + return v.Typename } -// GetTypename returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) GetTypename() string { - return v.Typename +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetId() string { + return v.Id } -// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) GetName() string { - return v.Name +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSeverity() Severity { + return v.Severity } -// GetTypename returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) GetTypename() string { - return v.Typename +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetMessage() string { + return v.Message } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload includes the requested fields of the GraphQL interface Workload. -// -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload is implemented by the following types: -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob -// The GraphQL type's documentation follows. -// -// Interface for workloads. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload interface { - implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() - // GetName returns the interface-field "name" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for workloads. - GetName() string - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string +// GetSqlInstance returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.SqlInstance, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSqlInstance() GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance { + return v.SqlInstance } -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() { +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance includes the requested fields of the GraphQL type SqlInstance. +type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance struct { + Name string `json:"name"` + Typename string `json:"__typename"` } -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() { + +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance) GetName() string { + return v.Name } -func __unmarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload(b []byte, v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload) error { - if string(b) == "null" { - return nil - } +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance) GetTypename() string { + return v.Typename +} - var tn struct { - TypeName string `json:"__typename"` - } - err := json.Unmarshal(b, &tn) - if err != nil { - return err - } +// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue includes the requested fields of the GraphQL type UnleashReleaseChannelIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Unleash GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance `json:"unleash"` +} - switch tn.TypeName { - case "Application": - *v = new(GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) - return json.Unmarshal(b, *v) - case "Job": - *v = new(GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) - return json.Unmarshal(b, *v) - case "": - return fmt.Errorf( - "response was missing Workload.__typename") - default: - return fmt.Errorf( - `unexpected concrete type for GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload: "%v"`, tn.TypeName) - } +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTypename() string { + return v.Typename } -func __marshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload(v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload) ([]byte, error) { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment +} - var typename string - switch v := (*v).(type) { - case *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication: - typename = "Application" +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetId() string { + return v.Id +} - result := struct { - TypeName string `json:"__typename"` - *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication - }{typename, v} - return json.Marshal(result) - case *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob: - typename = "Job" +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload: "%T"`, v) - } +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetMessage() string { + return v.Message } -// GetAllValkeysResponse is returned by GetAllValkeys on success. -type GetAllValkeysResponse struct { - // Get a team by its slug. - Team GetAllValkeysTeam `json:"team"` +// GetUnleash returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Unleash, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetUnleash() GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance { + return v.Unleash } -// GetTeam returns GetAllValkeysResponse.Team, and is useful for accessing the field via an interface. -func (v *GetAllValkeysResponse) GetTeam() GetAllValkeysTeam { return v.Team } +// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance includes the requested fields of the GraphQL type UnleashInstance. +type GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance struct { + Name string `json:"name"` + Typename string `json:"__typename"` +} -// GetAllValkeysTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetAllValkeysTeam struct { - // Valkey instances owned by the team. - Valkeys GetAllValkeysTeamValkeysValkeyConnection `json:"valkeys"` +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance) GetName() string { + return v.Name } -// GetValkeys returns GetAllValkeysTeam.Valkeys, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeam) GetValkeys() GetAllValkeysTeamValkeysValkeyConnection { return v.Valkeys } +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance) GetTypename() string { + return v.Typename +} -// GetAllValkeysTeamValkeysValkeyConnection includes the requested fields of the GraphQL type ValkeyConnection. -type GetAllValkeysTeamValkeysValkeyConnection struct { - Nodes []GetAllValkeysTeamValkeysValkeyConnectionNodesValkey `json:"nodes"` +// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue includes the requested fields of the GraphQL type ValkeyIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Valkey GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey `json:"valkey"` } -// GetNodes returns GetAllValkeysTeamValkeysValkeyConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnection) GetNodes() []GetAllValkeysTeamValkeysValkeyConnectionNodesValkey { - return v.Nodes +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetTypename() string { + return v.Typename } -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkey includes the requested fields of the GraphQL type Valkey. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkey struct { - Name string `json:"name"` - // Available memory for the Valkey instance. - Memory ValkeyMemory `json:"memory"` - // Availability tier for the Valkey instance. - Tier ValkeyTier `json:"tier"` - // Maximum memory policy for the Valkey instance. - MaxMemoryPolicy ValkeyMaxMemoryPolicy `json:"maxMemoryPolicy"` - State ValkeyState `json:"state"` - TeamEnvironment GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment `json:"teamEnvironment"` - Access GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection `json:"access"` +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -// GetName returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Name, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetName() string { return v.Name } +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetId() string { return v.Id } -// GetMemory returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Memory, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetMemory() ValkeyMemory { - return v.Memory +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetSeverity() Severity { + return v.Severity } -// GetTier returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Tier, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetTier() ValkeyTier { return v.Tier } +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetMessage() string { return v.Message } -// GetMaxMemoryPolicy returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.MaxMemoryPolicy, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetMaxMemoryPolicy() ValkeyMaxMemoryPolicy { - return v.MaxMemoryPolicy +// GetValkey returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Valkey, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetValkey() GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey { + return v.Valkey } -// GetState returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.State, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetState() ValkeyState { return v.State } - -// GetTeamEnvironment returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetTeamEnvironment() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment { - return v.TeamEnvironment +// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey includes the requested fields of the GraphQL type Valkey. +type GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey struct { + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetAccess returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Access, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetAccess() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection { - return v.Access -} - -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection includes the requested fields of the GraphQL type ValkeyAccessConnection. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection struct { - Edges []GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge `json:"edges"` -} - -// GetEdges returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection.Edges, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection) GetEdges() []GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge { - return v.Edges -} - -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge includes the requested fields of the GraphQL type ValkeyAccessEdge. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge struct { - Node GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess `json:"node"` -} - -// GetNode returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge.Node, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge) GetNode() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess { - return v.Node -} - -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess includes the requested fields of the GraphQL type ValkeyAccess. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess struct { - Access string `json:"access"` -} - -// GetAccess returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess.Access, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess) GetAccess() string { - return v.Access -} - -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment struct { - // Get the environment. - Environment GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment `json:"environment"` -} - -// GetEnvironment returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment) GetEnvironment() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment { - return v.Environment -} - -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. -// -// An environment represents a runtime environment for workloads. -// -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` -} - -// GetName returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment) GetName() string { - return v.Name -} - -// GetApplicationActivityResponse is returned by GetApplicationActivity on success. -type GetApplicationActivityResponse struct { - // Get a team by its slug. - Team GetApplicationActivityTeam `json:"team"` -} - -// GetTeam returns GetApplicationActivityResponse.Team, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityResponse) GetTeam() GetApplicationActivityTeam { return v.Team } - -// GetApplicationActivityTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetApplicationActivityTeam struct { - // Nais applications owned by the team. - Applications GetApplicationActivityTeamApplicationsApplicationConnection `json:"applications"` -} - -// GetApplications returns GetApplicationActivityTeam.Applications, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeam) GetApplications() GetApplicationActivityTeamApplicationsApplicationConnection { - return v.Applications -} - -// GetApplicationActivityTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. -// The GraphQL type's documentation follows. -// -// Application connection. -type GetApplicationActivityTeamApplicationsApplicationConnection struct { - // List of nodes. - Nodes []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` -} +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey) GetName() string { return v.Name } -// GetNodes returns GetApplicationActivityTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnection) GetNodes() []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication { - return v.Nodes +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey) GetTypename() string { + return v.Typename } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication struct { - // The name of the application. - Name string `json:"name"` - // The team environment for the application. - TeamEnvironment GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` - // Activity log associated with the application. - ActivityLog GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection `json:"activityLog"` +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue includes the requested fields of the GraphQL type VulnerableImageIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload `json:"-"` } -// GetName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetName() string { - return v.Name +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetTypename() string { + return v.Typename } -// GetTeamEnvironment returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetActivityLog returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.ActivityLog, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetActivityLog() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection { - return v.ActivityLog +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetId() string { return v.Id } + +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetSeverity() Severity { + return v.Severity } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection includes the requested fields of the GraphQL type ActivityLogEntryConnection. -// The GraphQL type's documentation follows. -// -// Activity log connection. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection struct { - // List of nodes. - Nodes []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry `json:"-"` +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetMessage() string { + return v.Message } -// GetNodes returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) GetNodes() []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry { - return v.Nodes +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload { + return v.Workload } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection - Nodes []json.RawMessage `json:"nodes"` + *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue + Workload json.RawMessage `json:"workload"` graphql.NoUnmarshalJSON } - firstPass.GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection = v + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -4475,31 +4037,35 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica } { - dst := &v.Nodes - src := firstPass.Nodes - *dst = make( - []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes: %w", err) - } + dst := &v.Workload + src := firstPass.Workload + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload: %w", err) } } } return nil } -type __premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection struct { - Nodes []json.RawMessage `json:"nodes"` +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue struct { + Typename string `json:"__typename"` + + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + + Id string `json:"id"` + + Severity Severity `json:"severity"` + + Message string `json:"message"` + + Workload json.RawMessage `json:"workload"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -4507,1584 +4073,5588 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica return json.Marshal(premarshaled) } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) __premarshalJSON() (*__premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection, error) { - var retval __premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue + retval.Typename = v.Typename + retval.TeamEnvironment = v.TeamEnvironment + retval.Id = v.Id + retval.Severity = v.Severity + retval.Message = v.Message { - dst := &retval.Nodes - src := v.Nodes - *dst = make( - []json.RawMessage, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - var err error - *dst, err = __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes: %w", err) - } + dst := &retval.Workload + src := v.Workload + var err error + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload: %w", err) } } return &retval, nil } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry includes the requested fields of the GraphQL interface ActivityLogEntry. +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry is implemented by the following types: -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob // The GraphQL type's documentation follows. // -// Interface for activity log entries. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry interface { - implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string - // GetActor returns the interface-field "actor" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for activity log entries. - GetActor() string - // GetCreatedAt returns the interface-field "createdAt" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for activity log entries. - GetCreatedAt() time.Time - // GetMessage returns the interface-field "message" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for activity log entries. - GetMessage() string - // GetEnvironmentName returns the interface-field "environmentName" from its implementation. +// Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() + // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. - GetEnvironmentName() string + // Interface for workloads. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { -} -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() { } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() { } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "Application": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) + return json.Unmarshal(b, *v) + case "Job": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Workload.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload: "%v"`, tn.TypeName) + } } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication: + typename = "Application" + + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob: + typename = "Job" + + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload: "%T"`, v) + } } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) GetName() string { + return v.Name } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) GetTypename() string { + return v.Typename } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) GetName() string { + return v.Name } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) GetTypename() string { + return v.Typename } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesResponse is returned by GetAllOpenSearches on success. +type GetAllOpenSearchesResponse struct { + // Get a team by its slug. + Team GetAllOpenSearchesTeam `json:"team"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTeam returns GetAllOpenSearchesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesResponse) GetTeam() GetAllOpenSearchesTeam { return v.Team } + +// GetAllOpenSearchesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetAllOpenSearchesTeam struct { + // OpenSearch instances owned by the team. + OpenSearches GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection `json:"openSearches"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetOpenSearches returns GetAllOpenSearchesTeam.OpenSearches, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeam) GetOpenSearches() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection { + return v.OpenSearches } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection includes the requested fields of the GraphQL type OpenSearchConnection. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection struct { + Nodes []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch `json:"nodes"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetNodes returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection) GetNodes() []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch { + return v.Nodes } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch includes the requested fields of the GraphQL type OpenSearch. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch struct { + Name string `json:"name"` + // Available memory for the OpenSearch instance. + Memory OpenSearchMemory `json:"memory"` + // Availability tier for the OpenSearch instance. + Tier OpenSearchTier `json:"tier"` + // Available storage in GB. + StorageGB int `json:"storageGB"` + // Fetch version for the OpenSearch instance. + Version GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion `json:"version"` + State OpenSearchState `json:"state"` + TeamEnvironment GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment `json:"teamEnvironment"` + Access GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection `json:"access"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Name, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetName() string { + return v.Name } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetMemory returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Memory, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetMemory() OpenSearchMemory { + return v.Memory } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTier returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Tier, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetTier() OpenSearchTier { + return v.Tier } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetStorageGB returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.StorageGB, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetStorageGB() int { + return v.StorageGB } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetVersion returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Version, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetVersion() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion { + return v.Version } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetState returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.State, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetState() OpenSearchState { + return v.State } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTeamEnvironment returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetTeamEnvironment() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment { + return v.TeamEnvironment } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAccess returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Access, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetAccess() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection { + return v.Access } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection includes the requested fields of the GraphQL type OpenSearchAccessConnection. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection struct { + Edges []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge `json:"edges"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetEdges returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection.Edges, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection) GetEdges() []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge { + return v.Edges } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge includes the requested fields of the GraphQL type OpenSearchAccessEdge. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge struct { + Node GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess `json:"node"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetNode returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge.Node, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge) GetNode() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess { + return v.Node } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess includes the requested fields of the GraphQL type OpenSearchAccess. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess struct { + Access string `json:"access"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAccess returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess.Access, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess) GetAccess() string { + return v.Access } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment struct { + // Get the environment. + Environment GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment `json:"environment"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetEnvironment returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment) GetEnvironment() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment { + return v.Environment } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment) GetName() string { + return v.Name } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion includes the requested fields of the GraphQL type OpenSearchVersion. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion struct { + // The full version string of the OpenSearch instance. This will be available after the instance is created. + Actual string `json:"actual"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetActual returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion.Actual, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion) GetActual() string { + return v.Actual } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllSecretsResponse is returned by GetAllSecrets on success. +type GetAllSecretsResponse struct { + // Get a team by its slug. + Team GetAllSecretsTeam `json:"team"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTeam returns GetAllSecretsResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllSecretsResponse) GetTeam() GetAllSecretsTeam { return v.Team } + +// GetAllSecretsTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetAllSecretsTeam struct { + // Secrets owned by the team. + Secrets GetAllSecretsTeamSecretsSecretConnection `json:"secrets"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetSecrets returns GetAllSecretsTeam.Secrets, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeam) GetSecrets() GetAllSecretsTeamSecretsSecretConnection { return v.Secrets } + +// GetAllSecretsTeamSecretsSecretConnection includes the requested fields of the GraphQL type SecretConnection. +type GetAllSecretsTeamSecretsSecretConnection struct { + // List of nodes. + Nodes []GetAllSecretsTeamSecretsSecretConnectionNodesSecret `json:"nodes"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetNodes returns GetAllSecretsTeamSecretsSecretConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnection) GetNodes() []GetAllSecretsTeamSecretsSecretConnectionNodesSecret { + return v.Nodes } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecret includes the requested fields of the GraphQL type Secret. +// The GraphQL type's documentation follows. +// +// A secret is a collection of secret values. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecret struct { + // The name of the secret. + Name string `json:"name"` + // The names of the keys in the secret. This does not require elevation to access. + Keys []string `json:"keys"` + // The environment the secret exists in. + TeamEnvironment GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment `json:"teamEnvironment"` + // Workloads that use the secret. + Workloads GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection `json:"workloads"` + // Last time the secret was modified. + LastModifiedAt time.Time `json:"lastModifiedAt"` + // User who last modified the secret. + LastModifiedBy GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser `json:"lastModifiedBy"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Name, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetName() string { return v.Name } + +// GetKeys returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Keys, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetKeys() []string { return v.Keys } + +// GetTeamEnvironment returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetTeamEnvironment() GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment { + return v.TeamEnvironment } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetWorkloads returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Workloads, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetWorkloads() GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection { + return v.Workloads } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetLastModifiedAt returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.LastModifiedAt, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetLastModifiedAt() time.Time { + return v.LastModifiedAt } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetLastModifiedBy returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.LastModifiedBy, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetLastModifiedBy() GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser { + return v.LastModifiedBy } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser includes the requested fields of the GraphQL type User. +// The GraphQL type's documentation follows. +// +// The user type represents a user of the Nais platform and the Nais GraphQL API. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser struct { + // The email address of the user. + Email string `json:"email"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetEmail returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser.Email, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser) GetEmail() string { + return v.Email } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment struct { + // Get the environment. + Environment GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment `json:"environment"` } -func __unmarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry(b []byte, v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry) error { +// GetEnvironment returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment) GetEnvironment() GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment { + return v.Environment +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection includes the requested fields of the GraphQL type WorkloadConnection. +// The GraphQL type's documentation follows. +// +// Workload connection. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection struct { + // List of nodes. + Nodes []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload `json:"-"` +} + +// GetNodes returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) GetNodes() []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload { + return v.Nodes +} + +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) UnmarshalJSON(b []byte) error { + if string(b) == "null" { return nil } - var tn struct { - TypeName string `json:"__typename"` + var firstPass struct { + *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON } - err := json.Unmarshal(b, &tn) + firstPass.GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection = v + + err := json.Unmarshal(b, &firstPass) if err != nil { return err } - switch tn.TypeName { - case "ApplicationDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ApplicationRestartedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ApplicationScaledActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) - return json.Unmarshal(b, *v) - case "ClusterAuditActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) - return json.Unmarshal(b, *v) - case "CredentialsActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) - return json.Unmarshal(b, *v) - case "DeploymentActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) - return json.Unmarshal(b, *v) - case "JobDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "JobRunDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "JobTriggeredActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) - return json.Unmarshal(b, *v) - case "OpenSearchCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "OpenSearchDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "OpenSearchUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "PostgresGrantAccessActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) - return json.Unmarshal(b, *v) - case "ReconcilerConfiguredActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) - return json.Unmarshal(b, *v) - case "ReconcilerDisabledActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) - return json.Unmarshal(b, *v) - case "ReconcilerEnabledActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) - return json.Unmarshal(b, *v) - case "RepositoryAddedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) - return json.Unmarshal(b, *v) - case "RepositoryRemovedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) - return json.Unmarshal(b, *v) - case "RoleAssignedToServiceAccountActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) - return json.Unmarshal(b, *v) - case "RoleRevokedFromServiceAccountActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretValueAddedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretValueRemovedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretValueUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretValuesViewedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountTokenCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountTokenDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountTokenUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceMaintenanceActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamConfirmDeleteKeyActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamCreateDeleteKeyActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamDeployKeyUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamEnvironmentUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamMemberAddedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamMemberRemovedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamMemberSetRoleActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "UnleashInstanceCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "UnleashInstanceDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "UnleashInstanceUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ValkeyCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ValkeyDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ValkeyUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes: %w", err) + } + } + } + } + return nil +} + +type __premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection struct { + Nodes []json.RawMessage `json:"nodes"` +} + +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} + +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) __premarshalJSON() (*__premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection, error) { + var retval __premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection + + { + + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes: %w", err) + } + } + } + return &retval, nil +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` +} + +// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) GetName() string { + return v.Name +} + +// GetTypename returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) GetTypename() string { + return v.Typename +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` +} + +// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) GetName() string { + return v.Name +} + +// GetTypename returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) GetTypename() string { + return v.Typename +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload includes the requested fields of the GraphQL interface Workload. +// +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload is implemented by the following types: +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob +// The GraphQL type's documentation follows. +// +// Interface for workloads. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload interface { + implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Interface for workloads. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string +} + +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() { +} +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() { +} + +func __unmarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload(b []byte, v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "Application": + *v = new(GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) return json.Unmarshal(b, *v) - case "VulnerabilityUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) + case "Job": + *v = new(GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( - "response was missing ActivityLogEntry.__typename") + "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload: "%v"`, tn.TypeName) } } -func __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry(v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry) ([]byte, error) { +func __marshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload(v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication: + typename = "Application" + + result := struct { + TypeName string `json:"__typename"` + *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication + }{typename, v} + return json.Marshal(result) + case *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob: + typename = "Job" + + result := struct { + TypeName string `json:"__typename"` + *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload: "%T"`, v) + } +} + +// GetAllValkeysResponse is returned by GetAllValkeys on success. +type GetAllValkeysResponse struct { + // Get a team by its slug. + Team GetAllValkeysTeam `json:"team"` +} + +// GetTeam returns GetAllValkeysResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllValkeysResponse) GetTeam() GetAllValkeysTeam { return v.Team } + +// GetAllValkeysTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetAllValkeysTeam struct { + // Valkey instances owned by the team. + Valkeys GetAllValkeysTeamValkeysValkeyConnection `json:"valkeys"` +} + +// GetValkeys returns GetAllValkeysTeam.Valkeys, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeam) GetValkeys() GetAllValkeysTeamValkeysValkeyConnection { return v.Valkeys } + +// GetAllValkeysTeamValkeysValkeyConnection includes the requested fields of the GraphQL type ValkeyConnection. +type GetAllValkeysTeamValkeysValkeyConnection struct { + Nodes []GetAllValkeysTeamValkeysValkeyConnectionNodesValkey `json:"nodes"` +} + +// GetNodes returns GetAllValkeysTeamValkeysValkeyConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnection) GetNodes() []GetAllValkeysTeamValkeysValkeyConnectionNodesValkey { + return v.Nodes +} + +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkey includes the requested fields of the GraphQL type Valkey. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkey struct { + Name string `json:"name"` + // Available memory for the Valkey instance. + Memory ValkeyMemory `json:"memory"` + // Availability tier for the Valkey instance. + Tier ValkeyTier `json:"tier"` + // Maximum memory policy for the Valkey instance. + MaxMemoryPolicy ValkeyMaxMemoryPolicy `json:"maxMemoryPolicy"` + State ValkeyState `json:"state"` + TeamEnvironment GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment `json:"teamEnvironment"` + Access GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection `json:"access"` +} + +// GetName returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Name, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetName() string { return v.Name } + +// GetMemory returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Memory, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetMemory() ValkeyMemory { + return v.Memory +} + +// GetTier returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Tier, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetTier() ValkeyTier { return v.Tier } + +// GetMaxMemoryPolicy returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.MaxMemoryPolicy, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetMaxMemoryPolicy() ValkeyMaxMemoryPolicy { + return v.MaxMemoryPolicy +} + +// GetState returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.State, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetState() ValkeyState { return v.State } + +// GetTeamEnvironment returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetTeamEnvironment() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment { + return v.TeamEnvironment +} + +// GetAccess returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Access, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetAccess() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection { + return v.Access +} + +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection includes the requested fields of the GraphQL type ValkeyAccessConnection. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection struct { + Edges []GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge `json:"edges"` +} + +// GetEdges returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection.Edges, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection) GetEdges() []GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge { + return v.Edges +} + +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge includes the requested fields of the GraphQL type ValkeyAccessEdge. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge struct { + Node GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess `json:"node"` +} + +// GetNode returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge.Node, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge) GetNode() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess { + return v.Node +} + +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess includes the requested fields of the GraphQL type ValkeyAccess. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess struct { + Access string `json:"access"` +} + +// GetAccess returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess.Access, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess) GetAccess() string { + return v.Access +} + +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment struct { + // Get the environment. + Environment GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment) GetEnvironment() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment { + return v.Environment +} + +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetApplicationActivityResponse is returned by GetApplicationActivity on success. +type GetApplicationActivityResponse struct { + // Get a team by its slug. + Team GetApplicationActivityTeam `json:"team"` +} + +// GetTeam returns GetApplicationActivityResponse.Team, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityResponse) GetTeam() GetApplicationActivityTeam { return v.Team } + +// GetApplicationActivityTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetApplicationActivityTeam struct { + // Nais applications owned by the team. + Applications GetApplicationActivityTeamApplicationsApplicationConnection `json:"applications"` +} + +// GetApplications returns GetApplicationActivityTeam.Applications, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeam) GetApplications() GetApplicationActivityTeamApplicationsApplicationConnection { + return v.Applications +} + +// GetApplicationActivityTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. +// The GraphQL type's documentation follows. +// +// Application connection. +type GetApplicationActivityTeamApplicationsApplicationConnection struct { + // List of nodes. + Nodes []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +} + +// GetNodes returns GetApplicationActivityTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnection) GetNodes() []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication { + return v.Nodes +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication struct { + // The name of the application. + Name string `json:"name"` + // The team environment for the application. + TeamEnvironment GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` + // Activity log associated with the application. + ActivityLog GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection `json:"activityLog"` +} + +// GetName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetName() string { + return v.Name +} + +// GetTeamEnvironment returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { + return v.TeamEnvironment +} + +// GetActivityLog returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.ActivityLog, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetActivityLog() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection { + return v.ActivityLog +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection includes the requested fields of the GraphQL type ActivityLogEntryConnection. +// The GraphQL type's documentation follows. +// +// Activity log connection. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection struct { + // List of nodes. + Nodes []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry `json:"-"` +} + +// GetNodes returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) GetNodes() []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry { + return v.Nodes +} + +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) UnmarshalJSON(b []byte) error { + + if string(b) == "null" { + return nil + } + + var firstPass struct { + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON + } + firstPass.GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection = v + + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } + + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes: %w", err) + } + } + } + } + return nil +} + +type __premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection struct { + Nodes []json.RawMessage `json:"nodes"` +} + +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} + +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) __premarshalJSON() (*__premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection, error) { + var retval __premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection + + { + + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes: %w", err) + } + } + } + return &retval, nil +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry includes the requested fields of the GraphQL interface ActivityLogEntry. +// +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry is implemented by the following types: +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry +// The GraphQL type's documentation follows. +// +// Interface for activity log entries. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry interface { + implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string + // GetActor returns the interface-field "actor" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Interface for activity log entries. + GetActor() string + // GetCreatedAt returns the interface-field "createdAt" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Interface for activity log entries. + GetCreatedAt() time.Time + // GetMessage returns the interface-field "message" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Interface for activity log entries. + GetMessage() string + // GetEnvironmentName returns the interface-field "environmentName" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Interface for activity log entries. + GetEnvironmentName() string +} + +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} + +func __unmarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry(b []byte, v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "ApplicationDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ApplicationRestartedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ApplicationScaledActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) + return json.Unmarshal(b, *v) + case "ClusterAuditActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "CredentialsActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) + return json.Unmarshal(b, *v) + case "DeploymentActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobRunDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobTriggeredActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "PostgresGrantAccessActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerConfiguredActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerDisabledActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerEnabledActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) + return json.Unmarshal(b, *v) + case "RepositoryAddedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "RepositoryRemovedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "RoleAssignedToServiceAccountActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) + return json.Unmarshal(b, *v) + case "RoleRevokedFromServiceAccountActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueAddedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueRemovedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValuesViewedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceMaintenanceActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamConfirmDeleteKeyActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamCreateDeleteKeyActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamDeployKeyUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamEnvironmentUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberAddedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberRemovedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberSetRoleActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "VulnerabilityUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing ActivityLogEntry.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%v"`, tn.TypeName) + } +} + +func __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry(v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry: + typename = "ApplicationDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry: + typename = "ApplicationRestartedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry: + typename = "ApplicationScaledActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: + typename = "ClusterAuditActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: + typename = "CredentialsActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry: + typename = "DeploymentActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry: + typename = "JobDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: + typename = "JobRunDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: + typename = "JobTriggeredActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry: + typename = "OpenSearchCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry: + typename = "OpenSearchDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry: + typename = "OpenSearchUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry: + typename = "PostgresGrantAccessActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry: + typename = "ReconcilerConfiguredActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry: + typename = "ReconcilerDisabledActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry: + typename = "ReconcilerEnabledActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry: + typename = "RepositoryAddedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry: + typename = "RepositoryRemovedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry: + typename = "RoleAssignedToServiceAccountActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry: + typename = "RoleRevokedFromServiceAccountActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry: + typename = "SecretCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry: + typename = "SecretDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry: + typename = "SecretValueAddedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry: + typename = "SecretValueRemovedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry: + typename = "SecretValueUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry: + typename = "SecretValuesViewedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry: + typename = "ServiceAccountCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry: + typename = "ServiceAccountDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry: + typename = "ServiceAccountTokenCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry: + typename = "ServiceAccountTokenDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry: + typename = "ServiceAccountTokenUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry: + typename = "ServiceAccountUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry: + typename = "ServiceMaintenanceActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry: + typename = "TeamConfirmDeleteKeyActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry: + typename = "TeamCreateDeleteKeyActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry: + typename = "TeamCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry: + typename = "TeamDeployKeyUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry: + typename = "TeamEnvironmentUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry: + typename = "TeamMemberAddedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry: + typename = "TeamMemberRemovedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry: + typename = "TeamMemberSetRoleActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry: + typename = "TeamUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry: + typename = "UnleashInstanceCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry: + typename = "UnleashInstanceDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry: + typename = "UnleashInstanceUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry: + typename = "ValkeyCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry: + typename = "ValkeyDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry: + typename = "ValkeyUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry: + typename = "VulnerabilityUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) + } +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry includes the requested fields of the GraphQL type SecretValuesViewedActivityLogEntry. +// The GraphQL type's documentation follows. +// +// Activity log entry for viewing secret values. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { + // Get the environment. + Environment GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { + return v.Environment +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetApplicationInstancesResponse is returned by GetApplicationInstances on success. +type GetApplicationInstancesResponse struct { + // Get a team by its slug. + Team GetApplicationInstancesTeam `json:"team"` +} + +// GetTeam returns GetApplicationInstancesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesResponse) GetTeam() GetApplicationInstancesTeam { return v.Team } + +// GetApplicationInstancesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetApplicationInstancesTeam struct { + // Nais applications owned by the team. + Applications GetApplicationInstancesTeamApplicationsApplicationConnection `json:"applications"` +} + +// GetApplications returns GetApplicationInstancesTeam.Applications, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeam) GetApplications() GetApplicationInstancesTeamApplicationsApplicationConnection { + return v.Applications +} + +// GetApplicationInstancesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. +// The GraphQL type's documentation follows. +// +// Application connection. +type GetApplicationInstancesTeamApplicationsApplicationConnection struct { + // List of nodes. + Nodes []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +} + +// GetNodes returns GetApplicationInstancesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication { + return v.Nodes +} + +// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication struct { + // The application instances. + Instances GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection `json:"instances"` +} + +// GetInstances returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication.Instances, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication) GetInstances() GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection { + return v.Instances +} + +// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection includes the requested fields of the GraphQL type ApplicationInstanceConnection. +type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection struct { + // List of nodes. + Nodes []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance `json:"nodes"` +} + +// GetNodes returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection) GetNodes() []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance { + return v.Nodes +} + +// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance includes the requested fields of the GraphQL type ApplicationInstance. +type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance struct { + Name string `json:"name"` +} + +// GetName returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance) GetName() string { + return v.Name +} + +// GetApplicationIssuesResponse is returned by GetApplicationIssues on success. +type GetApplicationIssuesResponse struct { + // Get a team by its slug. + Team GetApplicationIssuesTeam `json:"team"` +} + +// GetTeam returns GetApplicationIssuesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesResponse) GetTeam() GetApplicationIssuesTeam { return v.Team } + +// GetApplicationIssuesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetApplicationIssuesTeam struct { + // Nais applications owned by the team. + Applications GetApplicationIssuesTeamApplicationsApplicationConnection `json:"applications"` +} + +// GetApplications returns GetApplicationIssuesTeam.Applications, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeam) GetApplications() GetApplicationIssuesTeamApplicationsApplicationConnection { + return v.Applications +} + +// GetApplicationIssuesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. +// The GraphQL type's documentation follows. +// +// Application connection. +type GetApplicationIssuesTeamApplicationsApplicationConnection struct { + // List of nodes. + Nodes []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +} + +// GetNodes returns GetApplicationIssuesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication { + return v.Nodes +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication struct { + // The team environment for the application. + TeamEnvironment GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` + // Issues that affect the application. + Issues GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection `json:"issues"` +} + +// GetTeamEnvironment returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { + return v.TeamEnvironment +} - var typename string - switch v := (*v).(type) { - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry: - typename = "ApplicationDeletedActivityLogEntry" +// GetIssues returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication.Issues, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication) GetIssues() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection { + return v.Issues +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry: - typename = "ApplicationRestartedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection struct { + // List of nodes. + Nodes []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue `json:"-"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry: - typename = "ApplicationScaledActivityLogEntry" +// GetNodes returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) GetNodes() []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue { + return v.Nodes +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: - typename = "ClusterAuditActivityLogEntry" +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) UnmarshalJSON(b []byte) error { - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: - typename = "CredentialsActivityLogEntry" + if string(b) == "null" { + return nil + } - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry: - typename = "DeploymentActivityLogEntry" + var firstPass struct { + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON + } + firstPass.GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection = v - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry: - typename = "JobDeletedActivityLogEntry" + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: - typename = "JobRunDeletedActivityLogEntry" + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes: %w", err) + } + } + } + } + return nil +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: - typename = "JobTriggeredActivityLogEntry" +type __premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection struct { + Nodes []json.RawMessage `json:"nodes"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry: - typename = "OpenSearchCreatedActivityLogEntry" +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry: - typename = "OpenSearchDeletedActivityLogEntry" +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) __premarshalJSON() (*__premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection, error) { + var retval __premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry: - typename = "OpenSearchUpdatedActivityLogEntry" + { - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry: - typename = "PostgresGrantAccessActivityLogEntry" + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes: %w", err) + } + } + } + return &retval, nil +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry: - typename = "ReconcilerConfiguredActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue includes the requested fields of the GraphQL type DeprecatedIngressIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry: - typename = "ReconcilerDisabledActivityLogEntry" +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry: - typename = "ReconcilerEnabledActivityLogEntry" +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue includes the requested fields of the GraphQL type DeprecatedRegistryIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue includes the requested fields of the GraphQL type ExternalIngressCriticalVulnerabilityIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry: - typename = "RepositoryAddedActivityLogEntry" +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry: - typename = "RepositoryRemovedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue includes the requested fields of the GraphQL type FailedSynchronizationIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry: - typename = "RoleAssignedToServiceAccountActivityLogEntry" +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry: - typename = "RoleRevokedFromServiceAccountActivityLogEntry" +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry: - typename = "SecretCreatedActivityLogEntry" +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry: - typename = "SecretDeletedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue includes the requested fields of the GraphQL type InvalidSpecIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry: - typename = "SecretValueAddedActivityLogEntry" +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry: - typename = "SecretValueRemovedActivityLogEntry" +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry: - typename = "SecretValueUpdatedActivityLogEntry" +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry: - typename = "SecretValuesViewedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue includes the requested fields of the GraphQL interface Issue. +// +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue is implemented by the following types: +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue interface { + implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string + // GetSeverity returns the interface-field "severity" from its implementation. + GetSeverity() Severity + // GetMessage returns the interface-field "message" from its implementation. + GetMessage() string +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry: - typename = "ServiceAccountCreatedActivityLogEntry" +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry: - typename = "ServiceAccountDeletedActivityLogEntry" +func __unmarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue(b []byte, v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue) error { + if string(b) == "null" { + return nil + } - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry: - typename = "ServiceAccountTokenCreatedActivityLogEntry" + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry: - typename = "ServiceAccountTokenDeletedActivityLogEntry" + switch tn.TypeName { + case "DeprecatedIngressIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) + return json.Unmarshal(b, *v) + case "DeprecatedRegistryIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) + return json.Unmarshal(b, *v) + case "ExternalIngressCriticalVulnerabilityIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) + return json.Unmarshal(b, *v) + case "FailedSynchronizationIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) + return json.Unmarshal(b, *v) + case "InvalidSpecIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) + return json.Unmarshal(b, *v) + case "LastRunFailedIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) + return json.Unmarshal(b, *v) + case "MissingSbomIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) + return json.Unmarshal(b, *v) + case "NoRunningInstancesIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) + return json.Unmarshal(b, *v) + case "OpenSearchIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) + return json.Unmarshal(b, *v) + case "SqlInstanceStateIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) + return json.Unmarshal(b, *v) + case "SqlInstanceVersionIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) + return json.Unmarshal(b, *v) + case "UnleashReleaseChannelIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) + return json.Unmarshal(b, *v) + case "ValkeyIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) + return json.Unmarshal(b, *v) + case "VulnerableImageIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Issue.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue: "%v"`, tn.TypeName) + } +} + +func __marshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue(v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue) ([]byte, error) { - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry: - typename = "ServiceAccountTokenUpdatedActivityLogEntry" + var typename string + switch v := (*v).(type) { + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue: + typename = "DeprecatedIngressIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry: - typename = "ServiceAccountUpdatedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue: + typename = "DeprecatedRegistryIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry: - typename = "ServiceMaintenanceActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue: + typename = "ExternalIngressCriticalVulnerabilityIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry: - typename = "TeamConfirmDeleteKeyActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue: + typename = "FailedSynchronizationIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry: - typename = "TeamCreateDeleteKeyActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue: + typename = "InvalidSpecIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry: - typename = "TeamCreatedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue: + typename = "LastRunFailedIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry: - typename = "TeamDeployKeyUpdatedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue: + typename = "MissingSbomIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry: - typename = "TeamEnvironmentUpdatedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue: + typename = "NoRunningInstancesIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry: - typename = "TeamMemberAddedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue: + typename = "OpenSearchIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry: - typename = "TeamMemberRemovedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue: + typename = "SqlInstanceStateIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry: - typename = "TeamMemberSetRoleActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue: + typename = "SqlInstanceVersionIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry: - typename = "TeamUpdatedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue: + typename = "UnleashReleaseChannelIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry: - typename = "UnleashInstanceCreatedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue: + typename = "ValkeyIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry: - typename = "UnleashInstanceDeletedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue: + typename = "VulnerableImageIssue" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry: - typename = "UnleashInstanceUpdatedActivityLogEntry" + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue: "%T"`, v) + } +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry: - typename = "ValkeyCreatedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue includes the requested fields of the GraphQL type LastRunFailedIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue includes the requested fields of the GraphQL type MissingSbomIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue includes the requested fields of the GraphQL type NoRunningInstancesIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue includes the requested fields of the GraphQL type OpenSearchIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue includes the requested fields of the GraphQL type SqlInstanceStateIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue includes the requested fields of the GraphQL type SqlInstanceVersionIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue includes the requested fields of the GraphQL type UnleashReleaseChannelIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry: - typename = "ValkeyDeletedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue includes the requested fields of the GraphQL type ValkeyIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry: - typename = "ValkeyUpdatedActivityLogEntry" +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry: - typename = "VulnerabilityUpdatedActivityLogEntry" +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) - } +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetMessage() string { + return v.Message } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue includes the requested fields of the GraphQL type VulnerableImageIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { - return v.Actor +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetSeverity() Severity { + return v.Severity } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetMessage() string { + return v.Message } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { - return v.Message +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { + // Get the environment. + Environment GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +// GetEnvironment returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { + return v.Environment } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { - return v.Typename +// GetName returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { + return v.Name } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { - return v.Actor +// GetApplicationNamesResponse is returned by GetApplicationNames on success. +type GetApplicationNamesResponse struct { + // Get a team by its slug. + Team GetApplicationNamesTeam `json:"team"` } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +// GetTeam returns GetApplicationNamesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesResponse) GetTeam() GetApplicationNamesTeam { return v.Team } + +// GetApplicationNamesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetApplicationNamesTeam struct { + // Nais applications owned by the team. + Applications GetApplicationNamesTeamApplicationsApplicationConnection `json:"applications"` } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { - return v.Message +// GetApplications returns GetApplicationNamesTeam.Applications, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeam) GetApplications() GetApplicationNamesTeamApplicationsApplicationConnection { + return v.Applications } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +// GetApplicationNamesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. +// The GraphQL type's documentation follows. +// +// Application connection. +type GetApplicationNamesTeamApplicationsApplicationConnection struct { + // List of nodes. + Nodes []GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +// GetNodes returns GetApplicationNamesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication { + return v.Nodes } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { - return v.Typename +// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication struct { + // The name of the application. + Name string `json:"name"` + // The team environment for the application. + TeamEnvironment GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { - return v.Actor +// GetName returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication) GetName() string { + return v.Name } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +// GetTeamEnvironment returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { + return v.TeamEnvironment } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { - return v.Message +// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { + // Get the environment. + Environment GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +// GetEnvironment returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { + return v.Environment } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { - return v.Typename +// GetName returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetConfigActivityResponse is returned by GetConfigActivity on success. +type GetConfigActivityResponse struct { + // Get a team by its slug. + Team GetConfigActivityTeam `json:"team"` +} + +// GetTeam returns GetConfigActivityResponse.Team, and is useful for accessing the field via an interface. +func (v *GetConfigActivityResponse) GetTeam() GetConfigActivityTeam { return v.Team } + +// GetConfigActivityTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetConfigActivityTeam struct { + // Configs owned by the team. + Configs GetConfigActivityTeamConfigsConfigConnection `json:"configs"` } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { - return v.Actor +// GetConfigs returns GetConfigActivityTeam.Configs, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeam) GetConfigs() GetConfigActivityTeamConfigsConfigConnection { + return v.Configs } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +// GetConfigActivityTeamConfigsConfigConnection includes the requested fields of the GraphQL type ConfigConnection. +type GetConfigActivityTeamConfigsConfigConnection struct { + // List of nodes. + Nodes []GetConfigActivityTeamConfigsConfigConnectionNodesConfig `json:"nodes"` } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { - return v.Message +// GetNodes returns GetConfigActivityTeamConfigsConfigConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnection) GetNodes() []GetConfigActivityTeamConfigsConfigConnectionNodesConfig { + return v.Nodes } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +// GetConfigActivityTeamConfigsConfigConnectionNodesConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfig struct { + // The name of the config. + Name string `json:"name"` + // The environment the config exists in. + TeamEnvironment GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment `json:"teamEnvironment"` + // Activity log associated with the config. + ActivityLog GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection `json:"activityLog"` } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} +// GetName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfig.Name, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfig) GetName() string { return v.Name } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetTypename() string { - return v.Typename +// GetTeamEnvironment returns GetConfigActivityTeamConfigsConfigConnectionNodesConfig.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfig) GetTeamEnvironment() GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment { + return v.TeamEnvironment } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetActor() string { - return v.Actor +// GetActivityLog returns GetConfigActivityTeamConfigsConfigConnectionNodesConfig.ActivityLog, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfig) GetActivityLog() GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection { + return v.ActivityLog } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection includes the requested fields of the GraphQL type ActivityLogEntryConnection. +// The GraphQL type's documentation follows. +// +// Activity log connection. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection struct { + // List of nodes. + Nodes []GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry `json:"-"` } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetMessage() string { - return v.Message +// GetNodes returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection) GetNodes() []GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry { + return v.Nodes } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection) UnmarshalJSON(b []byte) error { -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + if string(b) == "null" { + return nil + } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetTypename() string { - return v.Typename -} + var firstPass struct { + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON + } + firstPass.GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection = v -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetActor() string { - return v.Actor + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } + + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection.Nodes: %w", err) + } + } + } + } + return nil } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +type __premarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection struct { + Nodes []json.RawMessage `json:"nodes"` } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection) __premarshalJSON() (*__premarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection, error) { + var retval __premarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection + + { + + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection.Nodes: %w", err) + } + } + } + return &retval, nil } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { - Typename string `json:"__typename"` +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry includes the requested fields of the GraphQL interface ActivityLogEntry. +// +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry is implemented by the following types: +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry +// The GraphQL type's documentation follows. +// +// Interface for activity log entries. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry interface { + implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string + // GetActor returns the interface-field "actor" from its implementation. + // The GraphQL interface field's documentation follows. + // // Interface for activity log entries. - Actor string `json:"actor"` + GetActor() string + // GetCreatedAt returns the interface-field "createdAt" from its implementation. + // The GraphQL interface field's documentation follows. + // // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` + GetCreatedAt() time.Time + // GetMessage returns the interface-field "message" from its implementation. + // The GraphQL interface field's documentation follows. + // // Interface for activity log entries. - Message string `json:"message"` + GetMessage() string + // GetEnvironmentName returns the interface-field "environmentName" from its implementation. + // The GraphQL interface field's documentation follows. + // // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` + GetEnvironmentName() string } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} +func __unmarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry(b []byte, v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry) error { + if string(b) == "null" { + return nil + } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetTypename() string { - return v.Typename -} + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetActor() string { - return v.Actor + switch tn.TypeName { + case "ApplicationDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ApplicationRestartedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ApplicationScaledActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) + return json.Unmarshal(b, *v) + case "ClusterAuditActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "CredentialsActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) + return json.Unmarshal(b, *v) + case "DeploymentActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobRunDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobTriggeredActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "PostgresGrantAccessActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerConfiguredActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerDisabledActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerEnabledActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) + return json.Unmarshal(b, *v) + case "RepositoryAddedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "RepositoryRemovedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "RoleAssignedToServiceAccountActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) + return json.Unmarshal(b, *v) + case "RoleRevokedFromServiceAccountActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueAddedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueRemovedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValuesViewedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceMaintenanceActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamConfirmDeleteKeyActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamCreateDeleteKeyActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamDeployKeyUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamEnvironmentUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberAddedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberRemovedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberSetRoleActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "VulnerabilityUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing ActivityLogEntry.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%v"`, tn.TypeName) + } } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} +func __marshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry(v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry) ([]byte, error) { -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetMessage() string { - return v.Message -} + var typename string + switch v := (*v).(type) { + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry: + typename = "ApplicationDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry: + typename = "ApplicationRestartedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry: + typename = "ApplicationScaledActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: + typename = "ClusterAuditActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: + typename = "CredentialsActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry: + typename = "DeploymentActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry: + typename = "JobDeletedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: + typename = "JobRunDeletedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: + typename = "JobTriggeredActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry: + typename = "OpenSearchCreatedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry: + typename = "OpenSearchDeletedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry: + typename = "OpenSearchUpdatedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry: + typename = "PostgresGrantAccessActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry: + typename = "ReconcilerConfiguredActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry: + typename = "ReconcilerDisabledActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry: + typename = "ReconcilerEnabledActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry: + typename = "RepositoryAddedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry: + typename = "RepositoryRemovedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry: + typename = "RoleAssignedToServiceAccountActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry: + typename = "RoleRevokedFromServiceAccountActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry: + typename = "SecretCreatedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry: + typename = "SecretDeletedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry: + typename = "SecretValueAddedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry: + typename = "SecretValueRemovedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry: + typename = "SecretValueUpdatedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry: + typename = "SecretValuesViewedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry: + typename = "ServiceAccountCreatedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry: + typename = "ServiceAccountDeletedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry: + typename = "ServiceAccountTokenCreatedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry: + typename = "ServiceAccountTokenDeletedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry: + typename = "ServiceAccountTokenUpdatedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry: + typename = "ServiceAccountUpdatedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry: + typename = "ServiceMaintenanceActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry: + typename = "TeamConfirmDeleteKeyActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry: + typename = "TeamCreateDeleteKeyActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry: + typename = "TeamCreatedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry: + typename = "TeamDeployKeyUpdatedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry: + typename = "TeamEnvironmentUpdatedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry: + typename = "TeamMemberAddedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry: + typename = "TeamMemberRemovedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry: + typename = "TeamMemberSetRoleActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry: + typename = "TeamUpdatedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry: + typename = "UnleashInstanceCreatedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry: + typename = "UnleashInstanceDeletedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry: + typename = "UnleashInstanceUpdatedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry: + typename = "ValkeyCreatedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry: + typename = "ValkeyDeletedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry: + typename = "ValkeyUpdatedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry: + typename = "VulnerabilityUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) + } } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6096,33 +9666,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6134,33 +9704,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6172,33 +9742,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6210,36 +9780,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry includes the requested fields of the GraphQL type SecretValuesViewedActivityLogEntry. -// The GraphQL type's documentation follows. -// -// Activity log entry for viewing secret values. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6251,33 +9818,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6289,33 +9856,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6327,33 +9894,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6365,33 +9932,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6403,33 +9970,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6441,33 +10008,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6479,33 +10046,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6517,33 +10084,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6555,33 +10122,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6593,33 +10160,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6631,33 +10198,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6669,33 +10236,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6707,33 +10274,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6745,33 +10312,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6783,33 +10350,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6821,33 +10388,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6859,33 +10426,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6897,33 +10464,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6935,33 +10502,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -6973,33 +10540,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -7011,33 +10578,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -7049,33 +10616,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -7087,33 +10654,33 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -7125,876 +10692,983 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { - // Get the environment. - Environment GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` -} - -// GetEnvironment returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { - return v.Environment -} - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry includes the requested fields of the GraphQL type SecretValuesViewedActivityLogEntry. // The GraphQL type's documentation follows. // -// An environment represents a runtime environment for workloads. -// -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` +// Activity log entry for viewing secret values. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -// GetName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { - return v.Name +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetApplicationInstancesResponse is returned by GetApplicationInstances on success. -type GetApplicationInstancesResponse struct { - // Get a team by its slug. - Team GetApplicationInstancesTeam `json:"team"` +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetActor() string { + return v.Actor } -// GetTeam returns GetApplicationInstancesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesResponse) GetTeam() GetApplicationInstancesTeam { return v.Team } - -// GetApplicationInstancesTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetApplicationInstancesTeam struct { - // Nais applications owned by the team. - Applications GetApplicationInstancesTeamApplicationsApplicationConnection `json:"applications"` +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetApplications returns GetApplicationInstancesTeam.Applications, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeam) GetApplications() GetApplicationInstancesTeamApplicationsApplicationConnection { - return v.Applications +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetMessage() string { + return v.Message } -// GetApplicationInstancesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. -// The GraphQL type's documentation follows. -// -// Application connection. -type GetApplicationInstancesTeamApplicationsApplicationConnection struct { - // List of nodes. - Nodes []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetNodes returns GetApplicationInstancesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication { - return v.Nodes +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication struct { - // The application instances. - Instances GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection `json:"instances"` +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetInstances returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication.Instances, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication) GetInstances() GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection { - return v.Instances +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection includes the requested fields of the GraphQL type ApplicationInstanceConnection. -type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection struct { - // List of nodes. - Nodes []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance `json:"nodes"` +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetNodes returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection) GetNodes() []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance { - return v.Nodes +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetMessage() string { + return v.Message } -// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance includes the requested fields of the GraphQL type ApplicationInstance. -type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance struct { - Name string `json:"name"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetName returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance) GetName() string { - return v.Name +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -// GetApplicationIssuesResponse is returned by GetApplicationIssues on success. -type GetApplicationIssuesResponse struct { - // Get a team by its slug. - Team GetApplicationIssuesTeam `json:"team"` +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetTeam returns GetApplicationIssuesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesResponse) GetTeam() GetApplicationIssuesTeam { return v.Team } - -// GetApplicationIssuesTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetApplicationIssuesTeam struct { - // Nais applications owned by the team. - Applications GetApplicationIssuesTeamApplicationsApplicationConnection `json:"applications"` +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetActor() string { + return v.Actor } -// GetApplications returns GetApplicationIssuesTeam.Applications, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeam) GetApplications() GetApplicationIssuesTeamApplicationsApplicationConnection { - return v.Applications +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetApplicationIssuesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. -// The GraphQL type's documentation follows. -// -// Application connection. -type GetApplicationIssuesTeamApplicationsApplicationConnection struct { - // List of nodes. - Nodes []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetMessage() string { + return v.Message } -// GetNodes returns GetApplicationIssuesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication { - return v.Nodes +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication struct { - // The team environment for the application. - TeamEnvironment GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` - // Issues that affect the application. - Issues GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection `json:"issues"` +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -// GetTeamEnvironment returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { - return v.TeamEnvironment +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetIssues returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication.Issues, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication) GetIssues() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection { - return v.Issues +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection struct { - // List of nodes. - Nodes []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue `json:"-"` +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetNodes returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) GetNodes() []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue { - return v.Nodes +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetMessage() string { + return v.Message } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) UnmarshalJSON(b []byte) error { - - if string(b) == "null" { - return nil - } - - var firstPass struct { - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection - Nodes []json.RawMessage `json:"nodes"` - graphql.NoUnmarshalJSON - } - firstPass.GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection = v - - err := json.Unmarshal(b, &firstPass) - if err != nil { - return err - } +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} - { - dst := &v.Nodes - src := firstPass.Nodes - *dst = make( - []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes: %w", err) - } - } - } - } - return nil +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -type __premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection struct { - Nodes []json.RawMessage `json:"nodes"` +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetTypename() string { + return v.Typename } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) MarshalJSON() ([]byte, error) { - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - return json.Marshal(premarshaled) +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetActor() string { + return v.Actor } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) __premarshalJSON() (*__premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection, error) { - var retval __premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} - { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetMessage() string { + return v.Message +} - dst := &retval.Nodes - src := v.Nodes - *dst = make( - []json.RawMessage, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - var err error - *dst, err = __marshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes: %w", err) - } - } - } - return &retval, nil +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue includes the requested fields of the GraphQL type DeprecatedIngressIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetMessage() string { - return v.Message +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue includes the requested fields of the GraphQL type DeprecatedRegistryIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetMessage() string { + return v.Message } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTypename() string { - return v.Typename +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetSeverity() Severity { - return v.Severity +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetMessage() string { - return v.Message +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue includes the requested fields of the GraphQL type ExternalIngressCriticalVulnerabilityIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTypename() string { - return v.Typename +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetSeverity() Severity { - return v.Severity +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetMessage() string { + return v.Message } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetMessage() string { - return v.Message +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue includes the requested fields of the GraphQL type FailedSynchronizationIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue includes the requested fields of the GraphQL type InvalidSpecIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue includes the requested fields of the GraphQL interface Issue. -// -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue is implemented by the following types: -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue interface { - implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string - // GetSeverity returns the interface-field "severity" from its implementation. - GetSeverity() Severity - // GetMessage returns the interface-field "message" from its implementation. - GetMessage() string +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetTypename() string { + return v.Typename } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetActor() string { + return v.Actor } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetMessage() string { + return v.Message } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetTypename() string { + return v.Typename } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetActor() string { + return v.Actor } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetMessage() string { + return v.Message } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetTypename() string { + return v.Typename } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -func __unmarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue(b []byte, v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue) error { - if string(b) == "null" { - return nil - } +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} - var tn struct { - TypeName string `json:"__typename"` - } - err := json.Unmarshal(b, &tn) - if err != nil { - return err - } +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} - switch tn.TypeName { - case "DeprecatedIngressIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) - return json.Unmarshal(b, *v) - case "DeprecatedRegistryIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) - return json.Unmarshal(b, *v) - case "ExternalIngressCriticalVulnerabilityIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) - return json.Unmarshal(b, *v) - case "FailedSynchronizationIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) - return json.Unmarshal(b, *v) - case "InvalidSpecIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) - return json.Unmarshal(b, *v) - case "LastRunFailedIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) - return json.Unmarshal(b, *v) - case "MissingSbomIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) - return json.Unmarshal(b, *v) - case "NoRunningInstancesIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) - return json.Unmarshal(b, *v) - case "OpenSearchIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) - return json.Unmarshal(b, *v) - case "SqlInstanceStateIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) - return json.Unmarshal(b, *v) - case "SqlInstanceVersionIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) - return json.Unmarshal(b, *v) - case "UnleashReleaseChannelIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) - return json.Unmarshal(b, *v) - case "ValkeyIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) - return json.Unmarshal(b, *v) - case "VulnerableImageIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) - return json.Unmarshal(b, *v) - case "": - return fmt.Errorf( - "response was missing Issue.__typename") - default: - return fmt.Errorf( - `unexpected concrete type for GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue: "%v"`, tn.TypeName) - } +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -func __marshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue(v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue) ([]byte, error) { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} - var typename string - switch v := (*v).(type) { - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue: - typename = "DeprecatedIngressIssue" +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue: - typename = "DeprecatedRegistryIssue" +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue: - typename = "ExternalIngressCriticalVulnerabilityIssue" +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue: - typename = "FailedSynchronizationIssue" +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue: - typename = "InvalidSpecIssue" +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue: - typename = "LastRunFailedIssue" +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue: - typename = "MissingSbomIssue" +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue: - typename = "NoRunningInstancesIssue" +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetActor() string { + return v.Actor +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue: - typename = "OpenSearchIssue" +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue: - typename = "SqlInstanceStateIssue" +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue: - typename = "SqlInstanceVersionIssue" +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue: - typename = "UnleashReleaseChannelIssue" +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue: - typename = "ValkeyIssue" +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue: - typename = "VulnerableImageIssue" +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetActor() string { + return v.Actor +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue: "%T"`, v) - } +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue includes the requested fields of the GraphQL type LastRunFailedIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetMessage() string { + return v.Message } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetTypename() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue includes the requested fields of the GraphQL type MissingSbomIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue includes the requested fields of the GraphQL type NoRunningInstancesIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue includes the requested fields of the GraphQL type OpenSearchIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue includes the requested fields of the GraphQL type SqlInstanceStateIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue includes the requested fields of the GraphQL type SqlInstanceVersionIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue includes the requested fields of the GraphQL type UnleashReleaseChannelIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue includes the requested fields of the GraphQL type ValkeyIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue includes the requested fields of the GraphQL type VulnerableImageIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment struct { // Get the environment. - Environment GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` + Environment GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment `json:"environment"` } -// GetEnvironment returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { +// GetEnvironment returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment) GetEnvironment() GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment { return v.Environment } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. // The GraphQL type's documentation follows. // // An environment represents a runtime environment for workloads. // // Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment struct { // Unique name of the environment. Name string `json:"name"` } -// GetName returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { +// GetName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment) GetName() string { return v.Name } -// GetApplicationNamesResponse is returned by GetApplicationNames on success. -type GetApplicationNamesResponse struct { +// GetConfigResponse is returned by GetConfig on success. +type GetConfigResponse struct { // Get a team by its slug. - Team GetApplicationNamesTeam `json:"team"` + Team GetConfigTeam `json:"team"` } -// GetTeam returns GetApplicationNamesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesResponse) GetTeam() GetApplicationNamesTeam { return v.Team } +// GetTeam returns GetConfigResponse.Team, and is useful for accessing the field via an interface. +func (v *GetConfigResponse) GetTeam() GetConfigTeam { return v.Team } -// GetApplicationNamesTeam includes the requested fields of the GraphQL type Team. +// GetConfigTeam includes the requested fields of the GraphQL type Team. // The GraphQL type's documentation follows. // // The team type represents a team on the [Nais platform](https://nais.io/). @@ -8002,78 +11676,326 @@ func (v *GetApplicationNamesResponse) GetTeam() GetApplicationNamesTeam { return // Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). // // External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetApplicationNamesTeam struct { - // Nais applications owned by the team. - Applications GetApplicationNamesTeamApplicationsApplicationConnection `json:"applications"` +type GetConfigTeam struct { + // Get a specific environment for the team. + Environment GetConfigTeamEnvironment `json:"environment"` } -// GetApplications returns GetApplicationNamesTeam.Applications, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeam) GetApplications() GetApplicationNamesTeamApplicationsApplicationConnection { - return v.Applications +// GetEnvironment returns GetConfigTeam.Environment, and is useful for accessing the field via an interface. +func (v *GetConfigTeam) GetEnvironment() GetConfigTeamEnvironment { return v.Environment } + +// GetConfigTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetConfigTeamEnvironment struct { + // Get a config by name. + Config GetConfigTeamEnvironmentConfig `json:"config"` } -// GetApplicationNamesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. +// GetConfig returns GetConfigTeamEnvironment.Config, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironment) GetConfig() GetConfigTeamEnvironmentConfig { return v.Config } + +// GetConfigTeamEnvironmentConfig includes the requested fields of the GraphQL type Config. // The GraphQL type's documentation follows. // -// Application connection. -type GetApplicationNamesTeamApplicationsApplicationConnection struct { +// A config is a collection of key-value pairs. +type GetConfigTeamEnvironmentConfig struct { + // The name of the config. + Name string `json:"name"` + // The values stored in the config. + Values []GetConfigTeamEnvironmentConfigValuesConfigValue `json:"values"` + // The environment the config exists in. + TeamEnvironment GetConfigTeamEnvironmentConfigTeamEnvironment `json:"teamEnvironment"` + // Workloads that use the config. + Workloads GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection `json:"workloads"` + // Last time the config was modified. + LastModifiedAt time.Time `json:"lastModifiedAt"` + // User who last modified the config. + LastModifiedBy GetConfigTeamEnvironmentConfigLastModifiedByUser `json:"lastModifiedBy"` +} + +// GetName returns GetConfigTeamEnvironmentConfig.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetName() string { return v.Name } + +// GetValues returns GetConfigTeamEnvironmentConfig.Values, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetValues() []GetConfigTeamEnvironmentConfigValuesConfigValue { + return v.Values +} + +// GetTeamEnvironment returns GetConfigTeamEnvironmentConfig.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetTeamEnvironment() GetConfigTeamEnvironmentConfigTeamEnvironment { + return v.TeamEnvironment +} + +// GetWorkloads returns GetConfigTeamEnvironmentConfig.Workloads, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetWorkloads() GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection { + return v.Workloads +} + +// GetLastModifiedAt returns GetConfigTeamEnvironmentConfig.LastModifiedAt, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetLastModifiedAt() time.Time { return v.LastModifiedAt } + +// GetLastModifiedBy returns GetConfigTeamEnvironmentConfig.LastModifiedBy, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetLastModifiedBy() GetConfigTeamEnvironmentConfigLastModifiedByUser { + return v.LastModifiedBy +} + +// GetConfigTeamEnvironmentConfigLastModifiedByUser includes the requested fields of the GraphQL type User. +// The GraphQL type's documentation follows. +// +// The user type represents a user of the Nais platform and the Nais GraphQL API. +type GetConfigTeamEnvironmentConfigLastModifiedByUser struct { + // The email address of the user. + Email string `json:"email"` +} + +// GetEmail returns GetConfigTeamEnvironmentConfigLastModifiedByUser.Email, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigLastModifiedByUser) GetEmail() string { return v.Email } + +// GetConfigTeamEnvironmentConfigTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetConfigTeamEnvironmentConfigTeamEnvironment struct { + // Get the environment. + Environment GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetConfigTeamEnvironmentConfigTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigTeamEnvironment) GetEnvironment() GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment { + return v.Environment +} + +// GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment) GetName() string { return v.Name } + +// GetConfigTeamEnvironmentConfigValuesConfigValue includes the requested fields of the GraphQL type ConfigValue. +type GetConfigTeamEnvironmentConfigValuesConfigValue struct { + // The name of the config value. + Name string `json:"name"` + // The config value itself. + Value string `json:"value"` +} + +// GetName returns GetConfigTeamEnvironmentConfigValuesConfigValue.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigValuesConfigValue) GetName() string { return v.Name } + +// GetValue returns GetConfigTeamEnvironmentConfigValuesConfigValue.Value, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigValuesConfigValue) GetValue() string { return v.Value } + +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection includes the requested fields of the GraphQL type WorkloadConnection. +// The GraphQL type's documentation follows. +// +// Workload connection. +type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection struct { // List of nodes. - Nodes []GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` + Nodes []GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload `json:"-"` } -// GetNodes returns GetApplicationNamesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication { +// GetNodes returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection) GetNodes() []GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload { return v.Nodes } -// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection) UnmarshalJSON(b []byte) error { + + if string(b) == "null" { + return nil + } + + var firstPass struct { + *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON + } + firstPass.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection = v + + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } + + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection.Nodes: %w", err) + } + } + } + } + return nil +} + +type __premarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection struct { + Nodes []json.RawMessage `json:"nodes"` +} + +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} + +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection) __premarshalJSON() (*__premarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection, error) { + var retval __premarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection + + { + + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection.Nodes: %w", err) + } + } + } + return &retval, nil +} + +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication struct { - // The name of the application. - Name string `json:"name"` - // The team environment for the application. - TeamEnvironment GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` +type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetName returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication) GetName() string { +// GetName returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication) GetName() string { return v.Name } -// GetTeamEnvironment returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { - return v.TeamEnvironment +// GetTypename returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication) GetTypename() string { + return v.Typename } -// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { - // Get the environment. - Environment GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. +type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob struct { + // Interface for workloads. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetEnvironment returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { - return v.Environment +// GetName returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob) GetName() string { + return v.Name } -// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. +// GetTypename returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob) GetTypename() string { + return v.Typename +} + +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload includes the requested fields of the GraphQL interface Workload. // -// An environment represents a runtime environment for workloads. +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload is implemented by the following types: +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob +// The GraphQL type's documentation follows. // -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` +// Interface for workloads. +type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload interface { + implementsGraphQLInterfaceGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Interface for workloads. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string +} + +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication) implementsGraphQLInterfaceGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload() { } +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob) implementsGraphQLInterfaceGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload() { +} + +func __unmarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload(b []byte, v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "Application": + *v = new(GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication) + return json.Unmarshal(b, *v) + case "Job": + *v = new(GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Workload.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload: "%v"`, tn.TypeName) + } +} + +func __marshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload(v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication: + typename = "Application" + + result := struct { + TypeName string `json:"__typename"` + *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication + }{typename, v} + return json.Marshal(result) + case *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob: + typename = "Job" -// GetName returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { - return v.Name + result := struct { + TypeName string `json:"__typename"` + *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload: "%T"`, v) + } } // GetJobActivityResponse is returned by GetJobActivity on success. @@ -8226,6 +12148,9 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry @@ -8308,6 +12233,12 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC } func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -8425,6 +12356,15 @@ func __unmarshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLo case "ClusterAuditActivityLogEntry": *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) case "CredentialsActivityLogEntry": *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) return json.Unmarshal(b, *v) @@ -8605,6 +12545,30 @@ func __marshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogE *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry }{typename, v} return json.Marshal(result) + case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: typename = "CredentialsActivityLogEntry" @@ -9125,6 +13089,120 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC return v.EnvironmentName } +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` @@ -12502,6 +16580,9 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry @@ -12584,6 +16665,12 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv } func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -12701,6 +16788,15 @@ func __unmarshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityL case "ClusterAuditActivityLogEntry": *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) case "CredentialsActivityLogEntry": *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) return json.Unmarshal(b, *v) @@ -12881,6 +16977,30 @@ func __marshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLog *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry }{typename, v} return json.Marshal(result) + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: typename = "CredentialsActivityLogEntry" @@ -13236,21 +17356,135 @@ func __marshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLog case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry: typename = "VulnerabilityUpdatedActivityLogEntry" - result := struct { - TypeName string `json:"__typename"` - *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) - } + result := struct { + TypeName string `json:"__typename"` + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) + } +} + +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. -type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -13262,33 +17496,33 @@ type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityL EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. -type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -13300,33 +17534,33 @@ type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityL EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. -type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -13338,33 +17572,33 @@ type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityL EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. -type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -13376,28 +17610,28 @@ type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityL EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } @@ -15587,6 +19821,9 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnection) __premarshalJ // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry @@ -15679,6 +19916,12 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicatio } func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -15796,6 +20039,15 @@ func __unmarshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesAct case "ClusterAuditActivityLogEntry": *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) case "CredentialsActivityLogEntry": *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) return json.Unmarshal(b, *v) @@ -15976,6 +20228,30 @@ func __marshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActiv *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry }{typename, v} return json.Marshal(result) + case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: typename = "CredentialsActivityLogEntry" @@ -16331,21 +20607,177 @@ func __marshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActiv case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry: typename = "VulnerabilityUpdatedActivityLogEntry" - result := struct { - TypeName string `json:"__typename"` - *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) - } + result := struct { + TypeName string `json:"__typename"` + *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) + } +} + +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` + // Interface for activity log entries. + ResourceType ActivityLogEntryResourceType `json:"resourceType"` + // Interface for activity log entries. + ResourceName string `json:"resourceName"` +} + +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { + return v.ResourceType +} + +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetResourceName() string { + return v.ResourceName +} + +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` + // Interface for activity log entries. + ResourceType ActivityLogEntryResourceType `json:"resourceType"` + // Interface for activity log entries. + ResourceName string `json:"resourceName"` +} + +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { + return v.ResourceType +} + +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetResourceName() string { + return v.ResourceName +} + +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` + // Interface for activity log entries. + ResourceType ActivityLogEntryResourceType `json:"resourceType"` + // Interface for activity log entries. + ResourceName string `json:"resourceName"` +} + +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { + return v.ResourceType } -// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. -type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetResourceName() string { + return v.ResourceName +} + +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -16361,43 +20793,43 @@ type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDel ResourceName string `json:"resourceName"` } -// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { return v.ResourceType } -// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetResourceName() string { +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetResourceName() string { return v.ResourceName } -// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. -type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -16413,43 +20845,43 @@ type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRes ResourceName string `json:"resourceName"` } -// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { return v.ResourceType } -// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetResourceName() string { +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetResourceName() string { return v.ResourceName } -// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. -type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -16465,43 +20897,43 @@ type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationSca ResourceName string `json:"resourceName"` } -// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { return v.ResourceType } -// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetResourceName() string { +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetResourceName() string { return v.ResourceName } -// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. -type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` // Interface for activity log entries. Actor string `json:"actor"` @@ -16517,38 +20949,38 @@ type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditAc ResourceName string `json:"resourceName"` } -// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { return v.ResourceType } -// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetResourceName() string { +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetResourceName() string { return v.ResourceName } @@ -22151,6 +26583,49 @@ var AllPostgresInstanceState = []PostgresInstanceState{ PostgresInstanceStateDegraded, } +// RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload includes the requested fields of the GraphQL type RemoveConfigValuePayload. +type RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload struct { + // The updated config. + Config RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig `json:"config"` +} + +// GetConfig returns RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload.Config, and is useful for accessing the field via an interface. +func (v *RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload) GetConfig() RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig { + return v.Config +} + +// RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig struct { + // The globally unique ID of the config. + Id string `json:"id"` + // The name of the config. + Name string `json:"name"` +} + +// GetId returns RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig.Id, and is useful for accessing the field via an interface. +func (v *RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig) GetId() string { + return v.Id +} + +// GetName returns RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig.Name, and is useful for accessing the field via an interface. +func (v *RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig) GetName() string { + return v.Name +} + +// RemoveConfigValueResponse is returned by RemoveConfigValue on success. +type RemoveConfigValueResponse struct { + // Remove a value from a config. + RemoveConfigValue RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload `json:"removeConfigValue"` +} + +// GetRemoveConfigValue returns RemoveConfigValueResponse.RemoveConfigValue, and is useful for accessing the field via an interface. +func (v *RemoveConfigValueResponse) GetRemoveConfigValue() RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload { + return v.RemoveConfigValue +} + // RemoveSecretValueRemoveSecretValueRemoveSecretValuePayload includes the requested fields of the GraphQL type RemoveSecretValuePayload. type RemoveSecretValueRemoveSecretValueRemoveSecretValuePayload struct { // The updated secret. @@ -23579,12 +28054,17 @@ var AllTeamVulnerabilityRiskScoreTrend = []TeamVulnerabilityRiskScoreTrend{ TeamVulnerabilityRiskScoreTrendFlat, } -// Input for filtering team workloads. +// Input for filtering team vulnerability summaries. type TeamVulnerabilitySummaryFilter struct { - // Input for filtering team workloads. + // Input for filtering team vulnerability summaries. + EnvironmentName string `json:"environmentName"` + // Input for filtering team vulnerability summaries. Environments []string `json:"environments"` } +// GetEnvironmentName returns TeamVulnerabilitySummaryFilter.EnvironmentName, and is useful for accessing the field via an interface. +func (v *TeamVulnerabilitySummaryFilter) GetEnvironmentName() string { return v.EnvironmentName } + // GetEnvironments returns TeamVulnerabilitySummaryFilter.Environments, and is useful for accessing the field via an interface. func (v *TeamVulnerabilitySummaryFilter) GetEnvironments() []string { return v.Environments } @@ -23683,6 +28163,49 @@ type TriggerJobTriggerJobTriggerJobPayloadJobRun struct { // GetName returns TriggerJobTriggerJobTriggerJobPayloadJobRun.Name, and is useful for accessing the field via an interface. func (v *TriggerJobTriggerJobTriggerJobPayloadJobRun) GetName() string { return v.Name } +// UpdateConfigValueResponse is returned by UpdateConfigValue on success. +type UpdateConfigValueResponse struct { + // Update a value within a config. + UpdateConfigValue UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload `json:"updateConfigValue"` +} + +// GetUpdateConfigValue returns UpdateConfigValueResponse.UpdateConfigValue, and is useful for accessing the field via an interface. +func (v *UpdateConfigValueResponse) GetUpdateConfigValue() UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload { + return v.UpdateConfigValue +} + +// UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload includes the requested fields of the GraphQL type UpdateConfigValuePayload. +type UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload struct { + // The updated config. + Config UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig `json:"config"` +} + +// GetConfig returns UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload.Config, and is useful for accessing the field via an interface. +func (v *UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload) GetConfig() UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig { + return v.Config +} + +// UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig struct { + // The globally unique ID of the config. + Id string `json:"id"` + // The name of the config. + Name string `json:"name"` +} + +// GetId returns UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig.Id, and is useful for accessing the field via an interface. +func (v *UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig) GetId() string { + return v.Id +} + +// GetName returns UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig.Name, and is useful for accessing the field via an interface. +func (v *UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig) GetName() string { + return v.Name +} + // UpdateOpenSearchResponse is returned by UpdateOpenSearch on success. type UpdateOpenSearchResponse struct { // Update an existing OpenSearch instance. @@ -24219,6 +28742,26 @@ func (v *ViewSecretValuesViewSecretValuesViewSecretValuesPayloadValuesSecretValu return v.Value } +// __AddConfigValueInput is used internally by genqlient +type __AddConfigValueInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` + Value ConfigValueInput `json:"value"` +} + +// GetName returns __AddConfigValueInput.Name, and is useful for accessing the field via an interface. +func (v *__AddConfigValueInput) GetName() string { return v.Name } + +// GetEnvironmentName returns __AddConfigValueInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__AddConfigValueInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __AddConfigValueInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__AddConfigValueInput) GetTeamSlug() string { return v.TeamSlug } + +// GetValue returns __AddConfigValueInput.Value, and is useful for accessing the field via an interface. +func (v *__AddConfigValueInput) GetValue() ConfigValueInput { return v.Value } + // __AddSecretValueInput is used internally by genqlient type __AddSecretValueInput struct { Name string `json:"name"` @@ -24267,6 +28810,22 @@ func (v *__ApplicationEnvironmentsInput) GetTeam() string { return v.Team } // GetFilter returns __ApplicationEnvironmentsInput.Filter, and is useful for accessing the field via an interface. func (v *__ApplicationEnvironmentsInput) GetFilter() TeamApplicationsFilter { return v.Filter } +// __CreateConfigInput is used internally by genqlient +type __CreateConfigInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` +} + +// GetName returns __CreateConfigInput.Name, and is useful for accessing the field via an interface. +func (v *__CreateConfigInput) GetName() string { return v.Name } + +// GetEnvironmentName returns __CreateConfigInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__CreateConfigInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __CreateConfigInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__CreateConfigInput) GetTeamSlug() string { return v.TeamSlug } + // __CreateKafkaCredentialsInput is used internally by genqlient type __CreateKafkaCredentialsInput struct { TeamSlug string `json:"teamSlug"` @@ -24409,6 +28968,22 @@ func (v *__CreateValkeyInput) GetTier() ValkeyTier { return v.Tier } // GetMaxMemoryPolicy returns __CreateValkeyInput.MaxMemoryPolicy, and is useful for accessing the field via an interface. func (v *__CreateValkeyInput) GetMaxMemoryPolicy() ValkeyMaxMemoryPolicy { return v.MaxMemoryPolicy } +// __DeleteConfigInput is used internally by genqlient +type __DeleteConfigInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` +} + +// GetName returns __DeleteConfigInput.Name, and is useful for accessing the field via an interface. +func (v *__DeleteConfigInput) GetName() string { return v.Name } + +// GetEnvironmentName returns __DeleteConfigInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__DeleteConfigInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __DeleteConfigInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__DeleteConfigInput) GetTeamSlug() string { return v.TeamSlug } + // __DeleteJobRunInput is used internally by genqlient type __DeleteJobRunInput struct { Team string `json:"team"` @@ -24481,6 +29056,14 @@ type __FindWorkloadsForCveInput struct { // GetIdentifier returns __FindWorkloadsForCveInput.Identifier, and is useful for accessing the field via an interface. func (v *__FindWorkloadsForCveInput) GetIdentifier() string { return v.Identifier } +// __GetAllConfigsInput is used internally by genqlient +type __GetAllConfigsInput struct { + TeamSlug string `json:"teamSlug"` +} + +// GetTeamSlug returns __GetAllConfigsInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__GetAllConfigsInput) GetTeamSlug() string { return v.TeamSlug } + // __GetAllIssuesInput is used internally by genqlient type __GetAllIssuesInput struct { TeamSlug string `json:"teamSlug"` @@ -24583,6 +29166,44 @@ type __GetApplicationNamesInput struct { // GetTeam returns __GetApplicationNamesInput.Team, and is useful for accessing the field via an interface. func (v *__GetApplicationNamesInput) GetTeam() string { return v.Team } +// __GetConfigActivityInput is used internally by genqlient +type __GetConfigActivityInput struct { + Team string `json:"team"` + Name string `json:"name"` + ActivityTypes []ActivityLogActivityType `json:"activityTypes"` + First int `json:"first"` +} + +// GetTeam returns __GetConfigActivityInput.Team, and is useful for accessing the field via an interface. +func (v *__GetConfigActivityInput) GetTeam() string { return v.Team } + +// GetName returns __GetConfigActivityInput.Name, and is useful for accessing the field via an interface. +func (v *__GetConfigActivityInput) GetName() string { return v.Name } + +// GetActivityTypes returns __GetConfigActivityInput.ActivityTypes, and is useful for accessing the field via an interface. +func (v *__GetConfigActivityInput) GetActivityTypes() []ActivityLogActivityType { + return v.ActivityTypes +} + +// GetFirst returns __GetConfigActivityInput.First, and is useful for accessing the field via an interface. +func (v *__GetConfigActivityInput) GetFirst() int { return v.First } + +// __GetConfigInput is used internally by genqlient +type __GetConfigInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` +} + +// GetName returns __GetConfigInput.Name, and is useful for accessing the field via an interface. +func (v *__GetConfigInput) GetName() string { return v.Name } + +// GetEnvironmentName returns __GetConfigInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__GetConfigInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __GetConfigInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__GetConfigInput) GetTeamSlug() string { return v.TeamSlug } + // __GetJobActivityInput is used internally by genqlient type __GetJobActivityInput struct { Team string `json:"team"` @@ -24853,6 +29474,26 @@ func (v *__ListWorkloadVulnerabilitySummariesInput) GetFilter() TeamVulnerabilit return v.Filter } +// __RemoveConfigValueInput is used internally by genqlient +type __RemoveConfigValueInput struct { + ConfigName string `json:"configName"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` + ValueName string `json:"valueName"` +} + +// GetConfigName returns __RemoveConfigValueInput.ConfigName, and is useful for accessing the field via an interface. +func (v *__RemoveConfigValueInput) GetConfigName() string { return v.ConfigName } + +// GetEnvironmentName returns __RemoveConfigValueInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__RemoveConfigValueInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __RemoveConfigValueInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__RemoveConfigValueInput) GetTeamSlug() string { return v.TeamSlug } + +// GetValueName returns __RemoveConfigValueInput.ValueName, and is useful for accessing the field via an interface. +func (v *__RemoveConfigValueInput) GetValueName() string { return v.ValueName } + // __RemoveSecretValueInput is used internally by genqlient type __RemoveSecretValueInput struct { SecretName string `json:"secretName"` @@ -24965,6 +29606,26 @@ func (v *__TriggerJobInput) GetEnv() string { return v.Env } // GetRunName returns __TriggerJobInput.RunName, and is useful for accessing the field via an interface. func (v *__TriggerJobInput) GetRunName() string { return v.RunName } +// __UpdateConfigValueInput is used internally by genqlient +type __UpdateConfigValueInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` + Value ConfigValueInput `json:"value"` +} + +// GetName returns __UpdateConfigValueInput.Name, and is useful for accessing the field via an interface. +func (v *__UpdateConfigValueInput) GetName() string { return v.Name } + +// GetEnvironmentName returns __UpdateConfigValueInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__UpdateConfigValueInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __UpdateConfigValueInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__UpdateConfigValueInput) GetTeamSlug() string { return v.TeamSlug } + +// GetValue returns __UpdateConfigValueInput.Value, and is useful for accessing the field via an interface. +func (v *__UpdateConfigValueInput) GetValue() ConfigValueInput { return v.Value } + // __UpdateOpenSearchInput is used internally by genqlient type __UpdateOpenSearchInput struct { Name string `json:"name,omitempty"` @@ -25053,6 +29714,49 @@ type __ViewSecretValuesInput struct { // GetInput returns __ViewSecretValuesInput.Input, and is useful for accessing the field via an interface. func (v *__ViewSecretValuesInput) GetInput() ViewSecretValuesInput { return v.Input } +// The mutation executed by AddConfigValue. +const AddConfigValue_Operation = ` +mutation AddConfigValue ($name: String!, $environmentName: String!, $teamSlug: Slug!, $value: ConfigValueInput!) { + addConfigValue(input: {name:$name,environmentName:$environmentName,teamSlug:$teamSlug,value:$value}) { + config { + id + name + } + } +} +` + +func AddConfigValue( + ctx_ context.Context, + client_ graphql.Client, + name string, + environmentName string, + teamSlug string, + value ConfigValueInput, +) (data_ *AddConfigValueResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "AddConfigValue", + Query: AddConfigValue_Operation, + Variables: &__AddConfigValueInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, + Value: value, + }, + } + + data_ = &AddConfigValueResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The mutation executed by AddSecretValue. const AddSecretValue_Operation = ` mutation AddSecretValue ($name: String!, $environment: String!, $team: Slug!, $value: SecretValueInput!) { @@ -25154,22 +29858,63 @@ query ApplicationEnvironments ($team: Slug!, $filter: TeamApplicationsFilter) { } ` -func ApplicationEnvironments( +func ApplicationEnvironments( + ctx_ context.Context, + client_ graphql.Client, + team string, + filter TeamApplicationsFilter, +) (data_ *ApplicationEnvironmentsResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "ApplicationEnvironments", + Query: ApplicationEnvironments_Operation, + Variables: &__ApplicationEnvironmentsInput{ + Team: team, + Filter: filter, + }, + } + + data_ = &ApplicationEnvironmentsResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + +// The mutation executed by CreateConfig. +const CreateConfig_Operation = ` +mutation CreateConfig ($name: String!, $environmentName: String!, $teamSlug: Slug!) { + createConfig(input: {name:$name,environmentName:$environmentName,teamSlug:$teamSlug}) { + config { + id + name + } + } +} +` + +func CreateConfig( ctx_ context.Context, client_ graphql.Client, - team string, - filter TeamApplicationsFilter, -) (data_ *ApplicationEnvironmentsResponse, err_ error) { + name string, + environmentName string, + teamSlug string, +) (data_ *CreateConfigResponse, err_ error) { req_ := &graphql.Request{ - OpName: "ApplicationEnvironments", - Query: ApplicationEnvironments_Operation, - Variables: &__ApplicationEnvironmentsInput{ - Team: team, - Filter: filter, + OpName: "CreateConfig", + Query: CreateConfig_Operation, + Variables: &__CreateConfigInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, }, } - data_ = &ApplicationEnvironmentsResponse{} + data_ = &CreateConfigResponse{} resp_ := &graphql.Response{Data: data_} err_ = client_.MakeRequest( @@ -25459,6 +30204,44 @@ func CreateValkeyCredentials( return data_, err_ } +// The mutation executed by DeleteConfig. +const DeleteConfig_Operation = ` +mutation DeleteConfig ($name: String!, $environmentName: String!, $teamSlug: Slug!) { + deleteConfig(input: {name:$name,environmentName:$environmentName,teamSlug:$teamSlug}) { + configDeleted + } +} +` + +func DeleteConfig( + ctx_ context.Context, + client_ graphql.Client, + name string, + environmentName string, + teamSlug string, +) (data_ *DeleteConfigResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "DeleteConfig", + Query: DeleteConfig_Operation, + Variables: &__DeleteConfigInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, + }, + } + + data_ = &DeleteConfigResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The mutation executed by DeleteJobRun. const DeleteJobRun_Operation = ` mutation DeleteJobRun ($team: Slug!, $env: String!, $runName: String!) { @@ -25705,6 +30488,63 @@ func FindWorkloadsForCve( return data_, err_ } +// The query executed by GetAllConfigs. +const GetAllConfigs_Operation = ` +query GetAllConfigs ($teamSlug: Slug!) { + team(slug: $teamSlug) { + configs(first: 1000, orderBy: {field:NAME,direction:ASC}) { + nodes { + name + values { + name + value + } + teamEnvironment { + environment { + name + } + } + workloads(first: 1000) { + nodes { + name + __typename + } + } + lastModifiedAt + lastModifiedBy { + email + } + } + } + } +} +` + +func GetAllConfigs( + ctx_ context.Context, + client_ graphql.Client, + teamSlug string, +) (data_ *GetAllConfigsResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "GetAllConfigs", + Query: GetAllConfigs_Operation, + Variables: &__GetAllConfigsInput{ + TeamSlug: teamSlug, + }, + } + + data_ = &GetAllConfigsResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The query executed by GetAllIssues. const GetAllIssues_Operation = ` query GetAllIssues ($teamSlug: Slug!, $filter: IssueFilter) { @@ -26204,6 +31044,125 @@ func GetApplicationNames( return data_, err_ } +// The query executed by GetConfig. +const GetConfig_Operation = ` +query GetConfig ($name: String!, $environmentName: String!, $teamSlug: Slug!) { + team(slug: $teamSlug) { + environment(name: $environmentName) { + config(name: $name) { + name + values { + name + value + } + teamEnvironment { + environment { + name + } + } + workloads(first: 1000) { + nodes { + name + __typename + } + } + lastModifiedAt + lastModifiedBy { + email + } + } + } + } +} +` + +func GetConfig( + ctx_ context.Context, + client_ graphql.Client, + name string, + environmentName string, + teamSlug string, +) (data_ *GetConfigResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "GetConfig", + Query: GetConfig_Operation, + Variables: &__GetConfigInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, + }, + } + + data_ = &GetConfigResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + +// The query executed by GetConfigActivity. +const GetConfigActivity_Operation = ` +query GetConfigActivity ($team: Slug!, $name: String!, $activityTypes: [ActivityLogActivityType!], $first: Int) { + team(slug: $team) { + configs(filter: {name:$name}, first: 1000) { + nodes { + name + teamEnvironment { + environment { + name + } + } + activityLog(first: $first, filter: {activityTypes:$activityTypes}) { + nodes { + __typename + actor + createdAt + message + environmentName + } + } + } + } + } +} +` + +func GetConfigActivity( + ctx_ context.Context, + client_ graphql.Client, + team string, + name string, + activityTypes []ActivityLogActivityType, + first int, +) (data_ *GetConfigActivityResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "GetConfigActivity", + Query: GetConfigActivity_Operation, + Variables: &__GetConfigActivityInput{ + Team: team, + Name: name, + ActivityTypes: activityTypes, + First: first, + }, + } + + data_ = &GetConfigActivityResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The query executed by GetJobActivity. const GetJobActivity_Operation = ` query GetJobActivity ($team: Slug!, $name: String!, $env: [String!], $first: Int) { @@ -27325,6 +32284,49 @@ func ListWorkloadVulnerabilitySummaries( return data_, err_ } +// The mutation executed by RemoveConfigValue. +const RemoveConfigValue_Operation = ` +mutation RemoveConfigValue ($configName: String!, $environmentName: String!, $teamSlug: Slug!, $valueName: String!) { + removeConfigValue(input: {configName:$configName,environmentName:$environmentName,teamSlug:$teamSlug,valueName:$valueName}) { + config { + id + name + } + } +} +` + +func RemoveConfigValue( + ctx_ context.Context, + client_ graphql.Client, + configName string, + environmentName string, + teamSlug string, + valueName string, +) (data_ *RemoveConfigValueResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "RemoveConfigValue", + Query: RemoveConfigValue_Operation, + Variables: &__RemoveConfigValueInput{ + ConfigName: configName, + EnvironmentName: environmentName, + TeamSlug: teamSlug, + ValueName: valueName, + }, + } + + data_ = &RemoveConfigValueResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The mutation executed by RemoveSecretValue. const RemoveSecretValue_Operation = ` mutation RemoveSecretValue ($secretName: String!, $environment: String!, $team: Slug!, $valueName: String!) { @@ -27735,6 +32737,49 @@ func TriggerJob( return data_, err_ } +// The mutation executed by UpdateConfigValue. +const UpdateConfigValue_Operation = ` +mutation UpdateConfigValue ($name: String!, $environmentName: String!, $teamSlug: Slug!, $value: ConfigValueInput!) { + updateConfigValue(input: {name:$name,environmentName:$environmentName,teamSlug:$teamSlug,value:$value}) { + config { + id + name + } + } +} +` + +func UpdateConfigValue( + ctx_ context.Context, + client_ graphql.Client, + name string, + environmentName string, + teamSlug string, + value ConfigValueInput, +) (data_ *UpdateConfigValueResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "UpdateConfigValue", + Query: UpdateConfigValue_Operation, + Variables: &__UpdateConfigValueInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, + Value: value, + }, + } + + data_ = &UpdateConfigValueResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The mutation executed by UpdateOpenSearch. const UpdateOpenSearch_Operation = ` mutation UpdateOpenSearch ($name: String!, $environmentName: String!, $teamSlug: Slug!, $memory: OpenSearchMemory!, $tier: OpenSearchTier!, $version: OpenSearchMajorVersion!, $storageGB: Int!) { diff --git a/internal/secret/command/activity.go b/internal/secret/command/activity.go index 2d363096..342a05dc 100644 --- a/internal/secret/command/activity.go +++ b/internal/secret/command/activity.go @@ -56,7 +56,7 @@ func activity(parentFlags *flag.Secret) *naistrix.Command { AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { if args.Len() == 0 { if f.Team == "" { - return nil, "Please provide team to auto-complete secret names. 'nais config set team ', or '--team ' flag." + return nil, "Please provide team to auto-complete secret names. 'nais defaults set team ', or '--team ' flag." } environments := []string(f.Environment) if len(environments) == 0 { diff --git a/internal/secret/command/command.go b/internal/secret/command/command.go index d75729c3..e7ac3827 100644 --- a/internal/secret/command/command.go +++ b/internal/secret/command/command.go @@ -78,7 +78,7 @@ func autoCompleteSecretNames(ctx context.Context, team, environment string, requ func autoCompleteSecretNamesInEnvironments(ctx context.Context, team string, environments []string, requireEnvironment bool) ([]string, string) { if team == "" { - return nil, "Please provide team to auto-complete secret names. 'nais config set team ', or '--team ' flag." + return nil, "Please provide team to auto-complete secret names. 'nais defaults set team ', or '--team ' flag." } if requireEnvironment && len(environments) == 0 { return nil, "Please provide environment to auto-complete secret names. '--environment ' flag." diff --git a/internal/secret/command/flag/flag.go b/internal/secret/command/flag/flag.go index c167846d..e72b8b6a 100644 --- a/internal/secret/command/flag/flag.go +++ b/internal/secret/command/flag/flag.go @@ -39,7 +39,7 @@ func (e *GetEnv) AutoComplete(ctx context.Context, args *naistrix.Arguments, _ s tp, ok := flags.(teamProvider) if !ok || tp.GetTeam() == "" { - return nil, "Please provide team to auto-complete environments. 'nais config team set ', or '--team ' flag." + return nil, "Please provide team to auto-complete environments. 'nais defaults set team ', or '--team ' flag." } envs, err := secret.SecretEnvironments(ctx, tp.GetTeam(), args.Get("name")) diff --git a/schema.graphql b/schema.graphql index 786d2612..e6b82cb9 100644 --- a/schema.graphql +++ b/schema.graphql @@ -59,6 +59,10 @@ The URL that specifies the behavior of this scalar. enum ActivityLogActivityType { """ +Filter for credential creation events. +""" + CREDENTIALS_CREATE +""" An application was deleted. """ APPLICATION_DELETED @@ -75,6 +79,18 @@ All activity log entries related to direct cluster changes. """ CLUSTER_AUDIT """ +Config was created. +""" + CONFIG_CREATED +""" +Config was updated. +""" + CONFIG_UPDATED +""" +Config was deleted. +""" + CONFIG_DELETED +""" Activity log entry for deployment activity. """ DEPLOYMENT @@ -254,10 +270,6 @@ Started service maintenance on Valkey instance. Activity log entry for when a vulnerability is updated. """ VULNERABILITY_UPDATED -""" -Filter for credential creation events. -""" - CREDENTIALS_CREATE } """ @@ -339,6 +351,10 @@ Unknown type. """ UNKNOWN """ +All activity log entries related to credential creation will use this resource type. +""" + CREDENTIALS +""" All activity log entries related to applications will use this resource type. """ APP @@ -347,6 +363,10 @@ All activity log entries related to direct cluster changes. """ CLUSTER_AUDIT """ +All activity log entries related to configs will use this resource type. +""" + CONFIG +""" All activity log entries related to deploy keys will use this resource type. """ DEPLOY_KEY @@ -391,10 +411,6 @@ All activity log entries related to Valkeys will use this resource type. All activity log entries related to vulnerabilities will use this resource type. """ VULNERABILITY -""" -All activity log entries related to credential creation will use this resource type. -""" - CREDENTIALS } input ActivityLogFilter { @@ -411,6 +427,20 @@ interface ActivityLogger { ): ActivityLogEntryConnection! } +input AddConfigValueInput { + name: String! + environmentName: String! + teamSlug: Slug! + value: ConfigValueInput! +} + +type AddConfigValuePayload { +""" +The updated config. +""" + config: Config +} + input AddRepositoryToTeamInput { teamSlug: Slug! repositoryName: String! @@ -720,6 +750,27 @@ Ordering options for items returned from the connection. orderBy: BucketOrder ): BucketConnection! """ +Configs used by the application. +""" + configs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ConfigConnection! +""" The cost for the application. """ cost: WorkloadCost! @@ -1461,6 +1512,335 @@ The kind of resource that was affected by the action. resourceKind: String! } +""" +A config is a collection of key-value pairs. +""" +type Config implements Node & ActivityLogger{ +""" +The globally unique ID of the config. +""" + id: ID! +""" +The name of the config. +""" + name: String! +""" +The environment the config exists in. +""" + teamEnvironment: TeamEnvironment! +""" +The team that owns the config. +""" + team: Team! +""" +The values stored in the config. +""" + values: [ConfigValue!]! +""" +Applications that use the config. +""" + applications( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ApplicationConnection! +""" +Jobs that use the config. +""" + jobs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): JobConnection! +""" +Workloads that use the config. +""" + workloads( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): WorkloadConnection! +""" +Last time the config was modified. +""" + lastModifiedAt: Time +""" +User who last modified the config. +""" + lastModifiedBy: User +""" +Activity log associated with the config. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! +} + +type ConfigConnection { +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Config!]! +""" +List of edges. +""" + edges: [ConfigEdge!]! +} + +type ConfigCreatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +} + +type ConfigDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +} + +type ConfigEdge { +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The Config. +""" + node: Config! +} + +""" +Input for filtering the configs of a team. +""" +input ConfigFilter { +""" +Input for filtering the configs of a team. +""" + name: String +""" +Input for filtering the configs of a team. +""" + inUse: Boolean +} + +input ConfigOrder { + field: ConfigOrderField! + direction: OrderDirection! +} + +enum ConfigOrderField { +""" +Order configs by name. +""" + NAME +""" +Order configs by the name of the environment. +""" + ENVIRONMENT +""" +Order configs by the last time it was modified. +""" + LAST_MODIFIED_AT +} + +type ConfigUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: ConfigUpdatedActivityLogEntryData! +} + +type ConfigUpdatedActivityLogEntryData { +""" +The fields that were updated. +""" + updatedFields: [ConfigUpdatedActivityLogEntryDataUpdatedField!]! +} + +type ConfigUpdatedActivityLogEntryDataUpdatedField { +""" +The name of the field that was updated. +""" + field: String! +""" +The old value of the field. +""" + oldValue: String +""" +The new value of the field. +""" + newValue: String +} + +type ConfigValue { +""" +The name of the config value. +""" + name: String! +""" +The config value itself. +""" + value: String! +} + +input ConfigValueInput { + name: String! + value: String! +} + input ConfigureReconcilerInput { name: String! config: [ReconcilerConfigInput!]! @@ -1619,6 +1999,47 @@ The cost series. series: [ServiceCostSeries!]! } +input CreateConfigInput { + name: String! + environmentName: String! + teamSlug: Slug! +} + +type CreateConfigPayload { +""" +The created config. +""" + config: Config +} + +input CreateKafkaCredentialsInput { + teamSlug: Slug! + environmentName: String! + ttl: String! +} + +type CreateKafkaCredentialsPayload { +""" +The generated credentials. +""" + credentials: KafkaCredentials! +} + +input CreateOpenSearchCredentialsInput { + teamSlug: Slug! + environmentName: String! + instanceName: String! + permission: CredentialPermission! + ttl: String! +} + +type CreateOpenSearchCredentialsPayload { +""" +The generated credentials. +""" + credentials: OpenSearchCredentials! +} + input CreateOpenSearchInput { name: String! environmentName: String! @@ -1714,6 +2135,21 @@ type CreateUnleashForTeamPayload { unleash: UnleashInstance } +input CreateValkeyCredentialsInput { + teamSlug: Slug! + environmentName: String! + instanceName: String! + permission: CredentialPermission! + ttl: String! +} + +type CreateValkeyCredentialsPayload { +""" +The generated credentials. +""" + credentials: ValkeyCredentials! +} + input CreateValkeyInput { name: String! environmentName: String! @@ -1731,6 +2167,74 @@ Valkey instance that was created. valkey: Valkey! } +""" +Permission level for OpenSearch and Valkey credentials. +""" +enum CredentialPermission { + READ + WRITE + READWRITE + ADMIN +} + +type CredentialsActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the credential creation. +""" + data: CredentialsActivityLogEntryData! +} + +type CredentialsActivityLogEntryData { +""" +The service type (OPENSEARCH, VALKEY, KAFKA). +""" + serviceType: String! +""" +The instance name, if applicable. +""" + instanceName: String +""" +The permission level, if applicable. +""" + permission: String +""" +The TTL that was requested for the credentials. +""" + ttl: String! +} + """ Get current unit prices. """ @@ -1774,6 +2278,19 @@ Whether or not the application was deleted. success: Boolean } +input DeleteConfigInput { + name: String! + environmentName: String! + teamSlug: Slug! +} + +type DeleteConfigPayload { +""" +The deleted config. +""" + configDeleted: Boolean +} + input DeleteJobInput { name: String! teamSlug: Slug! @@ -2997,6 +3514,27 @@ Ordering options for items returned from the connection. orderBy: BucketOrder ): BucketConnection! """ +Configs used by the job. +""" + configs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ConfigConnection! +""" The cost for the job. """ cost: WorkloadCost! @@ -3464,6 +4002,33 @@ The environment name that the entry belongs to. environmentName: String } +type KafkaCredentials { +""" +Username for the Kafka broker. +""" + username: String! +""" +Client certificate in PEM format. +""" + accessCert: String! +""" +Client private key in PEM format. +""" + accessKey: String! +""" +CA certificate in PEM format. +""" + caCert: String! +""" +Comma-separated list of broker addresses. +""" + brokers: String! +""" +Schema registry URL. +""" + schemaRegistry: String! +} + type KafkaLagScalingStrategy { """ The threshold that must be met for the scaling to trigger. @@ -3797,6 +4362,24 @@ The mutation root for the Nais GraphQL API. """ type Mutation { """ +Create temporary credentials for an OpenSearch instance. +""" + createOpenSearchCredentials( + input: CreateOpenSearchCredentialsInput! + ): CreateOpenSearchCredentialsPayload! +""" +Create temporary credentials for a Valkey instance. +""" + createValkeyCredentials( + input: CreateValkeyCredentialsInput! + ): CreateValkeyCredentialsPayload! +""" +Create temporary credentials for Kafka. +""" + createKafkaCredentials( + input: CreateKafkaCredentialsInput! + ): CreateKafkaCredentialsPayload! +""" Delete an application. """ deleteApplication( @@ -3815,6 +4398,36 @@ Input for restarting an application. input: RestartApplicationInput! ): RestartApplicationPayload! """ +Create a new config. +""" + createConfig( + input: CreateConfigInput! + ): CreateConfigPayload! +""" +Add a value to a config. +""" + addConfigValue( + input: AddConfigValueInput! + ): AddConfigValuePayload! +""" +Update a value within a config. +""" + updateConfigValue( + input: UpdateConfigValueInput! + ): UpdateConfigValuePayload! +""" +Remove a value from a config. +""" + removeConfigValue( + input: RemoveConfigValueInput! + ): RemoveConfigValuePayload! +""" +Delete a config, and the values it contains. +""" + deleteConfig( + input: DeleteConfigInput! + ): DeleteConfigPayload! +""" Update the deploy key of a team. Returns the updated deploy key. """ changeDeploymentKey( @@ -4146,24 +4759,6 @@ This mutation is currently unstable and may change in the future. updateImageVulnerability( input: UpdateImageVulnerabilityInput! ): UpdateImageVulnerabilityPayload! -""" -Create temporary credentials for an OpenSearch instance. -""" - createOpenSearchCredentials( - input: CreateOpenSearchCredentialsInput! - ): CreateOpenSearchCredentialsPayload! -""" -Create temporary credentials for a Valkey instance. -""" - createValkeyCredentials( - input: CreateValkeyCredentialsInput! - ): CreateValkeyCredentialsPayload! -""" -Create temporary credentials for Kafka. -""" - createKafkaCredentials( - input: CreateKafkaCredentialsInput! - ): CreateKafkaCredentialsPayload! } type NetworkPolicy { @@ -4361,6 +4956,29 @@ The environment name that the entry belongs to. environmentName: String } +type OpenSearchCredentials { +""" +Username for the OpenSearch instance. +""" + username: String! +""" +Password for the OpenSearch instance. +""" + password: String! +""" +Hostname of the OpenSearch instance. +""" + host: String! +""" +Port of the OpenSearch instance. +""" + port: Int! +""" +Full connection URI for the OpenSearch instance. +""" + uri: String! +} + type OpenSearchDeletedActivityLogEntry implements ActivityLogEntry & Node{ """ ID of the entry. @@ -5532,6 +6150,20 @@ The reconcilerError. node: ReconcilerError! } +input RemoveConfigValueInput { + configName: String! + environmentName: String! + teamSlug: Slug! + valueName: String! +} + +type RemoveConfigValuePayload { +""" +The updated config. +""" + config: Config +} + input RemoveRepositoryFromTeamInput { teamSlug: Slug! repositoryName: String! @@ -7572,6 +8204,35 @@ Ordering options for items returned from the connection. orderBy: BucketOrder ): BucketConnection! """ +Configs owned by the team. +""" + configs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: ConfigOrder +""" +Filtering options for items returned from the connection. +""" + filter: ConfigFilter + ): ConfigConnection! +""" The cost for the team. """ cost: TeamCost! @@ -7857,7 +8518,7 @@ Fetch vulnerability summaries for workloads in the team. """ vulnerabilitySummaries( """ -Filter the workloads by named environments. +Filter vulnerability summaries by environment. """ filter: TeamVulnerabilitySummaryFilter """ @@ -8274,6 +8935,12 @@ Storage bucket in the team environment. name: String! ): Bucket! """ +Get a config by name. +""" + config( + name: String! + ): Config! +""" The cost for the team environment. """ cost: TeamEnvironmentCost! @@ -8497,6 +9164,16 @@ Total number of Google Cloud Storage buckets. total: Int! } +""" +Config inventory count for a team. +""" +type TeamInventoryCountConfigs { +""" +Total number of configs. +""" + total: Int! +} + type TeamInventoryCountJobs { """ Total number of jobs. @@ -8556,6 +9233,10 @@ Application inventory count for a team. applications: TeamInventoryCountApplications! bigQueryDatasets: TeamInventoryCountBigQueryDatasets! buckets: TeamInventoryCountBuckets! +""" +Config inventory count for a team. +""" + configs: TeamInventoryCountConfigs! jobs: TeamInventoryCountJobs! kafkaTopics: TeamInventoryCountKafkaTopics! openSearches: TeamInventoryCountOpenSearches! @@ -9049,11 +9730,15 @@ Trend of vulnerability status for the team. } """ -Input for filtering team workloads. +Input for filtering team vulnerability summaries. """ input TeamVulnerabilitySummaryFilter { """ -Input for filtering team workloads. +Input for filtering team vulnerability summaries. +""" + environmentName: String +""" +Input for filtering team vulnerability summaries. """ environments: [String!] } @@ -9363,6 +10048,20 @@ The current major version of Unleash available. currentMajorVersion: Int! } +input UpdateConfigValueInput { + name: String! + environmentName: String! + teamSlug: Slug! + value: ConfigValueInput! +} + +type UpdateConfigValuePayload { +""" +The updated config. +""" + config: Config +} + input UpdateImageVulnerabilityInput { vulnerabilityID: ID! reason: String! @@ -9978,6 +10677,29 @@ The environment name that the entry belongs to. environmentName: String } +type ValkeyCredentials { +""" +Username for the Valkey instance. +""" + username: String! +""" +Password for the Valkey instance. +""" + password: String! +""" +Hostname of the Valkey instance. +""" + host: String! +""" +Port of the Valkey instance. +""" + port: Int! +""" +Full connection URI for the Valkey instance. +""" + uri: String! +} + type ValkeyDeletedActivityLogEntry implements ActivityLogEntry & Node{ """ ID of the entry. @@ -10535,6 +11257,15 @@ Interface for workloads. ): BucketConnection! """ Interface for workloads. +""" + configs( + first: Int + after: Cursor + last: Int + before: Cursor + ): ConfigConnection! +""" +Interface for workloads. """ cost: WorkloadCost! """ @@ -10973,226 +11704,4 @@ The vulnerability. node: WorkloadWithVulnerability! } -""" -Permission level for OpenSearch and Valkey credentials. -""" -enum CredentialPermission { - READ - WRITE - READWRITE - ADMIN -} - -input CreateOpenSearchCredentialsInput { - """ - The team that owns the OpenSearch instance. - """ - teamSlug: Slug! - """ - The environment name that the OpenSearch instance belongs to. - """ - environmentName: String! - """ - Name of the OpenSearch instance. - """ - instanceName: String! - """ - Permission level for the credentials. - """ - permission: CredentialPermission! - """ - Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days. - """ - ttl: String! -} - -type OpenSearchCredentials { - """ - Username for the OpenSearch instance. - """ - username: String! - """ - Password for the OpenSearch instance. - """ - password: String! - """ - Hostname of the OpenSearch instance. - """ - host: String! - """ - Port of the OpenSearch instance. - """ - port: Int! - """ - Full connection URI for the OpenSearch instance. - """ - uri: String! -} - -type CreateOpenSearchCredentialsPayload { - """ - The generated credentials. - """ - credentials: OpenSearchCredentials! -} - -input CreateValkeyCredentialsInput { - """ - The team that owns the Valkey instance. - """ - teamSlug: Slug! - """ - The environment name that the Valkey instance belongs to. - """ - environmentName: String! - """ - Name of the Valkey instance. - """ - instanceName: String! - """ - Permission level for the credentials. - """ - permission: CredentialPermission! - """ - Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days. - """ - ttl: String! -} - -type ValkeyCredentials { - """ - Username for the Valkey instance. - """ - username: String! - """ - Password for the Valkey instance. - """ - password: String! - """ - Hostname of the Valkey instance. - """ - host: String! - """ - Port of the Valkey instance. - """ - port: Int! - """ - Full connection URI for the Valkey instance. - """ - uri: String! -} - -type CreateValkeyCredentialsPayload { - """ - The generated credentials. - """ - credentials: ValkeyCredentials! -} - -input CreateKafkaCredentialsInput { - """ - The team that owns the Kafka topic. - """ - teamSlug: Slug! - """ - The environment name that the Kafka topic belongs to. - """ - environmentName: String! - """ - Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days. - """ - ttl: String! -} - -type KafkaCredentials { - """ - Username for the Kafka broker. - """ - username: String! - """ - Client certificate in PEM format. - """ - accessCert: String! - """ - Client private key in PEM format. - """ - accessKey: String! - """ - CA certificate in PEM format. - """ - caCert: String! - """ - Comma-separated list of broker addresses. - """ - brokers: String! - """ - Schema registry URL. - """ - schemaRegistry: String! -} - -type CreateKafkaCredentialsPayload { - """ - The generated credentials. - """ - credentials: KafkaCredentials! -} - -type CredentialsActivityLogEntry implements ActivityLogEntry & Node { - """ - ID of the entry. - """ - id: ID! - """ - The identity of the actor who performed the action. - """ - actor: String! - """ - Creation time of the entry. - """ - createdAt: Time! - """ - Message that summarizes the entry. - """ - message: String! - """ - Type of the resource that was affected by the action. - """ - resourceType: ActivityLogEntryResourceType! - """ - Name of the resource that was affected by the action. - """ - resourceName: String! - """ - The team slug that the entry belongs to. - """ - teamSlug: Slug - """ - The environment name that the entry belongs to. - """ - environmentName: String - """ - Data associated with the credential creation. - """ - data: CredentialsActivityLogEntryData! -} - -type CredentialsActivityLogEntryData { - """ - The service type (OPENSEARCH, VALKEY, KAFKA). - """ - serviceType: String! - """ - The instance name, if applicable. - """ - instanceName: String - """ - The permission level, if applicable. - """ - permission: String - """ - The TTL that was requested for the credentials. - """ - ttl: String! -}