operations

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SupportedOptionRetries              = "retries"
	SupportedOptionTimeout              = "timeout"
	SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride"
	SupportedOptionURLOverride          = "urlOverride"
)

Variables

View Source
var ErrUnsupportedOption = errors.New("unsupported option")

Functions

This section is empty.

Types

type AcceptHeaderEnum

type AcceptHeaderEnum string
const (
	AcceptHeaderEnumWildcardRootWildcard AcceptHeaderEnum = "*/*"
	AcceptHeaderEnumApplicationJson      AcceptHeaderEnum = "application/json"
	AcceptHeaderEnumTextPlain            AcceptHeaderEnum = "text/plain"
	AcceptHeaderEnumTextEventStream      AcceptHeaderEnum = "text/event-stream"
	AcceptHeaderEnumTextCsv              AcceptHeaderEnum = "text/csv"
)

func (AcceptHeaderEnum) ToPointer

func (e AcceptHeaderEnum) ToPointer() *AcceptHeaderEnum

type ActivityResponse

type ActivityResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*ActivityResponse) GetHTTPMeta

func (a *ActivityResponse) GetHTTPMeta() components.HTTPMetadata

type AddcollectionitemsResponse

type AddcollectionitemsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	AddCollectionItemsResponse *components.AddCollectionItemsResponse
}

func (*AddcollectionitemsResponse) GetAddCollectionItemsResponse

func (a *AddcollectionitemsResponse) GetAddCollectionItemsResponse() *components.AddCollectionItemsResponse

func (*AddcollectionitemsResponse) GetHTTPMeta

type AddverificationreminderResponse

type AddverificationreminderResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	Verification *components.Verification
}

func (*AddverificationreminderResponse) GetHTTPMeta

func (*AddverificationreminderResponse) GetVerification

type AdminsearchResponse

type AdminsearchResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	SearchResponse *components.SearchResponse
}

func (*AdminsearchResponse) GetHTTPMeta

func (a *AdminsearchResponse) GetHTTPMeta() components.HTTPMetadata

func (*AdminsearchResponse) GetSearchResponse

func (a *AdminsearchResponse) GetSearchResponse() *components.SearchResponse

type AutocompleteResponse

type AutocompleteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	AutocompleteResponse *components.AutocompleteResponse
}

func (*AutocompleteResponse) GetAutocompleteResponse

func (a *AutocompleteResponse) GetAutocompleteResponse() *components.AutocompleteResponse

func (*AutocompleteResponse) GetHTTPMeta

func (a *AutocompleteResponse) GetHTTPMeta() components.HTTPMetadata

type ChatRequest

type ChatRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset *int64 `queryParam:"style=form,explode=true,name=timezoneOffset"`
	// Includes chat history for Glean AI to respond to.
	ChatRequest components.ChatRequest `request:"mediaType=application/json"`
}

func (*ChatRequest) GetChatRequest

func (c *ChatRequest) GetChatRequest() components.ChatRequest

func (*ChatRequest) GetTimezoneOffset

func (c *ChatRequest) GetTimezoneOffset() *int64

type ChatResponse

type ChatResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ChatResponse *components.ChatResponse
}

func (*ChatResponse) GetChatResponse

func (c *ChatResponse) GetChatResponse() *components.ChatResponse

func (*ChatResponse) GetHTTPMeta

func (c *ChatResponse) GetHTTPMeta() components.HTTPMetadata

type ChatStreamRequest

type ChatStreamRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset *int64 `queryParam:"style=form,explode=true,name=timezoneOffset"`
	// Includes chat history for Glean AI to respond to.
	ChatRequest components.ChatRequest `request:"mediaType=application/json"`
}

func (*ChatStreamRequest) GetChatRequest

func (c *ChatStreamRequest) GetChatRequest() components.ChatRequest

func (*ChatStreamRequest) GetTimezoneOffset

func (c *ChatStreamRequest) GetTimezoneOffset() *int64

type ChatStreamResponse

type ChatStreamResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ChatRequestStream *string
}

func (*ChatStreamResponse) GetChatRequestStream

func (c *ChatStreamResponse) GetChatRequestStream() *string

func (*ChatStreamResponse) GetHTTPMeta

func (c *ChatStreamResponse) GetHTTPMeta() components.HTTPMetadata

type CreateAndStreamRunResponse

type CreateAndStreamRunResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Success
	Res *string
}

func (*CreateAndStreamRunResponse) GetHTTPMeta

func (*CreateAndStreamRunResponse) GetRes

func (c *CreateAndStreamRunResponse) GetRes() *string

type CreateAndWaitRunResponse

type CreateAndWaitRunResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Success
	AgentRunWaitResponse *components.AgentRunWaitResponse
}

func (*CreateAndWaitRunResponse) GetAgentRunWaitResponse

func (c *CreateAndWaitRunResponse) GetAgentRunWaitResponse() *components.AgentRunWaitResponse

func (*CreateAndWaitRunResponse) GetHTTPMeta

type CreateannouncementResponse

type CreateannouncementResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	Announcement *components.Announcement
}

func (*CreateannouncementResponse) GetAnnouncement

func (c *CreateannouncementResponse) GetAnnouncement() *components.Announcement

func (*CreateannouncementResponse) GetHTTPMeta

type CreateanswerResponse

type CreateanswerResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	Answer *components.Answer
}

func (*CreateanswerResponse) GetAnswer

func (c *CreateanswerResponse) GetAnswer() *components.Answer

func (*CreateanswerResponse) GetHTTPMeta

func (c *CreateanswerResponse) GetHTTPMeta() components.HTTPMetadata

type CreateauthtokenResponse

type CreateauthtokenResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	CreateAuthTokenResponse *components.CreateAuthTokenResponse
}

func (*CreateauthtokenResponse) GetCreateAuthTokenResponse

func (c *CreateauthtokenResponse) GetCreateAuthTokenResponse() *components.CreateAuthTokenResponse

func (*CreateauthtokenResponse) GetHTTPMeta

type CreatecollectionResponse

type CreatecollectionResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	OneOf *CreatecollectionResponseBody
}

func (*CreatecollectionResponse) GetHTTPMeta

func (*CreatecollectionResponse) GetOneOf added in v0.9.0

type CreatecollectionResponseBody added in v0.9.0

