github.com/esnet/gdg@v0.6.1-0.20240412190737-6b6eba9c14d8/internal/types/models.go (about) 1 package types 2 3 import "github.com/grafana/grafana-openapi-client-go/models" 4 5 type ServiceAccountDTOWithTokens struct { 6 ServiceAccount *models.ServiceAccountDTO 7 Tokens []*models.TokenDTO 8 } 9 10 type UserProfileWithAuth struct { 11 models.UserProfileDTO 12 Password string 13 } 14 15 type OrgsDTOWithPreferences struct { 16 Organization *models.OrgDTO `json:"organization"` 17 Preferences *models.Preferences `json:"preferences"` // Preferences are preferences associated with a given org. theme, dashboard, timezone, etc 18 }