ai

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 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

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

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

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

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

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) 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.

Jump to

Keyboard shortcuts

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