type CreatecollectionResponseBody struct {
	ResponseBody1 *ResponseBody1 `queryParam:"inline,name=ResponseBody"`
	ResponseBody2 *ResponseBody2 `queryParam:"inline,name=ResponseBody"`

	Type CreatecollectionResponseBodyType
}

CreatecollectionResponseBody - OK

func CreateCreatecollectionResponseBodyResponseBody1 added in v0.9.0

func CreateCreatecollectionResponseBodyResponseBody1(responseBody1 ResponseBody1) CreatecollectionResponseBody

func CreateCreatecollectionResponseBodyResponseBody2 added in v0.9.0

func CreateCreatecollectionResponseBodyResponseBody2(responseBody2 ResponseBody2) CreatecollectionResponseBody

func (CreatecollectionResponseBody) MarshalJSON added in v0.9.0

func (u CreatecollectionResponseBody) MarshalJSON() ([]byte, error)

func (*CreatecollectionResponseBody) UnmarshalJSON added in v0.9.0

func (u *CreatecollectionResponseBody) UnmarshalJSON(data []byte) error

type CreatecollectionResponseBodyType added in v0.9.0

type CreatecollectionResponseBodyType string
const (
	CreatecollectionResponseBodyTypeResponseBody1 CreatecollectionResponseBodyType = "ResponseBody_1"
	CreatecollectionResponseBodyTypeResponseBody2 CreatecollectionResponseBodyType = "ResponseBody_2"
)

type CreatepolicyResponse

type CreatepolicyResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	CreateDlpReportResponse *components.CreateDlpReportResponse
}

func (*CreatepolicyResponse) GetCreateDlpReportResponse

func (c *CreatepolicyResponse) GetCreateDlpReportResponse() *components.CreateDlpReportResponse

func (*CreatepolicyResponse) GetHTTPMeta

func (c *CreatepolicyResponse) GetHTTPMeta() components.HTTPMetadata

type CreatereportResponse

type CreatereportResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	UpdateDlpConfigResponse *components.UpdateDlpConfigResponse
}

func (*CreatereportResponse) GetHTTPMeta

func (c *CreatereportResponse) GetHTTPMeta() components.HTTPMetadata

func (*CreatereportResponse) GetUpdateDlpConfigResponse

func (c *CreatereportResponse) GetUpdateDlpConfigResponse() *components.UpdateDlpConfigResponse

type CreateshortcutResponse

type CreateshortcutResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	CreateShortcutResponse *components.CreateShortcutResponse
}

func (*CreateshortcutResponse) GetCreateShortcutResponse

func (c *CreateshortcutResponse) GetCreateShortcutResponse() *components.CreateShortcutResponse

func (*CreateshortcutResponse) GetHTTPMeta

type DeleteallchatsRequest

type DeleteallchatsRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset *int64 `queryParam:"style=form,explode=true,name=timezoneOffset"`
}

func (*DeleteallchatsRequest) GetTimezoneOffset

func (d *DeleteallchatsRequest) GetTimezoneOffset() *int64

type DeleteallchatsResponse

type DeleteallchatsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*DeleteallchatsResponse) GetHTTPMeta

type DeleteannouncementResponse

type DeleteannouncementResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*DeleteannouncementResponse) GetHTTPMeta

type DeleteanswerResponse

type DeleteanswerResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*DeleteanswerResponse) GetHTTPMeta

func (d *DeleteanswerResponse) GetHTTPMeta() components.HTTPMetadata

type DeletechatfilesRequest

type DeletechatfilesRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset         *int64                            `queryParam:"style=form,explode=true,name=timezoneOffset"`
	DeleteChatFilesRequest components.DeleteChatFilesRequest `request:"mediaType=application/json"`
}

func (*DeletechatfilesRequest) GetDeleteChatFilesRequest

func (d *DeletechatfilesRequest) GetDeleteChatFilesRequest() components.DeleteChatFilesRequest

func (*DeletechatfilesRequest) GetTimezoneOffset

func (d *DeletechatfilesRequest) GetTimezoneOffset() *int64

type DeletechatfilesResponse

type DeletechatfilesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*DeletechatfilesResponse) GetHTTPMeta

type DeletechatsRequest

type DeletechatsRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset     *int64                        `queryParam:"style=form,explode=true,name=timezoneOffset"`
	DeleteChatsRequest components.DeleteChatsRequest `request:"mediaType=application/json"`
}

func (*DeletechatsRequest) GetDeleteChatsRequest

func (d *DeletechatsRequest) GetDeleteChatsRequest() components.DeleteChatsRequest

func (*DeletechatsRequest) GetTimezoneOffset

func (d *DeletechatsRequest) GetTimezoneOffset() *int64

type DeletechatsResponse

type DeletechatsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*DeletechatsResponse) GetHTTPMeta

func (d *DeletechatsResponse) GetHTTPMeta() components.HTTPMetadata

type DeletecollectionResponse

type DeletecollectionResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*DeletecollectionResponse) GetHTTPMeta

type DeletecollectionitemResponse

type DeletecollectionitemResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	DeleteCollectionItemResponse *components.DeleteCollectionItemResponse
}

func (*DeletecollectionitemResponse) GetDeleteCollectionItemResponse

func (d *DeletecollectionitemResponse) GetDeleteCollectionItemResponse() *components.DeleteCollectionItemResponse

func (*DeletecollectionitemResponse) GetHTTPMeta

type DeleteshortcutResponse

type DeleteshortcutResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*DeleteshortcutResponse) GetHTTPMeta

type DownloadpolicycsvRequest

type DownloadpolicycsvRequest struct {
	// The id of the policy to download violations for.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DownloadpolicycsvRequest) GetID

func (d *DownloadpolicycsvRequest) GetID() string

type DownloadpolicycsvResponse

type DownloadpolicycsvResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Downloads csv of batch policy violations.
	Res *string
}

func (*DownloadpolicycsvResponse) GetHTTPMeta

func (*DownloadpolicycsvResponse) GetRes

func (d *DownloadpolicycsvResponse) GetRes() *string

type DownloadreportcsvRequest

type DownloadreportcsvRequest struct {
	// The id of the report to download violations for.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*DownloadreportcsvRequest) GetID

func (d *DownloadreportcsvRequest) GetID() string

type DownloadreportcsvResponse

type DownloadreportcsvResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Downloads csv of one-time report violations.
	Res *string
}

