Documentation ¶
Overview ¶
Code generated by tutone: DO NOT EDIT
Index ¶
- type AiNotificationsAuth
- type AiNotificationsAuthInterface
- type AiNotificationsAuthType
- type AiNotificationsBasicAuth
- func (x AiNotificationsBasicAuth) GetAccessTokenURL() string
- func (x AiNotificationsBasicAuth) GetAuthType() AiNotificationsAuthType
- func (x AiNotificationsBasicAuth) GetAuthorizationURL() string
- func (x AiNotificationsBasicAuth) GetClientId() string
- func (x AiNotificationsBasicAuth) GetCustomHeaders() []AiNotificationsCustomHeaders
- func (x AiNotificationsBasicAuth) GetPrefix() string
- func (x AiNotificationsBasicAuth) GetRefreshInterval() int
- func (x AiNotificationsBasicAuth) GetRefreshable() bool
- func (x AiNotificationsBasicAuth) GetScope() string
- func (x AiNotificationsBasicAuth) GetUser() string
- func (x AiNotificationsBasicAuth) ImplementsAiNotificationsAuth()
- type AiNotificationsChannelFilter
- type AiNotificationsConstraintError
- type AiNotificationsCustomHeaders
- type AiNotificationsCustomHeadersAuth
- func (x AiNotificationsCustomHeadersAuth) GetAccessTokenURL() string
- func (x AiNotificationsCustomHeadersAuth) GetAuthType() AiNotificationsAuthType
- func (x AiNotificationsCustomHeadersAuth) GetAuthorizationURL() string
- func (x AiNotificationsCustomHeadersAuth) GetClientId() string
- func (x AiNotificationsCustomHeadersAuth) GetCustomHeaders() []AiNotificationsCustomHeaders
- func (x AiNotificationsCustomHeadersAuth) GetPrefix() string
- func (x AiNotificationsCustomHeadersAuth) GetRefreshInterval() int
- func (x AiNotificationsCustomHeadersAuth) GetRefreshable() bool
- func (x AiNotificationsCustomHeadersAuth) GetScope() string
- func (x AiNotificationsCustomHeadersAuth) GetUser() string
- func (x AiNotificationsCustomHeadersAuth) ImplementsAiNotificationsAuth()
- type AiNotificationsDataValidationError
- type AiNotificationsDestinationFilter
- type AiNotificationsError
- type AiNotificationsErrorInterface
- type AiNotificationsErrorType
- type AiNotificationsFieldError
- type AiNotificationsOAuth2Auth
- func (x AiNotificationsOAuth2Auth) GetAccessTokenURL() string
- func (x AiNotificationsOAuth2Auth) GetAuthType() AiNotificationsAuthType
- func (x AiNotificationsOAuth2Auth) GetAuthorizationURL() string
- func (x AiNotificationsOAuth2Auth) GetClientId() string
- func (x AiNotificationsOAuth2Auth) GetPrefix() string
- func (x AiNotificationsOAuth2Auth) GetRefreshInterval() int
- func (x AiNotificationsOAuth2Auth) GetRefreshable() bool
- func (x AiNotificationsOAuth2Auth) GetScope() string
- type AiNotificationsResponseError
- type AiNotificationsSuggestionError
- type AiNotificationsTokenAuth
- func (x AiNotificationsTokenAuth) GetAccessTokenURL() string
- func (x AiNotificationsTokenAuth) GetAuthType() AiNotificationsAuthType
- func (x AiNotificationsTokenAuth) GetAuthorizationURL() string
- func (x AiNotificationsTokenAuth) GetClientId() string
- func (x AiNotificationsTokenAuth) GetCustomHeaders() []AiNotificationsCustomHeaders
- func (x AiNotificationsTokenAuth) GetPrefix() string
- func (x AiNotificationsTokenAuth) GetRefreshInterval() int
- func (x AiNotificationsTokenAuth) GetRefreshable() bool
- func (x AiNotificationsTokenAuth) GetScope() string
- func (x AiNotificationsTokenAuth) GetUser() string
- func (x AiNotificationsTokenAuth) ImplementsAiNotificationsAuth()
- type AiWorkflowsConfiguration
- type AiWorkflowsConfigurationInterface
- type AiWorkflowsFilters
- type AiWorkflowsNRQLConfiguration
- type SecureValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AiNotificationsAuth ¶
type AiNotificationsAuth struct { // OAuth2 access token url AccessTokenURL string `json:"accessTokenUrl,omitempty"` // Authentication Type - Token, Oauth2, or Basic AuthType AiNotificationsAuthType `json:"authType,omitempty"` // OAuth2 authorization url AuthorizationURL string `json:"authorizationUrl,omitempty"` // OAuth2 clientId ClientId string `json:"clientId,omitempty"` // Token prefix Prefix string `json:"prefix,omitempty"` // Interval of how often should the OAuth2 access token be refreshed RefreshInterval int `json:"refreshInterval,omitempty"` // Is the OAuth2 access token refreshable Refreshable bool `json:"refreshable,omitempty"` // OAuth2 token's scope Scope string `json:"scope,omitempty"` // Basic auth password Password SecureValue `json:"password,omitempty"` // Basic auth user User string `json:"user,omitempty"` // Custom headers CustomHeaders []AiNotificationsCustomHeaders `json:"customHeaders,omitempty"` }
AiNotificationsAuth - Authentication interface
func (*AiNotificationsAuth) ImplementsAiNotificationsAuth ¶
func (x *AiNotificationsAuth) ImplementsAiNotificationsAuth()
type AiNotificationsAuthInterface ¶
type AiNotificationsAuthInterface interface { ImplementsAiNotificationsAuth() GetAccessTokenURL() string GetAuthType() AiNotificationsAuthType GetAuthorizationURL() string GetClientId() string GetPrefix() string GetRefreshInterval() int GetRefreshable() bool GetScope() string GetCustomHeaders() []AiNotificationsCustomHeaders }
AiNotificationsAuth - Authentication interface
func UnmarshalAiNotificationsAuthInterface ¶
func UnmarshalAiNotificationsAuthInterface(b []byte) (*AiNotificationsAuthInterface, error)
UnmarshalAiNotificationsAuthInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type AiNotificationsAuthType ¶
type AiNotificationsAuthType string
AiNotificationsAuthType - Authentication types
type AiNotificationsBasicAuth ¶
type AiNotificationsBasicAuth struct { // Authentication Type - Basic AuthType AiNotificationsAuthType `json:"authType"` // Username User string `json:"user"` }
AiNotificationsBasicAuth - Basic user and password authentication
func (AiNotificationsBasicAuth) GetAccessTokenURL ¶
func (x AiNotificationsBasicAuth) GetAccessTokenURL() string
func (AiNotificationsBasicAuth) GetAuthType ¶
func (x AiNotificationsBasicAuth) GetAuthType() AiNotificationsAuthType
GetAuthType returns a pointer to the value of AuthType from AiNotificationsBasicAuth
func (AiNotificationsBasicAuth) GetAuthorizationURL ¶
func (x AiNotificationsBasicAuth) GetAuthorizationURL() string
func (AiNotificationsBasicAuth) GetClientId ¶
func (x AiNotificationsBasicAuth) GetClientId() string
func (AiNotificationsBasicAuth) GetCustomHeaders ¶ added in v2.31.0
func (x AiNotificationsBasicAuth) GetCustomHeaders() []AiNotificationsCustomHeaders
func (AiNotificationsBasicAuth) GetPrefix ¶
func (x AiNotificationsBasicAuth) GetPrefix() string
func (AiNotificationsBasicAuth) GetRefreshInterval ¶
func (x AiNotificationsBasicAuth) GetRefreshInterval() int
func (AiNotificationsBasicAuth) GetRefreshable ¶
func (x AiNotificationsBasicAuth) GetRefreshable() bool
func (AiNotificationsBasicAuth) GetScope ¶
func (x AiNotificationsBasicAuth) GetScope() string
func (AiNotificationsBasicAuth) GetUser ¶
func (x AiNotificationsBasicAuth) GetUser() string
GetUser returns a pointer to the value of User from AiNotificationsBasicAuth
func (AiNotificationsBasicAuth) ImplementsAiNotificationsAuth ¶
func (x AiNotificationsBasicAuth) ImplementsAiNotificationsAuth()
type AiNotificationsChannelFilter ¶
type AiNotificationsChannelFilter struct { // id ID string `json:"id,omitempty"` }
AiNotificationsChannelFilter - Filter channel object
type AiNotificationsConstraintError ¶
type AiNotificationsConstraintError struct { // Names of other constraints this constraint is dependent on Dependencies []string `json:"dependencies"` // Name of the missing constraint Name string `json:"name"` }
AiNotificationsConstraintError - Missing constraint error. Constraints can be retrieved using suggestion api
func (*AiNotificationsConstraintError) ImplementsAiNotificationsError ¶
func (x *AiNotificationsConstraintError) ImplementsAiNotificationsError()
type AiNotificationsCustomHeaders ¶ added in v2.31.0
type AiNotificationsCustomHeaders struct {
Key string `json:"key"`
}
AiNotificationsCustomHeaders - Custom headers
type AiNotificationsCustomHeadersAuth ¶ added in v2.31.0
type AiNotificationsCustomHeadersAuth struct { // Authentication Type - CustomHeaders AuthType AiNotificationsAuthType `json:"authType"` // Custom headers CustomHeaders []AiNotificationsCustomHeaders `json:"customHeaders"` }
AiNotificationsCustomHeadersAuth - Custom headers based authentication
func (AiNotificationsCustomHeadersAuth) GetAccessTokenURL ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetAccessTokenURL() string
func (AiNotificationsCustomHeadersAuth) GetAuthType ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetAuthType() AiNotificationsAuthType
func (AiNotificationsCustomHeadersAuth) GetAuthorizationURL ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetAuthorizationURL() string
func (AiNotificationsCustomHeadersAuth) GetClientId ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetClientId() string
func (AiNotificationsCustomHeadersAuth) GetCustomHeaders ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetCustomHeaders() []AiNotificationsCustomHeaders
func (AiNotificationsCustomHeadersAuth) GetPrefix ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetPrefix() string
func (AiNotificationsCustomHeadersAuth) GetRefreshInterval ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetRefreshInterval() int
func (AiNotificationsCustomHeadersAuth) GetRefreshable ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetRefreshable() bool
func (AiNotificationsCustomHeadersAuth) GetScope ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetScope() string
func (AiNotificationsCustomHeadersAuth) GetUser ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) GetUser() string
func (AiNotificationsCustomHeadersAuth) ImplementsAiNotificationsAuth ¶ added in v2.31.0
func (x AiNotificationsCustomHeadersAuth) ImplementsAiNotificationsAuth()
type AiNotificationsDataValidationError ¶
type AiNotificationsDataValidationError struct { // Top level error details Details string `json:"details"` // List of invalid fields Fields []AiNotificationsFieldError `json:"fields"` }
AiNotificationsDataValidationError - Object for validation errors
func (*AiNotificationsDataValidationError) ImplementsAiNotificationsError ¶
func (x *AiNotificationsDataValidationError) ImplementsAiNotificationsError()
type AiNotificationsDestinationFilter ¶
type AiNotificationsDestinationFilter struct { // id ID string `json:"id,omitempty"` // Name Name string `json:"name,omitempty"` }
AiNotificationsDestinationFilter - Filter destination object
type AiNotificationsError ¶
type AiNotificationsError struct { // Error details Details string `json:"details,omitempty"` // Error description Description string `json:"description,omitempty"` // SuggestionError type Type AiNotificationsErrorType `json:"type,omitempty"` // List of invalid fields Fields []AiNotificationsFieldError `json:"fields,omitempty"` // Names of other constraints this constraint is dependent on Dependencies []string `json:"dependencies,omitempty"` // Name of the missing constraint Name string `json:"name,omitempty"` }
AiNotificationsError - Notifications error interface
func (*AiNotificationsError) ImplementsAiNotificationsError ¶
func (x *AiNotificationsError) ImplementsAiNotificationsError()
type AiNotificationsErrorInterface ¶
type AiNotificationsErrorInterface interface {
ImplementsAiNotificationsError()
}
AiNotificationsErrorInterface - Notifications error interface
func UnmarshalAiNotificationsErrorInterface ¶
func UnmarshalAiNotificationsErrorInterface(b []byte) (*AiNotificationsErrorInterface, error)
UnmarshalAiNotificationsErrorInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type AiNotificationsErrorType ¶
type AiNotificationsErrorType string
AiNotificationsErrorType - Error types
type AiNotificationsFieldError ¶
type AiNotificationsFieldError struct { // Field name Field string `json:"field"` // Validation error Message string `json:"message"` }
AiNotificationsFieldError - Invalid field object
type AiNotificationsOAuth2Auth ¶
type AiNotificationsOAuth2Auth struct { // OAuth2 access token url AccessTokenURL string `json:"accessTokenUrl"` // Authentication Type - Token or Oauth2 AuthType AiNotificationsAuthType `json:"authType"` // OAuth2 authorization url AuthorizationURL string `json:"authorizationUrl"` // OAuth2 clientId ClientId string `json:"clientId"` // Token prefix Prefix string `json:"prefix"` // Interval of how often should the access token be refreshed RefreshInterval int `json:"refreshInterval,omitempty"` // Is the OAuth2 access token refreshable Refreshable bool `json:"refreshable"` // OAuth2 token's scope Scope string `json:"scope,omitempty"` }
AiNotificationsOAuth2Auth - OAuth2 based authentication
func (AiNotificationsOAuth2Auth) GetAccessTokenURL ¶
func (x AiNotificationsOAuth2Auth) GetAccessTokenURL() string
GetAccessTokenURL returns a pointer to the value of AccessTokenURL from AiNotificationsOAuth2Auth
func (AiNotificationsOAuth2Auth) GetAuthType ¶
func (x AiNotificationsOAuth2Auth) GetAuthType() AiNotificationsAuthType
GetAuthType returns a pointer to the value of AuthType from AiNotificationsOAuth2Auth
func (AiNotificationsOAuth2Auth) GetAuthorizationURL ¶
func (x AiNotificationsOAuth2Auth) GetAuthorizationURL() string
GetAuthorizationURL returns a pointer to the value of AuthorizationURL from AiNotificationsOAuth2Auth
func (AiNotificationsOAuth2Auth) GetClientId ¶
func (x AiNotificationsOAuth2Auth) GetClientId() string
GetClientId returns a pointer to the value of ClientId from AiNotificationsOAuth2Auth
func (AiNotificationsOAuth2Auth) GetPrefix ¶
func (x AiNotificationsOAuth2Auth) GetPrefix() string
GetPrefix returns a pointer to the value of Prefix from AiNotificationsOAuth2Auth
func (AiNotificationsOAuth2Auth) GetRefreshInterval ¶
func (x AiNotificationsOAuth2Auth) GetRefreshInterval() int
GetRefreshInterval returns a pointer to the value of RefreshInterval from AiNotificationsOAuth2Auth
func (AiNotificationsOAuth2Auth) GetRefreshable ¶
func (x AiNotificationsOAuth2Auth) GetRefreshable() bool
GetRefreshable returns a pointer to the value of Refreshable from AiNotificationsOAuth2Auth
func (AiNotificationsOAuth2Auth) GetScope ¶
func (x AiNotificationsOAuth2Auth) GetScope() string
GetScope returns a pointer to the value of Scope from AiNotificationsOAuth2Auth
type AiNotificationsResponseError ¶
type AiNotificationsResponseError struct { // Error description Description string `json:"description"` // Error details Details string `json:"details"` // Error type Type AiNotificationsErrorType `json:"type"` }
AiNotificationsResponseError - Response error object
func (*AiNotificationsResponseError) ImplementsAiNotificationsError ¶
func (x *AiNotificationsResponseError) ImplementsAiNotificationsError()
type AiNotificationsSuggestionError ¶
type AiNotificationsSuggestionError struct { // SuggestionError description Description string `json:"description"` // SuggestionError details Details string `json:"details"` // SuggestionError type Type AiNotificationsErrorType `json:"type"` }
AiNotificationsSuggestionError - Object for suggestion errors
func (*AiNotificationsSuggestionError) ImplementsAiNotificationsError ¶
func (x *AiNotificationsSuggestionError) ImplementsAiNotificationsError()
type AiNotificationsTokenAuth ¶
type AiNotificationsTokenAuth struct { // Authentication Type - Token or Oauth2 AuthType AiNotificationsAuthType `json:"authType"` // Token Prefix Prefix string `json:"prefix"` }
AiNotificationsTokenAuth - Token based authentication
func (AiNotificationsTokenAuth) GetAccessTokenURL ¶
func (x AiNotificationsTokenAuth) GetAccessTokenURL() string
func (AiNotificationsTokenAuth) GetAuthType ¶
func (x AiNotificationsTokenAuth) GetAuthType() AiNotificationsAuthType
GetAuthType returns a pointer to the value of AuthType from AiNotificationsTokenAuth
func (AiNotificationsTokenAuth) GetAuthorizationURL ¶
func (x AiNotificationsTokenAuth) GetAuthorizationURL() string
GetAuthorizationURL returns a pointer to the value of AuthorizationURL from AiNotificationsOAuth2Auth
func (AiNotificationsTokenAuth) GetClientId ¶
func (x AiNotificationsTokenAuth) GetClientId() string
GetClientId returns a pointer to the value of ClientId from AiNotificationsOAuth2Auth
func (AiNotificationsTokenAuth) GetCustomHeaders ¶ added in v2.31.0
func (x AiNotificationsTokenAuth) GetCustomHeaders() []AiNotificationsCustomHeaders
func (AiNotificationsTokenAuth) GetPrefix ¶
func (x AiNotificationsTokenAuth) GetPrefix() string
GetPrefix returns a pointer to the value of Prefix from AiNotificationsTokenAuth
func (AiNotificationsTokenAuth) GetRefreshInterval ¶
func (x AiNotificationsTokenAuth) GetRefreshInterval() int
GetRefreshInterval returns a pointer to the value of RefreshInterval from AiNotificationsOAuth2Auth
func (AiNotificationsTokenAuth) GetRefreshable ¶
func (x AiNotificationsTokenAuth) GetRefreshable() bool
GetRefreshable returns a pointer to the value of Refreshable from AiNotificationsOAuth2Auth
func (AiNotificationsTokenAuth) GetScope ¶
func (x AiNotificationsTokenAuth) GetScope() string
GetScope returns a pointer to the value of Scope from AiNotificationsOAuth2Auth
func (AiNotificationsTokenAuth) GetUser ¶
func (x AiNotificationsTokenAuth) GetUser() string
func (AiNotificationsTokenAuth) ImplementsAiNotificationsAuth ¶
func (x AiNotificationsTokenAuth) ImplementsAiNotificationsAuth()
type AiWorkflowsConfiguration ¶
type AiWorkflowsConfiguration struct { // NRQL enrichment query Query string `json:"query,omitempty"` }
AiWorkflowsConfiguration - Workflows configuration interface
func (*AiWorkflowsConfiguration) ImplementsAiWorkflowsConfiguration ¶
func (x *AiWorkflowsConfiguration) ImplementsAiWorkflowsConfiguration()
type AiWorkflowsConfigurationInterface ¶
type AiWorkflowsConfigurationInterface interface {
ImplementsAiWorkflowsConfiguration()
}
AiWorkflowsConfigurationInterface - Enrichment configuration object
func UnmarshalAiWorkflowsConfigurationInterface ¶
func UnmarshalAiWorkflowsConfigurationInterface(b []byte) (*AiWorkflowsConfigurationInterface, error)
UnmarshalAiWorkflowsConfigurationInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type AiWorkflowsFilters ¶
type AiWorkflowsFilters struct { // id ID string `json:"id,omitempty"` }
AiWorkflowsFilters - Filter workflows object
type AiWorkflowsNRQLConfiguration ¶
type AiWorkflowsNRQLConfiguration struct { // The NRQL query Query string `json:"query"` }
AiWorkflowsNRQLConfiguration - Enrichment configuration for NRQL type
func (*AiWorkflowsNRQLConfiguration) ImplementsAiWorkflowsConfiguration ¶
func (x *AiWorkflowsNRQLConfiguration) ImplementsAiWorkflowsConfiguration()
type SecureValue ¶
type SecureValue string
SecureValue - The `SecureValue` scalar represents a secure value, ie a password, an API key, etc.