gen

package
v1.22.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ApproveLogEventPolicy_Operation = `` /* 143-byte string literal not displayed */

The mutation executed by ApproveLogEventPolicy.

View Source
const CreateAccount_Operation = `
mutation CreateAccount ($input: CreateAccountInput!) {
	createAccount(input: $input) {
		id
		name
		createdAt
	}
}
`

The mutation executed by CreateAccount.

View Source
const CreateConversation_Operation = `` /* 145-byte string literal not displayed */

The mutation executed by CreateConversation.

View Source
const CreateDatadogAccountWithCredentials_Operation = `` /* 187-byte string literal not displayed */

The mutation executed by CreateDatadogAccountWithCredentials.

View Source
const CreateMessage_Operation = `` /* 138-byte string literal not displayed */

The mutation executed by CreateMessage.

View Source
const CreateOrganizationAndBootstrap_Operation = `` /* 266-byte string literal not displayed */

The mutation executed by CreateOrganizationAndBootstrap.

View Source
const DeleteConversation_Operation = `
mutation DeleteConversation ($id: ID!) {
	deleteConversation(id: $id)
}
`

The mutation executed by DeleteConversation.

View Source
const DisableService_Operation = `` /* 129-byte string literal not displayed */

The mutation executed by DisableService.

View Source
const DismissLogEventPolicy_Operation = `` /* 143-byte string literal not displayed */

The mutation executed by DismissLogEventPolicy.

View Source
const EnableService_Operation = `` /* 127-byte string literal not displayed */

The mutation executed by EnableService.

View Source
const GetAccount_Operation = `` /* 166-byte string literal not displayed */

The query executed by GetAccount.

View Source
const GetDatadogAccountStatus_Operation = `` /* 1160-byte string literal not displayed */

The query executed by GetDatadogAccountStatus.

View Source
const GetServiceByName_Operation = `` /* 192-byte string literal not displayed */

The query executed by GetServiceByName.

View Source
const GetService_Operation = `` /* 255-byte string literal not displayed */

The query executed by GetService.

View Source
const ListAccounts_Operation = `` /* 175-byte string literal not displayed */

The query executed by ListAccounts.

View Source
const ListOrganizations_Operation = `` /* 146-byte string literal not displayed */

The query executed by ListOrganizations.

View Source
const ListServices_Operation = `` /* 165-byte string literal not displayed */

The query executed by ListServices.

View Source
const ListWorkspaces_Operation = `` /* 176-byte string literal not displayed */

The query executed by ListWorkspaces.

View Source
const UpdateConversation_Operation = `` /* 152-byte string literal not displayed */

The mutation executed by UpdateConversation.

View Source
const ValidateDatadogApiKey_Operation = `` /* 133-byte string literal not displayed */

The mutation executed by ValidateDatadogApiKey.

Variables

Functions

This section is empty.

Types

type ApproveLogEventPolicyApproveLogEventPolicy added in v1.21.0

type ApproveLogEventPolicyApproveLogEventPolicy struct {
	// Unique identifier
	Id string `json:"id"`
	// When this policy was approved by a user
	ApprovedAt *time.Time `json:"approvedAt"`
	// User ID who approved this policy
	ApprovedBy *string `json:"approvedBy"`
	// When this policy was dismissed by a user
	DismissedAt *time.Time `json:"dismissedAt"`
	// User ID who dismissed this policy
	DismissedBy *string `json:"dismissedBy"`
}

ApproveLogEventPolicyApproveLogEventPolicy includes the requested fields of the GraphQL type LogEventPolicy.

func (*ApproveLogEventPolicyApproveLogEventPolicy) GetApprovedAt added in v1.21.0

GetApprovedAt returns ApproveLogEventPolicyApproveLogEventPolicy.ApprovedAt, and is useful for accessing the field via an interface.

func (*ApproveLogEventPolicyApproveLogEventPolicy) GetApprovedBy added in v1.21.0

GetApprovedBy returns ApproveLogEventPolicyApproveLogEventPolicy.ApprovedBy, and is useful for accessing the field via an interface.

func (*ApproveLogEventPolicyApproveLogEventPolicy) GetDismissedAt added in v1.21.0

GetDismissedAt returns ApproveLogEventPolicyApproveLogEventPolicy.DismissedAt, and is useful for accessing the field via an interface.

func (*ApproveLogEventPolicyApproveLogEventPolicy) GetDismissedBy added in v1.21.0