func (*DownloadreportcsvResponse) GetHTTPMeta

func (*DownloadreportcsvResponse) GetRes

func (d *DownloadreportcsvResponse) GetRes() *string

type EditanswerResponse

type EditanswerResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	Answer *components.Answer
}

func (*EditanswerResponse) GetAnswer

func (e *EditanswerResponse) GetAnswer() *components.Answer

func (*EditanswerResponse) GetHTTPMeta

func (e *EditanswerResponse) GetHTTPMeta() components.HTTPMetadata

type EditcollectionResponse

type EditcollectionResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	EditCollectionResponse *components.EditCollectionResponse
}

func (*EditcollectionResponse) GetEditCollectionResponse

func (e *EditcollectionResponse) GetEditCollectionResponse() *components.EditCollectionResponse

func (*EditcollectionResponse) GetHTTPMeta

type EditcollectionitemResponse

type EditcollectionitemResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	EditCollectionItemResponse *components.EditCollectionItemResponse
}

func (*EditcollectionitemResponse) GetEditCollectionItemResponse

func (e *EditcollectionitemResponse) GetEditCollectionItemResponse() *components.EditCollectionItemResponse

func (*EditcollectionitemResponse) GetHTTPMeta

type EditpinResponse

type EditpinResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	PinDocument *components.PinDocument
}

func (*EditpinResponse) GetHTTPMeta

func (e *EditpinResponse) GetHTTPMeta() components.HTTPMetadata

func (*EditpinResponse) GetPinDocument

func (e *EditpinResponse) GetPinDocument() *components.PinDocument

type FeedResponse

type FeedResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	FeedResponse *components.FeedResponse
}

func (*FeedResponse) GetFeedResponse

func (f *FeedResponse) GetFeedResponse() *components.FeedResponse

func (*FeedResponse) GetHTTPMeta

func (f *FeedResponse) GetHTTPMeta() components.HTTPMetadata

type FeedbackRequest

type FeedbackRequest struct {
	// A URL encoded versions of Feedback. This is useful for requests.
	FeedbackQueryParameter *string              `queryParam:"style=form,explode=true,name=feedback"`
	Feedback1              *components.Feedback `request:"mediaType=application/json"`
}

func (*FeedbackRequest) GetFeedback1

func (f *FeedbackRequest) GetFeedback1() *components.Feedback

func (*FeedbackRequest) GetFeedbackQueryParameter

func (f *FeedbackRequest) GetFeedbackQueryParameter() *string

type FeedbackResponse

type FeedbackResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*FeedbackResponse) GetHTTPMeta

func (f *FeedbackResponse) GetHTTPMeta() components.HTTPMetadata

type GetAgentRequest

type GetAgentRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset *int64 `queryParam:"style=form,explode=true,name=timezoneOffset"`
	// The ID of the agent.
	AgentID string `pathParam:"style=simple,explode=false,name=agent_id"`
}

func (*GetAgentRequest) GetAgentID

func (g *GetAgentRequest) GetAgentID() string

func (*GetAgentRequest) GetTimezoneOffset

func (g *GetAgentRequest) GetTimezoneOffset() *int64

type GetAgentResponse

type GetAgentResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Success
	Agent *components.Agent
}

func (*GetAgentResponse) GetAgent

func (g *GetAgentResponse) GetAgent() *components.Agent

func (*GetAgentResponse) GetHTTPMeta

func (g *GetAgentResponse) GetHTTPMeta() components.HTTPMetadata

type GetAgentSchemasRequest

type GetAgentSchemasRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset *int64 `queryParam:"style=form,explode=true,name=timezoneOffset"`
	// The ID of the agent.
	AgentID string `pathParam:"style=simple,explode=false,name=agent_id"`
}

func (*GetAgentSchemasRequest) GetAgentID

func (g *GetAgentSchemasRequest) GetAgentID() string

func (*GetAgentSchemasRequest) GetTimezoneOffset

func (g *GetAgentSchemasRequest) GetTimezoneOffset() *int64

type GetAgentSchemasResponse

type GetAgentSchemasResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Success
	AgentSchemas *components.AgentSchemas
}

func (*GetAgentSchemasResponse) GetAgentSchemas

func (g *GetAgentSchemasResponse) GetAgentSchemas() *components.AgentSchemas

func (*GetAgentSchemasResponse) GetHTTPMeta

type GetRestAPIV1ToolsListRequest added in v0.4.3

type GetRestAPIV1ToolsListRequest struct {
	// Optional array of tool names to filter by
	ToolNames []string `queryParam:"style=form,explode=false,name=toolNames"`
}

func (*GetRestAPIV1ToolsListRequest) GetToolNames added in v0.4.3

func (g *GetRestAPIV1ToolsListRequest) GetToolNames() []string

type GetRestAPIV1ToolsListResponse added in v0.4.3

type GetRestAPIV1ToolsListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful operation
	ToolsListResponse *components.ToolsListResponse
}

func (*GetRestAPIV1ToolsListResponse) GetHTTPMeta added in v0.4.3

func (*GetRestAPIV1ToolsListResponse) GetToolsListResponse added in v0.4.3

func (g *GetRestAPIV1ToolsListResponse) GetToolsListResponse() *components.ToolsListResponse

type GetanswerResponse

type GetanswerResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetAnswerResponse *components.GetAnswerResponse
}

func (*GetanswerResponse) GetGetAnswerResponse

func (g *GetanswerResponse) GetGetAnswerResponse() *components.GetAnswerResponse

func (*GetanswerResponse) GetHTTPMeta

func (g *GetanswerResponse) GetHTTPMeta() components.HTTPMetadata

type GetchatRequest

type GetchatRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset *int64                    `queryParam:"style=form,explode=true,name=timezoneOffset"`
	GetChatRequest components.GetChatRequest `request:"mediaType=application/json"`
}

func (*GetchatRequest) GetGetChatRequest

func (g *GetchatRequest) GetGetChatRequest() components.GetChatRequest

func (*GetchatRequest) GetTimezoneOffset

func (g *GetchatRequest) GetTimezoneOffset() *int64

type GetchatResponse

type GetchatResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetChatResponse *components.GetChatResponse
}

func (*GetchatResponse) GetGetChatResponse

