operations

package
v0.11.36 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 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 AddcollectionitemsRequest added in v0.11.21

type AddcollectionitemsRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Data describing the add operation.
	AddCollectionItemsRequest components.AddCollectionItemsRequest `request:"mediaType=application/json"`
}

func (*AddcollectionitemsRequest) GetAddCollectionItemsRequest added in v0.11.21

func (a *AddcollectionitemsRequest) GetAddCollectionItemsRequest() components.AddCollectionItemsRequest

func (*AddcollectionitemsRequest) GetLocale added in v0.11.21

func (a *AddcollectionitemsRequest) GetLocale() *string

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

type AddverificationreminderRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Details about the reminder.
	ReminderRequest components.ReminderRequest `request:"mediaType=application/json"`
}

func (*AddverificationreminderRequest) GetLocale added in v0.11.21

func (a *AddverificationreminderRequest) GetLocale() *string

func (*AddverificationreminderRequest) GetReminderRequest added in v0.11.21

type AddverificationreminderResponse

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

func (*AddverificationreminderResponse) GetHTTPMeta

func (*AddverificationreminderResponse) GetVerification

type AdminsearchRequest added in v0.11.21

type AdminsearchRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Admin search request
	SearchRequest components.SearchRequest `request:"mediaType=application/json"`
}

func (*AdminsearchRequest) GetLocale added in v0.11.21

func (a *AdminsearchRequest) GetLocale() *string

func (*AdminsearchRequest) GetSearchRequest added in v0.11.21

func (a *AdminsearchRequest) GetSearchRequest() components.SearchRequest

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

type AutocompleteRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Autocomplete request
	AutocompleteRequest components.AutocompleteRequest `request:"mediaType=application/json"`
}

func (*AutocompleteRequest) GetAutocompleteRequest added in v0.11.21

func (a *AutocompleteRequest) GetAutocompleteRequest() components.AutocompleteRequest

func (*AutocompleteRequest) GetLocale added in v0.11.21

func (a *AutocompleteRequest) GetLocale() *string

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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (c *ChatRequest) GetLocale() *string

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

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

func (*CheckdatasourceauthResponse) GetCheckDatasourceAuthResponse added in v0.11.27

func (c *CheckdatasourceauthResponse) GetCheckDatasourceAuthResponse() *components.CheckDatasourceAuthResponse

func (*CheckdatasourceauthResponse) GetHTTPMeta added in v0.11.27

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

type CreateannouncementRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Announcement content
	CreateAnnouncementRequest components.CreateAnnouncementRequest `request:"mediaType=application/json"`
}

func (*CreateannouncementRequest) GetCreateAnnouncementRequest added in v0.11.21

func (c *CreateannouncementRequest) GetCreateAnnouncementRequest() components.CreateAnnouncementRequest

func (*CreateannouncementRequest) GetLocale added in v0.11.21

func (c *CreateannouncementRequest) GetLocale() *string

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

type CreateanswerRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// CreateAnswer request
	CreateAnswerRequest components.CreateAnswerRequest `request:"mediaType=application/json"`
}

func (*CreateanswerRequest) GetCreateAnswerRequest added in v0.11.21

func (c *CreateanswerRequest) GetCreateAnswerRequest() components.CreateAnswerRequest

func (*CreateanswerRequest) GetLocale added in v0.11.21

func (c *CreateanswerRequest) GetLocale() *string

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

type CreatecollectionRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Collection content plus any additional metadata for the request.
	CreateCollectionRequest components.CreateCollectionRequest `request:"mediaType=application/json"`
}

func (*CreatecollectionRequest) GetCreateCollectionRequest added in v0.11.21

func (c *CreatecollectionRequest) GetCreateCollectionRequest() components.CreateCollectionRequest

func (*CreatecollectionRequest) GetLocale added in v0.11.21

func (c *CreatecollectionRequest) GetLocale() *string

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" union:"member"`
	ResponseBody2 *ResponseBody2 `queryParam:"inline" union:"member"`

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

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

func (*CreatefindingsexportResponse) GetExportInfo added in v0.11.15

func (*CreatefindingsexportResponse) GetHTTPMeta added in v0.11.15

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

type CreateshortcutRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// CreateShortcut request
	CreateShortcutRequest components.CreateShortcutRequest `request:"mediaType=application/json"`
}

func (*CreateshortcutRequest) GetCreateShortcutRequest added in v0.11.21

func (c *CreateshortcutRequest) GetCreateShortcutRequest() components.CreateShortcutRequest

func (*CreateshortcutRequest) GetLocale added in v0.11.21

func (c *CreateshortcutRequest) GetLocale() *string

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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (d *DeleteallchatsRequest) GetLocale() *string

func (*DeleteallchatsRequest) GetTimezoneOffset

func (d *DeleteallchatsRequest) GetTimezoneOffset() *int64

type DeleteallchatsResponse

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

func (*DeleteallchatsResponse) GetHTTPMeta

type DeleteannouncementRequest added in v0.11.21

type DeleteannouncementRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Delete announcement request
	DeleteAnnouncementRequest components.DeleteAnnouncementRequest `request:"mediaType=application/json"`
}

func (*DeleteannouncementRequest) GetDeleteAnnouncementRequest added in v0.11.21

func (d *DeleteannouncementRequest) GetDeleteAnnouncementRequest() components.DeleteAnnouncementRequest

func (*DeleteannouncementRequest) GetLocale added in v0.11.21

func (d *DeleteannouncementRequest) GetLocale() *string

type DeleteannouncementResponse

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

func (*DeleteannouncementResponse) GetHTTPMeta

type DeleteanswerRequest added in v0.11.21

type DeleteanswerRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// DeleteAnswer request
	DeleteAnswerRequest components.DeleteAnswerRequest `request:"mediaType=application/json"`
}

func (*DeleteanswerRequest) GetDeleteAnswerRequest added in v0.11.21

func (d *DeleteanswerRequest) GetDeleteAnswerRequest() components.DeleteAnswerRequest

func (*DeleteanswerRequest) GetLocale added in v0.11.21

func (d *DeleteanswerRequest) GetLocale() *string

type DeleteanswerResponse

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

func (*DeleteanswerResponse) GetHTTPMeta

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

type DeletechatfilesRequest

type DeletechatfilesRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (d *DeletechatfilesRequest) GetLocale() *string

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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (d *DeletechatsRequest) GetLocale() *string

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

type DeletecollectionRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// DeleteCollection request
	DeleteCollectionRequest components.DeleteCollectionRequest `request:"mediaType=application/json"`
}

func (*DeletecollectionRequest) GetDeleteCollectionRequest added in v0.11.21

func (d *DeletecollectionRequest) GetDeleteCollectionRequest() components.DeleteCollectionRequest

func (*DeletecollectionRequest) GetLocale added in v0.11.21

func (d *DeletecollectionRequest) GetLocale() *string

type DeletecollectionResponse

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

func (*DeletecollectionResponse) GetHTTPMeta

type DeletecollectionitemRequest added in v0.11.21

type DeletecollectionitemRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Data describing the delete operation.
	DeleteCollectionItemRequest components.DeleteCollectionItemRequest `request:"mediaType=application/json"`
}

func (*DeletecollectionitemRequest) GetDeleteCollectionItemRequest added in v0.11.21

func (d *DeletecollectionitemRequest) GetDeleteCollectionItemRequest() components.DeleteCollectionItemRequest

func (*DeletecollectionitemRequest) GetLocale added in v0.11.21

func (d *DeletecollectionitemRequest) GetLocale() *string

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

type DeletefindingsexportRequest struct {
	// The ID of the export to delete.
	ID int64 `pathParam:"style=simple,explode=false,name=id"`
}

func (*DeletefindingsexportRequest) GetID added in v0.11.15

type DeletefindingsexportResponse added in v0.11.15

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

func (*DeletefindingsexportResponse) GetHTTPMeta added in v0.11.15

type DeleteshortcutRequest added in v0.11.21

type DeleteshortcutRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// DeleteShortcut request
	DeleteShortcutRequest components.DeleteShortcutRequest `request:"mediaType=application/json"`
}

func (*DeleteshortcutRequest) GetDeleteShortcutRequest added in v0.11.21

func (d *DeleteshortcutRequest) GetDeleteShortcutRequest() components.DeleteShortcutRequest

func (*DeleteshortcutRequest) GetLocale added in v0.11.21

