ai

package
v0.91.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Code generated by tutone: DO NOT EDIT

Index

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"`
}

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
}

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 added in v0.87.0

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 added in v0.87.0

func (x AiNotificationsBasicAuth) GetAccessTokenURL() string

func (AiNotificationsBasicAuth) GetAuthType added in v0.87.0

GetAuthType returns a pointer to the value of AuthType from AiNotificationsBasicAuth

func (AiNotificationsBasicAuth) GetAuthorizationURL added in v0.87.0

func (x AiNotificationsBasicAuth) GetAuthorizationURL() string

func (AiNotificationsBasicAuth) GetClientId added in v0.87.0

func (x AiNotificationsBasicAuth) GetClientId() string

func (AiNotificationsBasicAuth) GetPrefix

func (x AiNotificationsBasicAuth) GetPrefix() string

func (AiNotificationsBasicAuth) GetRefreshInterval added in v0.87.0

func (x AiNotificationsBasicAuth) GetRefreshInterval() int

func (AiNotificationsBasicAuth) GetRefreshable added in v0.87.0

func (x AiNotificationsBasicAuth) GetRefreshable() bool

func (AiNotificationsBasicAuth) GetScope added in v0.87.0

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 added in v0.88.0

type AiNotificationsChannelFilter struct {
	// id
	ID string `json:"id,omitempty"`
}

AiNotificationsChannelFilter - Filter channel object

type AiNotificationsConstraintError added in v0.87.0

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 added in v0.87.0

func (x *AiNotificationsConstraintError) ImplementsAiNotificationsError()

type AiNotificationsDataValidationError added in v0.87.0

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 added in v0.87.0

func (x *AiNotificationsDataValidationError) ImplementsAiNotificationsError()

type AiNotificationsDestinationFilter added in v0.87.0

type AiNotificationsDestinationFilter struct {
	// id
	ID string `json:"id,omitempty"`
}

AiNotificationsDestinationFilter - Filter destination object

type AiNotificationsError added in v0.87.0

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 added in v0.87.0

func (x *AiNotificationsError) ImplementsAiNotificationsError()

type AiNotificationsErrorInterface added in v0.87.0

type AiNotificationsErrorInterface interface {
	ImplementsAiNotificationsError()
}

AiNotificationsErrorInterface - Notifications error interface

func UnmarshalAiNotificationsErrorInterface added in v0.87.0

func UnmarshalAiNotificationsErrorInterface(b []byte) (*AiNotificationsErrorInterface, error)

UnmarshalAiNotificationsErrorInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type AiNotificationsErrorType added in v0.87.0

type AiNotificationsErrorType string

AiNotificationsErrorType - Error types

type AiNotificationsFieldError added in v0.87.0

type AiNotificationsFieldError struct {
	// Field name
	Field string `json:"field"`
	// Validation error
	Message string `json:"message"`
}

AiNotificationsFieldError - Invalid field object

type AiNotificationsOAuth2Auth added in v0.87.0

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 added in v0.87.0

func (x AiNotificationsOAuth2Auth) GetAccessTokenURL() string

GetAccessTokenURL returns a pointer to the value of AccessTokenURL from AiNotificationsOAuth2Auth

func (AiNotificationsOAuth2Auth) GetAuthType added in v0.87.0

GetAuthType returns a pointer to the value of AuthType from AiNotificationsOAuth2Auth

func (AiNotificationsOAuth2Auth) GetAuthorizationURL added in v0.87.0

func (x AiNotificationsOAuth2Auth) GetAuthorizationURL() string

GetAuthorizationURL returns a pointer to the value of AuthorizationURL from AiNotificationsOAuth2Auth

func (AiNotificationsOAuth2Auth) GetClientId added in v0.87.0

func (x AiNotificationsOAuth2Auth) GetClientId() string

GetClientId returns a pointer to the value of ClientId from AiNotificationsOAuth2Auth

func (AiNotificationsOAuth2Auth) GetPrefix added in v0.87.0

func (x AiNotificationsOAuth2Auth) GetPrefix() string

GetPrefix returns a pointer to the value of Prefix from AiNotificationsOAuth2Auth

func (AiNotificationsOAuth2Auth) GetRefreshInterval added in v0.87.0