func (g *GetchatResponse) GetGetChatResponse() *components.GetChatResponse

func (*GetchatResponse) GetHTTPMeta

func (g *GetchatResponse) GetHTTPMeta() components.HTTPMetadata

type GetchatapplicationRequest

type GetchatapplicationRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset            *int64                               `queryParam:"style=form,explode=true,name=timezoneOffset"`
	GetChatApplicationRequest components.GetChatApplicationRequest `request:"mediaType=application/json"`
}

func (*GetchatapplicationRequest) GetGetChatApplicationRequest

func (g *GetchatapplicationRequest) GetGetChatApplicationRequest() components.GetChatApplicationRequest

func (*GetchatapplicationRequest) GetTimezoneOffset

func (g *GetchatapplicationRequest) GetTimezoneOffset() *int64

type GetchatapplicationResponse

type GetchatapplicationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetChatApplicationResponse *components.GetChatApplicationResponse
}

func (*GetchatapplicationResponse) GetGetChatApplicationResponse

func (g *GetchatapplicationResponse) GetGetChatApplicationResponse() *components.GetChatApplicationResponse

func (*GetchatapplicationResponse) GetHTTPMeta

type GetchatfilesRequest

type GetchatfilesRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset      *int64                         `queryParam:"style=form,explode=true,name=timezoneOffset"`
	GetChatFilesRequest components.GetChatFilesRequest `request:"mediaType=application/json"`
}

func (*GetchatfilesRequest) GetGetChatFilesRequest

func (g *GetchatfilesRequest) GetGetChatFilesRequest() components.GetChatFilesRequest

func (*GetchatfilesRequest) GetTimezoneOffset

func (g *GetchatfilesRequest) GetTimezoneOffset() *int64

type GetchatfilesResponse

type GetchatfilesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetChatFilesResponse *components.GetChatFilesResponse
}

func (*GetchatfilesResponse) GetGetChatFilesResponse

func (g *GetchatfilesResponse) GetGetChatFilesResponse() *components.GetChatFilesResponse

func (*GetchatfilesResponse) GetHTTPMeta

func (g *GetchatfilesResponse) GetHTTPMeta() components.HTTPMetadata

type GetcollectionResponse

type GetcollectionResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetCollectionResponse *components.GetCollectionResponse
}

func (*GetcollectionResponse) GetGetCollectionResponse

func (g *GetcollectionResponse) GetGetCollectionResponse() *components.GetCollectionResponse

func (*GetcollectionResponse) GetHTTPMeta

type GetdocpermissionsResponse

type GetdocpermissionsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetDocPermissionsResponse *components.GetDocPermissionsResponse
}

func (*GetdocpermissionsResponse) GetGetDocPermissionsResponse

func (g *GetdocpermissionsResponse) GetGetDocPermissionsResponse() *components.GetDocPermissionsResponse

func (*GetdocpermissionsResponse) GetHTTPMeta

type GetdocumentsResponse

type GetdocumentsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetDocumentsResponse *components.GetDocumentsResponse
}

func (*GetdocumentsResponse) GetGetDocumentsResponse

func (g *GetdocumentsResponse) GetGetDocumentsResponse() *components.GetDocumentsResponse

func (*GetdocumentsResponse) GetHTTPMeta

func (g *GetdocumentsResponse) GetHTTPMeta() components.HTTPMetadata

type GetdocumentsbyfacetsResponse

type GetdocumentsbyfacetsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetDocumentsByFacetsResponse *components.GetDocumentsByFacetsResponse
}

func (*GetdocumentsbyfacetsResponse) GetGetDocumentsByFacetsResponse

func (g *GetdocumentsbyfacetsResponse) GetGetDocumentsByFacetsResponse() *components.GetDocumentsByFacetsResponse

func (*GetdocumentsbyfacetsResponse) GetHTTPMeta

type GetdocvisibilityRequest

type GetdocvisibilityRequest struct {
	// List of doc-ids which will have their hide status fetched.
	DocIds []string `queryParam:"style=form,explode=true,name=docIds"`
}

func (*GetdocvisibilityRequest) GetDocIds

func (g *GetdocvisibilityRequest) GetDocIds() []string

type GetdocvisibilityResponse

type GetdocvisibilityResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// The visibility status of documents
	GetDocumentVisibilityOverridesResponse *components.GetDocumentVisibilityOverridesResponse
}

func (*GetdocvisibilityResponse) GetGetDocumentVisibilityOverridesResponse

func (g *GetdocvisibilityResponse) GetGetDocumentVisibilityOverridesResponse() *components.GetDocumentVisibilityOverridesResponse

func (*GetdocvisibilityResponse) GetHTTPMeta

type GetpinResponse

type GetpinResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetPinResponse *components.GetPinResponse
}

func (*GetpinResponse) GetGetPinResponse

func (g *GetpinResponse) GetGetPinResponse() *components.GetPinResponse

func (*GetpinResponse) GetHTTPMeta

func (g *GetpinResponse) GetHTTPMeta() components.HTTPMetadata

type GetpolicyRequest

type GetpolicyRequest struct {
	// The id of the policy to fetch.
	ID string `pathParam:"style=simple,explode=false,name=id"`
	// The version of the policy to fetch. Each time a policy is updated, the older version is still stored. If this is left empty, the latest policy is fetched.
	Version *int64 `queryParam:"style=form,explode=true,name=version"`
}

func (*GetpolicyRequest) GetID

func (g *GetpolicyRequest) GetID() string

func (*GetpolicyRequest) GetVersion

func (g *GetpolicyRequest) GetVersion() *int64

type GetpolicyResponse

type GetpolicyResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetDlpReportResponse *components.GetDlpReportResponse
}

func (*GetpolicyResponse) GetGetDlpReportResponse

func (g *GetpolicyResponse) GetGetDlpReportResponse() *components.GetDlpReportResponse

func (*GetpolicyResponse) GetHTTPMeta

func (g *GetpolicyResponse) GetHTTPMeta() components.HTTPMetadata

type GetreportstatusRequest

type GetreportstatusRequest struct {
	// The id of the report to get run status for.
	ID string `pathParam:"style=simple,explode=false,name=id"`
}

func (*GetreportstatusRequest) GetID

func (g *GetreportstatusRequest) GetID() string

type GetreportstatusResponse

type GetreportstatusResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Fetches status of report run.
	ReportStatusResponse *components.ReportStatusResponse
}

func (*GetreportstatusResponse) GetHTTPMeta

func (*GetreportstatusResponse) GetReportStatusResponse

func (g *GetreportstatusResponse) GetReportStatusResponse() *components.ReportStatusResponse

type GetshortcutResponse

type GetshortcutResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetShortcutResponse *components.GetShortcutResponse
}

func (*GetshortcutResponse) GetGetShortcutResponse

func (g *GetshortcutResponse) GetGetShortcutResponse() *components.GetShortcutResponse

func (*GetshortcutResponse) GetHTTPMeta

func (g *GetshortcutResponse) GetHTTPMeta() components.HTTPMetadata

type InsightsResponse

type InsightsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	InsightsResponse *components.InsightsResponse
}

func (*InsightsResponse) GetHTTPMeta

func (i *InsightsResponse) GetHTTPMeta() components.HTTPMetadata

func (*InsightsResponse) GetInsightsResponse

func (i *InsightsResponse) GetInsightsResponse() *components.InsightsResponse

type ListanswersResponse

type ListanswersResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ListAnswersResponse *components.ListAnswersResponse
}

func (*ListanswersResponse) GetHTTPMeta

func (l *ListanswersResponse) GetHTTPMeta() components.HTTPMetadata

func (*ListanswersResponse) GetListAnswersResponse

func (l *ListanswersResponse) GetListAnswersResponse() *components.ListAnswersResponse

type ListchatsRequest

type ListchatsRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset *int64 `queryParam:"style=form,explode=true,name=timezoneOffset"`
}

func (*ListchatsRequest) GetTimezoneOffset

func (l *ListchatsRequest) GetTimezoneOffset() *int64

type ListchatsResponse

type ListchatsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ListChatsResponse *components.ListChatsResponse
}

func (*ListchatsResponse) GetHTTPMeta

func (l *ListchatsResponse) GetHTTPMeta() components.HTTPMetadata

func (*ListchatsResponse) GetListChatsResponse

func (l *ListchatsResponse) GetListChatsResponse() *components.ListChatsResponse

type ListcollectionsResponse

type ListcollectionsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ListCollectionsResponse *components.ListCollectionsResponse
}

func (*ListcollectionsResponse) GetHTTPMeta

func (*ListcollectionsResponse) GetListCollectionsResponse

func (l *ListcollectionsResponse) GetListCollectionsResponse() *components.ListCollectionsResponse

type ListentitiesResponse

type ListentitiesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ListEntitiesResponse *components.ListEntitiesResponse
}

func (*ListentitiesResponse) GetHTTPMeta

func (l *ListentitiesResponse) GetHTTPMeta() components.HTTPMetadata

func (*ListentitiesResponse) GetListEntitiesResponse

func (l *ListentitiesResponse) GetListEntitiesResponse() *components.ListEntitiesResponse

type ListpinsRequest

type ListpinsRequest struct {
}

ListpinsRequest - List pins request

type ListpinsResponse

type ListpinsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ListPinsResponse *components.ListPinsResponse
}

func (*ListpinsResponse) GetHTTPMeta

func (l *ListpinsResponse) GetHTTPMeta() components.HTTPMetadata

func (*ListpinsResponse) GetListPinsResponse

func (l *ListpinsResponse) GetListPinsResponse() *components.ListPinsResponse

type ListpoliciesRequest added in v0.4.3

type ListpoliciesRequest struct {
	// Filter to return reports with a given value of auto-hide.
	AutoHide *bool `queryParam:"style=form,explode=true,name=autoHide"`
	// Filter to return reports with a given frequency.
	Frequency *string `queryParam:"style=form,explode=true,name=frequency"`
}

func (*ListpoliciesRequest) GetAutoHide added in v0.4.3

func (l *ListpoliciesRequest) GetAutoHide() *bool

func (*ListpoliciesRequest) GetFrequency added in v0.4.3

func (l *ListpoliciesRequest) GetFrequency() *string

type ListpoliciesResponse added in v0.4.3

type ListpoliciesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ListDlpReportsResponse *components.ListDlpReportsResponse
}

func (*ListpoliciesResponse) GetHTTPMeta added in v0.4.3

func (l *ListpoliciesResponse) GetHTTPMeta() components.HTTPMetadata

func (*ListpoliciesResponse) GetListDlpReportsResponse added in v0.4.3

func (l *ListpoliciesResponse) GetListDlpReportsResponse() *components.ListDlpReportsResponse

type ListshortcutsResponse

type ListshortcutsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ListShortcutsPaginatedResponse *components.ListShortcutsPaginatedResponse
}

func (*ListshortcutsResponse) GetHTTPMeta

func (*ListshortcutsResponse) GetListShortcutsPaginatedResponse

func (l *ListshortcutsResponse) GetListShortcutsPaginatedResponse() *components.ListShortcutsPaginatedResponse

type ListverificationsRequest

type ListverificationsRequest struct {
	// Maximum number of documents to return
	Count *int64 `queryParam:"style=form,explode=true,name=count"`
}

func (*ListverificationsRequest) GetCount

func (l *ListverificationsRequest) GetCount() *int64

type ListverificationsResponse

type ListverificationsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	VerificationFeed *components.VerificationFeed
}

func (*ListverificationsResponse) GetHTTPMeta

func (*ListverificationsResponse) GetVerificationFeed

func (l *ListverificationsResponse) GetVerificationFeed() *components.VerificationFeed

type MessagesResponse

type MessagesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	MessagesResponse *components.MessagesResponse
}

func (*MessagesResponse) GetHTTPMeta

func (m *MessagesResponse) GetHTTPMeta() components.HTTPMetadata

func (*MessagesResponse) GetMessagesResponse

func (m *MessagesResponse) GetMessagesResponse() *components.MessagesResponse

type Option

type Option func(*Options, ...string) error

func WithAcceptHeaderOverride

func WithAcceptHeaderOverride(acceptHeaderOverride AcceptHeaderEnum) Option

func WithOperationTimeout

func WithOperationTimeout(timeout time.Duration) Option

WithOperationTimeout allows setting the request timeout applied for an operation.

func WithRetries

func WithRetries(config retry.Config) Option

WithRetries allows customizing the default retry configuration.

func WithServerURL

func WithServerURL(serverURL string) Option

WithServerURL allows providing an alternative server URL.

func WithSetHeaders

func WithSetHeaders(hdrs map[string]string) Option

WithSetHeaders takes a map of headers that will applied to a request. If the request contains headers that are in the map then they will be overwritten.

func WithTemplatedServerURL

func WithTemplatedServerURL(serverURL string, params map[string]string) Option

WithTemplatedServerURL allows providing an alternative server URL with templated parameters.

func WithURLOverride

func WithURLOverride(urlOverride string) Option

WithURLOverride allows overriding the URL.

type Options

type Options struct {
	ServerURL            *string
	Retries              *retry.Config
	Timeout              *time.Duration
	AcceptHeaderOverride *AcceptHeaderEnum
	URLOverride          *string
	SetHeaders           map[string]string
}

type PeopleResponse

type PeopleResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	PeopleResponse *components.PeopleResponse
}

func (*PeopleResponse) GetHTTPMeta

func (p *PeopleResponse) GetHTTPMeta() components.HTTPMetadata

func (*PeopleResponse) GetPeopleResponse

func (p *PeopleResponse) GetPeopleResponse() *components.PeopleResponse

type PinResponse

type PinResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	PinDocument *components.PinDocument
}

func (*PinResponse) GetHTTPMeta

func (p *PinResponse) GetHTTPMeta() components.HTTPMetadata

func (*PinResponse) GetPinDocument

func (p *PinResponse) GetPinDocument() *components.PinDocument

type PostAPIIndexV1AdddatasourceResponse

type PostAPIIndexV1AdddatasourceResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1AdddatasourceResponse) GetHTTPMeta

type PostAPIIndexV1BetausersResponse

type PostAPIIndexV1BetausersResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1BetausersResponse) GetHTTPMeta

type PostAPIIndexV1BulkindexdocumentsResponse

type PostAPIIndexV1BulkindexdocumentsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1BulkindexdocumentsResponse) GetHTTPMeta

type PostAPIIndexV1BulkindexemployeesResponse

type PostAPIIndexV1BulkindexemployeesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1BulkindexemployeesResponse) GetHTTPMeta

type PostAPIIndexV1BulkindexgroupsResponse

type PostAPIIndexV1BulkindexgroupsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1BulkindexgroupsResponse) GetHTTPMeta

type PostAPIIndexV1BulkindexmembershipsResponse

type PostAPIIndexV1BulkindexmembershipsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1BulkindexmembershipsResponse) GetHTTPMeta

type PostAPIIndexV1BulkindexshortcutsResponse

type PostAPIIndexV1BulkindexshortcutsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1BulkindexshortcutsResponse) GetHTTPMeta

type PostAPIIndexV1BulkindexteamsResponse

type PostAPIIndexV1BulkindexteamsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1BulkindexteamsResponse) GetHTTPMeta

type PostAPIIndexV1BulkindexusersResponse

type PostAPIIndexV1BulkindexusersResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1BulkindexusersResponse) GetHTTPMeta

type PostAPIIndexV1CheckdocumentaccessResponse

type PostAPIIndexV1CheckdocumentaccessResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	CheckDocumentAccessResponse *components.CheckDocumentAccessResponse
}

func (*PostAPIIndexV1CheckdocumentaccessResponse) GetCheckDocumentAccessResponse

func (*PostAPIIndexV1CheckdocumentaccessResponse) GetHTTPMeta

type PostAPIIndexV1DebugDatasourceDocumentRequest

type PostAPIIndexV1DebugDatasourceDocumentRequest struct {
	// The datasource to which the document belongs
	Datasource           string                          `pathParam:"style=simple,explode=false,name=datasource"`
	DebugDocumentRequest components.DebugDocumentRequest `request:"mediaType=application/json"`
}

func (*PostAPIIndexV1DebugDatasourceDocumentRequest) GetDatasource

func (*PostAPIIndexV1DebugDatasourceDocumentRequest) GetDebugDocumentRequest

type PostAPIIndexV1DebugDatasourceDocumentResponse

type PostAPIIndexV1DebugDatasourceDocumentResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	DebugDocumentResponse *components.DebugDocumentResponse
}

func (*PostAPIIndexV1DebugDatasourceDocumentResponse) GetDebugDocumentResponse

func (*PostAPIIndexV1DebugDatasourceDocumentResponse) GetHTTPMeta

type PostAPIIndexV1DebugDatasourceDocumentsRequest

type PostAPIIndexV1DebugDatasourceDocumentsRequest struct {
	// The datasource to which the document belongs
	Datasource            string                           `pathParam:"style=simple,explode=false,name=datasource"`
	DebugDocumentsRequest components.DebugDocumentsRequest `request:"mediaType=application/json"`
}

func (*PostAPIIndexV1DebugDatasourceDocumentsRequest) GetDatasource

func (*PostAPIIndexV1DebugDatasourceDocumentsRequest) GetDebugDocumentsRequest

type PostAPIIndexV1DebugDatasourceDocumentsResponse

type PostAPIIndexV1DebugDatasourceDocumentsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	DebugDocumentsResponse *components.DebugDocumentsResponse
}

func (*PostAPIIndexV1DebugDatasourceDocumentsResponse) GetDebugDocumentsResponse

func (*PostAPIIndexV1DebugDatasourceDocumentsResponse) GetHTTPMeta

type PostAPIIndexV1DebugDatasourceStatusRequest

type PostAPIIndexV1DebugDatasourceStatusRequest struct {
	// The datasource to get debug status for.
	Datasource string `pathParam:"style=simple,explode=false,name=datasource"`
}

func (*PostAPIIndexV1DebugDatasourceStatusRequest) GetDatasource

type PostAPIIndexV1DebugDatasourceStatusResponse

type PostAPIIndexV1DebugDatasourceStatusResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	DebugDatasourceStatusResponse *components.DebugDatasourceStatusResponse
}

func (*PostAPIIndexV1DebugDatasourceStatusResponse) GetDebugDatasourceStatusResponse

func (*PostAPIIndexV1DebugDatasourceStatusResponse) GetHTTPMeta

type PostAPIIndexV1DebugDatasourceUserRequest