func (d *DeleteshortcutRequest) GetLocale() *string

type DeleteshortcutResponse

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

func (*DeleteshortcutResponse) GetHTTPMeta

type DownloadfindingsexportRequest added in v0.11.15

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

func (*DownloadfindingsexportRequest) GetID added in v0.11.15

type DownloadfindingsexportResponse added in v0.11.15

type DownloadfindingsexportResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Downloads CSV of exported findings.
	Res *string
}

func (*DownloadfindingsexportResponse) GetHTTPMeta added in v0.11.15

func (*DownloadfindingsexportResponse) GetRes added in v0.11.15

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

type EditanswerRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// EditAnswer request
	EditAnswerRequest components.EditAnswerRequest `request:"mediaType=application/json"`
}

func (*EditanswerRequest) GetEditAnswerRequest added in v0.11.21

func (e *EditanswerRequest) GetEditAnswerRequest() components.EditAnswerRequest

func (*EditanswerRequest) GetLocale added in v0.11.21

func (e *EditanswerRequest) GetLocale() *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 EditcollectionRequest added in v0.11.21

type EditcollectionRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Collection content plus any additional metadata for the request.
	EditCollectionRequest components.EditCollectionRequest `request:"mediaType=application/json"`
}

func (*EditcollectionRequest) GetEditCollectionRequest added in v0.11.21

func (e *EditcollectionRequest) GetEditCollectionRequest() components.EditCollectionRequest

func (*EditcollectionRequest) GetLocale added in v0.11.21

func (e *EditcollectionRequest) GetLocale() *string

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

type EditcollectionitemRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Edit Collection Items request
	EditCollectionItemRequest components.EditCollectionItemRequest `request:"mediaType=application/json"`
}

func (*EditcollectionitemRequest) GetEditCollectionItemRequest added in v0.11.21

func (e *EditcollectionitemRequest) GetEditCollectionItemRequest() components.EditCollectionItemRequest

func (*EditcollectionitemRequest) GetLocale added in v0.11.21

func (e *EditcollectionitemRequest) GetLocale() *string

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

type EditpinRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Edit pins request
	EditPinRequest components.EditPinRequest `request:"mediaType=application/json"`
}

func (*EditpinRequest) GetEditPinRequest added in v0.11.21

func (e *EditpinRequest) GetEditPinRequest() components.EditPinRequest

func (*EditpinRequest) GetLocale added in v0.11.21

func (e *EditpinRequest) GetLocale() *string

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

type FeedRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Includes request params, client data and more for making user's feed.
	FeedRequest components.FeedRequest `request:"mediaType=application/json"`
}

func (*FeedRequest) GetFeedRequest added in v0.11.21

func (f *FeedRequest) GetFeedRequest() components.FeedRequest

func (*FeedRequest) GetLocale added in v0.11.21

func (f *FeedRequest) GetLocale() *string

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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (g *GetAgentRequest) GetLocale() *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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (g *GetAgentSchemasRequest) GetLocale() *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 GetDatasourceInstanceConfigurationRequest added in v0.11.29

type GetDatasourceInstanceConfigurationRequest struct {
	// The datasource type identifier (e.g. o365sharepoint)
	DatasourceID string `pathParam:"style=simple,explode=false,name=datasourceId"`
	// The datasource instance identifier
	InstanceID string `pathParam:"style=simple,explode=false,name=instanceId"`
}

func (*GetDatasourceInstanceConfigurationRequest) GetDatasourceID added in v0.11.29

func (*GetDatasourceInstanceConfigurationRequest) GetInstanceID added in v0.11.29

type GetDatasourceInstanceConfigurationResponse added in v0.11.29

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

func (*GetDatasourceInstanceConfigurationResponse) GetDatasourceConfigurationResponse added in v0.11.29

func (*GetDatasourceInstanceConfigurationResponse) GetHTTPMeta added in v0.11.29

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

type GetanswerRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// GetAnswer request
	GetAnswerRequest components.GetAnswerRequest `request:"mediaType=application/json"`
}

func (*GetanswerRequest) GetGetAnswerRequest added in v0.11.21

func (g *GetanswerRequest) GetGetAnswerRequest() components.GetAnswerRequest

func (*GetanswerRequest) GetLocale added in v0.11.21

func (g *GetanswerRequest) GetLocale() *string

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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (g *GetchatRequest) GetLocale() *string

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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (g *GetchatapplicationRequest) GetLocale() *string

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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (g *GetchatfilesRequest) GetLocale() *string

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

type GetcollectionRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// GetCollection request
	GetCollectionRequest components.GetCollectionRequest `request:"mediaType=application/json"`
}

func (*GetcollectionRequest) GetGetCollectionRequest added in v0.11.21

func (g *GetcollectionRequest) GetGetCollectionRequest() components.GetCollectionRequest

func (*GetcollectionRequest) GetLocale added in v0.11.21

func (g *GetcollectionRequest) GetLocale() *string

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

type GetdocpermissionsRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Document permissions request
	GetDocPermissionsRequest components.GetDocPermissionsRequest `request:"mediaType=application/json"`
}

func (*GetdocpermissionsRequest) GetGetDocPermissionsRequest added in v0.11.21

func (g *GetdocpermissionsRequest) GetGetDocPermissionsRequest() components.GetDocPermissionsRequest

func (*GetdocpermissionsRequest) GetLocale added in v0.11.21

func (g *GetdocpermissionsRequest) GetLocale() *string

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

type GetdocumentsRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Information about documents requested.
	GetDocumentsRequest *components.GetDocumentsRequest `request:"mediaType=application/json"`
}

func (*GetdocumentsRequest) GetGetDocumentsRequest added in v0.11.21

func (g *GetdocumentsRequest) GetGetDocumentsRequest() *components.GetDocumentsRequest

func (*GetdocumentsRequest) GetLocale added in v0.11.21

func (g *GetdocumentsRequest) GetLocale() *string

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

type GetdocumentsbyfacetsRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Information about facet conditions for documents to be retrieved.
	GetDocumentsByFacetsRequest *components.GetDocumentsByFacetsRequest `request:"mediaType=application/json"`
}

func (*GetdocumentsbyfacetsRequest) GetGetDocumentsByFacetsRequest added in v0.11.21

func (g *GetdocumentsbyfacetsRequest) GetGetDocumentsByFacetsRequest() *components.GetDocumentsByFacetsRequest

func (*GetdocumentsbyfacetsRequest) GetLocale added in v0.11.21

func (g *GetdocumentsbyfacetsRequest) GetLocale() *string

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

type GetpinRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Get pin request
	GetPinRequest components.GetPinRequest `request:"mediaType=application/json"`
}

func (*GetpinRequest) GetGetPinRequest added in v0.11.21

func (g *GetpinRequest) GetGetPinRequest() components.GetPinRequest

func (*GetpinRequest) GetLocale added in v0.11.21

func (g *GetpinRequest) GetLocale() *string

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

type GetshortcutRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// GetShortcut request
	GetShortcutRequest components.GetShortcutRequestUnion `request:"mediaType=application/json"`
}

func (*GetshortcutRequest) GetGetShortcutRequest added in v0.11.21

func (g *GetshortcutRequest) GetGetShortcutRequest() components.GetShortcutRequestUnion

func (*GetshortcutRequest) GetLocale added in v0.11.21

func (g *GetshortcutRequest) GetLocale() *string

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

type InsightsRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Includes request parameters for insights requests.
	InsightsRequest components.InsightsRequest `request:"mediaType=application/json"`
}

func (*InsightsRequest) GetInsightsRequest added in v0.11.21

func (i *InsightsRequest) GetInsightsRequest() components.InsightsRequest

func (*InsightsRequest) GetLocale added in v0.11.21

func (i *InsightsRequest) GetLocale() *string

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

type ListanswersRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// ListAnswers request
	ListAnswersRequest components.ListAnswersRequest `request:"mediaType=application/json"`
}

func (*ListanswersRequest) GetListAnswersRequest added in v0.11.21

func (l *ListanswersRequest) GetListAnswersRequest() components.ListAnswersRequest

func (*ListanswersRequest) GetLocale added in v0.11.21

func (l *ListanswersRequest) GetLocale() *string

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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (l *ListchatsRequest) GetLocale() *string

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

type ListcollectionsRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// ListCollections request
	ListCollectionsRequest components.ListCollectionsRequest `request:"mediaType=application/json"`
}

func (*ListcollectionsRequest) GetListCollectionsRequest added in v0.11.21

func (l *ListcollectionsRequest) GetListCollectionsRequest() components.ListCollectionsRequest

func (*ListcollectionsRequest) GetLocale added in v0.11.21

func (l *ListcollectionsRequest) GetLocale() *string

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

type ListentitiesRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// List people request
	ListEntitiesRequest components.ListEntitiesRequest `request:"mediaType=application/json"`
}

func (*ListentitiesRequest) GetListEntitiesRequest added in v0.11.21

func (l *ListentitiesRequest) GetListEntitiesRequest() components.ListEntitiesRequest

func (*ListentitiesRequest) GetLocale added in v0.11.21

func (l *ListentitiesRequest) GetLocale() *string

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

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

func (*ListfindingsexportsResponse) GetHTTPMeta added in v0.11.15

func (*ListfindingsexportsResponse) GetListDlpFindingsExportsResponse added in v0.11.15

func (l *ListfindingsexportsResponse) GetListDlpFindingsExportsResponse() *components.ListDlpFindingsExportsResponse

type ListpinsRequest

type ListpinsRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// List pins request
	RequestBody ListpinsRequestBody `request:"mediaType=application/json"`
}

func (*ListpinsRequest) GetLocale added in v0.11.21

func (l *ListpinsRequest) GetLocale() *string

func (*ListpinsRequest) GetRequestBody added in v0.11.21

func (l *ListpinsRequest) GetRequestBody() ListpinsRequestBody

type ListpinsRequestBody added in v0.11.21

type ListpinsRequestBody struct {
}

ListpinsRequestBody - 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 ListshortcutsRequest added in v0.11.21

type ListshortcutsRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Filters, sorters, paging params required for pagination
	ListShortcutsPaginatedRequest components.ListShortcutsPaginatedRequest `request:"mediaType=application/json"`
}

func (*ListshortcutsRequest) GetListShortcutsPaginatedRequest added in v0.11.21

func (l *ListshortcutsRequest) GetListShortcutsPaginatedRequest() components.ListShortcutsPaginatedRequest

func (*ListshortcutsRequest) GetLocale added in v0.11.21

func (l *ListshortcutsRequest) GetLocale() *string

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"`
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
}

func (*ListverificationsRequest) GetCount

func (l *ListverificationsRequest) GetCount() *int64

func (*ListverificationsRequest) GetLocale added in v0.11.21

func (l *ListverificationsRequest) GetLocale() *string

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

type MessagesRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Includes request params such as the id for channel/message and direction.
	MessagesRequest components.MessagesRequest `request:"mediaType=application/json"`
}

func (*MessagesRequest) GetLocale added in v0.11.21

func (m *MessagesRequest) GetLocale() *string

func (*MessagesRequest) GetMessagesRequest added in v0.11.21

func (m *MessagesRequest) GetMessagesRequest() components.MessagesRequest

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

type PeopleRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// People request
	PeopleRequest components.PeopleRequest `request:"mediaType=application/json"`
}

func (*PeopleRequest) GetLocale added in v0.11.21

func (p *PeopleRequest) GetLocale() *string

func (*PeopleRequest) GetPeopleRequest added in v0.11.21

func (p *PeopleRequest) GetPeopleRequest() components.PeopleRequest

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

type PinRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Details about the document and query for the pin.
	PinRequest components.PinRequest `request:"mediaType=application/json"`
}

func (*PinRequest) GetLocale added in v0.11.21

func (p *PinRequest) GetLocale() *string

func (*PinRequest) GetPinRequest added in v0.11.21

func (p *PinRequest) GetPinRequest() components.PinRequest

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

type RecommendationsRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Recommendations request
	RecommendationsRequest components.RecommendationsRequest `request:"mediaType=application/json"`
}

func (*RecommendationsRequest) GetLocale added in v0.11.21

func (r *RecommendationsRequest) GetLocale() *string

func (*RecommendationsRequest) GetRecommendationsRequest added in v0.11.21

func (r *RecommendationsRequest) GetRecommendationsRequest() components.RecommendationsRequest

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

type SearchRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Search request
	SearchRequest components.SearchRequest `request:"mediaType=application/json"`
}

func (*SearchRequest) GetLocale added in v0.11.21

func (s *SearchRequest) GetLocale() *string

func (*SearchRequest) GetSearchRequest added in v0.11.21

func (s *SearchRequest) GetSearchRequest() components.SearchRequest

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

type SummarizeRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Includes request params such as the query and specs of the documents to summarize.
	SummarizeRequest components.SummarizeRequest `request:"mediaType=application/json"`
}

func (*SummarizeRequest) GetLocale added in v0.11.21

func (s *SummarizeRequest) GetLocale() *string

func (*SummarizeRequest) GetSummarizeRequest added in v0.11.21

func (s *SummarizeRequest) GetSummarizeRequest() components.SummarizeRequest

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

type UnpinRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Details about the pin being unpinned.
	Unpin components.Unpin `request:"mediaType=application/json"`
}

func (*UnpinRequest) GetLocale added in v0.11.21

func (u *UnpinRequest) GetLocale() *string

func (*UnpinRequest) GetUnpin added in v0.11.21

func (u *UnpinRequest) GetUnpin() components.Unpin

type UnpinResponse

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

func (*UnpinResponse) GetHTTPMeta

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

type UpdateDatasourceInstanceConfigurationRequest added in v0.11.29

type UpdateDatasourceInstanceConfigurationRequest struct {
	// The datasource type identifier (e.g. o365sharepoint)
	DatasourceID string `pathParam:"style=simple,explode=false,name=datasourceId"`
	// The datasource instance identifier
	InstanceID                           string                                          `pathParam:"style=simple,explode=false,name=instanceId"`
	UpdateDatasourceConfigurationRequest components.UpdateDatasourceConfigurationRequest `request:"mediaType=application/json"`
}

func (*UpdateDatasourceInstanceConfigurationRequest) GetDatasourceID added in v0.11.29

func (*UpdateDatasourceInstanceConfigurationRequest) GetInstanceID added in v0.11.29

func (*UpdateDatasourceInstanceConfigurationRequest) GetUpdateDatasourceConfigurationRequest added in v0.11.29

type UpdateDatasourceInstanceConfigurationResponse added in v0.11.29

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

func (*UpdateDatasourceInstanceConfigurationResponse) GetDatasourceConfigurationResponse added in v0.11.29

func (*UpdateDatasourceInstanceConfigurationResponse) GetHTTPMeta added in v0.11.29

type UpdateannouncementRequest added in v0.11.21

type UpdateannouncementRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Announcement content. Id need to be specified for the announcement.
	UpdateAnnouncementRequest components.UpdateAnnouncementRequest `request:"mediaType=application/json"`
}

func (*UpdateannouncementRequest) GetLocale added in v0.11.21

func (u *UpdateannouncementRequest) GetLocale() *string

func (*UpdateannouncementRequest) GetUpdateAnnouncementRequest added in v0.11.21

func (u *UpdateannouncementRequest) GetUpdateAnnouncementRequest() components.UpdateAnnouncementRequest

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

type UpdateshortcutRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Shortcut content. Id need to be specified for the shortcut.
	UpdateShortcutRequest components.UpdateShortcutRequest `request:"mediaType=application/json"`
}

func (*UpdateshortcutRequest) GetLocale added in v0.11.21

func (u *UpdateshortcutRequest) GetLocale() *string

func (*UpdateshortcutRequest) GetUpdateShortcutRequest added in v0.11.21

func (u *UpdateshortcutRequest) GetUpdateShortcutRequest() components.UpdateShortcutRequest

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 client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// 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) GetLocale added in v0.11.21

func (u *UploadchatfilesRequest) GetLocale() *string

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

type VerifyRequest struct {
	// The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
	Locale *string `queryParam:"style=form,explode=true,name=locale"`
	// Details about the verification request.
	VerifyRequest components.VerifyRequest `request:"mediaType=application/json"`
}

func (*VerifyRequest) GetLocale added in v0.11.21

func (v *VerifyRequest) GetLocale() *string

func (*VerifyRequest) GetVerifyRequest added in v0.11.21

func (v *VerifyRequest) GetVerifyRequest() components.VerifyRequest

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