GetDismissedBy returns ApproveLogEventPolicyApproveLogEventPolicy.DismissedBy, and is useful for accessing the field via an interface.

func (*ApproveLogEventPolicyApproveLogEventPolicy) GetId added in v1.21.0

GetId returns ApproveLogEventPolicyApproveLogEventPolicy.Id, and is useful for accessing the field via an interface.

type ApproveLogEventPolicyResponse added in v1.21.0

type ApproveLogEventPolicyResponse struct {
	// Approve a log event policy, enabling it for enforcement.
	// Clears any previous dismissal.
	ApproveLogEventPolicy ApproveLogEventPolicyApproveLogEventPolicy `json:"approveLogEventPolicy"`
}

ApproveLogEventPolicyResponse is returned by ApproveLogEventPolicy on success.

func ApproveLogEventPolicy added in v1.21.0

func ApproveLogEventPolicy(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (data_ *ApproveLogEventPolicyResponse, err_ error)

Mutation to approve a log event policy for enforcement

func (*ApproveLogEventPolicyResponse) GetApproveLogEventPolicy added in v1.21.0

GetApproveLogEventPolicy returns ApproveLogEventPolicyResponse.ApproveLogEventPolicy, and is useful for accessing the field via an interface.

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

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

GetCreatedAt returns CreateConversationCreateConversation.CreatedAt, and is useful for accessing the field via an interface.

func (*CreateConversationCreateConversation) GetId

GetId returns CreateConversationCreateConversation.Id, and is useful for accessing the field via an interface.

func (*CreateConversationCreateConversation) GetTitle

GetTitle returns CreateConversationCreateConversation.Title, and is useful for accessing the field via an interface.

func (*CreateConversationCreateConversation) GetUpdatedAt

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

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

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

GetCreatedAt returns CreateDatadogAccountWithCredentialsCreateDatadogAccount.CreatedAt, and is useful for accessing the field via an interface.

func (*CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetId

GetId returns CreateDatadogAccountWithCredentialsCreateDatadogAccount.Id, and is useful for accessing the field via an interface.

func (*CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetName

GetName returns CreateDatadogAccountWithCredentialsCreateDatadogAccount.Name, and is useful for accessing the field via an interface.

func (*CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetSite

GetSite returns CreateDatadogAccountWithCredentialsCreateDatadogAccount.Site, and is useful for accessing the field via an interface.

func (*CreateDatadogAccountWithCredentialsCreateDatadogAccount) GetUpdatedAt

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

GetAttributes returns CreateDatadogAccountWithCredentialsInput.Attributes, and is useful for accessing the field via an interface.

func (*CreateDatadogAccountWithCredentialsInput) GetCredentials

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 (*CreateDatadogAccountWithCredentialsResponse) GetCreateDatadogAccount

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

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

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

GetAccount returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult.Account, and is useful for accessing the field via an interface.

func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetOrganization

GetOrganization returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult.Organization, and is useful for accessing the field via an interface.

func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResult) GetWorkspace

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

GetId returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount.Id, and is useful for accessing the field via an interface.

func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultAccount) GetName

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

GetCreatedAt returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization.CreatedAt, and is useful for accessing the field via an interface.

func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetId

GetId returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization.Id, and is useful for accessing the field via an interface.

func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetName

GetName returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization.Name, and is useful for accessing the field via an interface.

func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultOrganization) GetWorkosOrganizationID

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

GetId returns CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace.Id, and is useful for accessing the field via an interface.

func (*CreateOrganizationAndBootstrapCreateOrganizationAndBootstrapOrganizationBootstrapResultWorkspace) GetName

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

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 DatadogAccountStatusCacheHealth added in v1.15.0

type DatadogAccountStatusCacheHealth string

DatadogAccountStatusCacheHealth is enum for the field health

const (
	DatadogAccountStatusCacheHealthDisabled DatadogAccountStatusCacheHealth = "DISABLED"
	DatadogAccountStatusCacheHealthInactive DatadogAccountStatusCacheHealth = "INACTIVE"
	DatadogAccountStatusCacheHealthError    DatadogAccountStatusCacheHealth = "ERROR"
	DatadogAccountStatusCacheHealthOk       DatadogAccountStatusCacheHealth = "OK"
)

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 DeleteConversation(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (data_ *DeleteConversationResponse, err_ error)

func (*DeleteConversationResponse) GetDeleteConversation

func (v *DeleteConversationResponse) GetDeleteConversation() bool

GetDeleteConversation returns DeleteConversationResponse.DeleteConversation, and is useful for accessing the field via an interface.

type DisableServiceResponse added in v1.15.0

type DisableServiceResponse struct {
	UpdateService DisableServiceUpdateService `json:"updateService"`
}

DisableServiceResponse is returned by DisableService on success.

func DisableService added in v1.15.0

func DisableService(
	ctx_ context.Context,
	client_ graphql.Client,
	serviceId string,
) (data_ *DisableServiceResponse, err_ error)

Mutation to disable a service

func (*DisableServiceResponse) GetUpdateService added in v1.15.0

GetUpdateService returns DisableServiceResponse.UpdateService, and is useful for accessing the field via an interface.

type DisableServiceUpdateService added in v1.15.0

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

DisableServiceUpdateService includes the requested fields of the GraphQL type Service.

func (*DisableServiceUpdateService) GetEnabled added in v1.15.0

func (v *DisableServiceUpdateService) GetEnabled() bool

GetEnabled returns DisableServiceUpdateService.Enabled, and is useful for accessing the field via an interface.

func (*DisableServiceUpdateService) GetId added in v1.15.0

GetId returns DisableServiceUpdateService.Id, and is useful for accessing the field via an interface.

func (*DisableServiceUpdateService) GetName added in v1.15.0

func (v *DisableServiceUpdateService) GetName() string

GetName returns DisableServiceUpdateService.Name, and is useful for accessing the field via an interface.

type DismissLogEventPolicyDismissLogEventPolicy added in v1.21.0

type DismissLogEventPolicyDismissLogEventPolicy struct {
	// Unique identifier
	Id string `json:"id"`
	// When this policy was dismissed by a user
	DismissedAt *time.Time `json:"dismissedAt"`
	// User ID who dismissed this policy
	DismissedBy *string `json:"dismissedBy"`
	// When this policy was approved by a user
	ApprovedAt *time.Time `json:"approvedAt"`
	// User ID who approved this policy
	ApprovedBy *string `json:"approvedBy"`
}

DismissLogEventPolicyDismissLogEventPolicy includes the requested fields of the GraphQL type LogEventPolicy.

func (*DismissLogEventPolicyDismissLogEventPolicy) GetApprovedAt added in v1.21.0

GetApprovedAt returns DismissLogEventPolicyDismissLogEventPolicy.ApprovedAt, and is useful for accessing the field via an interface.

func (*DismissLogEventPolicyDismissLogEventPolicy) GetApprovedBy added in v1.21.0

GetApprovedBy returns DismissLogEventPolicyDismissLogEventPolicy.ApprovedBy, and is useful for accessing the field via an interface.

func (*DismissLogEventPolicyDismissLogEventPolicy) GetDismissedAt added in v1.21.0

GetDismissedAt returns DismissLogEventPolicyDismissLogEventPolicy.DismissedAt, and is useful for accessing the field via an interface.

func (*DismissLogEventPolicyDismissLogEventPolicy) GetDismissedBy added in v1.21.0

GetDismissedBy returns DismissLogEventPolicyDismissLogEventPolicy.DismissedBy, and is useful for accessing the field via an interface.

func (*DismissLogEventPolicyDismissLogEventPolicy) GetId added in v1.21.0

GetId returns DismissLogEventPolicyDismissLogEventPolicy.Id, and is useful for accessing the field via an interface.

type DismissLogEventPolicyResponse added in v1.21.0

type DismissLogEventPolicyResponse struct {
	// Dismiss a log event policy, hiding it from pending review.
	// Clears any previous approval.
	DismissLogEventPolicy DismissLogEventPolicyDismissLogEventPolicy `json:"dismissLogEventPolicy"`
}

DismissLogEventPolicyResponse is returned by DismissLogEventPolicy on success.

func DismissLogEventPolicy added in v1.21.0

func DismissLogEventPolicy(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (data_ *DismissLogEventPolicyResponse, err_ error)

Mutation to dismiss a log event policy from pending review

func (*DismissLogEventPolicyResponse) GetDismissLogEventPolicy added in v1.21.0

GetDismissLogEventPolicy returns DismissLogEventPolicyResponse.DismissLogEventPolicy, 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

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

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

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

GetDatadogAccount returns GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount.DatadogAccount, and is useful for accessing the field via an interface.

func (*GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetId

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

GetId returns GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount.Id, and is useful for accessing the field via an interface.

func (*GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetName

GetName returns GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount.Name, and is useful for accessing the field via an interface.

func (*GetAccountAccountsAccountConnectionEdgesAccountEdgeNodeAccountDatadogAccount) GetSite

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 GetAccount(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (data_ *GetAccountResponse, err_ error)

func (*GetAccountResponse) GetAccounts

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

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

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.
	// Returns null if cache has not been populated yet.
	Status *GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache `json:"status"`
}

GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount includes the requested fields of the GraphQL type DatadogAccount.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount) GetId

GetId returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount.Id, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount) GetStatus

GetStatus returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccount.Status, and is useful for accessing the field via an interface.

type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache added in v1.15.0

type GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache struct {
	// Overall health of the Datadog account. DISABLED (integration turned off), INACTIVE (no data received), OK (healthy).
	Health                                 DatadogAccountStatusCacheHealth `json:"health"`
	ReadyForUse                            bool                            `json:"readyForUse"`
	LogEventCount                          int                             `json:"logEventCount"`
	LogEventAnalyzedCount                  int                             `json:"logEventAnalyzedCount"`
	LogServiceCount                        int                             `json:"logServiceCount"`
	LogActiveServices                      int                             `json:"logActiveServices"`
	DisabledServices                       int                             `json:"disabledServices"`
	InactiveServices                       int                             `json:"inactiveServices"`
	OkServices                             int                             `json:"okServices"`
	PolicyPendingCount                     int                             `json:"policyPendingCount"`
	PolicyApprovedCount                    int                             `json:"policyApprovedCount"`
	PolicyDismissedCount                   int                             `json:"policyDismissedCount"`
	ServiceVolumePerHour                   *float64                        `json:"serviceVolumePerHour"`
	ServiceCostPerHourVolumeUsd            *float64                        `json:"serviceCostPerHourVolumeUsd"`
	LogEventVolumePerHour                  *float64                        `json:"logEventVolumePerHour"`
	LogEventBytesPerHour                   *float64                        `json:"logEventBytesPerHour"`
	LogEventCostPerHourBytesUsd            *float64                        `json:"logEventCostPerHourBytesUsd"`
	LogEventCostPerHourVolumeUsd           *float64                        `json:"logEventCostPerHourVolumeUsd"`
	LogEventCostPerHourUsd                 *float64                        `json:"logEventCostPerHourUsd"`
	EstimatedVolumeReductionPerHour        *float64                        `json:"estimatedVolumeReductionPerHour"`
	EstimatedBytesReductionPerHour         *float64                        `json:"estimatedBytesReductionPerHour"`
	EstimatedCostReductionPerHourBytesUsd  *float64                        `json:"estimatedCostReductionPerHourBytesUsd"`
	EstimatedCostReductionPerHourVolumeUsd *float64                        `json:"estimatedCostReductionPerHourVolumeUsd"`
	EstimatedCostReductionPerHourUsd       *float64                        `json:"estimatedCostReductionPerHourUsd"`
	ObservedVolumePerHourBefore            *float64                        `json:"observedVolumePerHourBefore"`
	ObservedVolumePerHourAfter             *float64                        `json:"observedVolumePerHourAfter"`
	ObservedBytesPerHourBefore             *float64                        `json:"observedBytesPerHourBefore"`
	ObservedBytesPerHourAfter              *float64                        `json:"observedBytesPerHourAfter"`
	ObservedCostPerHourBeforeBytesUsd      *float64                        `json:"observedCostPerHourBeforeBytesUsd"`
	ObservedCostPerHourBeforeVolumeUsd     *float64                        `json:"observedCostPerHourBeforeVolumeUsd"`
	ObservedCostPerHourBeforeUsd           *float64                        `json:"observedCostPerHourBeforeUsd"`
	ObservedCostPerHourAfterBytesUsd       *float64                        `json:"observedCostPerHourAfterBytesUsd"`
	ObservedCostPerHourAfterVolumeUsd      *float64                        `json:"observedCostPerHourAfterVolumeUsd"`
	ObservedCostPerHourAfterUsd            *float64                        `json:"observedCostPerHourAfterUsd"`
}

GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache includes the requested fields of the GraphQL type DatadogAccountStatusCache.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetDisabledServices added in v1.15.0

GetDisabledServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.DisabledServices, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetEstimatedBytesReductionPerHour added in v1.15.0

GetEstimatedBytesReductionPerHour returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.EstimatedBytesReductionPerHour, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetEstimatedCostReductionPerHourBytesUsd added in v1.15.0

GetEstimatedCostReductionPerHourBytesUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.EstimatedCostReductionPerHourBytesUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetEstimatedCostReductionPerHourUsd added in v1.15.0

GetEstimatedCostReductionPerHourUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.EstimatedCostReductionPerHourUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetEstimatedCostReductionPerHourVolumeUsd added in v1.15.0

GetEstimatedCostReductionPerHourVolumeUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.EstimatedCostReductionPerHourVolumeUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetEstimatedVolumeReductionPerHour added in v1.15.0

GetEstimatedVolumeReductionPerHour returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.EstimatedVolumeReductionPerHour, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetHealth added in v1.15.0

GetHealth returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.Health, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetInactiveServices added in v1.15.0

GetInactiveServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.InactiveServices, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetLogActiveServices added in v1.15.0

GetLogActiveServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.LogActiveServices, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetLogEventAnalyzedCount added in v1.15.0

GetLogEventAnalyzedCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.LogEventAnalyzedCount, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetLogEventBytesPerHour added in v1.15.0

GetLogEventBytesPerHour returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.LogEventBytesPerHour, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetLogEventCostPerHourBytesUsd added in v1.15.0

GetLogEventCostPerHourBytesUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.LogEventCostPerHourBytesUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetLogEventCostPerHourUsd added in v1.15.0

GetLogEventCostPerHourUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.LogEventCostPerHourUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetLogEventCostPerHourVolumeUsd added in v1.15.0

GetLogEventCostPerHourVolumeUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.LogEventCostPerHourVolumeUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetLogEventCount added in v1.15.0

GetLogEventCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.LogEventCount, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetLogEventVolumePerHour added in v1.15.0

GetLogEventVolumePerHour returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.LogEventVolumePerHour, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetLogServiceCount added in v1.15.0

GetLogServiceCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.LogServiceCount, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedBytesPerHourAfter added in v1.15.0

GetObservedBytesPerHourAfter returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedBytesPerHourAfter, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedBytesPerHourBefore added in v1.15.0

GetObservedBytesPerHourBefore returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedBytesPerHourBefore, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedCostPerHourAfterBytesUsd added in v1.15.0

GetObservedCostPerHourAfterBytesUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedCostPerHourAfterBytesUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedCostPerHourAfterUsd added in v1.15.0

GetObservedCostPerHourAfterUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedCostPerHourAfterUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedCostPerHourAfterVolumeUsd added in v1.15.0

GetObservedCostPerHourAfterVolumeUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedCostPerHourAfterVolumeUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedCostPerHourBeforeBytesUsd added in v1.15.0

GetObservedCostPerHourBeforeBytesUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedCostPerHourBeforeBytesUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedCostPerHourBeforeUsd added in v1.15.0

GetObservedCostPerHourBeforeUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedCostPerHourBeforeUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedCostPerHourBeforeVolumeUsd added in v1.15.0

GetObservedCostPerHourBeforeVolumeUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedCostPerHourBeforeVolumeUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedVolumePerHourAfter added in v1.15.0

GetObservedVolumePerHourAfter returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedVolumePerHourAfter, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetObservedVolumePerHourBefore added in v1.15.0

GetObservedVolumePerHourBefore returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ObservedVolumePerHourBefore, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetOkServices added in v1.15.0

GetOkServices returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.OkServices, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetPolicyApprovedCount added in v1.15.0

GetPolicyApprovedCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.PolicyApprovedCount, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetPolicyDismissedCount added in v1.15.0

GetPolicyDismissedCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.PolicyDismissedCount, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetPolicyPendingCount added in v1.15.0

GetPolicyPendingCount returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.PolicyPendingCount, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetReadyForUse added in v1.15.0

GetReadyForUse returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ReadyForUse, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetServiceCostPerHourVolumeUsd added in v1.15.0

GetServiceCostPerHourVolumeUsd returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ServiceCostPerHourVolumeUsd, and is useful for accessing the field via an interface.

func (*GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache) GetServiceVolumePerHour added in v1.15.0

GetServiceVolumePerHour returns GetDatadogAccountStatusDatadogAccountsDatadogAccountConnectionEdgesDatadogAccountEdgeNodeDatadogAccountStatusDatadogAccountStatusCache.ServiceVolumePerHour, 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 GetDatadogAccountStatus(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (data_ *GetDatadogAccountStatusResponse, err_ error)

func (*GetDatadogAccountStatusResponse) GetDatadogAccounts

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

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

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

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

GetCreatedAt returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.CreatedAt, and is useful for accessing the field via an interface.

func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetDescription

GetDescription returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.Description, and is useful for accessing the field via an interface.

func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetEnabled

GetEnabled returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.Enabled, and is useful for accessing the field via an interface.

func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetId

GetId returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.Id, and is useful for accessing the field via an interface.

func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetName

GetName returns GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService.Name, and is useful for accessing the field via an interface.

func (*GetServiceByNameServicesServiceConnectionEdgesServiceEdgeNodeService) GetUpdatedAt

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 GetServiceNodeDatadogAccountStatusCache GetServiceNodeDatadogLogIndex GetServiceNodeEdgeApiKey GetServiceNodeEdgeInstance GetServiceNodeLogEvent GetServiceNodeLogEventField GetServiceNodeLogEventPolicy GetServiceNodeLogEventPolicyCategoryStatusCache GetServiceNodeLogEventPolicyStatusCache GetServiceNodeLogEventStatusCache GetServiceNodeLogSample GetServiceNodeMessage GetServiceNodeOrganization GetServiceNodeService GetServiceNodeServiceStatusCache 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 GetServiceNodeDatadogAccountStatusCache added in v1.15.0

type GetServiceNodeDatadogAccountStatusCache struct {
	Typename *string `json:"__typename"`
}

GetServiceNodeDatadogAccountStatusCache includes the requested fields of the GraphQL type DatadogAccountStatusCache.

func (*GetServiceNodeDatadogAccountStatusCache) GetTypename added in v1.15.0

GetTypename returns GetServiceNodeDatadogAccountStatusCache.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 GetServiceNodeLogEventField added in v1.16.0

type GetServiceNodeLogEventField struct {
	Typename *string `json:"__typename"`
}

GetServiceNodeLogEventField includes the requested fields of the GraphQL type LogEventField.

func (*GetServiceNodeLogEventField) GetTypename added in v1.16.0

func (v *GetServiceNodeLogEventField) GetTypename() *string

GetTypename returns GetServiceNodeLogEventField.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 GetServiceNodeLogEventPolicyCategoryStatusCache added in v1.18.0

type GetServiceNodeLogEventPolicyCategoryStatusCache struct {
	Typename *string `json:"__typename"`
}

GetServiceNodeLogEventPolicyCategoryStatusCache includes the requested fields of the GraphQL type LogEventPolicyCategoryStatusCache.

func (*GetServiceNodeLogEventPolicyCategoryStatusCache) GetTypename added in v1.18.0

GetTypename returns GetServiceNodeLogEventPolicyCategoryStatusCache.Typename, and is useful for accessing the field via an interface.

type GetServiceNodeLogEventPolicyStatusCache added in v1.16.0

type GetServiceNodeLogEventPolicyStatusCache struct {
	Typename *string `json:"__typename"`
}

GetServiceNodeLogEventPolicyStatusCache includes the requested fields of the GraphQL type LogEventPolicyStatusCache.

func (*GetServiceNodeLogEventPolicyStatusCache) GetTypename added in v1.16.0

GetTypename returns GetServiceNodeLogEventPolicyStatusCache.Typename, and is useful for accessing the field via an interface.

type GetServiceNodeLogEventStatusCache added in v1.15.0

type GetServiceNodeLogEventStatusCache struct {
	Typename *string `json:"__typename"`
}

GetServiceNodeLogEventStatusCache includes the requested fields of the GraphQL type LogEventStatusCache.

func (*GetServiceNodeLogEventStatusCache) GetTypename added in v1.15.0

func (v *GetServiceNodeLogEventStatusCache) GetTypename() *string

GetTypename returns GetServiceNodeLogEventStatusCache.Typename, and is useful for accessing the field via an interface.

type GetServiceNodeLogSample added in v1.15.0

type GetServiceNodeLogSample struct {
	Typename *string `json:"__typename"`
}

GetServiceNodeLogSample includes the requested fields of the GraphQL type LogSample.

func (*GetServiceNodeLogSample) GetTypename added in v1.15.0

func (v *GetServiceNodeLogSample) GetTypename() *string

GetTypename returns GetServiceNodeLogSample.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

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

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

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 the event is and what data instances carry. Helps engineers decide whether to look here.
	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

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

GetId returns GetServiceNodeServiceLogEventsLogEvent.Id, and is useful for accessing the field via an interface.

func (*GetServiceNodeServiceLogEventsLogEvent) GetName

GetName returns GetServiceNodeServiceLogEventsLogEvent.Name, and is useful for accessing the field via an interface.

type GetServiceNodeServiceStatusCache added in v1.15.0

type GetServiceNodeServiceStatusCache struct {
	Typename *string `json:"__typename"`
}

GetServiceNodeServiceStatusCache includes the requested fields of the GraphQL type ServiceStatusCache.

func (*GetServiceNodeServiceStatusCache) GetTypename added in v1.15.0

func (v *GetServiceNodeServiceStatusCache) GetTypename() *string

GetTypename returns GetServiceNodeServiceStatusCache.Typename, 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

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

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

GetCreatedAt returns ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount.CreatedAt, and is useful for accessing the field via an interface.

func (*ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetId

GetId returns ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount.Id, and is useful for accessing the field via an interface.

func (*ListAccountsAccountsAccountConnectionEdgesAccountEdgeNodeAccount) GetName

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 ListAccounts(
	ctx_ context.Context,
	client_ graphql.Client,
	organizationID string,
) (data_ *ListAccountsResponse, err_ error)

func (*ListAccountsResponse) GetAccounts

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

GetEdges returns ListOrganizationsOrganizationsOrganizationConnection.Edges, and is useful for accessing the field via an interface.

func (*ListOrganizationsOrganizationsOrganizationConnection) GetTotalCount

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

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

GetCreatedAt returns ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization.CreatedAt, and is useful for accessing the field via an interface.

func (*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetId

GetId returns ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization.Id, and is useful for accessing the field via an interface.

func (*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetName

GetName returns ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization.Name, and is useful for accessing the field via an interface.

func (*ListOrganizationsOrganizationsOrganizationConnectionEdgesOrganizationEdgeNodeOrganization) GetWorkosOrganizationID

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 ListOrganizations(
	ctx_ context.Context,
	client_ graphql.Client,
) (data_ *ListOrganizationsResponse, err_ error)

func (*ListOrganizationsResponse) GetOrganizations

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

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

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

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

GetCreatedAt returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.CreatedAt, and is useful for accessing the field via an interface.

func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetDescription

GetDescription returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.Description, and is useful for accessing the field via an interface.

func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetEnabled

GetEnabled returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.Enabled, and is useful for accessing the field via an interface.

func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetId

GetId returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.Id, and is useful for accessing the field via an interface.

func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetName

GetName returns ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService.Name, and is useful for accessing the field via an interface.

func (*ListServicesServicesServiceConnectionEdgesServiceEdgeNodeService) GetUpdatedAt

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 ListWorkspaces(
	ctx_ context.Context,
	client_ graphql.Client,
	accountID string,
) (data_ *ListWorkspacesResponse, err_ error)

func (*ListWorkspacesResponse) GetWorkspaces

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

GetEdges returns ListWorkspacesWorkspacesWorkspaceConnection.Edges, and is useful for accessing the field via an interface.

func (*ListWorkspacesWorkspacesWorkspaceConnection) GetTotalCount

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

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

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

GetName returns ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace.Name, and is useful for accessing the field via an interface.

func (*ListWorkspacesWorkspacesWorkspaceConnectionEdgesWorkspaceEdgeNodeWorkspace) GetPurpose

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

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

GetId returns UpdateConversationUpdateConversation.Id, and is useful for accessing the field via an interface.

func (*UpdateConversationUpdateConversation) GetTitle

GetTitle returns UpdateConversationUpdateConversation.Title, and is useful for accessing the field via an interface.

func (*UpdateConversationUpdateConversation) GetUpdatedAt

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

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

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

GetError returns ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult.Error, and is useful for accessing the field via an interface.

func (*ValidateDatadogApiKeyValidateDatadogApiKeyValidateDatadogApiKeyResult) GetValid

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

Jump to

Keyboard shortcuts

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