type PostAPIIndexV1DebugDatasourceUserRequest struct {
	// The datasource to which the user belongs
	Datasource       string                      `pathParam:"style=simple,explode=false,name=datasource"`
	DebugUserRequest components.DebugUserRequest `request:"mediaType=application/json"`
}

func (*PostAPIIndexV1DebugDatasourceUserRequest) GetDatasource

func (*PostAPIIndexV1DebugDatasourceUserRequest) GetDebugUserRequest

type PostAPIIndexV1DebugDatasourceUserResponse

type PostAPIIndexV1DebugDatasourceUserResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	DebugUserResponse *components.DebugUserResponse
}

func (*PostAPIIndexV1DebugDatasourceUserResponse) GetDebugUserResponse

func (*PostAPIIndexV1DebugDatasourceUserResponse) GetHTTPMeta

type PostAPIIndexV1DeletedocumentResponse

type PostAPIIndexV1DeletedocumentResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1DeletedocumentResponse) GetHTTPMeta

type PostAPIIndexV1DeleteemployeeResponse

type PostAPIIndexV1DeleteemployeeResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1DeleteemployeeResponse) GetHTTPMeta

type PostAPIIndexV1DeletegroupResponse

type PostAPIIndexV1DeletegroupResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1DeletegroupResponse) GetHTTPMeta

type PostAPIIndexV1DeletemembershipResponse

type PostAPIIndexV1DeletemembershipResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1DeletemembershipResponse) GetHTTPMeta

type PostAPIIndexV1DeleteteamResponse

type PostAPIIndexV1DeleteteamResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1DeleteteamResponse) GetHTTPMeta

type PostAPIIndexV1DeleteuserResponse

type PostAPIIndexV1DeleteuserResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1DeleteuserResponse) GetHTTPMeta

type PostAPIIndexV1GetdatasourceconfigResponse

type PostAPIIndexV1GetdatasourceconfigResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	CustomDatasourceConfig *components.CustomDatasourceConfig
}

func (*PostAPIIndexV1GetdatasourceconfigResponse) GetCustomDatasourceConfig

func (*PostAPIIndexV1GetdatasourceconfigResponse) GetHTTPMeta

type PostAPIIndexV1GetdocumentcountResponse

type PostAPIIndexV1GetdocumentcountResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetDocumentCountResponse *components.GetDocumentCountResponse
}

func (*PostAPIIndexV1GetdocumentcountResponse) GetGetDocumentCountResponse

func (*PostAPIIndexV1GetdocumentcountResponse) GetHTTPMeta

type PostAPIIndexV1GetdocumentstatusResponse

type PostAPIIndexV1GetdocumentstatusResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetDocumentStatusResponse *components.GetDocumentStatusResponse
}

func (*PostAPIIndexV1GetdocumentstatusResponse) GetGetDocumentStatusResponse

func (*PostAPIIndexV1GetdocumentstatusResponse) GetHTTPMeta

type PostAPIIndexV1GetusercountResponse

type PostAPIIndexV1GetusercountResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	GetUserCountResponse *components.GetUserCountResponse
}

func (*PostAPIIndexV1GetusercountResponse) GetGetUserCountResponse

func (*PostAPIIndexV1GetusercountResponse) GetHTTPMeta

type PostAPIIndexV1IndexdocumentResponse

type PostAPIIndexV1IndexdocumentResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1IndexdocumentResponse) GetHTTPMeta

type PostAPIIndexV1IndexdocumentsResponse

type PostAPIIndexV1IndexdocumentsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1IndexdocumentsResponse) GetHTTPMeta

type PostAPIIndexV1IndexemployeeResponse

type PostAPIIndexV1IndexemployeeResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1IndexemployeeResponse) GetHTTPMeta

type PostAPIIndexV1IndexgroupResponse

type PostAPIIndexV1IndexgroupResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1IndexgroupResponse) GetHTTPMeta

type PostAPIIndexV1IndexmembershipResponse

type PostAPIIndexV1IndexmembershipResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1IndexmembershipResponse) GetHTTPMeta

type PostAPIIndexV1IndexteamResponse

type PostAPIIndexV1IndexteamResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1IndexteamResponse) GetHTTPMeta

type PostAPIIndexV1IndexuserResponse

type PostAPIIndexV1IndexuserResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1IndexuserResponse) GetHTTPMeta

type PostAPIIndexV1ProcessalldocumentsResponse

type PostAPIIndexV1ProcessalldocumentsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1ProcessalldocumentsResponse) GetHTTPMeta

type PostAPIIndexV1ProcessallemployeesandteamsResponse

type PostAPIIndexV1ProcessallemployeesandteamsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1ProcessallemployeesandteamsResponse) GetHTTPMeta

type PostAPIIndexV1ProcessallmembershipsResponse

type PostAPIIndexV1ProcessallmembershipsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1ProcessallmembershipsResponse) GetHTTPMeta

type PostAPIIndexV1RotatetokenResponse

type PostAPIIndexV1RotatetokenResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	RotateTokenResponse *components.RotateTokenResponse
}

func (*PostAPIIndexV1RotatetokenResponse) GetHTTPMeta

func (*PostAPIIndexV1RotatetokenResponse) GetRotateTokenResponse

type PostAPIIndexV1UpdatepermissionsResponse

type PostAPIIndexV1UpdatepermissionsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1UpdatepermissionsResponse) GetHTTPMeta

type PostAPIIndexV1UploadshortcutsResponse

type PostAPIIndexV1UploadshortcutsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*PostAPIIndexV1UploadshortcutsResponse) GetHTTPMeta

type PostRestAPIV1ToolsCallResponse added in v0.4.3

type PostRestAPIV1ToolsCallResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful operation
	ToolsCallResponse *components.ToolsCallResponse
}

func (*PostRestAPIV1ToolsCallResponse) GetHTTPMeta added in v0.4.3

func (*PostRestAPIV1ToolsCallResponse) GetToolsCallResponse added in v0.4.3

func (p *PostRestAPIV1ToolsCallResponse) GetToolsCallResponse() *components.ToolsCallResponse

type RecommendationsResponse

type RecommendationsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ResultsResponse *components.ResultsResponse
}

func (*RecommendationsResponse) GetHTTPMeta

func (*RecommendationsResponse) GetResultsResponse

func (r *RecommendationsResponse) GetResultsResponse() *components.ResultsResponse

type ResponseBody1 added in v0.9.0