func (x AiNotificationsOAuth2Auth) GetRefreshInterval() int

GetRefreshInterval returns a pointer to the value of RefreshInterval from AiNotificationsOAuth2Auth

func (AiNotificationsOAuth2Auth) GetRefreshable added in v0.87.0

func (x AiNotificationsOAuth2Auth) GetRefreshable() bool

GetRefreshable returns a pointer to the value of Refreshable from AiNotificationsOAuth2Auth

func (AiNotificationsOAuth2Auth) GetScope added in v0.87.0

func (x AiNotificationsOAuth2Auth) GetScope() string

GetScope returns a pointer to the value of Scope from AiNotificationsOAuth2Auth

type AiNotificationsResponseError added in v0.87.0

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 added in v0.87.0

func (x *AiNotificationsResponseError) ImplementsAiNotificationsError()

type AiNotificationsSuggestionError added in v0.87.0

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 added in v0.87.0

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 added in v0.87.0

func (x AiNotificationsTokenAuth) GetAccessTokenURL() string

func (AiNotificationsTokenAuth) GetAuthType added in v0.87.0

GetAuthType returns a pointer to the value of AuthType from AiNotificationsTokenAuth

func (AiNotificationsTokenAuth) GetAuthorizationURL added in v0.87.0

func (x AiNotificationsTokenAuth) GetAuthorizationURL() string

GetAuthorizationURL returns a pointer to the value of AuthorizationURL from AiNotificationsOAuth2Auth

func (AiNotificationsTokenAuth) GetClientId added in v0.87.0

func (x AiNotificationsTokenAuth) GetClientId() string

GetClientId returns a pointer to the value of ClientId from AiNotificationsOAuth2Auth

func (AiNotificationsTokenAuth) GetPrefix

func (x AiNotificationsTokenAuth) GetPrefix() string

GetPrefix returns a pointer to the value of Prefix from AiNotificationsTokenAuth

func (AiNotificationsTokenAuth) GetRefreshInterval added in v0.87.0

func (x AiNotificationsTokenAuth) GetRefreshInterval() int

GetRefreshInterval returns a pointer to the value of RefreshInterval from AiNotificationsOAuth2Auth

func (AiNotificationsTokenAuth) GetRefreshable added in v0.87.0

func (x AiNotificationsTokenAuth) GetRefreshable() bool

GetRefreshable returns a pointer to the value of Refreshable from AiNotificationsOAuth2Auth

func (AiNotificationsTokenAuth) GetScope added in v0.87.0

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 added in v0.90.0

type AiWorkflowsConfiguration struct {
	// NRQL enrichment query
	Query string `json:"query,omitempty"`
}

AiWorkflowsConfiguration - Workflows configuration interface

func (*AiWorkflowsConfiguration) ImplementsAiWorkflowsConfiguration added in v0.90.0

func (x *AiWorkflowsConfiguration) ImplementsAiWorkflowsConfiguration()

type AiWorkflowsConfigurationInterface added in v0.90.0

type AiWorkflowsConfigurationInterface interface {
	ImplementsAiWorkflowsConfiguration()
}

AiWorkflowsConfigurationInterface - Enrichment configuration object

func UnmarshalAiWorkflowsConfigurationInterface added in v0.90.0

func UnmarshalAiWorkflowsConfigurationInterface(b []byte) (*AiWorkflowsConfigurationInterface, error)

UnmarshalAiWorkflowsConfigurationInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type AiWorkflowsFilters added in v0.90.0

type AiWorkflowsFilters struct {
	// id
	ID string `json:"id,omitempty"`
}

AiWorkflowsFilters - Filter workflows object

type AiWorkflowsNRQLConfiguration added in v0.90.0

type AiWorkflowsNRQLConfiguration struct {
	// The NRQL query
	Query string `json:"query"`
}

AiWorkflowsNRQLConfiguration - Enrichment configuration for NRQL type

func (*AiWorkflowsNRQLConfiguration) ImplementsAiWorkflowsConfiguration added in v0.90.0

func (x *AiWorkflowsNRQLConfiguration) ImplementsAiWorkflowsConfiguration()

type SecureValue added in v0.87.0

type SecureValue string

SecureValue - The `SecureValue` scalar represents a secure value, ie a password, an API key, etc.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL