github.com/newrelic/newrelic-client-go@v1.1.0/pkg/ai/types.go (about) 1 // Code generated by tutone: DO NOT EDIT 2 package ai 3 4 // AiWorkflowsConfiguration - Workflows configuration interface 5 type AiWorkflowsConfiguration struct { 6 // NRQL enrichment query 7 Query string `json:"query,omitempty"` 8 } 9 10 func (x *AiWorkflowsConfiguration) ImplementsAiWorkflowsConfiguration() {} 11 12 // AiWorkflowsConfigurationInterface - Enrichment configuration object 13 type AiWorkflowsConfigurationInterface interface { 14 ImplementsAiWorkflowsConfiguration() 15 } 16 17 // AiNotificationsError - Notifications error interface 18 type AiNotificationsError struct { 19 // Error details 20 Details string `json:"details,omitempty"` 21 // Error description 22 Description string `json:"description,omitempty"` 23 // SuggestionError type 24 Type AiNotificationsErrorType `json:"type,omitempty"` 25 // List of invalid fields 26 Fields []AiNotificationsFieldError `json:"fields,omitempty"` 27 // Names of other constraints this constraint is dependent on 28 Dependencies []string `json:"dependencies,omitempty"` 29 // Name of the missing constraint 30 Name string `json:"name,omitempty"` 31 } 32 33 func (x *AiNotificationsError) ImplementsAiNotificationsError() {} 34 35 // AiNotificationsErrorInterface - Notifications error interface 36 type AiNotificationsErrorInterface interface { 37 ImplementsAiNotificationsError() 38 }