type ResponseBody1 struct {
	Collection components.Collection       `json:"collection"`
	Error      *components.CollectionError `json:"error,omitempty"`
}

func (*ResponseBody1) GetCollection added in v0.9.0

func (r *ResponseBody1) GetCollection() components.Collection

func (*ResponseBody1) GetError added in v0.9.0

func (r *ResponseBody1) GetError() *components.CollectionError

func (ResponseBody1) MarshalJSON added in v0.9.0

func (r ResponseBody1) MarshalJSON() ([]byte, error)

func (*ResponseBody1) UnmarshalJSON added in v0.9.0

func (r *ResponseBody1) UnmarshalJSON(data []byte) error

type ResponseBody2 added in v0.9.0

type ResponseBody2 struct {
	Collection *components.Collection     `json:"collection,omitempty"`
	Error      components.CollectionError `json:"error"`
}

func (*ResponseBody2) GetCollection added in v0.9.0

func (r *ResponseBody2) GetCollection() *components.Collection

func (*ResponseBody2) GetError added in v0.9.0

func (ResponseBody2) MarshalJSON added in v0.9.0

func (r ResponseBody2) MarshalJSON() ([]byte, error)

func (*ResponseBody2) UnmarshalJSON added in v0.9.0

func (r *ResponseBody2) UnmarshalJSON(data []byte) error

type SearchAgentsResponse

type SearchAgentsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Success
	SearchAgentsResponse *components.SearchAgentsResponse
}

func (*SearchAgentsResponse) GetHTTPMeta

func (s *SearchAgentsResponse) GetHTTPMeta() components.HTTPMetadata

func (*SearchAgentsResponse) GetSearchAgentsResponse

func (s *SearchAgentsResponse) GetSearchAgentsResponse() *components.SearchAgentsResponse

type SearchResponse

type SearchResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	SearchResponse *components.SearchResponse
}

func (*SearchResponse) GetHTTPMeta

func (s *SearchResponse) GetHTTPMeta() components.HTTPMetadata

func (*SearchResponse) GetSearchResponse

func (s *SearchResponse) GetSearchResponse() *components.SearchResponse

type SetdocvisibilityResponse

type SetdocvisibilityResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	UpdateDocumentVisibilityOverridesResponse *components.UpdateDocumentVisibilityOverridesResponse
}

func (*SetdocvisibilityResponse) GetHTTPMeta

func (*SetdocvisibilityResponse) GetUpdateDocumentVisibilityOverridesResponse

func (s *SetdocvisibilityResponse) GetUpdateDocumentVisibilityOverridesResponse() *components.UpdateDocumentVisibilityOverridesResponse

type SummarizeResponse

type SummarizeResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	SummarizeResponse *components.SummarizeResponse
}

func (*SummarizeResponse) GetHTTPMeta

func (s *SummarizeResponse) GetHTTPMeta() components.HTTPMetadata

func (*SummarizeResponse) GetSummarizeResponse

func (s *SummarizeResponse) GetSummarizeResponse() *components.SummarizeResponse

type UnpinResponse

type UnpinResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*UnpinResponse) GetHTTPMeta

func (u *UnpinResponse) GetHTTPMeta() components.HTTPMetadata

type UpdateannouncementResponse

type UpdateannouncementResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	Announcement *components.Announcement
}

func (*UpdateannouncementResponse) GetAnnouncement

func (u *UpdateannouncementResponse) GetAnnouncement() *components.Announcement

func (*UpdateannouncementResponse) GetHTTPMeta

type UpdatepolicyRequest

type UpdatepolicyRequest struct {
	// The id of the policy to fetch.
	ID                     string                            `pathParam:"style=simple,explode=false,name=id"`
	UpdateDlpReportRequest components.UpdateDlpReportRequest `request:"mediaType=application/json"`
}

func (*UpdatepolicyRequest) GetID

func (u *UpdatepolicyRequest) GetID() string

func (*UpdatepolicyRequest) GetUpdateDlpReportRequest

func (u *UpdatepolicyRequest) GetUpdateDlpReportRequest() components.UpdateDlpReportRequest

type UpdatepolicyResponse

type UpdatepolicyResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	UpdateDlpReportResponse *components.UpdateDlpReportResponse
}

func (*UpdatepolicyResponse) GetHTTPMeta

func (u *UpdatepolicyResponse) GetHTTPMeta() components.HTTPMetadata

func (*UpdatepolicyResponse) GetUpdateDlpReportResponse

func (u *UpdatepolicyResponse) GetUpdateDlpReportResponse() *components.UpdateDlpReportResponse

type UpdateshortcutResponse

type UpdateshortcutResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	UpdateShortcutResponse *components.UpdateShortcutResponse
}

func (*UpdateshortcutResponse) GetHTTPMeta

func (*UpdateshortcutResponse) GetUpdateShortcutResponse

func (u *UpdateshortcutResponse) GetUpdateShortcutResponse() *components.UpdateShortcutResponse

type UploadchatfilesRequest

type UploadchatfilesRequest struct {
	// The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
	TimezoneOffset         *int64                            `queryParam:"style=form,explode=true,name=timezoneOffset"`
	UploadChatFilesRequest components.UploadChatFilesRequest `request:"mediaType=multipart/form-data"`
}

func (*UploadchatfilesRequest) GetTimezoneOffset

func (u *UploadchatfilesRequest) GetTimezoneOffset() *int64

func (*UploadchatfilesRequest) GetUploadChatFilesRequest

func (u *UploadchatfilesRequest) GetUploadChatFilesRequest() components.UploadChatFilesRequest

type UploadchatfilesResponse

type UploadchatfilesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	UploadChatFilesResponse *components.UploadChatFilesResponse
}

func (*UploadchatfilesResponse) GetHTTPMeta

func (*UploadchatfilesResponse) GetUploadChatFilesResponse

func (u *UploadchatfilesResponse) GetUploadChatFilesResponse() *components.UploadChatFilesResponse

type VerifyResponse

type VerifyResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	Verification *components.Verification
}

func (*VerifyResponse) GetHTTPMeta

func (v *VerifyResponse) GetHTTPMeta() components.HTTPMetadata

func (*VerifyResponse) GetVerification

func (v *VerifyResponse) GetVerification() *components.Verification

Source Files

Jump to

Keyboard shortcuts

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