Documentation
¶
Index ¶
- Constants
- Variables
- type ContentBlockInput
- type ContentBlockType
- type CreateAccountCreateAccount
- type CreateAccountInput
- type CreateAccountResponse
- type CreateConversationCreateConversation
- type CreateConversationInput
- type CreateConversationResponse
- type CreateDatadogAccountInput
- func (v *CreateDatadogAccountInput) GetAccountID() string
- func (v *CreateDatadogAccountInput) GetCostPerGBIngested() *float64
- func (v *CreateDatadogAccountInput) GetId() *string
- func (v *CreateDatadogAccountInput) GetName() string
- func (v *CreateDatadogAccountInput) GetRateLimitUtilization() *float64
- func (v *CreateDatadogAccountInput) GetSite() DatadogAccountSite
- type CreateDatadogAccountWithCredentialsCreateDatadogAccount
- func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetCreatedAt() time.Time
- func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetId() string
- func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetName() string
- func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetSite() DatadogAccountSite
- func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetUpdatedAt() time.Time
- type CreateDatadogAccountWithCredentialsInput
- type CreateDatadogAccountWithCredentialsResponse
- type CreateDatadogCredentialsInput
- type CreateMessageCreateMessage
- func (v *CreateMessageCreateMessage) GetCreatedAt() time.Time
- func (v *CreateMessageCreateMessage) GetId() string
- func (v *CreateMessageCreateMessage) GetModel() *string
- func (v *CreateMessageCreateMessage) GetRole() MessageRole
- func (v *CreateMessageCreateMessage) GetStopReason() *MessageStopReason
- type CreateMessageInput
- func (v *CreateMessageInput) GetContent() []ContentBlockInput
- func (v *CreateMessageInput) GetConversationID() string
- func (v *CreateMessageInput) GetId() *string
- func (v *CreateMessageInput) GetModel() *string
- func (v *CreateMessageInput) GetRole() MessageRole
- func (v *CreateMessageInput) GetStopReason() *MessageStopReason
- type CreateMessageResponse
- type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult
- func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetAccount() ...
- func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetOrganization() ...
- func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetWorkspace() ...
- type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount
- type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization
- func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetCreatedAt() time.Time
- func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetId() string
- func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetName() string
- func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetWorkosOrganizationID() string
- type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace
- type CreateOrganizationAndBootstrapResponse
- type CreateOrganizationInput
- type DatadogAccountSite
- type DatadogAccountStatusLogStatus
- type DeleteConversationResponse
- type EnableServiceResponse
- type EnableServiceUpdateService
- type GetAccountAccountsAccountConnection
- type GetAccountAccountsAccountConnectionEdgesAccountEdge
- type GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount
- type GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount
- func (v *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetId() string
- func (v *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetName() string
- func (v *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetSite() DatadogAccountSite
- type GetAccountResponse
- type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnection
- type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdge
- type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount
- type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogActiveServices() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogAnalyzedCount() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogAnalyzingServices() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogBrokenServices() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogCleanCount() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogDisabledServices() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogDiscoveredVolumeInWindow() *int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogDiscoveringServices() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogInactiveServices() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogPendingCount() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogPendingPolicyCount() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogPercentComplete() *float64
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogReadyServices() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogResolvedCount() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogServiceCount() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogServiceVolumeInWindow() *int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogStaleServices() int
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogStatus() DatadogAccountStatusLogStatus
- func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetReadyForUse() bool
- type GetDatadogAccountStatusResponse
- type GetServiceByNameResponse
- type GetServiceByNameServicesServiceConnection
- type GetServiceByNameServicesServiceConnectionEdgesServiceEdge
- type GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService
- func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetCreatedAt() time.Time
- func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetDescription() string
- func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetEnabled() bool
- func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetId() string
- func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetName() string
- func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetUpdatedAt() time.Time
- type GetServiceNode
- type GetServiceNodeAccount
- type GetServiceNodeConversation
- type GetServiceNodeConversationContext
- type GetServiceNodeDatadogAccount
- type GetServiceNodeDatadogLogIndex
- type GetServiceNodeEdgeApiKey
- type GetServiceNodeEdgeInstance
- type GetServiceNodeLogEvent
- type GetServiceNodeLogEventPolicy
- type GetServiceNodeMessage
- type GetServiceNodeOrganization
- type GetServiceNodeService
- func (v *GetServiceNodeService) GetAccount() GetServiceNodeServiceAccount
- func (v *GetServiceNodeService) GetCreatedAt() time.Time
- func (v *GetServiceNodeService) GetDescription() string
- func (v *GetServiceNodeService) GetEnabled() bool
- func (v *GetServiceNodeService) GetId() string
- func (v *GetServiceNodeService) GetLogEvents() []GetServiceNodeServiceLogEventsLogEvent
- func (v *GetServiceNodeService) GetName() string
- func (v *GetServiceNodeService) GetTypename() *string
- func (v *GetServiceNodeService) GetUpdatedAt() time.Time
- type GetServiceNodeServiceAccount
- type GetServiceNodeServiceLogEventsLogEvent
- type GetServiceNodeTeam
- type GetServiceNodeView
- type GetServiceNodeViewFavorite
- type GetServiceNodeWorkspace
- type GetServiceResponse
- type ListAccountsAccountsAccountConnection
- type ListAccountsAccountsAccountConnectionEdgesAccountEdge
- type ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount
- type ListAccountsResponse
- type ListOrganizationsOrganizationsOrganizationConnection
- type ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdge
- type ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization
- func (v *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetCreatedAt() time.Time
- func (v *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetId() string
- func (v *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetName() string
- func (v *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetWorkosOrganizationID() string
- type ListOrganizationsResponse
- type ListServicesResponse
- type ListServicesServicesServiceConnection
- type ListServicesServicesServiceConnectionEdgesServiceEdge
- type ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService
- func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetCreatedAt() time.Time
- func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetDescription() string
- func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetEnabled() bool
- func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetId() string
- func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetName() string
- func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetUpdatedAt() time.Time
- type ListWorkspacesResponse
- type ListWorkspacesWorkspacesWorkspaceConnection
- type ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdge
- type ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace
- func (v *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetCreatedAt() time.Time
- func (v *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetId() string
- func (v *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetName() string
- func (v *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetPurpose() WorkspacePurpose
- type MessageRole
- type MessageStopReason
- type TextBlockInput
- type ThinkingBlockInput
- type ToolResultInput
- type ToolUseInput
- type UpdateConversationInput
- type UpdateConversationResponse
- type UpdateConversationUpdateConversation
- type ValidateDatadogApiKeyInput
- type ValidateDatadogApiKeyResponse
- type ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult
- type WorkspacePurpose
Constants ¶
const CreateAccount_Operation = `
mutation CreateAccount ($input: CreateAccountInput!) {
createAccount(input: $input) {
id
name
createdAt
}
}
`
The mutation executed by CreateAccount.
const CreateConversation_Operation = `` /* 145-byte string literal not displayed */
The mutation executed by CreateConversation.
const CreateDatadogAccountWithCredentials_Operation = `` /* 187-byte string literal not displayed */
The mutation executed by CreateDatadogAccountWithCredentials.
const CreateMessage_Operation = `` /* 138-byte string literal not displayed */
The mutation executed by CreateMessage.
const CreateOrganizationAndBootstrap_Operation = `` /* 266-byte string literal not displayed */
The mutation executed by CreateOrganizationAndBootstrap.
const DeleteConversation_Operation = `
mutation DeleteConversation ($id: ID!) {
deleteConversation(id: $id)
}
`
The mutation executed by DeleteConversation.
const EnableService_Operation = `` /* 127-byte string literal not displayed */
The mutation executed by EnableService.
const GetAccount_Operation = `` /* 166-byte string literal not displayed */
The query executed by GetAccount.
const GetDatadogAccountStatus_Operation = `` /* 595-byte string literal not displayed */
The query executed by GetDatadogAccountStatus.
const GetServiceByName_Operation = `` /* 192-byte string literal not displayed */
The query executed by GetServiceByName.
const GetService_Operation = `` /* 255-byte string literal not displayed */
The query executed by GetService.
const ListAccounts_Operation = `` /* 175-byte string literal not displayed */
The query executed by ListAccounts.
const ListOrganizations_Operation = `` /* 146-byte string literal not displayed */
The query executed by ListOrganizations.
const ListServices_Operation = `` /* 165-byte string literal not displayed */
The query executed by ListServices.
const ListWorkspaces_Operation = `` /* 176-byte string literal not displayed */
The query executed by ListWorkspaces.
const UpdateConversation_Operation = `` /* 152-byte string literal not displayed */
The mutation executed by UpdateConversation.
const ValidateDatadogApiKey_Operation = `` /* 133-byte string literal not displayed */
The mutation executed by ValidateDatadogApiKey.
Variables ¶
var AllContentBlockType = []ContentBlockType{ ContentBlockTypeText, ContentBlockTypeThinking, ContentBlockTypeToolUse, ContentBlockTypeToolResult, }
var AllDatadogAccountSite = []DatadogAccountSite{ DatadogAccountSiteUs1, DatadogAccountSiteUs3, DatadogAccountSiteUs5, DatadogAccountSiteEu1, DatadogAccountSiteUs1Fed, DatadogAccountSiteAp1, DatadogAccountSiteAp2, }
var AllDatadogAccountStatusLogStatus = []DatadogAccountStatusLogStatus{ DatadogAccountStatusLogStatusDisabled, DatadogAccountStatusLogStatusInactive, DatadogAccountStatusLogStatusBroken, DatadogAccountStatusLogStatusStale, DatadogAccountStatusLogStatusDiscovering, DatadogAccountStatusLogStatusAnalyzing, DatadogAccountStatusLogStatusReady, }
var AllMessageRole = []MessageRole{ MessageRoleUser, MessageRoleAssistant, }
var AllMessageStopReason = []MessageStopReason{ MessageStopReasonEndTurn, MessageStopReasonToolUse, }
var AllWorkspacePurpose = []WorkspacePurpose{ WorkspacePurposeObservability, WorkspacePurposeSecurity, WorkspacePurposeCompliance, }
Functions ¶
This section is empty.
Types ¶
type ContentBlockInput ¶
type ContentBlockInput struct {
Type ContentBlockType `json:"type"`
Text *TextBlockInput `json:"text"`
Thinking *ThinkingBlockInput `json:"thinking"`
ToolUse *ToolUseInput `json:"toolUse"`
ToolResult *ToolResultInput `json:"toolResult"`
}
A content block in a message. Exactly one of the typed fields should be set.
func (*ContentBlockInput) GetText ¶
func (v *ContentBlockInput) GetText() *TextBlockInput
GetText returns ContentBlockInput.Text, and is useful for accessing the field via an interface.
func (*ContentBlockInput) GetThinking ¶
func (v *ContentBlockInput) GetThinking() *ThinkingBlockInput
GetThinking returns ContentBlockInput.Thinking, and is useful for accessing the field via an interface.
func (*ContentBlockInput) GetToolResult ¶
func (v *ContentBlockInput) GetToolResult() *ToolResultInput
GetToolResult returns ContentBlockInput.ToolResult, and is useful for accessing the field via an interface.
func (*ContentBlockInput) GetToolUse ¶
func (v *ContentBlockInput) GetToolUse() *ToolUseInput
GetToolUse returns ContentBlockInput.ToolUse, and is useful for accessing the field via an interface.
func (*ContentBlockInput) GetType ¶
func (v *ContentBlockInput) GetType() ContentBlockType
GetType returns ContentBlockInput.Type, and is useful for accessing the field via an interface.
type ContentBlockType ¶
type ContentBlockType string
The type of content block.
const ( ContentBlockTypeText ContentBlockType = "text" ContentBlockTypeThinking ContentBlockType = "thinking" ContentBlockTypeToolUse ContentBlockType = "tool_use" ContentBlockTypeToolResult ContentBlockType = "tool_result" )
type CreateAccountCreateAccount ¶
type CreateAccountCreateAccount struct {
// Unique identifier of the account
Id string `json:"id"`
// Human-readable name within the organization
Name string `json:"name"`
// When the account was created
CreatedAt time.Time `json:"createdAt"`
}
CreateAccountCreateAccount includes the requested fields of the GraphQL type Account.
func (*CreateAccountCreateAccount) GetCreatedAt ¶
func (v *CreateAccountCreateAccount) GetCreatedAt() time.Time
GetCreatedAt returns CreateAccountCreateAccount.CreatedAt, and is useful for accessing the field via an interface.
func (*CreateAccountCreateAccount) GetId ¶
func (v *CreateAccountCreateAccount) GetId() string
GetId returns CreateAccountCreateAccount.Id, and is useful for accessing the field via an interface.
func (*CreateAccountCreateAccount) GetName ¶
func (v *CreateAccountCreateAccount) GetName() string
GetName returns CreateAccountCreateAccount.Name, and is useful for accessing the field via an interface.
type CreateAccountInput ¶
type CreateAccountInput struct {
// Human-readable name within the organization
Name string `json:"name"`
OrganizationID string `json:"organizationID"`
DatadogAccountID *string `json:"datadogAccountID"`
// Optional client-provided UUID for offline-first sync.
// If provided and a record with this ID exists, returns the existing record.
Id *string `json:"id"`
}
CreateAccountInput is used for create Account object. Input was generated by ent.
func (*CreateAccountInput) GetDatadogAccountID ¶
func (v *CreateAccountInput) GetDatadogAccountID() *string
GetDatadogAccountID returns CreateAccountInput.DatadogAccountID, and is useful for accessing the field via an interface.
func (*CreateAccountInput) GetId ¶
func (v *CreateAccountInput) GetId() *string
GetId returns CreateAccountInput.Id, and is useful for accessing the field via an interface.
func (*CreateAccountInput) GetName ¶
func (v *CreateAccountInput) GetName() string
GetName returns CreateAccountInput.Name, and is useful for accessing the field via an interface.
func (*CreateAccountInput) GetOrganizationID ¶
func (v *CreateAccountInput) GetOrganizationID() string
GetOrganizationID returns CreateAccountInput.OrganizationID, and is useful for accessing the field via an interface.
type CreateAccountResponse ¶
type CreateAccountResponse struct {
CreateAccount CreateAccountCreateAccount `json:"createAccount"`
}
CreateAccountResponse is returned by CreateAccount on success.
func CreateAccount ¶
func CreateAccount( ctx_ context.Context, client_ graphql.Client, input CreateAccountInput, ) (data_ *CreateAccountResponse, err_ error)
func (*CreateAccountResponse) GetCreateAccount ¶
func (v *CreateAccountResponse) GetCreateAccount() CreateAccountCreateAccount
GetCreateAccount returns CreateAccountResponse.CreateAccount, and is useful for accessing the field via an interface.
type CreateConversationCreateConversation ¶
type CreateConversationCreateConversation struct {
// Unique identifier
Id string `json:"id"`
// AI-generated title, set after first exchange
Title *string `json:"title"`
// When the conversation was created
CreatedAt time.Time `json:"createdAt"`
// When the conversation was last updated
UpdatedAt time.Time `json:"updatedAt"`
}
CreateConversationCreateConversation includes the requested fields of the GraphQL type Conversation.
func (*CreateConversationCreateConversation) GetCreatedAt ¶
func (v *CreateConversationCreateConversation) GetCreatedAt() time.Time
GetCreatedAt returns CreateConversationCreateConversation.CreatedAt, and is useful for accessing the field via an interface.
func (*CreateConversationCreateConversation) GetId ¶
func (v *CreateConversationCreateConversation) GetId() string
GetId returns CreateConversationCreateConversation.Id, and is useful for accessing the field via an interface.
func (*CreateConversationCreateConversation) GetTitle ¶
func (v *CreateConversationCreateConversation) GetTitle() *string
GetTitle returns CreateConversationCreateConversation.Title, and is useful for accessing the field via an interface.
func (*CreateConversationCreateConversation) GetUpdatedAt ¶
func (v *CreateConversationCreateConversation) GetUpdatedAt() time.Time
GetUpdatedAt returns CreateConversationCreateConversation.UpdatedAt, and is useful for accessing the field via an interface.
type CreateConversationInput ¶
type CreateConversationInput struct {
// AI-generated title, set after first exchange
Title *string `json:"title"`
WorkspaceID string `json:"workspaceID"`
ViewID *string `json:"viewID"`
// Optional client-provided UUID for offline-first sync.
// If provided and a conversation with this ID exists, returns the existing record.
Id *string `json:"id"`
}
CreateConversationInput is used for create Conversation object. Input was generated by ent.
func (*CreateConversationInput) GetId ¶
func (v *CreateConversationInput) GetId() *string
GetId returns CreateConversationInput.Id, and is useful for accessing the field via an interface.
func (*CreateConversationInput) GetTitle ¶
func (v *CreateConversationInput) GetTitle() *string
GetTitle returns CreateConversationInput.Title, and is useful for accessing the field via an interface.
func (*CreateConversationInput) GetViewID ¶
func (v *CreateConversationInput) GetViewID() *string
GetViewID returns CreateConversationInput.ViewID, and is useful for accessing the field via an interface.
func (*CreateConversationInput) GetWorkspaceID ¶
func (v *CreateConversationInput) GetWorkspaceID() string
GetWorkspaceID returns CreateConversationInput.WorkspaceID, and is useful for accessing the field via an interface.
type CreateConversationResponse ¶
type CreateConversationResponse struct {
// Create a new conversation in a workspace.
// The conversation is owned by the authenticated user.
CreateConversation CreateConversationCreateConversation `json:"createConversation"`
}
CreateConversationResponse is returned by CreateConversation on success.
func CreateConversation ¶
func CreateConversation( ctx_ context.Context, client_ graphql.Client, input CreateConversationInput, ) (data_ *CreateConversationResponse, err_ error)
func (*CreateConversationResponse) GetCreateConversation ¶
func (v *CreateConversationResponse) GetCreateConversation() CreateConversationCreateConversation
GetCreateConversation returns CreateConversationResponse.CreateConversation, and is useful for accessing the field via an interface.
type CreateDatadogAccountInput ¶
type CreateDatadogAccountInput struct {
// Display name for this Datadog account
Name string `json:"name"`
// Datadog regional site. US1: datadoghq.com, US3: us3.datadoghq.com, US5:
// us5.datadoghq.com, EU1: datadoghq.eu, US1_FED: ddog-gov.com, AP1:
// ap1.datadoghq.com, AP2: ap2.datadoghq.com.
Site DatadogAccountSite `json:"site"`
// Cost per GB of log data ingested (USD). NULL = using Datadog's published rate
// ($0.10/GB). Set to override with actual contract rate.
CostPerGBIngested *float64 `json:"costPerGBIngested"`
// Fraction of the API rate limit to consume (0.0-1.0). NULL = default (0.8 =
// 80%). Leaves headroom for the customer's own API usage.
RateLimitUtilization *float64 `json:"rateLimitUtilization"`
AccountID string `json:"accountID"`
// Optional client-provided UUID for offline-first sync.
// If provided and a record with this ID exists, returns the existing record.
Id *string `json:"id"`
}
CreateDatadogAccountInput is used for create DatadogAccount object. Input was generated by ent.
func (*CreateDatadogAccountInput) GetAccountID ¶
func (v *CreateDatadogAccountInput) GetAccountID() string
GetAccountID returns CreateDatadogAccountInput.AccountID, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountInput) GetCostPerGBIngested ¶
func (v *CreateDatadogAccountInput) GetCostPerGBIngested() *float64
GetCostPerGBIngested returns CreateDatadogAccountInput.CostPerGBIngested, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountInput) GetId ¶
func (v *CreateDatadogAccountInput) GetId() *string
GetId returns CreateDatadogAccountInput.Id, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountInput) GetName ¶
func (v *CreateDatadogAccountInput) GetName() string
GetName returns CreateDatadogAccountInput.Name, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountInput) GetRateLimitUtilization ¶
func (v *CreateDatadogAccountInput) GetRateLimitUtilization() *float64
GetRateLimitUtilization returns CreateDatadogAccountInput.RateLimitUtilization, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountInput) GetSite ¶
func (v *CreateDatadogAccountInput) GetSite() DatadogAccountSite
GetSite returns CreateDatadogAccountInput.Site, and is useful for accessing the field via an interface.
type CreateDatadogAccountWithCredentialsCreateDatadogAccount ¶
type CreateDatadogAccountWithCredentialsCreateDatadogAccount struct {
// Unique identifier of the Datadog configuration
Id string `json:"id"`
// Display name for this Datadog account
Name string `json:"name"`
// Datadog regional site. US1: datadoghq.com, US3: us3.datadoghq.com, US5:
// us5.datadoghq.com, EU1: datadoghq.eu, US1_FED: ddog-gov.com, AP1:
// ap1.datadoghq.com, AP2: ap2.datadoghq.com.
Site DatadogAccountSite `json:"site"`
// When the Datadog account was created
CreatedAt time.Time `json:"createdAt"`
// When the Datadog account was last updated
UpdatedAt time.Time `json:"updatedAt"`
}
CreateDatadogAccountWithCredentialsCreateDatadogAccount includes the requested fields of the GraphQL type DatadogAccount.
func (*CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetCreatedAt ¶
func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetCreatedAt() time.Time
GetCreatedAt returns CreateDatadogAccountWithCredentialsCreateDatadogAccount.CreatedAt, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetId ¶
func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetId() string
GetId returns CreateDatadogAccountWithCredentialsCreateDatadogAccount.Id, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetName ¶
func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetName() string
GetName returns CreateDatadogAccountWithCredentialsCreateDatadogAccount.Name, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetSite ¶
func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetSite() DatadogAccountSite
GetSite returns CreateDatadogAccountWithCredentialsCreateDatadogAccount.Site, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetUpdatedAt ¶
func (v *CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetUpdatedAt() time.Time
GetUpdatedAt returns CreateDatadogAccountWithCredentialsCreateDatadogAccount.UpdatedAt, and is useful for accessing the field via an interface.
type CreateDatadogAccountWithCredentialsInput ¶
type CreateDatadogAccountWithCredentialsInput struct {
Attributes CreateDatadogAccountInput `json:"attributes"`
Credentials CreateDatadogCredentialsInput `json:"credentials"`
}
func (*CreateDatadogAccountWithCredentialsInput) GetAttributes ¶
func (v *CreateDatadogAccountWithCredentialsInput) GetAttributes() CreateDatadogAccountInput
GetAttributes returns CreateDatadogAccountWithCredentialsInput.Attributes, and is useful for accessing the field via an interface.
func (*CreateDatadogAccountWithCredentialsInput) GetCredentials ¶
func (v *CreateDatadogAccountWithCredentialsInput) GetCredentials() CreateDatadogCredentialsInput
GetCredentials returns CreateDatadogAccountWithCredentialsInput.Credentials, and is useful for accessing the field via an interface.
type CreateDatadogAccountWithCredentialsResponse ¶
type CreateDatadogAccountWithCredentialsResponse struct {
CreateDatadogAccount CreateDatadogAccountWithCredentialsCreateDatadogAccount `json:"createDatadogAccount"`
}
CreateDatadogAccountWithCredentialsResponse is returned by CreateDatadogAccountWithCredentials on success.
func CreateDatadogAccountWithCredentials ¶
func CreateDatadogAccountWithCredentials( ctx_ context.Context, client_ graphql.Client, input CreateDatadogAccountWithCredentialsInput, ) (data_ *CreateDatadogAccountWithCredentialsResponse, err_ error)
func (*CreateDatadogAccountWithCredentialsResponse) GetCreateDatadogAccount ¶
func (v *CreateDatadogAccountWithCredentialsResponse) GetCreateDatadogAccount() CreateDatadogAccountWithCredentialsCreateDatadogAccount
GetCreateDatadogAccount returns CreateDatadogAccountWithCredentialsResponse.CreateDatadogAccount, and is useful for accessing the field via an interface.
type CreateDatadogCredentialsInput ¶
type CreateDatadogCredentialsInput struct {
ApiKey string `json:"apiKey"`
AppKey string `json:"appKey"`
}
func (*CreateDatadogCredentialsInput) GetApiKey ¶
func (v *CreateDatadogCredentialsInput) GetApiKey() string
GetApiKey returns CreateDatadogCredentialsInput.ApiKey, and is useful for accessing the field via an interface.
func (*CreateDatadogCredentialsInput) GetAppKey ¶
func (v *CreateDatadogCredentialsInput) GetAppKey() string
GetAppKey returns CreateDatadogCredentialsInput.AppKey, and is useful for accessing the field via an interface.
type CreateMessageCreateMessage ¶
type CreateMessageCreateMessage struct {
// Unique identifier
Id string `json:"id"`
// Who sent this message. user: human-originated, assistant: AI-originated.
Role MessageRole `json:"role"`
// AI model that produced this message. Null for user messages.
Model *string `json:"model"`
// Why the assistant stopped generating. end_turn: completed response, tool_use:
// paused to call a tool. Null for user messages.
StopReason *MessageStopReason `json:"stopReason"`
// When the message was created
CreatedAt time.Time `json:"createdAt"`
}
CreateMessageCreateMessage includes the requested fields of the GraphQL type Message.
func (*CreateMessageCreateMessage) GetCreatedAt ¶
func (v *CreateMessageCreateMessage) GetCreatedAt() time.Time
GetCreatedAt returns CreateMessageCreateMessage.CreatedAt, and is useful for accessing the field via an interface.
func (*CreateMessageCreateMessage) GetId ¶
func (v *CreateMessageCreateMessage) GetId() string
GetId returns CreateMessageCreateMessage.Id, and is useful for accessing the field via an interface.
func (*CreateMessageCreateMessage) GetModel ¶
func (v *CreateMessageCreateMessage) GetModel() *string
GetModel returns CreateMessageCreateMessage.Model, and is useful for accessing the field via an interface.
func (*CreateMessageCreateMessage) GetRole ¶
func (v *CreateMessageCreateMessage) GetRole() MessageRole
GetRole returns CreateMessageCreateMessage.Role, and is useful for accessing the field via an interface.
func (*CreateMessageCreateMessage) GetStopReason ¶
func (v *CreateMessageCreateMessage) GetStopReason() *MessageStopReason
GetStopReason returns CreateMessageCreateMessage.StopReason, and is useful for accessing the field via an interface.
type CreateMessageInput ¶
type CreateMessageInput struct {
// Who sent this message. user: human-originated, assistant: AI-originated.
Role MessageRole `json:"role"`
// Why the assistant stopped generating. end_turn: completed response, tool_use:
// paused to call a tool. Null for user messages.
StopReason *MessageStopReason `json:"stopReason"`
// AI model that produced this message. Null for user messages.
Model *string `json:"model"`
ConversationID string `json:"conversationID"`
// Optional client-provided UUID for offline-first sync.
// If provided and a message with this ID exists, returns the existing record.
Id *string `json:"id"`
// Array of typed content blocks.
Content []ContentBlockInput `json:"content"`
}
CreateMessageInput is used for create Message object. Input was generated by ent.
func (*CreateMessageInput) GetContent ¶
func (v *CreateMessageInput) GetContent() []ContentBlockInput
GetContent returns CreateMessageInput.Content, and is useful for accessing the field via an interface.
func (*CreateMessageInput) GetConversationID ¶
func (v *CreateMessageInput) GetConversationID() string
GetConversationID returns CreateMessageInput.ConversationID, and is useful for accessing the field via an interface.
func (*CreateMessageInput) GetId ¶
func (v *CreateMessageInput) GetId() *string
GetId returns CreateMessageInput.Id, and is useful for accessing the field via an interface.
func (*CreateMessageInput) GetModel ¶
func (v *CreateMessageInput) GetModel() *string
GetModel returns CreateMessageInput.Model, and is useful for accessing the field via an interface.
func (*CreateMessageInput) GetRole ¶
func (v *CreateMessageInput) GetRole() MessageRole
GetRole returns CreateMessageInput.Role, and is useful for accessing the field via an interface.
func (*CreateMessageInput) GetStopReason ¶
func (v *CreateMessageInput) GetStopReason() *MessageStopReason
GetStopReason returns CreateMessageInput.StopReason, and is useful for accessing the field via an interface.
type CreateMessageResponse ¶
type CreateMessageResponse struct {
// Create a new message in a conversation.
CreateMessage CreateMessageCreateMessage `json:"createMessage"`
}
CreateMessageResponse is returned by CreateMessage on success.
func CreateMessage ¶
func CreateMessage( ctx_ context.Context, client_ graphql.Client, input CreateMessageInput, ) (data_ *CreateMessageResponse, err_ error)
func (*CreateMessageResponse) GetCreateMessage ¶
func (v *CreateMessageResponse) GetCreateMessage() CreateMessageCreateMessage
GetCreateMessage returns CreateMessageResponse.CreateMessage, and is useful for accessing the field via an interface.
type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult ¶
type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult struct {
Organization CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization `json:"organization"`
Account CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount `json:"account"`
Workspace CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace `json:"workspace"`
}
CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult includes the requested fields of the GraphQL type OrganizationBootstrapResult.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetAccount ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetAccount() CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount
GetAccount returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult.Account, and is useful for accessing the field via an interface.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetOrganization ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetOrganization() CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization
GetOrganization returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult.Organization, and is useful for accessing the field via an interface.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetWorkspace ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetWorkspace() CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace
GetWorkspace returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult.Workspace, and is useful for accessing the field via an interface.
type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount ¶
type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount struct {
// Unique identifier of the account
Id string `json:"id"`
// Human-readable name within the organization
Name string `json:"name"`
}
CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount includes the requested fields of the GraphQL type Account.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount) GetId ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount) GetId() string
GetId returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount.Id, and is useful for accessing the field via an interface.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount) GetName ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount) GetName() string
GetName returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount.Name, and is useful for accessing the field via an interface.
type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization ¶
type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization struct {
// Unique identifier of the organization
Id string `json:"id"`
// Human-readable name, unique across the system
Name string `json:"name"`
// When the organization was created
CreatedAt time.Time `json:"createdAt"`
// WorkOS organization ID for client-side auth token scoping
WorkosOrganizationID string `json:"workosOrganizationID"`
}
CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization includes the requested fields of the GraphQL type Organization.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetCreatedAt ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetCreatedAt() time.Time
GetCreatedAt returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization.CreatedAt, and is useful for accessing the field via an interface.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetId ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetId() string
GetId returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization.Id, and is useful for accessing the field via an interface.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetName ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetName() string
GetName returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization.Name, and is useful for accessing the field via an interface.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetWorkosOrganizationID ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetWorkosOrganizationID() string
GetWorkosOrganizationID returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization.WorkosOrganizationID, and is useful for accessing the field via an interface.
type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace ¶
type CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace struct {
// Unique identifier of the workspace
Id string `json:"id"`
// Human-readable name within the account
Name string `json:"name"`
}
CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace includes the requested fields of the GraphQL type Workspace.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace) GetId ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace) GetId() string
GetId returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace.Id, and is useful for accessing the field via an interface.
func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace) GetName ¶
func (v *CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace) GetName() string
GetName returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace.Name, and is useful for accessing the field via an interface.
type CreateOrganizationAndBootstrapResponse ¶
type CreateOrganizationAndBootstrapResponse struct {
CreateOrganizationAndBootstrap CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult `json:"createOrganizationAndBootstrap"`
}
CreateOrganizationAndBootstrapResponse is returned by CreateOrganizationAndBootstrap on success.
func CreateOrganizationAndBootstrap ¶
func CreateOrganizationAndBootstrap( ctx_ context.Context, client_ graphql.Client, input CreateOrganizationInput, ) (data_ *CreateOrganizationAndBootstrapResponse, err_ error)
func (*CreateOrganizationAndBootstrapResponse) GetCreateOrganizationAndBootstrap ¶
func (v *CreateOrganizationAndBootstrapResponse) GetCreateOrganizationAndBootstrap() CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult
GetCreateOrganizationAndBootstrap returns CreateOrganizationAndBootstrapResponse.CreateOrganizationAndBootstrap, and is useful for accessing the field via an interface.
type CreateOrganizationInput ¶
type CreateOrganizationInput struct {
// Human-readable name, unique across the system
Name string `json:"name"`
// Optional client-provided UUID for offline-first sync.
// If provided and a record with this ID exists, returns the existing record.
Id *string `json:"id"`
}
CreateOrganizationInput is used for create Organization object. Input was generated by ent.
func (*CreateOrganizationInput) GetId ¶
func (v *CreateOrganizationInput) GetId() *string
GetId returns CreateOrganizationInput.Id, and is useful for accessing the field via an interface.
func (*CreateOrganizationInput) GetName ¶
func (v *CreateOrganizationInput) GetName() string
GetName returns CreateOrganizationInput.Name, and is useful for accessing the field via an interface.
type DatadogAccountSite ¶
type DatadogAccountSite string
DatadogAccountSite is enum for the field site
const ( DatadogAccountSiteUs1 DatadogAccountSite = "US1" DatadogAccountSiteUs3 DatadogAccountSite = "US3" DatadogAccountSiteUs5 DatadogAccountSite = "US5" DatadogAccountSiteEu1 DatadogAccountSite = "EU1" DatadogAccountSiteUs1Fed DatadogAccountSite = "US1_FED" DatadogAccountSiteAp1 DatadogAccountSite = "AP1" DatadogAccountSiteAp2 DatadogAccountSite = "AP2" )
type DatadogAccountStatusLogStatus ¶
type DatadogAccountStatusLogStatus string
Status: DISABLED > INACTIVE > BROKEN > STALE > DISCOVERING > ANALYZING > READY
const ( // All services have discovery turned off DatadogAccountStatusLogStatusDisabled DatadogAccountStatusLogStatus = "DISABLED" // All active services have zero log volume DatadogAccountStatusLogStatusInactive DatadogAccountStatusLogStatus = "INACTIVE" // At least one service has discovery errors (5+ consecutive failures) DatadogAccountStatusLogStatusBroken DatadogAccountStatusLogStatus = "BROKEN" // At least one service has stale data (older than 48 hours) DatadogAccountStatusLogStatusStale DatadogAccountStatusLogStatus = "STALE" // At least one service is still being discovered (no volume data yet) DatadogAccountStatusLogStatusDiscovering DatadogAccountStatusLogStatus = "DISCOVERING" DatadogAccountStatusLogStatusAnalyzing DatadogAccountStatusLogStatus = "ANALYZING" // All services have fresh data with 90%+ coverage DatadogAccountStatusLogStatusReady DatadogAccountStatusLogStatus = "READY" )
type DeleteConversationResponse ¶
type DeleteConversationResponse struct {
// Delete a conversation and all its messages.
DeleteConversation bool `json:"deleteConversation"`
}
DeleteConversationResponse is returned by DeleteConversation on success.
func DeleteConversation ¶
func (*DeleteConversationResponse) GetDeleteConversation ¶
func (v *DeleteConversationResponse) GetDeleteConversation() bool
GetDeleteConversation returns DeleteConversationResponse.DeleteConversation, and is useful for accessing the field via an interface.
type EnableServiceResponse ¶
type EnableServiceResponse struct {
UpdateService EnableServiceUpdateService `json:"updateService"`
}
EnableServiceResponse is returned by EnableService on success.
func EnableService ¶
func EnableService( ctx_ context.Context, client_ graphql.Client, serviceId string, ) (data_ *EnableServiceResponse, err_ error)
Mutation to enable a service for analysis
func (*EnableServiceResponse) GetUpdateService ¶
func (v *EnableServiceResponse) GetUpdateService() EnableServiceUpdateService
GetUpdateService returns EnableServiceResponse.UpdateService, and is useful for accessing the field via an interface.
type EnableServiceUpdateService ¶
type EnableServiceUpdateService struct {
// Unique identifier of the service
Id string `json:"id"`
// Service identifier in telemetry (e.g., 'checkout-service')
Name string `json:"name"`
// Whether log analysis and policy generation is active for this service
Enabled bool `json:"enabled"`
}
EnableServiceUpdateService includes the requested fields of the GraphQL type Service.
func (*EnableServiceUpdateService) GetEnabled ¶
func (v *EnableServiceUpdateService) GetEnabled() bool
GetEnabled returns EnableServiceUpdateService.Enabled, and is useful for accessing the field via an interface.
func (*EnableServiceUpdateService) GetId ¶
func (v *EnableServiceUpdateService) GetId() string
GetId returns EnableServiceUpdateService.Id, and is useful for accessing the field via an interface.
func (*EnableServiceUpdateService) GetName ¶
func (v *EnableServiceUpdateService) GetName() string
GetName returns EnableServiceUpdateService.Name, and is useful for accessing the field via an interface.
type GetAccountAccountsAccountConnection ¶
type GetAccountAccountsAccountConnection struct {
// A list of edges.
Edges []*GetAccountAccountsAccountConnectionEdgesAccountEdge `json:"edges"`
}
GetAccountAccountsAccountConnection includes the requested fields of the GraphQL type AccountConnection. The GraphQL type's documentation follows.
A connection to a list of items.
func (*GetAccountAccountsAccountConnection) GetEdges ¶
func (v *GetAccountAccountsAccountConnection) GetEdges() []*GetAccountAccountsAccountConnectionEdgesAccountEdge
GetEdges returns GetAccountAccountsAccountConnection.Edges, and is useful for accessing the field via an interface.
type GetAccountAccountsAccountConnectionEdgesAccountEdge ¶
type GetAccountAccountsAccountConnectionEdgesAccountEdge struct {
// The item at the end of the edge.
Node *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount `json:"node"`
}
GetAccountAccountsAccountConnectionEdgesAccountEdge includes the requested fields of the GraphQL type AccountEdge. The GraphQL type's documentation follows.
An edge in a connection.
func (*GetAccountAccountsAccountConnectionEdgesAccountEdge) GetNode ¶
func (v *GetAccountAccountsAccountConnectionEdgesAccountEdge) GetNode() *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount
GetNode returns GetAccountAccountsAccountConnectionEdgesAccountEdge.Node, and is useful for accessing the field via an interface.
type GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount ¶
type GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount struct {
// Unique identifier of the account
Id string `json:"id"`
// Datadog integration configuration
DatadogAccount *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount `json:"datadogAccount"`
}
GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount includes the requested fields of the GraphQL type Account.
func (*GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetDatadogAccount ¶
func (v *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetDatadogAccount() *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount
GetDatadogAccount returns GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount.DatadogAccount, and is useful for accessing the field via an interface.
func (*GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetId ¶
func (v *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetId() string
GetId returns GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount.Id, and is useful for accessing the field via an interface.
type GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount ¶
type GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount struct {
// Unique identifier of the Datadog configuration
Id string `json:"id"`
// Display name for this Datadog account
Name string `json:"name"`
// Datadog regional site. US1: datadoghq.com, US3: us3.datadoghq.com, US5:
// us5.datadoghq.com, EU1: datadoghq.eu, US1_FED: ddog-gov.com, AP1:
// ap1.datadoghq.com, AP2: ap2.datadoghq.com.
Site DatadogAccountSite `json:"site"`
}
GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount includes the requested fields of the GraphQL type DatadogAccount.
func (*GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetId ¶
func (v *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetId() string
GetId returns GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount.Id, and is useful for accessing the field via an interface.
func (*GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetName ¶
func (v *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetName() string
GetName returns GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount.Name, and is useful for accessing the field via an interface.
func (*GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetSite ¶
func (v *GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetSite() DatadogAccountSite
GetSite returns GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount.Site, and is useful for accessing the field via an interface.
type GetAccountResponse ¶
type GetAccountResponse struct {
// Query accounts. Accounts belong to an organization and contain services and workspaces.
Accounts GetAccountAccountsAccountConnection `json:"accounts"`
}
GetAccountResponse is returned by GetAccount on success.
func GetAccount ¶
func (*GetAccountResponse) GetAccounts ¶
func (v *GetAccountResponse) GetAccounts() GetAccountAccountsAccountConnection
GetAccounts returns GetAccountResponse.Accounts, and is useful for accessing the field via an interface.
type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnection ¶
type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnection struct {
// A list of edges.
Edges []*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdge `json:"edges"`
}
GetDatadogAccountStatusDatadogAccountsDatadogAccountConnection includes the requested fields of the GraphQL type DatadogAccountConnection. The GraphQL type's documentation follows.
A connection to a list of items.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnection) GetEdges ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnection) GetEdges() []*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdge
GetEdges returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnection.Edges, and is useful for accessing the field via an interface.
type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdge ¶
type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdge struct {
// The item at the end of the edge.
Node *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount `json:"node"`
}
GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdge includes the requested fields of the GraphQL type DatadogAccountEdge. The GraphQL type's documentation follows.
An edge in a connection.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdge) GetNode ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdge) GetNode() *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount
GetNode returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdge.Node, and is useful for accessing the field via an interface.
type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount ¶
type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount struct {
// Unique identifier of the Datadog configuration
Id string `json:"id"`
// Status of this Datadog account in the discovery pipeline.
// Derived from the status of all services discovered from this account.
Status GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus `json:"status"`
}
GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount includes the requested fields of the GraphQL type DatadogAccount.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount) GetId ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount) GetId() string
GetId returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount.Id, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount) GetStatus ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount) GetStatus() GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus
GetStatus returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount.Status, and is useful for accessing the field via an interface.
type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus ¶
type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus struct {
// Status: DISABLED > INACTIVE > BROKEN > STALE > DISCOVERING > ANALYZING > READY
LogStatus DatadogAccountStatusLogStatus `json:"logStatus"`
// Overall coverage percentage
LogPercentComplete *float64 `json:"logPercentComplete"`
// Total service log volume in the rolling 7-day window across all active services
LogServiceVolumeInWindow *int `json:"logServiceVolumeInWindow"`
// Total discovered log event volume in the rolling 7-day window across all active services
LogDiscoveredVolumeInWindow *int `json:"logDiscoveredVolumeInWindow"`
// Total number of services
LogServiceCount int `json:"logServiceCount"`
// Services not DISABLED or INACTIVE
LogActiveServices int `json:"logActiveServices"`
// Services with READY status
LogReadyServices int `json:"logReadyServices"`
// Services with ANALYZING status
LogAnalyzingServices int `json:"logAnalyzingServices"`
// Services with DISCOVERING status
LogDiscoveringServices int `json:"logDiscoveringServices"`
// Services with STALE status
LogStaleServices int `json:"logStaleServices"`
// Services with BROKEN status
LogBrokenServices int `json:"logBrokenServices"`
// Services with DISABLED status
LogDisabledServices int `json:"logDisabledServices"`
// Services with INACTIVE status
LogInactiveServices int `json:"logInactiveServices"`
// Number of log events that have been analyzed
LogAnalyzedCount int `json:"logAnalyzedCount"`
// Log events with RESOLVED status (all policies acted on)
LogResolvedCount int `json:"logResolvedCount"`
// Log events with CLEAN status (analyzed, no issues)
LogCleanCount int `json:"logCleanCount"`
// Log events with PENDING status (policies awaiting action)
LogPendingCount int `json:"logPendingCount"`
// Policies awaiting user action
LogPendingPolicyCount int `json:"logPendingPolicyCount"`
// True when account has enough analyzed data for good UX (>= 50 analyzed log events)
ReadyForUse bool `json:"readyForUse"`
}
GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus includes the requested fields of the GraphQL type DatadogAccountStatus. The GraphQL type's documentation follows.
Aggregated status for each Datadog account based on service statuses
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogActiveServices ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogActiveServices() int
GetLogActiveServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogActiveServices, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogAnalyzedCount ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogAnalyzedCount() int
GetLogAnalyzedCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogAnalyzedCount, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogAnalyzingServices ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogAnalyzingServices() int
GetLogAnalyzingServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogAnalyzingServices, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogBrokenServices ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogBrokenServices() int
GetLogBrokenServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogBrokenServices, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogCleanCount ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogCleanCount() int
GetLogCleanCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogCleanCount, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogDisabledServices ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogDisabledServices() int
GetLogDisabledServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogDisabledServices, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogDiscoveredVolumeInWindow ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogDiscoveredVolumeInWindow() *int
GetLogDiscoveredVolumeInWindow returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogDiscoveredVolumeInWindow, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogDiscoveringServices ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogDiscoveringServices() int
GetLogDiscoveringServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogDiscoveringServices, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogInactiveServices ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogInactiveServices() int
GetLogInactiveServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogInactiveServices, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogPendingCount ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogPendingCount() int
GetLogPendingCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogPendingCount, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogPendingPolicyCount ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogPendingPolicyCount() int
GetLogPendingPolicyCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogPendingPolicyCount, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogPercentComplete ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogPercentComplete() *float64
GetLogPercentComplete returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogPercentComplete, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogReadyServices ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogReadyServices() int
GetLogReadyServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogReadyServices, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogResolvedCount ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogResolvedCount() int
GetLogResolvedCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogResolvedCount, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogServiceCount ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogServiceCount() int
GetLogServiceCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogServiceCount, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogServiceVolumeInWindow ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogServiceVolumeInWindow() *int
GetLogServiceVolumeInWindow returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogServiceVolumeInWindow, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogStaleServices ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogStaleServices() int
GetLogStaleServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogStaleServices, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogStatus ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetLogStatus() DatadogAccountStatusLogStatus
GetLogStatus returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.LogStatus, and is useful for accessing the field via an interface.
func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetReadyForUse ¶
func (v *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus) GetReadyForUse() bool
GetReadyForUse returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatus.ReadyForUse, and is useful for accessing the field via an interface.
type GetDatadogAccountStatusResponse ¶
type GetDatadogAccountStatusResponse struct {
// Query connected Datadog accounts.
DatadogAccounts GetDatadogAccountStatusDatadogAccountsDatadogAccountConnection `json:"datadogAccounts"`
}
GetDatadogAccountStatusResponse is returned by GetDatadogAccountStatus on success.
func GetDatadogAccountStatus ¶
func (*GetDatadogAccountStatusResponse) GetDatadogAccounts ¶
func (v *GetDatadogAccountStatusResponse) GetDatadogAccounts() GetDatadogAccountStatusDatadogAccountsDatadogAccountConnection
GetDatadogAccounts returns GetDatadogAccountStatusResponse.DatadogAccounts, and is useful for accessing the field via an interface.
type GetServiceByNameResponse ¶
type GetServiceByNameResponse struct {
// Query services in your system.
Services GetServiceByNameServicesServiceConnection `json:"services"`
}
GetServiceByNameResponse is returned by GetServiceByName on success.
func GetServiceByName ¶
func GetServiceByName( ctx_ context.Context, client_ graphql.Client, name string, ) (data_ *GetServiceByNameResponse, err_ error)
Query to get service by name
func (*GetServiceByNameResponse) GetServices ¶
func (v *GetServiceByNameResponse) GetServices() GetServiceByNameServicesServiceConnection
GetServices returns GetServiceByNameResponse.Services, and is useful for accessing the field via an interface.
type GetServiceByNameServicesServiceConnection ¶
type GetServiceByNameServicesServiceConnection struct {
// A list of edges.
Edges []*GetServiceByNameServicesServiceConnectionEdgesServiceEdge `json:"edges"`
}
GetServiceByNameServicesServiceConnection includes the requested fields of the GraphQL type ServiceConnection. The GraphQL type's documentation follows.
A connection to a list of items.
func (*GetServiceByNameServicesServiceConnection) GetEdges ¶
func (v *GetServiceByNameServicesServiceConnection) GetEdges() []*GetServiceByNameServicesServiceConnectionEdgesServiceEdge
GetEdges returns GetServiceByNameServicesServiceConnection.Edges, and is useful for accessing the field via an interface.
type GetServiceByNameServicesServiceConnectionEdgesServiceEdge ¶
type GetServiceByNameServicesServiceConnectionEdgesServiceEdge struct {
// The item at the end of the edge.
Node *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService `json:"node"`
}
GetServiceByNameServicesServiceConnectionEdgesServiceEdge includes the requested fields of the GraphQL type ServiceEdge. The GraphQL type's documentation follows.
An edge in a connection.
func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdge) GetNode ¶
func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdge) GetNode() *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService
GetNode returns GetServiceByNameServicesServiceConnectionEdgesServiceEdge.Node, and is useful for accessing the field via an interface.
type GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService ¶
type GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService struct {
// Unique identifier of the service
Id string `json:"id"`
// Service identifier in telemetry (e.g., 'checkout-service')
Name string `json:"name"`
// AI-generated description of what this service does and its telemetry characteristics
Description string `json:"description"`
// Whether log analysis and policy generation is active for this service
Enabled bool `json:"enabled"`
// When the service was created
CreatedAt time.Time `json:"createdAt"`
// When the service was last updated
UpdatedAt time.Time `json:"updatedAt"`
}
GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService includes the requested fields of the GraphQL type Service.
func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetCreatedAt ¶
func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetCreatedAt() time.Time
GetCreatedAt returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.CreatedAt, and is useful for accessing the field via an interface.
func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetDescription ¶
func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetDescription() string
GetDescription returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.Description, and is useful for accessing the field via an interface.
func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetEnabled ¶
func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetEnabled() bool
GetEnabled returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.Enabled, and is useful for accessing the field via an interface.
func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetId ¶
func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetId() string
GetId returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.Id, and is useful for accessing the field via an interface.
func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetName ¶
func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetName() string
GetName returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.Name, and is useful for accessing the field via an interface.
func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetUpdatedAt ¶
func (v *GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetUpdatedAt() time.Time
GetUpdatedAt returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.UpdatedAt, and is useful for accessing the field via an interface.
type GetServiceNode ¶
type GetServiceNode interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// contains filtered or unexported methods
}
GetServiceNode includes the requested fields of the GraphQL interface Node.
GetServiceNode is implemented by the following types: GetServiceNodeAccount GetServiceNodeConversation GetServiceNodeConversationContext GetServiceNodeDatadogAccount GetServiceNodeDatadogLogIndex GetServiceNodeEdgeApiKey GetServiceNodeEdgeInstance GetServiceNodeLogEvent GetServiceNodeLogEventPolicy GetServiceNodeMessage GetServiceNodeOrganization GetServiceNodeService GetServiceNodeTeam GetServiceNodeView GetServiceNodeViewFavorite GetServiceNodeWorkspace The GraphQL type's documentation follows.
An object with an ID. Follows the [Relay Global Object Identification Specification](https://relay.dev/graphql/objectidentification.htm)
type GetServiceNodeAccount ¶
type GetServiceNodeAccount struct {
Typename *string `json:"__typename"`
}
GetServiceNodeAccount includes the requested fields of the GraphQL type Account.
func (*GetServiceNodeAccount) GetTypename ¶
func (v *GetServiceNodeAccount) GetTypename() *string
GetTypename returns GetServiceNodeAccount.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeConversation ¶
type GetServiceNodeConversation struct {
Typename *string `json:"__typename"`
}
GetServiceNodeConversation includes the requested fields of the GraphQL type Conversation.
func (*GetServiceNodeConversation) GetTypename ¶
func (v *GetServiceNodeConversation) GetTypename() *string
GetTypename returns GetServiceNodeConversation.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeConversationContext ¶
type GetServiceNodeConversationContext struct {
Typename *string `json:"__typename"`
}
GetServiceNodeConversationContext includes the requested fields of the GraphQL type ConversationContext.
func (*GetServiceNodeConversationContext) GetTypename ¶
func (v *GetServiceNodeConversationContext) GetTypename() *string
GetTypename returns GetServiceNodeConversationContext.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeDatadogAccount ¶
type GetServiceNodeDatadogAccount struct {
Typename *string `json:"__typename"`
}
GetServiceNodeDatadogAccount includes the requested fields of the GraphQL type DatadogAccount.
func (*GetServiceNodeDatadogAccount) GetTypename ¶
func (v *GetServiceNodeDatadogAccount) GetTypename() *string
GetTypename returns GetServiceNodeDatadogAccount.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeDatadogLogIndex ¶
type GetServiceNodeDatadogLogIndex struct {
Typename *string `json:"__typename"`
}
GetServiceNodeDatadogLogIndex includes the requested fields of the GraphQL type DatadogLogIndex.
func (*GetServiceNodeDatadogLogIndex) GetTypename ¶
func (v *GetServiceNodeDatadogLogIndex) GetTypename() *string
GetTypename returns GetServiceNodeDatadogLogIndex.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeEdgeApiKey ¶
type GetServiceNodeEdgeApiKey struct {
Typename *string `json:"__typename"`
}
GetServiceNodeEdgeApiKey includes the requested fields of the GraphQL type EdgeApiKey.
func (*GetServiceNodeEdgeApiKey) GetTypename ¶
func (v *GetServiceNodeEdgeApiKey) GetTypename() *string
GetTypename returns GetServiceNodeEdgeApiKey.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeEdgeInstance ¶
type GetServiceNodeEdgeInstance struct {
Typename *string `json:"__typename"`
}
GetServiceNodeEdgeInstance includes the requested fields of the GraphQL type EdgeInstance.
func (*GetServiceNodeEdgeInstance) GetTypename ¶
func (v *GetServiceNodeEdgeInstance) GetTypename() *string
GetTypename returns GetServiceNodeEdgeInstance.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeLogEvent ¶
type GetServiceNodeLogEvent struct {
Typename *string `json:"__typename"`
}
GetServiceNodeLogEvent includes the requested fields of the GraphQL type LogEvent.
func (*GetServiceNodeLogEvent) GetTypename ¶
func (v *GetServiceNodeLogEvent) GetTypename() *string
GetTypename returns GetServiceNodeLogEvent.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeLogEventPolicy ¶
type GetServiceNodeLogEventPolicy struct {
Typename *string `json:"__typename"`
}
GetServiceNodeLogEventPolicy includes the requested fields of the GraphQL type LogEventPolicy.
func (*GetServiceNodeLogEventPolicy) GetTypename ¶
func (v *GetServiceNodeLogEventPolicy) GetTypename() *string
GetTypename returns GetServiceNodeLogEventPolicy.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeMessage ¶
type GetServiceNodeMessage struct {
Typename *string `json:"__typename"`
}
GetServiceNodeMessage includes the requested fields of the GraphQL type Message.
func (*GetServiceNodeMessage) GetTypename ¶
func (v *GetServiceNodeMessage) GetTypename() *string
GetTypename returns GetServiceNodeMessage.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeOrganization ¶
type GetServiceNodeOrganization struct {
Typename *string `json:"__typename"`
}
GetServiceNodeOrganization includes the requested fields of the GraphQL type Organization.
func (*GetServiceNodeOrganization) GetTypename ¶
func (v *GetServiceNodeOrganization) GetTypename() *string
GetTypename returns GetServiceNodeOrganization.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeService ¶
type GetServiceNodeService struct {
Typename *string `json:"__typename"`
// Unique identifier of the service
Id string `json:"id"`
// Service identifier in telemetry (e.g., 'checkout-service')
Name string `json:"name"`
// AI-generated description of what this service does and its telemetry characteristics
Description string `json:"description"`
// Whether log analysis and policy generation is active for this service
Enabled bool `json:"enabled"`
// When the service was created
CreatedAt time.Time `json:"createdAt"`
// When the service was last updated
UpdatedAt time.Time `json:"updatedAt"`
// Account this service belongs to
Account GetServiceNodeServiceAccount `json:"account"`
// Log event types produced by this service
LogEvents []GetServiceNodeServiceLogEventsLogEvent `json:"logEvents"`
}
GetServiceNodeService includes the requested fields of the GraphQL type Service.
func (*GetServiceNodeService) GetAccount ¶
func (v *GetServiceNodeService) GetAccount() GetServiceNodeServiceAccount
GetAccount returns GetServiceNodeService.Account, and is useful for accessing the field via an interface.
func (*GetServiceNodeService) GetCreatedAt ¶
func (v *GetServiceNodeService) GetCreatedAt() time.Time
GetCreatedAt returns GetServiceNodeService.CreatedAt, and is useful for accessing the field via an interface.
func (*GetServiceNodeService) GetDescription ¶
func (v *GetServiceNodeService) GetDescription() string
GetDescription returns GetServiceNodeService.Description, and is useful for accessing the field via an interface.
func (*GetServiceNodeService) GetEnabled ¶
func (v *GetServiceNodeService) GetEnabled() bool
GetEnabled returns GetServiceNodeService.Enabled, and is useful for accessing the field via an interface.
func (*GetServiceNodeService) GetId ¶
func (v *GetServiceNodeService) GetId() string
GetId returns GetServiceNodeService.Id, and is useful for accessing the field via an interface.
func (*GetServiceNodeService) GetLogEvents ¶
func (v *GetServiceNodeService) GetLogEvents() []GetServiceNodeServiceLogEventsLogEvent
GetLogEvents returns GetServiceNodeService.LogEvents, and is useful for accessing the field via an interface.
func (*GetServiceNodeService) GetName ¶
func (v *GetServiceNodeService) GetName() string
GetName returns GetServiceNodeService.Name, and is useful for accessing the field via an interface.
func (*GetServiceNodeService) GetTypename ¶
func (v *GetServiceNodeService) GetTypename() *string
GetTypename returns GetServiceNodeService.Typename, and is useful for accessing the field via an interface.
func (*GetServiceNodeService) GetUpdatedAt ¶
func (v *GetServiceNodeService) GetUpdatedAt() time.Time
GetUpdatedAt returns GetServiceNodeService.UpdatedAt, and is useful for accessing the field via an interface.
type GetServiceNodeServiceAccount ¶
type GetServiceNodeServiceAccount struct {
// Unique identifier of the account
Id string `json:"id"`
// Human-readable name within the organization
Name string `json:"name"`
}
GetServiceNodeServiceAccount includes the requested fields of the GraphQL type Account.
func (*GetServiceNodeServiceAccount) GetId ¶
func (v *GetServiceNodeServiceAccount) GetId() string
GetId returns GetServiceNodeServiceAccount.Id, and is useful for accessing the field via an interface.
func (*GetServiceNodeServiceAccount) GetName ¶
func (v *GetServiceNodeServiceAccount) GetName() string
GetName returns GetServiceNodeServiceAccount.Name, and is useful for accessing the field via an interface.
type GetServiceNodeServiceLogEventsLogEvent ¶
type GetServiceNodeServiceLogEventsLogEvent struct {
// Unique identifier of the log event
Id string `json:"id"`
// Snake_case identifier unique per service, e.g. nginx_access_log
Name string `json:"name"`
// What this event pattern represents
Description string `json:"description"`
// When the log event was created
CreatedAt time.Time `json:"createdAt"`
}
GetServiceNodeServiceLogEventsLogEvent includes the requested fields of the GraphQL type LogEvent.
func (*GetServiceNodeServiceLogEventsLogEvent) GetCreatedAt ¶
func (v *GetServiceNodeServiceLogEventsLogEvent) GetCreatedAt() time.Time
GetCreatedAt returns GetServiceNodeServiceLogEventsLogEvent.CreatedAt, and is useful for accessing the field via an interface.
func (*GetServiceNodeServiceLogEventsLogEvent) GetDescription ¶
func (v *GetServiceNodeServiceLogEventsLogEvent) GetDescription() string
GetDescription returns GetServiceNodeServiceLogEventsLogEvent.Description, and is useful for accessing the field via an interface.
func (*GetServiceNodeServiceLogEventsLogEvent) GetId ¶
func (v *GetServiceNodeServiceLogEventsLogEvent) GetId() string
GetId returns GetServiceNodeServiceLogEventsLogEvent.Id, and is useful for accessing the field via an interface.
func (*GetServiceNodeServiceLogEventsLogEvent) GetName ¶
func (v *GetServiceNodeServiceLogEventsLogEvent) GetName() string
GetName returns GetServiceNodeServiceLogEventsLogEvent.Name, and is useful for accessing the field via an interface.
type GetServiceNodeTeam ¶
type GetServiceNodeTeam struct {
Typename *string `json:"__typename"`
}
GetServiceNodeTeam includes the requested fields of the GraphQL type Team.
func (*GetServiceNodeTeam) GetTypename ¶
func (v *GetServiceNodeTeam) GetTypename() *string
GetTypename returns GetServiceNodeTeam.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeView ¶
type GetServiceNodeView struct {
Typename *string `json:"__typename"`
}
GetServiceNodeView includes the requested fields of the GraphQL type View.
func (*GetServiceNodeView) GetTypename ¶
func (v *GetServiceNodeView) GetTypename() *string
GetTypename returns GetServiceNodeView.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeViewFavorite ¶
type GetServiceNodeViewFavorite struct {
Typename *string `json:"__typename"`
}
GetServiceNodeViewFavorite includes the requested fields of the GraphQL type ViewFavorite.
func (*GetServiceNodeViewFavorite) GetTypename ¶
func (v *GetServiceNodeViewFavorite) GetTypename() *string
GetTypename returns GetServiceNodeViewFavorite.Typename, and is useful for accessing the field via an interface.
type GetServiceNodeWorkspace ¶
type GetServiceNodeWorkspace struct {
Typename *string `json:"__typename"`
}
GetServiceNodeWorkspace includes the requested fields of the GraphQL type Workspace.
func (*GetServiceNodeWorkspace) GetTypename ¶
func (v *GetServiceNodeWorkspace) GetTypename() *string
GetTypename returns GetServiceNodeWorkspace.Typename, and is useful for accessing the field via an interface.
type GetServiceResponse ¶
type GetServiceResponse struct {
// Fetches an object given its ID.
Node *GetServiceNode `json:"-"`
}
GetServiceResponse is returned by GetService on success.
func GetService ¶
func GetService( ctx_ context.Context, client_ graphql.Client, id string, ) (data_ *GetServiceResponse, err_ error)
Query to get detailed information about a specific service by ID
func (*GetServiceResponse) GetNode ¶
func (v *GetServiceResponse) GetNode() *GetServiceNode
GetNode returns GetServiceResponse.Node, and is useful for accessing the field via an interface.
func (*GetServiceResponse) MarshalJSON ¶
func (v *GetServiceResponse) MarshalJSON() ([]byte, error)
func (*GetServiceResponse) UnmarshalJSON ¶
func (v *GetServiceResponse) UnmarshalJSON(b []byte) error
type ListAccountsAccountsAccountConnection ¶
type ListAccountsAccountsAccountConnection struct {
// A list of edges.
Edges []*ListAccountsAccountsAccountConnectionEdgesAccountEdge `json:"edges"`
// Identifies the total count of items in the connection.
TotalCount int `json:"totalCount"`
}
ListAccountsAccountsAccountConnection includes the requested fields of the GraphQL type AccountConnection. The GraphQL type's documentation follows.
A connection to a list of items.
func (*ListAccountsAccountsAccountConnection) GetEdges ¶
func (v *ListAccountsAccountsAccountConnection) GetEdges() []*ListAccountsAccountsAccountConnectionEdgesAccountEdge
GetEdges returns ListAccountsAccountsAccountConnection.Edges, and is useful for accessing the field via an interface.
func (*ListAccountsAccountsAccountConnection) GetTotalCount ¶
func (v *ListAccountsAccountsAccountConnection) GetTotalCount() int
GetTotalCount returns ListAccountsAccountsAccountConnection.TotalCount, and is useful for accessing the field via an interface.
type ListAccountsAccountsAccountConnectionEdgesAccountEdge ¶
type ListAccountsAccountsAccountConnectionEdgesAccountEdge struct {
// The item at the end of the edge.
Node *ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount `json:"node"`
}
ListAccountsAccountsAccountConnectionEdgesAccountEdge includes the requested fields of the GraphQL type AccountEdge. The GraphQL type's documentation follows.
An edge in a connection.
func (*ListAccountsAccountsAccountConnectionEdgesAccountEdge) GetNode ¶
func (v *ListAccountsAccountsAccountConnectionEdgesAccountEdge) GetNode() *ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount
GetNode returns ListAccountsAccountsAccountConnectionEdgesAccountEdge.Node, and is useful for accessing the field via an interface.
type ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount ¶
type ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount struct {
// Unique identifier of the account
Id string `json:"id"`
// Human-readable name within the organization
Name string `json:"name"`
// When the account was created
CreatedAt time.Time `json:"createdAt"`
}
ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount includes the requested fields of the GraphQL type Account.
func (*ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetCreatedAt ¶
func (v *ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetCreatedAt() time.Time
GetCreatedAt returns ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount.CreatedAt, and is useful for accessing the field via an interface.
func (*ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetId ¶
func (v *ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetId() string
GetId returns ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount.Id, and is useful for accessing the field via an interface.
func (*ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetName ¶
func (v *ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetName() string
GetName returns ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount.Name, and is useful for accessing the field via an interface.
type ListAccountsResponse ¶
type ListAccountsResponse struct {
// Query accounts. Accounts belong to an organization and contain services and workspaces.
Accounts ListAccountsAccountsAccountConnection `json:"accounts"`
}
ListAccountsResponse is returned by ListAccounts on success.
func ListAccounts ¶
func (*ListAccountsResponse) GetAccounts ¶
func (v *ListAccountsResponse) GetAccounts() ListAccountsAccountsAccountConnection
GetAccounts returns ListAccountsResponse.Accounts, and is useful for accessing the field via an interface.
type ListOrganizationsOrganizationsOrganizationConnection ¶
type ListOrganizationsOrganizationsOrganizationConnection struct {
// A list of edges.
Edges []*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdge `json:"edges"`
// Identifies the total count of items in the connection.
TotalCount int `json:"totalCount"`
}
ListOrganizationsOrganizationsOrganizationConnection includes the requested fields of the GraphQL type OrganizationConnection. The GraphQL type's documentation follows.
A connection to a list of items.
func (*ListOrganizationsOrganizationsOrganizationConnection) GetEdges ¶
func (v *ListOrganizationsOrganizationsOrganizationConnection) GetEdges() []*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdge
GetEdges returns ListOrganizationsOrganizationsOrganizationConnection.Edges, and is useful for accessing the field via an interface.
func (*ListOrganizationsOrganizationsOrganizationConnection) GetTotalCount ¶
func (v *ListOrganizationsOrganizationsOrganizationConnection) GetTotalCount() int
GetTotalCount returns ListOrganizationsOrganizationsOrganizationConnection.TotalCount, and is useful for accessing the field via an interface.
type ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdge ¶
type ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdge struct {
// The item at the end of the edge.
Node *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization `json:"node"`
}
ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdge includes the requested fields of the GraphQL type OrganizationEdge. The GraphQL type's documentation follows.
An edge in a connection.
func (*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdge) GetNode ¶
func (v *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdge) GetNode() *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization
GetNode returns ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdge.Node, and is useful for accessing the field via an interface.
type ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization ¶
type ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization struct {
// Unique identifier of the organization
Id string `json:"id"`
// Human-readable name, unique across the system
Name string `json:"name"`
// When the organization was created
CreatedAt time.Time `json:"createdAt"`
// WorkOS organization ID for client-side auth token scoping
WorkosOrganizationID string `json:"workosOrganizationID"`
}
ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization includes the requested fields of the GraphQL type Organization.
func (*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetCreatedAt ¶
func (v *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetCreatedAt() time.Time
GetCreatedAt returns ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization.CreatedAt, and is useful for accessing the field via an interface.
func (*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetId ¶
func (v *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetId() string
GetId returns ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization.Id, and is useful for accessing the field via an interface.
func (*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetName ¶
func (v *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetName() string
GetName returns ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization.Name, and is useful for accessing the field via an interface.
func (*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetWorkosOrganizationID ¶
func (v *ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetWorkosOrganizationID() string
GetWorkosOrganizationID returns ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization.WorkosOrganizationID, and is useful for accessing the field via an interface.
type ListOrganizationsResponse ¶
type ListOrganizationsResponse struct {
// Query organizations. An organization is the top-level container that holds accounts.
Organizations ListOrganizationsOrganizationsOrganizationConnection `json:"organizations"`
}
ListOrganizationsResponse is returned by ListOrganizations on success.
func ListOrganizations ¶
func (*ListOrganizationsResponse) GetOrganizations ¶
func (v *ListOrganizationsResponse) GetOrganizations() ListOrganizationsOrganizationsOrganizationConnection
GetOrganizations returns ListOrganizationsResponse.Organizations, and is useful for accessing the field via an interface.
type ListServicesResponse ¶
type ListServicesResponse struct {
// Query services in your system.
Services ListServicesServicesServiceConnection `json:"services"`
}
ListServicesResponse is returned by ListServices on success.
func ListServices ¶
func ListServices( ctx_ context.Context, client_ graphql.Client, ) (data_ *ListServicesResponse, err_ error)
Query to list all services with basic information
func (*ListServicesResponse) GetServices ¶
func (v *ListServicesResponse) GetServices() ListServicesServicesServiceConnection
GetServices returns ListServicesResponse.Services, and is useful for accessing the field via an interface.
type ListServicesServicesServiceConnection ¶
type ListServicesServicesServiceConnection struct {
// A list of edges.
Edges []*ListServicesServicesServiceConnectionEdgesServiceEdge `json:"edges"`
// Identifies the total count of items in the connection.
TotalCount int `json:"totalCount"`
}
ListServicesServicesServiceConnection includes the requested fields of the GraphQL type ServiceConnection. The GraphQL type's documentation follows.
A connection to a list of items.
func (*ListServicesServicesServiceConnection) GetEdges ¶
func (v *ListServicesServicesServiceConnection) GetEdges() []*ListServicesServicesServiceConnectionEdgesServiceEdge
GetEdges returns ListServicesServicesServiceConnection.Edges, and is useful for accessing the field via an interface.
func (*ListServicesServicesServiceConnection) GetTotalCount ¶
func (v *ListServicesServicesServiceConnection) GetTotalCount() int
GetTotalCount returns ListServicesServicesServiceConnection.TotalCount, and is useful for accessing the field via an interface.
type ListServicesServicesServiceConnectionEdgesServiceEdge ¶
type ListServicesServicesServiceConnectionEdgesServiceEdge struct {
// The item at the end of the edge.
Node *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService `json:"node"`
}
ListServicesServicesServiceConnectionEdgesServiceEdge includes the requested fields of the GraphQL type ServiceEdge. The GraphQL type's documentation follows.
An edge in a connection.
func (*ListServicesServicesServiceConnectionEdgesServiceEdge) GetNode ¶
func (v *ListServicesServicesServiceConnectionEdgesServiceEdge) GetNode() *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService
GetNode returns ListServicesServicesServiceConnectionEdgesServiceEdge.Node, and is useful for accessing the field via an interface.
type ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService ¶
type ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService struct {
// Unique identifier of the service
Id string `json:"id"`
// Service identifier in telemetry (e.g., 'checkout-service')
Name string `json:"name"`
// AI-generated description of what this service does and its telemetry characteristics
Description string `json:"description"`
// Whether log analysis and policy generation is active for this service
Enabled bool `json:"enabled"`
// When the service was created
CreatedAt time.Time `json:"createdAt"`
// When the service was last updated
UpdatedAt time.Time `json:"updatedAt"`
}
ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService includes the requested fields of the GraphQL type Service.
func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetCreatedAt ¶
func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetCreatedAt() time.Time
GetCreatedAt returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.CreatedAt, and is useful for accessing the field via an interface.
func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetDescription ¶
func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetDescription() string
GetDescription returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.Description, and is useful for accessing the field via an interface.
func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetEnabled ¶
func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetEnabled() bool
GetEnabled returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.Enabled, and is useful for accessing the field via an interface.
func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetId ¶
func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetId() string
GetId returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.Id, and is useful for accessing the field via an interface.
func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetName ¶
func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetName() string
GetName returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.Name, and is useful for accessing the field via an interface.
func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetUpdatedAt ¶
func (v *ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetUpdatedAt() time.Time
GetUpdatedAt returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.UpdatedAt, and is useful for accessing the field via an interface.
type ListWorkspacesResponse ¶
type ListWorkspacesResponse struct {
// Query workspaces. Workspaces are used to analyze and classify telemetry.
Workspaces ListWorkspacesWorkspacesWorkspaceConnection `json:"workspaces"`
}
ListWorkspacesResponse is returned by ListWorkspaces on success.
func ListWorkspaces ¶
func (*ListWorkspacesResponse) GetWorkspaces ¶
func (v *ListWorkspacesResponse) GetWorkspaces() ListWorkspacesWorkspacesWorkspaceConnection
GetWorkspaces returns ListWorkspacesResponse.Workspaces, and is useful for accessing the field via an interface.
type ListWorkspacesWorkspacesWorkspaceConnection ¶
type ListWorkspacesWorkspacesWorkspaceConnection struct {
// A list of edges.
Edges []*ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdge `json:"edges"`
// Identifies the total count of items in the connection.
TotalCount int `json:"totalCount"`
}
ListWorkspacesWorkspacesWorkspaceConnection includes the requested fields of the GraphQL type WorkspaceConnection. The GraphQL type's documentation follows.
A connection to a list of items.
func (*ListWorkspacesWorkspacesWorkspaceConnection) GetEdges ¶
func (v *ListWorkspacesWorkspacesWorkspaceConnection) GetEdges() []*ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdge
GetEdges returns ListWorkspacesWorkspacesWorkspaceConnection.Edges, and is useful for accessing the field via an interface.
func (*ListWorkspacesWorkspacesWorkspaceConnection) GetTotalCount ¶
func (v *ListWorkspacesWorkspacesWorkspaceConnection) GetTotalCount() int
GetTotalCount returns ListWorkspacesWorkspacesWorkspaceConnection.TotalCount, and is useful for accessing the field via an interface.
type ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdge ¶
type ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdge struct {
// The item at the end of the edge.
Node *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace `json:"node"`
}
ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdge includes the requested fields of the GraphQL type WorkspaceEdge. The GraphQL type's documentation follows.
An edge in a connection.
func (*ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdge) GetNode ¶
func (v *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdge) GetNode() *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace
GetNode returns ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdge.Node, and is useful for accessing the field via an interface.
type ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace ¶
type ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace struct {
// Unique identifier of the workspace
Id string `json:"id"`
// Human-readable name within the account
Name string `json:"name"`
// Primary purpose determining evaluation strategy. observability: performance
// and reliability, security: threat detection, compliance: regulatory requirements.
Purpose WorkspacePurpose `json:"purpose"`
// When the workspace was created
CreatedAt time.Time `json:"createdAt"`
}
ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace includes the requested fields of the GraphQL type Workspace.
func (*ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetCreatedAt ¶
func (v *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetCreatedAt() time.Time
GetCreatedAt returns ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace.CreatedAt, and is useful for accessing the field via an interface.
func (*ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetId ¶
GetId returns ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace.Id, and is useful for accessing the field via an interface.
func (*ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetName ¶
func (v *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetName() string
GetName returns ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace.Name, and is useful for accessing the field via an interface.
func (*ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetPurpose ¶
func (v *ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetPurpose() WorkspacePurpose
GetPurpose returns ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace.Purpose, and is useful for accessing the field via an interface.
type MessageRole ¶
type MessageRole string
MessageRole is enum for the field role
const ( MessageRoleUser MessageRole = "user" MessageRoleAssistant MessageRole = "assistant" )
type MessageStopReason ¶
type MessageStopReason string
MessageStopReason is enum for the field stop_reason
const ( MessageStopReasonEndTurn MessageStopReason = "end_turn" MessageStopReasonToolUse MessageStopReason = "tool_use" )
type TextBlockInput ¶
type TextBlockInput struct {
Content string `json:"content"`
}
Text content from the user or assistant.
func (*TextBlockInput) GetContent ¶
func (v *TextBlockInput) GetContent() string
GetContent returns TextBlockInput.Content, and is useful for accessing the field via an interface.
type ThinkingBlockInput ¶
type ThinkingBlockInput struct {
Content string `json:"content"`
}
The AI's internal reasoning (extended thinking).
func (*ThinkingBlockInput) GetContent ¶
func (v *ThinkingBlockInput) GetContent() string
GetContent returns ThinkingBlockInput.Content, and is useful for accessing the field via an interface.
type ToolResultInput ¶
type ToolResultInput struct {
// The ID of the tool call this result is for.
ToolUseId string `json:"toolUseId"`
// Whether the tool execution resulted in an error.
IsError bool `json:"isError"`
// Human-readable error message when isError is true.
Error *string `json:"error"`
// Structured result data (JSON object).
Content *map[string]any `json:"content"`
}
The result of a tool call.
func (*ToolResultInput) GetContent ¶
func (v *ToolResultInput) GetContent() *map[string]any
GetContent returns ToolResultInput.Content, and is useful for accessing the field via an interface.
func (*ToolResultInput) GetError ¶
func (v *ToolResultInput) GetError() *string
GetError returns ToolResultInput.Error, and is useful for accessing the field via an interface.
func (*ToolResultInput) GetIsError ¶
func (v *ToolResultInput) GetIsError() bool
GetIsError returns ToolResultInput.IsError, and is useful for accessing the field via an interface.
func (*ToolResultInput) GetToolUseId ¶
func (v *ToolResultInput) GetToolUseId() string
GetToolUseId returns ToolResultInput.ToolUseId, and is useful for accessing the field via an interface.
type ToolUseInput ¶
type ToolUseInput struct {
// Unique identifier for this tool call.
Id string `json:"id"`
// The name of the tool being called.
Name string `json:"name"`
// The input parameters for the tool (JSON object).
Input map[string]any `json:"input"`
}
A tool call from the assistant.
func (*ToolUseInput) GetId ¶
func (v *ToolUseInput) GetId() string
GetId returns ToolUseInput.Id, and is useful for accessing the field via an interface.
func (*ToolUseInput) GetInput ¶
func (v *ToolUseInput) GetInput() map[string]any
GetInput returns ToolUseInput.Input, and is useful for accessing the field via an interface.
func (*ToolUseInput) GetName ¶
func (v *ToolUseInput) GetName() string
GetName returns ToolUseInput.Name, and is useful for accessing the field via an interface.
type UpdateConversationInput ¶
type UpdateConversationInput struct {
// AI-generated title, set after first exchange
Title *string `json:"title"`
ClearTitle *bool `json:"clearTitle"`
ViewID *string `json:"viewID"`
ClearView *bool `json:"clearView"`
}
UpdateConversationInput is used for update Conversation object. Input was generated by ent.
func (*UpdateConversationInput) GetClearTitle ¶
func (v *UpdateConversationInput) GetClearTitle() *bool
GetClearTitle returns UpdateConversationInput.ClearTitle, and is useful for accessing the field via an interface.
func (*UpdateConversationInput) GetClearView ¶
func (v *UpdateConversationInput) GetClearView() *bool
GetClearView returns UpdateConversationInput.ClearView, and is useful for accessing the field via an interface.
func (*UpdateConversationInput) GetTitle ¶
func (v *UpdateConversationInput) GetTitle() *string
GetTitle returns UpdateConversationInput.Title, and is useful for accessing the field via an interface.
func (*UpdateConversationInput) GetViewID ¶
func (v *UpdateConversationInput) GetViewID() *string
GetViewID returns UpdateConversationInput.ViewID, and is useful for accessing the field via an interface.
type UpdateConversationResponse ¶
type UpdateConversationResponse struct {
// Update a conversation (e.g., set title).
UpdateConversation UpdateConversationUpdateConversation `json:"updateConversation"`
}
UpdateConversationResponse is returned by UpdateConversation on success.
func UpdateConversation ¶
func UpdateConversation( ctx_ context.Context, client_ graphql.Client, id string, input UpdateConversationInput, ) (data_ *UpdateConversationResponse, err_ error)
func (*UpdateConversationResponse) GetUpdateConversation ¶
func (v *UpdateConversationResponse) GetUpdateConversation() UpdateConversationUpdateConversation
GetUpdateConversation returns UpdateConversationResponse.UpdateConversation, and is useful for accessing the field via an interface.
type UpdateConversationUpdateConversation ¶
type UpdateConversationUpdateConversation struct {
// Unique identifier
Id string `json:"id"`
// AI-generated title, set after first exchange
Title *string `json:"title"`
// When the conversation was last updated
UpdatedAt time.Time `json:"updatedAt"`
}
UpdateConversationUpdateConversation includes the requested fields of the GraphQL type Conversation.
func (*UpdateConversationUpdateConversation) GetId ¶
func (v *UpdateConversationUpdateConversation) GetId() string
GetId returns UpdateConversationUpdateConversation.Id, and is useful for accessing the field via an interface.
func (*UpdateConversationUpdateConversation) GetTitle ¶
func (v *UpdateConversationUpdateConversation) GetTitle() *string
GetTitle returns UpdateConversationUpdateConversation.Title, and is useful for accessing the field via an interface.
func (*UpdateConversationUpdateConversation) GetUpdatedAt ¶
func (v *UpdateConversationUpdateConversation) GetUpdatedAt() time.Time
GetUpdatedAt returns UpdateConversationUpdateConversation.UpdatedAt, and is useful for accessing the field via an interface.
type ValidateDatadogApiKeyInput ¶
type ValidateDatadogApiKeyInput struct {
ApiKey string `json:"apiKey"`
Site DatadogAccountSite `json:"site"`
}
func (*ValidateDatadogApiKeyInput) GetApiKey ¶
func (v *ValidateDatadogApiKeyInput) GetApiKey() string
GetApiKey returns ValidateDatadogApiKeyInput.ApiKey, and is useful for accessing the field via an interface.
func (*ValidateDatadogApiKeyInput) GetSite ¶
func (v *ValidateDatadogApiKeyInput) GetSite() DatadogAccountSite
GetSite returns ValidateDatadogApiKeyInput.Site, and is useful for accessing the field via an interface.
type ValidateDatadogApiKeyResponse ¶
type ValidateDatadogApiKeyResponse struct {
ValidateDatadogApiKey ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult `json:"validateDatadogApiKey"`
}
ValidateDatadogApiKeyResponse is returned by ValidateDatadogApiKey on success.
func ValidateDatadogApiKey ¶
func ValidateDatadogApiKey( ctx_ context.Context, client_ graphql.Client, input ValidateDatadogApiKeyInput, ) (data_ *ValidateDatadogApiKeyResponse, err_ error)
func (*ValidateDatadogApiKeyResponse) GetValidateDatadogApiKey ¶
func (v *ValidateDatadogApiKeyResponse) GetValidateDatadogApiKey() ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult
GetValidateDatadogApiKey returns ValidateDatadogApiKeyResponse.ValidateDatadogApiKey, and is useful for accessing the field via an interface.
type ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult ¶
type ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult struct {
Valid bool `json:"valid"`
Error *string `json:"error"`
}
ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult includes the requested fields of the GraphQL type ValidateDatadogApiKeyResult.
func (*ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult) GetError ¶
func (v *ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult) GetError() *string
GetError returns ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult.Error, and is useful for accessing the field via an interface.
func (*ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult) GetValid ¶
func (v *ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult) GetValid() bool
GetValid returns ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult.Valid, and is useful for accessing the field via an interface.
type WorkspacePurpose ¶
type WorkspacePurpose string
WorkspacePurpose is enum for the field purpose
const ( WorkspacePurposeObservability WorkspacePurpose = "observability" WorkspacePurposeSecurity WorkspacePurpose = "security" WorkspacePurposeCompliance WorkspacePurpose = "compliance" )