langsync

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package langsync provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddLanguageRequest

func NewAddLanguageRequest(server string, namespaceName string, body AddLanguageJSONRequestBody) (*http.Request, error)

NewAddLanguageRequest calls the generic AddLanguage builder with application/json body

func NewAddLanguageRequestWithBody

func NewAddLanguageRequestWithBody(server string, namespaceName string, contentType string, body io.Reader) (*http.Request, error)

NewAddLanguageRequestWithBody generates requests for AddLanguage with any type of body

func NewAddTermRequest

func NewAddTermRequest(server string, namespaceName string, body AddTermJSONRequestBody) (*http.Request, error)

NewAddTermRequest calls the generic AddTerm builder with application/json body

func NewAddTermRequestWithBody

func NewAddTermRequestWithBody(server string, namespaceName string, contentType string, body io.Reader) (*http.Request, error)

NewAddTermRequestWithBody generates requests for AddTerm with any type of body

func NewAddTranslationToGlossaryItemRequest

func NewAddTranslationToGlossaryItemRequest(server string, itemId string, body AddTranslationToGlossaryItemJSONRequestBody) (*http.Request, error)

NewAddTranslationToGlossaryItemRequest calls the generic AddTranslationToGlossaryItem builder with application/json body

func NewAddTranslationToGlossaryItemRequestWithBody

func NewAddTranslationToGlossaryItemRequestWithBody(server string, itemId string, contentType string, body io.Reader) (*http.Request, error)

NewAddTranslationToGlossaryItemRequestWithBody generates requests for AddTranslationToGlossaryItem with any type of body

func NewAttachLanguageToGlossaryRequest

func NewAttachLanguageToGlossaryRequest(server string) (*http.Request, error)

NewAttachLanguageToGlossaryRequest generates requests for AttachLanguageToGlossary

func NewCreateAPIKeyRequest

func NewCreateAPIKeyRequest(server string, body CreateAPIKeyJSONRequestBody) (*http.Request, error)

NewCreateAPIKeyRequest calls the generic CreateAPIKey builder with application/json body

func NewCreateAPIKeyRequestWithBody

func NewCreateAPIKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateAPIKeyRequestWithBody generates requests for CreateAPIKey with any type of body

func NewCreateCustomLanguageRequest

func NewCreateCustomLanguageRequest(server string, body CreateCustomLanguageJSONRequestBody) (*http.Request, error)

NewCreateCustomLanguageRequest calls the generic CreateCustomLanguage builder with application/json body

func NewCreateCustomLanguageRequestWithBody

func NewCreateCustomLanguageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateCustomLanguageRequestWithBody generates requests for CreateCustomLanguage with any type of body

func NewCreateCustomPromptRequest

func NewCreateCustomPromptRequest(server string, body CreateCustomPromptJSONRequestBody) (*http.Request, error)

NewCreateCustomPromptRequest calls the generic CreateCustomPrompt builder with application/json body

func NewCreateCustomPromptRequestWithBody

func NewCreateCustomPromptRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateCustomPromptRequestWithBody generates requests for CreateCustomPrompt with any type of body

func NewCreateGlossaryItemRequest

func NewCreateGlossaryItemRequest(server string, body CreateGlossaryItemJSONRequestBody) (*http.Request, error)

NewCreateGlossaryItemRequest calls the generic CreateGlossaryItem builder with application/json body

func NewCreateGlossaryItemRequestWithBody

func NewCreateGlossaryItemRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGlossaryItemRequestWithBody generates requests for CreateGlossaryItem with any type of body

func NewCreateGlossaryRequest

func NewCreateGlossaryRequest(server string, body CreateGlossaryJSONRequestBody) (*http.Request, error)

NewCreateGlossaryRequest calls the generic CreateGlossary builder with application/json body

func NewCreateGlossaryRequestWithBody

func NewCreateGlossaryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGlossaryRequestWithBody generates requests for CreateGlossary with any type of body

func NewCreateHelpjuiceIntegrationRequest

func NewCreateHelpjuiceIntegrationRequest(server string, body CreateHelpjuiceIntegrationJSONRequestBody) (*http.Request, error)

NewCreateHelpjuiceIntegrationRequest calls the generic CreateHelpjuiceIntegration builder with application/json body

func NewCreateHelpjuiceIntegrationRequestWithBody

func NewCreateHelpjuiceIntegrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateHelpjuiceIntegrationRequestWithBody generates requests for CreateHelpjuiceIntegration with any type of body

func NewCreateImportRequestWithBody

func NewCreateImportRequestWithBody(server string, namespaceName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateImportRequestWithBody generates requests for CreateImport with any type of body

func NewCreateNamespaceRequest

func NewCreateNamespaceRequest(server string, body CreateNamespaceJSONRequestBody) (*http.Request, error)

NewCreateNamespaceRequest calls the generic CreateNamespace builder with application/json body

func NewCreateNamespaceRequestWithBody

func NewCreateNamespaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateNamespaceRequestWithBody generates requests for CreateNamespace with any type of body

func NewDeleteAPIKeyRequest

func NewDeleteAPIKeyRequest(server string, id string) (*http.Request, error)

NewDeleteAPIKeyRequest generates requests for DeleteAPIKey

func NewDeleteCustomLanguageRequest

func NewDeleteCustomLanguageRequest(server string, id int) (*http.Request, error)

NewDeleteCustomLanguageRequest generates requests for DeleteCustomLanguage

func NewDeleteCustomPromptRequest

func NewDeleteCustomPromptRequest(server string, promptId string) (*http.Request, error)

NewDeleteCustomPromptRequest generates requests for DeleteCustomPrompt

func NewDeleteGlossaryItemRequest

func NewDeleteGlossaryItemRequest(server string, itemId string) (*http.Request, error)

NewDeleteGlossaryItemRequest generates requests for DeleteGlossaryItem

func NewDeleteNamespaceRequest

func NewDeleteNamespaceRequest(server string, namespaceName string) (*http.Request, error)

NewDeleteNamespaceRequest generates requests for DeleteNamespace

func NewDeleteTermRequest

func NewDeleteTermRequest(server string, namespaceName string, termId int) (*http.Request, error)

NewDeleteTermRequest generates requests for DeleteTerm

func NewGetGlossaryItemRequest

func NewGetGlossaryItemRequest(server string, itemId string) (*http.Request, error)

NewGetGlossaryItemRequest generates requests for GetGlossaryItem

func NewGetGlossaryRequest

func NewGetGlossaryRequest(server string) (*http.Request, error)

NewGetGlossaryRequest generates requests for GetGlossary

func NewGetLanguagesByNamespaceRequest

func NewGetLanguagesByNamespaceRequest(server string, namespaceName string) (*http.Request, error)

NewGetLanguagesByNamespaceRequest generates requests for GetLanguagesByNamespace

func NewGetNamespaceByNameAndOrgRequest

func NewGetNamespaceByNameAndOrgRequest(server string, namespaceName string) (*http.Request, error)

NewGetNamespaceByNameAndOrgRequest generates requests for GetNamespaceByNameAndOrg

func NewGetNamespacesNamespaceNameSyncJobIdRequest

func NewGetNamespacesNamespaceNameSyncJobIdRequest(server string, namespaceName string, jobId string) (*http.Request, error)

NewGetNamespacesNamespaceNameSyncJobIdRequest generates requests for GetNamespacesNamespaceNameSyncJobId

func NewGetProjectsRequest

func NewGetProjectsRequest(server string, body GetProjectsJSONRequestBody) (*http.Request, error)

NewGetProjectsRequest calls the generic GetProjects builder with application/json body

func NewGetProjectsRequestWithBody

func NewGetProjectsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewGetProjectsRequestWithBody generates requests for GetProjects with any type of body

func NewImportFinishRequest

func NewImportFinishRequest(server string, namespaceName string, importId string, body ImportFinishJSONRequestBody) (*http.Request, error)

NewImportFinishRequest calls the generic ImportFinish builder with application/json body

func NewImportFinishRequestWithBody

func NewImportFinishRequestWithBody(server string, namespaceName string, importId string, contentType string, body io.Reader) (*http.Request, error)

NewImportFinishRequestWithBody generates requests for ImportFinish with any type of body

func NewListAPIKeysRequest

func NewListAPIKeysRequest(server string) (*http.Request, error)

NewListAPIKeysRequest generates requests for ListAPIKeys

func NewListByNamespaceRequest

func NewListByNamespaceRequest(server string, namespaceName string, params *ListByNamespaceParams) (*http.Request, error)

NewListByNamespaceRequest generates requests for ListByNamespace

func NewListCustomPromptsRequest

func NewListCustomPromptsRequest(server string) (*http.Request, error)

NewListCustomPromptsRequest generates requests for ListCustomPrompts

func NewListGlossaryItemsRequest

func NewListGlossaryItemsRequest(server string, params *ListGlossaryItemsParams) (*http.Request, error)

NewListGlossaryItemsRequest generates requests for ListGlossaryItems

func NewListHelpjuiceChangesRequest

func NewListHelpjuiceChangesRequest(server string) (*http.Request, error)

NewListHelpjuiceChangesRequest generates requests for ListHelpjuiceChanges

func NewListLanguagesForOrgRequest

func NewListLanguagesForOrgRequest(server string) (*http.Request, error)

NewListLanguagesForOrgRequest generates requests for ListLanguagesForOrg

func NewListNamespacesRequest

func NewListNamespacesRequest(server string) (*http.Request, error)

NewListNamespacesRequest generates requests for ListNamespaces

func NewMigrateRequest

func NewMigrateRequest(server string, body MigrateJSONRequestBody) (*http.Request, error)

NewMigrateRequest calls the generic Migrate builder with application/json body

func NewMigrateRequestWithBody

func NewMigrateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewMigrateRequestWithBody generates requests for Migrate with any type of body

func NewPostNamespacesNamespaceNameSyncRequest

func NewPostNamespacesNamespaceNameSyncRequest(server string, namespaceName string, body PostNamespacesNamespaceNameSyncJSONRequestBody) (*http.Request, error)

NewPostNamespacesNamespaceNameSyncRequest calls the generic PostNamespacesNamespaceNameSync builder with application/json body

func NewPostNamespacesNamespaceNameSyncRequestWithBody

func NewPostNamespacesNamespaceNameSyncRequestWithBody(server string, namespaceName string, contentType string, body io.Reader) (*http.Request, error)

NewPostNamespacesNamespaceNameSyncRequestWithBody generates requests for PostNamespacesNamespaceNameSync with any type of body

func NewPostTranslationsTranslateRequest

func NewPostTranslationsTranslateRequest(server string, body PostTranslationsTranslateJSONRequestBody) (*http.Request, error)

NewPostTranslationsTranslateRequest calls the generic PostTranslationsTranslate builder with application/json body

func NewPostTranslationsTranslateRequestWithBody

func NewPostTranslationsTranslateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostTranslationsTranslateRequestWithBody generates requests for PostTranslationsTranslate with any type of body

func NewRecommendMagicTranslationRequest

func NewRecommendMagicTranslationRequest(server string, namespaceName string, termId int, languageId int, body RecommendMagicTranslationJSONRequestBody) (*http.Request, error)

NewRecommendMagicTranslationRequest calls the generic RecommendMagicTranslation builder with application/json body

func NewRecommendMagicTranslationRequestWithBody

func NewRecommendMagicTranslationRequestWithBody(server string, namespaceName string, termId int, languageId int, contentType string, body io.Reader) (*http.Request, error)

NewRecommendMagicTranslationRequestWithBody generates requests for RecommendMagicTranslation with any type of body

func NewRemoveLanguageRequest

func NewRemoveLanguageRequest(server string, namespaceName string, languageId int) (*http.Request, error)

NewRemoveLanguageRequest generates requests for RemoveLanguage

func NewTranslateHelpjuiceChangeRequest

func NewTranslateHelpjuiceChangeRequest(server string, changeId string) (*http.Request, error)

NewTranslateHelpjuiceChangeRequest generates requests for TranslateHelpjuiceChange

func NewTranslateMissingTranslationsRequest

func NewTranslateMissingTranslationsRequest(server string, namespaceName string, body TranslateMissingTranslationsJSONRequestBody) (*http.Request, error)

NewTranslateMissingTranslationsRequest calls the generic TranslateMissingTranslations builder with application/json body

func NewTranslateMissingTranslationsRequestWithBody

func NewTranslateMissingTranslationsRequestWithBody(server string, namespaceName string, contentType string, body io.Reader) (*http.Request, error)

NewTranslateMissingTranslationsRequestWithBody generates requests for TranslateMissingTranslations with any type of body

func NewUpdateCustomPromptRequest

func NewUpdateCustomPromptRequest(server string, promptId string, body UpdateCustomPromptJSONRequestBody) (*http.Request, error)

NewUpdateCustomPromptRequest calls the generic UpdateCustomPrompt builder with application/json body

func NewUpdateCustomPromptRequestWithBody

func NewUpdateCustomPromptRequestWithBody(server string, promptId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateCustomPromptRequestWithBody generates requests for UpdateCustomPrompt with any type of body

func NewUpdateGlossaryItemTranslationRequest

func NewUpdateGlossaryItemTranslationRequest(server string, itemId string, languageId int, body UpdateGlossaryItemTranslationJSONRequestBody) (*http.Request, error)

NewUpdateGlossaryItemTranslationRequest calls the generic UpdateGlossaryItemTranslation builder with application/json body

func NewUpdateGlossaryItemTranslationRequestWithBody

func NewUpdateGlossaryItemTranslationRequestWithBody(server string, itemId string, languageId int, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGlossaryItemTranslationRequestWithBody generates requests for UpdateGlossaryItemTranslation with any type of body

func NewUpdateHelpjuiceSettingsRequest

func NewUpdateHelpjuiceSettingsRequest(server string, setupId string, body UpdateHelpjuiceSettingsJSONRequestBody) (*http.Request, error)

NewUpdateHelpjuiceSettingsRequest calls the generic UpdateHelpjuiceSettings builder with application/json body

func NewUpdateHelpjuiceSettingsRequestWithBody

func NewUpdateHelpjuiceSettingsRequestWithBody(server string, setupId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateHelpjuiceSettingsRequestWithBody generates requests for UpdateHelpjuiceSettings with any type of body

func NewUpdateNamespaceRequest

func NewUpdateNamespaceRequest(server string, namespaceName string, body UpdateNamespaceJSONRequestBody) (*http.Request, error)

NewUpdateNamespaceRequest calls the generic UpdateNamespace builder with application/json body

func NewUpdateNamespaceRequestWithBody

func NewUpdateNamespaceRequestWithBody(server string, namespaceName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateNamespaceRequestWithBody generates requests for UpdateNamespace with any type of body

func NewUpdateTermRequest

func NewUpdateTermRequest(server string, namespaceName string, termId int, body UpdateTermJSONRequestBody) (*http.Request, error)

NewUpdateTermRequest calls the generic UpdateTerm builder with application/json body

func NewUpdateTermRequestWithBody

func NewUpdateTermRequestWithBody(server string, namespaceName string, termId int, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTermRequestWithBody generates requests for UpdateTerm with any type of body

func NewUpdateTermTranslationRequest

func NewUpdateTermTranslationRequest(server string, namespaceName string, termId int, languageToNamespaceId int, body UpdateTermTranslationJSONRequestBody) (*http.Request, error)

NewUpdateTermTranslationRequest calls the generic UpdateTermTranslation builder with application/json body

func NewUpdateTermTranslationRequestWithBody

func NewUpdateTermTranslationRequestWithBody(server string, namespaceName string, termId int, languageToNamespaceId int, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTermTranslationRequestWithBody generates requests for UpdateTermTranslation with any type of body

Types

type AddLanguageJSONRequestBody

type AddLanguageJSONRequestBody = NamespacePayloadAddLanguageRequest

AddLanguageJSONRequestBody defines body for AddLanguage for application/json ContentType.

type AddLanguageResponse

type AddLanguageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NamespacePayloadAddLanguageResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseAddLanguageResponse

func ParseAddLanguageResponse(rsp *http.Response) (*AddLanguageResponse, error)

ParseAddLanguageResponse parses an HTTP response from a AddLanguageWithResponse call

func (AddLanguageResponse) ContentType

func (r AddLanguageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddLanguageResponse) Status

func (r AddLanguageResponse) Status() string

Status returns HTTPResponse.Status

func (AddLanguageResponse) StatusCode

func (r AddLanguageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddTermJSONRequestBody

type AddTermJSONRequestBody = TermPayloadAddRequest

AddTermJSONRequestBody defines body for AddTerm for application/json ContentType.

type AddTermResponse

type AddTermResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DtoDTOTerm
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseAddTermResponse

func ParseAddTermResponse(rsp *http.Response) (*AddTermResponse, error)

ParseAddTermResponse parses an HTTP response from a AddTermWithResponse call

func (AddTermResponse) ContentType

func (r AddTermResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddTermResponse) Status

func (r AddTermResponse) Status() string

Status returns HTTPResponse.Status

func (AddTermResponse) StatusCode

func (r AddTermResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddTranslationToGlossaryItemJSONRequestBody

type AddTranslationToGlossaryItemJSONRequestBody = GlossaryAddTranslationRequest

AddTranslationToGlossaryItemJSONRequestBody defines body for AddTranslationToGlossaryItem for application/json ContentType.

type AddTranslationToGlossaryItemResponse

type AddTranslationToGlossaryItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseAddTranslationToGlossaryItemResponse

func ParseAddTranslationToGlossaryItemResponse(rsp *http.Response) (*AddTranslationToGlossaryItemResponse, error)

ParseAddTranslationToGlossaryItemResponse parses an HTTP response from a AddTranslationToGlossaryItemWithResponse call

func (AddTranslationToGlossaryItemResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddTranslationToGlossaryItemResponse) Status

Status returns HTTPResponse.Status

func (AddTranslationToGlossaryItemResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ApikeyPayloadCreateRequest

type ApikeyPayloadCreateRequest struct {
	Name *string `json:"name,omitempty"`
}

ApikeyPayloadCreateRequest defines model for apikey.payloadCreateRequest.

type ApikeyPayloadCreateResponse

type ApikeyPayloadCreateResponse struct {
	Id    *string `json:"id,omitempty"`
	Value *string `json:"value,omitempty"`
}

ApikeyPayloadCreateResponse defines model for apikey.payloadCreateResponse.

type AttachLanguageToGlossaryResponse

type AttachLanguageToGlossaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseAttachLanguageToGlossaryResponse

func ParseAttachLanguageToGlossaryResponse(rsp *http.Response) (*AttachLanguageToGlossaryResponse, error)

ParseAttachLanguageToGlossaryResponse parses an HTTP response from a AttachLanguageToGlossaryWithResponse call

func (AttachLanguageToGlossaryResponse) ContentType

func (r AttachLanguageToGlossaryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AttachLanguageToGlossaryResponse) Status

Status returns HTTPResponse.Status

func (AttachLanguageToGlossaryResponse) StatusCode

func (r AttachLanguageToGlossaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddLanguage

func (c *Client) AddLanguage(ctx context.Context, namespaceName string, body AddLanguageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddLanguageWithBody

func (c *Client) AddLanguageWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddTerm

func (c *Client) AddTerm(ctx context.Context, namespaceName string, body AddTermJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddTermWithBody

func (c *Client) AddTermWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddTranslationToGlossaryItem

func (c *Client) AddTranslationToGlossaryItem(ctx context.Context, itemId string, body AddTranslationToGlossaryItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddTranslationToGlossaryItemWithBody

func (c *Client) AddTranslationToGlossaryItemWithBody(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AttachLanguageToGlossary

func (c *Client) AttachLanguageToGlossary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAPIKey

func (c *Client) CreateAPIKey(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAPIKeyWithBody

func (c *Client) CreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCustomLanguage

func (c *Client) CreateCustomLanguage(ctx context.Context, body CreateCustomLanguageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCustomLanguageWithBody

func (c *Client) CreateCustomLanguageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCustomPrompt

func (c *Client) CreateCustomPrompt(ctx context.Context, body CreateCustomPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCustomPromptWithBody

func (c *Client) CreateCustomPromptWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGlossary

func (c *Client) CreateGlossary(ctx context.Context, body CreateGlossaryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGlossaryItem

func (c *Client) CreateGlossaryItem(ctx context.Context, body CreateGlossaryItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGlossaryItemWithBody

func (c *Client) CreateGlossaryItemWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGlossaryWithBody

func (c *Client) CreateGlossaryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateHelpjuiceIntegration

func (c *Client) CreateHelpjuiceIntegration(ctx context.Context, body CreateHelpjuiceIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateHelpjuiceIntegrationWithBody

func (c *Client) CreateHelpjuiceIntegrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateImportWithBody

func (c *Client) CreateImportWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNamespace

func (c *Client) CreateNamespace(ctx context.Context, body CreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNamespaceWithBody

func (c *Client) CreateNamespaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAPIKey

func (c *Client) DeleteAPIKey(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCustomLanguage

func (c *Client) DeleteCustomLanguage(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCustomPrompt

func (c *Client) DeleteCustomPrompt(ctx context.Context, promptId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGlossaryItem

func (c *Client) DeleteGlossaryItem(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteNamespace

func (c *Client) DeleteNamespace(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTerm

func (c *Client) DeleteTerm(ctx context.Context, namespaceName string, termId int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGlossary

func (c *Client) GetGlossary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGlossaryItem

func (c *Client) GetGlossaryItem(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLanguagesByNamespace

func (c *Client) GetLanguagesByNamespace(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNamespaceByNameAndOrg

func (c *Client) GetNamespaceByNameAndOrg(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNamespacesNamespaceNameSyncJobId

func (c *Client) GetNamespacesNamespaceNameSyncJobId(ctx context.Context, namespaceName string, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProjects

func (c *Client) GetProjects(ctx context.Context, body GetProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProjectsWithBody

func (c *Client) GetProjectsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ImportFinish

func (c *Client) ImportFinish(ctx context.Context, namespaceName string, importId string, body ImportFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ImportFinishWithBody

func (c *Client) ImportFinishWithBody(ctx context.Context, namespaceName string, importId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAPIKeys

func (c *Client) ListAPIKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListByNamespace

func (c *Client) ListByNamespace(ctx context.Context, namespaceName string, params *ListByNamespaceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCustomPrompts

func (c *Client) ListCustomPrompts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGlossaryItems

func (c *Client) ListGlossaryItems(ctx context.Context, params *ListGlossaryItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListHelpjuiceChanges

func (c *Client) ListHelpjuiceChanges(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLanguagesForOrg

func (c *Client) ListLanguagesForOrg(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListNamespaces

func (c *Client) ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Migrate

func (c *Client) Migrate(ctx context.Context, body MigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MigrateWithBody

func (c *Client) MigrateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostNamespacesNamespaceNameSync

func (c *Client) PostNamespacesNamespaceNameSync(ctx context.Context, namespaceName string, body PostNamespacesNamespaceNameSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostNamespacesNamespaceNameSyncWithBody

func (c *Client) PostNamespacesNamespaceNameSyncWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTranslationsTranslate

func (c *Client) PostTranslationsTranslate(ctx context.Context, body PostTranslationsTranslateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostTranslationsTranslateWithBody

func (c *Client) PostTranslationsTranslateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RecommendMagicTranslation

func (c *Client) RecommendMagicTranslation(ctx context.Context, namespaceName string, termId int, languageId int, body RecommendMagicTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RecommendMagicTranslationWithBody

func (c *Client) RecommendMagicTranslationWithBody(ctx context.Context, namespaceName string, termId int, languageId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveLanguage

func (c *Client) RemoveLanguage(ctx context.Context, namespaceName string, languageId int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TranslateHelpjuiceChange

func (c *Client) TranslateHelpjuiceChange(ctx context.Context, changeId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TranslateMissingTranslations

func (c *Client) TranslateMissingTranslations(ctx context.Context, namespaceName string, body TranslateMissingTranslationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TranslateMissingTranslationsWithBody

func (c *Client) TranslateMissingTranslationsWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCustomPrompt

func (c *Client) UpdateCustomPrompt(ctx context.Context, promptId string, body UpdateCustomPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCustomPromptWithBody

func (c *Client) UpdateCustomPromptWithBody(ctx context.Context, promptId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGlossaryItemTranslation

func (c *Client) UpdateGlossaryItemTranslation(ctx context.Context, itemId string, languageId int, body UpdateGlossaryItemTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGlossaryItemTranslationWithBody

func (c *Client) UpdateGlossaryItemTranslationWithBody(ctx context.Context, itemId string, languageId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateHelpjuiceSettings

func (c *Client) UpdateHelpjuiceSettings(ctx context.Context, setupId string, body UpdateHelpjuiceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateHelpjuiceSettingsWithBody

func (c *Client) UpdateHelpjuiceSettingsWithBody(ctx context.Context, setupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNamespace

func (c *Client) UpdateNamespace(ctx context.Context, namespaceName string, body UpdateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNamespaceWithBody

func (c *Client) UpdateNamespaceWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTerm

func (c *Client) UpdateTerm(ctx context.Context, namespaceName string, termId int, body UpdateTermJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTermTranslation

func (c *Client) UpdateTermTranslation(ctx context.Context, namespaceName string, termId int, languageToNamespaceId int, body UpdateTermTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTermTranslationWithBody

func (c *Client) UpdateTermTranslationWithBody(ctx context.Context, namespaceName string, termId int, languageToNamespaceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTermWithBody

func (c *Client) UpdateTermWithBody(ctx context.Context, namespaceName string, termId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListAPIKeys request
	ListAPIKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAPIKeyWithBody request with any body
	CreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAPIKey(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAPIKey request
	DeleteAPIKey(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGlossary request
	GetGlossary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGlossaryWithBody request with any body
	CreateGlossaryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGlossary(ctx context.Context, body CreateGlossaryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGlossaryItems request
	ListGlossaryItems(ctx context.Context, params *ListGlossaryItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGlossaryItemWithBody request with any body
	CreateGlossaryItemWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGlossaryItem(ctx context.Context, body CreateGlossaryItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGlossaryItem request
	DeleteGlossaryItem(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGlossaryItem request
	GetGlossaryItem(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddTranslationToGlossaryItemWithBody request with any body
	AddTranslationToGlossaryItemWithBody(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddTranslationToGlossaryItem(ctx context.Context, itemId string, body AddTranslationToGlossaryItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGlossaryItemTranslationWithBody request with any body
	UpdateGlossaryItemTranslationWithBody(ctx context.Context, itemId string, languageId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGlossaryItemTranslation(ctx context.Context, itemId string, languageId int, body UpdateGlossaryItemTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AttachLanguageToGlossary request
	AttachLanguageToGlossary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListHelpjuiceChanges request
	ListHelpjuiceChanges(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TranslateHelpjuiceChange request
	TranslateHelpjuiceChange(ctx context.Context, changeId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateHelpjuiceIntegrationWithBody request with any body
	CreateHelpjuiceIntegrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateHelpjuiceIntegration(ctx context.Context, body CreateHelpjuiceIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateHelpjuiceSettingsWithBody request with any body
	UpdateHelpjuiceSettingsWithBody(ctx context.Context, setupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateHelpjuiceSettings(ctx context.Context, setupId string, body UpdateHelpjuiceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLanguagesForOrg request
	ListLanguagesForOrg(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCustomLanguageWithBody request with any body
	CreateCustomLanguageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateCustomLanguage(ctx context.Context, body CreateCustomLanguageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCustomLanguage request
	DeleteCustomLanguage(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectsWithBody request with any body
	GetProjectsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GetProjects(ctx context.Context, body GetProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MigrateWithBody request with any body
	MigrateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	Migrate(ctx context.Context, body MigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListNamespaces request
	ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateNamespaceWithBody request with any body
	CreateNamespaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateNamespace(ctx context.Context, body CreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNamespace request
	DeleteNamespace(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNamespaceByNameAndOrg request
	GetNamespaceByNameAndOrg(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateNamespaceWithBody request with any body
	UpdateNamespaceWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateNamespace(ctx context.Context, namespaceName string, body UpdateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLanguagesByNamespace request
	GetLanguagesByNamespace(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddLanguageWithBody request with any body
	AddLanguageWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddLanguage(ctx context.Context, namespaceName string, body AddLanguageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveLanguage request
	RemoveLanguage(ctx context.Context, namespaceName string, languageId int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostNamespacesNamespaceNameSyncWithBody request with any body
	PostNamespacesNamespaceNameSyncWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostNamespacesNamespaceNameSync(ctx context.Context, namespaceName string, body PostNamespacesNamespaceNameSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNamespacesNamespaceNameSyncJobId request
	GetNamespacesNamespaceNameSyncJobId(ctx context.Context, namespaceName string, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListByNamespace request
	ListByNamespace(ctx context.Context, namespaceName string, params *ListByNamespaceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddTermWithBody request with any body
	AddTermWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddTerm(ctx context.Context, namespaceName string, body AddTermJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateImportWithBody request with any body
	CreateImportWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportFinishWithBody request with any body
	ImportFinishWithBody(ctx context.Context, namespaceName string, importId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ImportFinish(ctx context.Context, namespaceName string, importId string, body ImportFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TranslateMissingTranslationsWithBody request with any body
	TranslateMissingTranslationsWithBody(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TranslateMissingTranslations(ctx context.Context, namespaceName string, body TranslateMissingTranslationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTerm request
	DeleteTerm(ctx context.Context, namespaceName string, termId int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTermWithBody request with any body
	UpdateTermWithBody(ctx context.Context, namespaceName string, termId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateTerm(ctx context.Context, namespaceName string, termId int, body UpdateTermJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RecommendMagicTranslationWithBody request with any body
	RecommendMagicTranslationWithBody(ctx context.Context, namespaceName string, termId int, languageId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RecommendMagicTranslation(ctx context.Context, namespaceName string, termId int, languageId int, body RecommendMagicTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTermTranslationWithBody request with any body
	UpdateTermTranslationWithBody(ctx context.Context, namespaceName string, termId int, languageToNamespaceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateTermTranslation(ctx context.Context, namespaceName string, termId int, languageToNamespaceId int, body UpdateTermTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCustomPrompts request
	ListCustomPrompts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCustomPromptWithBody request with any body
	CreateCustomPromptWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateCustomPrompt(ctx context.Context, body CreateCustomPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCustomPrompt request
	DeleteCustomPrompt(ctx context.Context, promptId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateCustomPromptWithBody request with any body
	UpdateCustomPromptWithBody(ctx context.Context, promptId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateCustomPrompt(ctx context.Context, promptId string, body UpdateCustomPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTranslationsTranslateWithBody request with any body
	PostTranslationsTranslateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostTranslationsTranslate(ctx context.Context, body PostTranslationsTranslateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddLanguageWithBodyWithResponse

func (c *ClientWithResponses) AddLanguageWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddLanguageResponse, error)

AddLanguageWithBodyWithResponse request with arbitrary body returning *AddLanguageResponse

func (*ClientWithResponses) AddLanguageWithResponse

func (c *ClientWithResponses) AddLanguageWithResponse(ctx context.Context, namespaceName string, body AddLanguageJSONRequestBody, reqEditors ...RequestEditorFn) (*AddLanguageResponse, error)

func (*ClientWithResponses) AddTermWithBodyWithResponse

func (c *ClientWithResponses) AddTermWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTermResponse, error)

AddTermWithBodyWithResponse request with arbitrary body returning *AddTermResponse

func (*ClientWithResponses) AddTermWithResponse

func (c *ClientWithResponses) AddTermWithResponse(ctx context.Context, namespaceName string, body AddTermJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTermResponse, error)

func (*ClientWithResponses) AddTranslationToGlossaryItemWithBodyWithResponse

func (c *ClientWithResponses) AddTranslationToGlossaryItemWithBodyWithResponse(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTranslationToGlossaryItemResponse, error)

AddTranslationToGlossaryItemWithBodyWithResponse request with arbitrary body returning *AddTranslationToGlossaryItemResponse

func (*ClientWithResponses) AddTranslationToGlossaryItemWithResponse

func (c *ClientWithResponses) AddTranslationToGlossaryItemWithResponse(ctx context.Context, itemId string, body AddTranslationToGlossaryItemJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTranslationToGlossaryItemResponse, error)

func (*ClientWithResponses) AttachLanguageToGlossaryWithResponse

func (c *ClientWithResponses) AttachLanguageToGlossaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AttachLanguageToGlossaryResponse, error)

AttachLanguageToGlossaryWithResponse request returning *AttachLanguageToGlossaryResponse

func (*ClientWithResponses) CreateAPIKeyWithBodyWithResponse

func (c *ClientWithResponses) CreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)

CreateAPIKeyWithBodyWithResponse request with arbitrary body returning *CreateAPIKeyResponse

func (*ClientWithResponses) CreateAPIKeyWithResponse

func (c *ClientWithResponses) CreateAPIKeyWithResponse(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)

func (*ClientWithResponses) CreateCustomLanguageWithBodyWithResponse

func (c *ClientWithResponses) CreateCustomLanguageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomLanguageResponse, error)

CreateCustomLanguageWithBodyWithResponse request with arbitrary body returning *CreateCustomLanguageResponse

func (*ClientWithResponses) CreateCustomLanguageWithResponse

func (c *ClientWithResponses) CreateCustomLanguageWithResponse(ctx context.Context, body CreateCustomLanguageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomLanguageResponse, error)

func (*ClientWithResponses) CreateCustomPromptWithBodyWithResponse

func (c *ClientWithResponses) CreateCustomPromptWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomPromptResponse, error)

CreateCustomPromptWithBodyWithResponse request with arbitrary body returning *CreateCustomPromptResponse

func (*ClientWithResponses) CreateCustomPromptWithResponse

func (c *ClientWithResponses) CreateCustomPromptWithResponse(ctx context.Context, body CreateCustomPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomPromptResponse, error)

func (*ClientWithResponses) CreateGlossaryItemWithBodyWithResponse

func (c *ClientWithResponses) CreateGlossaryItemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGlossaryItemResponse, error)

CreateGlossaryItemWithBodyWithResponse request with arbitrary body returning *CreateGlossaryItemResponse

func (*ClientWithResponses) CreateGlossaryItemWithResponse

func (c *ClientWithResponses) CreateGlossaryItemWithResponse(ctx context.Context, body CreateGlossaryItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGlossaryItemResponse, error)

func (*ClientWithResponses) CreateGlossaryWithBodyWithResponse

func (c *ClientWithResponses) CreateGlossaryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGlossaryResponse, error)

CreateGlossaryWithBodyWithResponse request with arbitrary body returning *CreateGlossaryResponse

func (*ClientWithResponses) CreateGlossaryWithResponse

func (c *ClientWithResponses) CreateGlossaryWithResponse(ctx context.Context, body CreateGlossaryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGlossaryResponse, error)

func (*ClientWithResponses) CreateHelpjuiceIntegrationWithBodyWithResponse

func (c *ClientWithResponses) CreateHelpjuiceIntegrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateHelpjuiceIntegrationResponse, error)

CreateHelpjuiceIntegrationWithBodyWithResponse request with arbitrary body returning *CreateHelpjuiceIntegrationResponse

func (*ClientWithResponses) CreateHelpjuiceIntegrationWithResponse

func (c *ClientWithResponses) CreateHelpjuiceIntegrationWithResponse(ctx context.Context, body CreateHelpjuiceIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateHelpjuiceIntegrationResponse, error)

func (*ClientWithResponses) CreateImportWithBodyWithResponse

func (c *ClientWithResponses) CreateImportWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImportResponse, error)

CreateImportWithBodyWithResponse request with arbitrary body returning *CreateImportResponse

func (*ClientWithResponses) CreateNamespaceWithBodyWithResponse

func (c *ClientWithResponses) CreateNamespaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNamespaceResponse, error)

CreateNamespaceWithBodyWithResponse request with arbitrary body returning *CreateNamespaceResponse

func (*ClientWithResponses) CreateNamespaceWithResponse

func (c *ClientWithResponses) CreateNamespaceWithResponse(ctx context.Context, body CreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNamespaceResponse, error)

func (*ClientWithResponses) DeleteAPIKeyWithResponse

func (c *ClientWithResponses) DeleteAPIKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)

DeleteAPIKeyWithResponse request returning *DeleteAPIKeyResponse

func (*ClientWithResponses) DeleteCustomLanguageWithResponse

func (c *ClientWithResponses) DeleteCustomLanguageWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteCustomLanguageResponse, error)

DeleteCustomLanguageWithResponse request returning *DeleteCustomLanguageResponse

func (*ClientWithResponses) DeleteCustomPromptWithResponse

func (c *ClientWithResponses) DeleteCustomPromptWithResponse(ctx context.Context, promptId string, reqEditors ...RequestEditorFn) (*DeleteCustomPromptResponse, error)

DeleteCustomPromptWithResponse request returning *DeleteCustomPromptResponse

func (*ClientWithResponses) DeleteGlossaryItemWithResponse

func (c *ClientWithResponses) DeleteGlossaryItemWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*DeleteGlossaryItemResponse, error)

DeleteGlossaryItemWithResponse request returning *DeleteGlossaryItemResponse

func (*ClientWithResponses) DeleteNamespaceWithResponse

func (c *ClientWithResponses) DeleteNamespaceWithResponse(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*DeleteNamespaceResponse, error)

DeleteNamespaceWithResponse request returning *DeleteNamespaceResponse

func (*ClientWithResponses) DeleteTermWithResponse

func (c *ClientWithResponses) DeleteTermWithResponse(ctx context.Context, namespaceName string, termId int, reqEditors ...RequestEditorFn) (*DeleteTermResponse, error)

DeleteTermWithResponse request returning *DeleteTermResponse

func (*ClientWithResponses) GetGlossaryItemWithResponse

func (c *ClientWithResponses) GetGlossaryItemWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*GetGlossaryItemResponse, error)

GetGlossaryItemWithResponse request returning *GetGlossaryItemResponse

func (*ClientWithResponses) GetGlossaryWithResponse

func (c *ClientWithResponses) GetGlossaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlossaryResponse, error)

GetGlossaryWithResponse request returning *GetGlossaryResponse

func (*ClientWithResponses) GetLanguagesByNamespaceWithResponse

func (c *ClientWithResponses) GetLanguagesByNamespaceWithResponse(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*GetLanguagesByNamespaceResponse, error)

GetLanguagesByNamespaceWithResponse request returning *GetLanguagesByNamespaceResponse

func (*ClientWithResponses) GetNamespaceByNameAndOrgWithResponse

func (c *ClientWithResponses) GetNamespaceByNameAndOrgWithResponse(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*GetNamespaceByNameAndOrgResponse, error)

GetNamespaceByNameAndOrgWithResponse request returning *GetNamespaceByNameAndOrgResponse

func (*ClientWithResponses) GetNamespacesNamespaceNameSyncJobIdWithResponse

func (c *ClientWithResponses) GetNamespacesNamespaceNameSyncJobIdWithResponse(ctx context.Context, namespaceName string, jobId string, reqEditors ...RequestEditorFn) (*GetNamespacesNamespaceNameSyncJobIdResponse, error)

GetNamespacesNamespaceNameSyncJobIdWithResponse request returning *GetNamespacesNamespaceNameSyncJobIdResponse

func (*ClientWithResponses) GetProjectsWithBodyWithResponse

func (c *ClientWithResponses) GetProjectsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)

GetProjectsWithBodyWithResponse request with arbitrary body returning *GetProjectsResponse

func (*ClientWithResponses) GetProjectsWithResponse

func (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, body GetProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)

func (*ClientWithResponses) ImportFinishWithBodyWithResponse

func (c *ClientWithResponses) ImportFinishWithBodyWithResponse(ctx context.Context, namespaceName string, importId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportFinishResponse, error)

ImportFinishWithBodyWithResponse request with arbitrary body returning *ImportFinishResponse

func (*ClientWithResponses) ImportFinishWithResponse

func (c *ClientWithResponses) ImportFinishWithResponse(ctx context.Context, namespaceName string, importId string, body ImportFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportFinishResponse, error)

func (*ClientWithResponses) ListAPIKeysWithResponse

func (c *ClientWithResponses) ListAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)

ListAPIKeysWithResponse request returning *ListAPIKeysResponse

func (*ClientWithResponses) ListByNamespaceWithResponse

func (c *ClientWithResponses) ListByNamespaceWithResponse(ctx context.Context, namespaceName string, params *ListByNamespaceParams, reqEditors ...RequestEditorFn) (*ListByNamespaceResponse, error)

ListByNamespaceWithResponse request returning *ListByNamespaceResponse

func (*ClientWithResponses) ListCustomPromptsWithResponse

func (c *ClientWithResponses) ListCustomPromptsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCustomPromptsResponse, error)

ListCustomPromptsWithResponse request returning *ListCustomPromptsResponse

func (*ClientWithResponses) ListGlossaryItemsWithResponse

func (c *ClientWithResponses) ListGlossaryItemsWithResponse(ctx context.Context, params *ListGlossaryItemsParams, reqEditors ...RequestEditorFn) (*ListGlossaryItemsResponse, error)

ListGlossaryItemsWithResponse request returning *ListGlossaryItemsResponse

func (*ClientWithResponses) ListHelpjuiceChangesWithResponse

func (c *ClientWithResponses) ListHelpjuiceChangesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListHelpjuiceChangesResponse, error)

ListHelpjuiceChangesWithResponse request returning *ListHelpjuiceChangesResponse

func (*ClientWithResponses) ListLanguagesForOrgWithResponse

func (c *ClientWithResponses) ListLanguagesForOrgWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLanguagesForOrgResponse, error)

ListLanguagesForOrgWithResponse request returning *ListLanguagesForOrgResponse

func (*ClientWithResponses) ListNamespacesWithResponse

func (c *ClientWithResponses) ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error)

ListNamespacesWithResponse request returning *ListNamespacesResponse

func (*ClientWithResponses) MigrateWithBodyWithResponse

func (c *ClientWithResponses) MigrateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MigrateResponse, error)

MigrateWithBodyWithResponse request with arbitrary body returning *MigrateResponse

func (*ClientWithResponses) MigrateWithResponse

func (c *ClientWithResponses) MigrateWithResponse(ctx context.Context, body MigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*MigrateResponse, error)

func (*ClientWithResponses) PostNamespacesNamespaceNameSyncWithBodyWithResponse

func (c *ClientWithResponses) PostNamespacesNamespaceNameSyncWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNamespacesNamespaceNameSyncResponse, error)

PostNamespacesNamespaceNameSyncWithBodyWithResponse request with arbitrary body returning *PostNamespacesNamespaceNameSyncResponse

func (*ClientWithResponses) PostNamespacesNamespaceNameSyncWithResponse

func (c *ClientWithResponses) PostNamespacesNamespaceNameSyncWithResponse(ctx context.Context, namespaceName string, body PostNamespacesNamespaceNameSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNamespacesNamespaceNameSyncResponse, error)

func (*ClientWithResponses) PostTranslationsTranslateWithBodyWithResponse

func (c *ClientWithResponses) PostTranslationsTranslateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTranslationsTranslateResponse, error)

PostTranslationsTranslateWithBodyWithResponse request with arbitrary body returning *PostTranslationsTranslateResponse

func (*ClientWithResponses) PostTranslationsTranslateWithResponse

func (c *ClientWithResponses) PostTranslationsTranslateWithResponse(ctx context.Context, body PostTranslationsTranslateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTranslationsTranslateResponse, error)

func (*ClientWithResponses) RecommendMagicTranslationWithBodyWithResponse

func (c *ClientWithResponses) RecommendMagicTranslationWithBodyWithResponse(ctx context.Context, namespaceName string, termId int, languageId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RecommendMagicTranslationResponse, error)

RecommendMagicTranslationWithBodyWithResponse request with arbitrary body returning *RecommendMagicTranslationResponse

func (*ClientWithResponses) RecommendMagicTranslationWithResponse

func (c *ClientWithResponses) RecommendMagicTranslationWithResponse(ctx context.Context, namespaceName string, termId int, languageId int, body RecommendMagicTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*RecommendMagicTranslationResponse, error)

func (*ClientWithResponses) RemoveLanguageWithResponse

func (c *ClientWithResponses) RemoveLanguageWithResponse(ctx context.Context, namespaceName string, languageId int, reqEditors ...RequestEditorFn) (*RemoveLanguageResponse, error)

RemoveLanguageWithResponse request returning *RemoveLanguageResponse

func (*ClientWithResponses) TranslateHelpjuiceChangeWithResponse

func (c *ClientWithResponses) TranslateHelpjuiceChangeWithResponse(ctx context.Context, changeId string, reqEditors ...RequestEditorFn) (*TranslateHelpjuiceChangeResponse, error)

TranslateHelpjuiceChangeWithResponse request returning *TranslateHelpjuiceChangeResponse

func (*ClientWithResponses) TranslateMissingTranslationsWithBodyWithResponse

func (c *ClientWithResponses) TranslateMissingTranslationsWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TranslateMissingTranslationsResponse, error)

TranslateMissingTranslationsWithBodyWithResponse request with arbitrary body returning *TranslateMissingTranslationsResponse

func (*ClientWithResponses) TranslateMissingTranslationsWithResponse

func (c *ClientWithResponses) TranslateMissingTranslationsWithResponse(ctx context.Context, namespaceName string, body TranslateMissingTranslationsJSONRequestBody, reqEditors ...RequestEditorFn) (*TranslateMissingTranslationsResponse, error)

func (*ClientWithResponses) UpdateCustomPromptWithBodyWithResponse

func (c *ClientWithResponses) UpdateCustomPromptWithBodyWithResponse(ctx context.Context, promptId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomPromptResponse, error)

UpdateCustomPromptWithBodyWithResponse request with arbitrary body returning *UpdateCustomPromptResponse

func (*ClientWithResponses) UpdateCustomPromptWithResponse

func (c *ClientWithResponses) UpdateCustomPromptWithResponse(ctx context.Context, promptId string, body UpdateCustomPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomPromptResponse, error)

func (*ClientWithResponses) UpdateGlossaryItemTranslationWithBodyWithResponse

func (c *ClientWithResponses) UpdateGlossaryItemTranslationWithBodyWithResponse(ctx context.Context, itemId string, languageId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGlossaryItemTranslationResponse, error)

UpdateGlossaryItemTranslationWithBodyWithResponse request with arbitrary body returning *UpdateGlossaryItemTranslationResponse

func (*ClientWithResponses) UpdateGlossaryItemTranslationWithResponse

func (c *ClientWithResponses) UpdateGlossaryItemTranslationWithResponse(ctx context.Context, itemId string, languageId int, body UpdateGlossaryItemTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGlossaryItemTranslationResponse, error)

func (*ClientWithResponses) UpdateHelpjuiceSettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdateHelpjuiceSettingsWithBodyWithResponse(ctx context.Context, setupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateHelpjuiceSettingsResponse, error)

UpdateHelpjuiceSettingsWithBodyWithResponse request with arbitrary body returning *UpdateHelpjuiceSettingsResponse

func (*ClientWithResponses) UpdateHelpjuiceSettingsWithResponse

func (c *ClientWithResponses) UpdateHelpjuiceSettingsWithResponse(ctx context.Context, setupId string, body UpdateHelpjuiceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateHelpjuiceSettingsResponse, error)

func (*ClientWithResponses) UpdateNamespaceWithBodyWithResponse

func (c *ClientWithResponses) UpdateNamespaceWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNamespaceResponse, error)

UpdateNamespaceWithBodyWithResponse request with arbitrary body returning *UpdateNamespaceResponse

func (*ClientWithResponses) UpdateNamespaceWithResponse

func (c *ClientWithResponses) UpdateNamespaceWithResponse(ctx context.Context, namespaceName string, body UpdateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNamespaceResponse, error)

func (*ClientWithResponses) UpdateTermTranslationWithBodyWithResponse

func (c *ClientWithResponses) UpdateTermTranslationWithBodyWithResponse(ctx context.Context, namespaceName string, termId int, languageToNamespaceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTermTranslationResponse, error)

UpdateTermTranslationWithBodyWithResponse request with arbitrary body returning *UpdateTermTranslationResponse

func (*ClientWithResponses) UpdateTermTranslationWithResponse

func (c *ClientWithResponses) UpdateTermTranslationWithResponse(ctx context.Context, namespaceName string, termId int, languageToNamespaceId int, body UpdateTermTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTermTranslationResponse, error)

func (*ClientWithResponses) UpdateTermWithBodyWithResponse

func (c *ClientWithResponses) UpdateTermWithBodyWithResponse(ctx context.Context, namespaceName string, termId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTermResponse, error)

UpdateTermWithBodyWithResponse request with arbitrary body returning *UpdateTermResponse

func (*ClientWithResponses) UpdateTermWithResponse

func (c *ClientWithResponses) UpdateTermWithResponse(ctx context.Context, namespaceName string, termId int, body UpdateTermJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTermResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListAPIKeysWithResponse request
	ListAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)

	// CreateAPIKeyWithBodyWithResponse request with any body
	CreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)

	CreateAPIKeyWithResponse(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)

	// DeleteAPIKeyWithResponse request
	DeleteAPIKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)

	// GetGlossaryWithResponse request
	GetGlossaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlossaryResponse, error)

	// CreateGlossaryWithBodyWithResponse request with any body
	CreateGlossaryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGlossaryResponse, error)

	CreateGlossaryWithResponse(ctx context.Context, body CreateGlossaryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGlossaryResponse, error)

	// ListGlossaryItemsWithResponse request
	ListGlossaryItemsWithResponse(ctx context.Context, params *ListGlossaryItemsParams, reqEditors ...RequestEditorFn) (*ListGlossaryItemsResponse, error)

	// CreateGlossaryItemWithBodyWithResponse request with any body
	CreateGlossaryItemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGlossaryItemResponse, error)

	CreateGlossaryItemWithResponse(ctx context.Context, body CreateGlossaryItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGlossaryItemResponse, error)

	// DeleteGlossaryItemWithResponse request
	DeleteGlossaryItemWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*DeleteGlossaryItemResponse, error)

	// GetGlossaryItemWithResponse request
	GetGlossaryItemWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*GetGlossaryItemResponse, error)

	// AddTranslationToGlossaryItemWithBodyWithResponse request with any body
	AddTranslationToGlossaryItemWithBodyWithResponse(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTranslationToGlossaryItemResponse, error)

	AddTranslationToGlossaryItemWithResponse(ctx context.Context, itemId string, body AddTranslationToGlossaryItemJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTranslationToGlossaryItemResponse, error)

	// UpdateGlossaryItemTranslationWithBodyWithResponse request with any body
	UpdateGlossaryItemTranslationWithBodyWithResponse(ctx context.Context, itemId string, languageId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGlossaryItemTranslationResponse, error)

	UpdateGlossaryItemTranslationWithResponse(ctx context.Context, itemId string, languageId int, body UpdateGlossaryItemTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGlossaryItemTranslationResponse, error)

	// AttachLanguageToGlossaryWithResponse request
	AttachLanguageToGlossaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AttachLanguageToGlossaryResponse, error)

	// ListHelpjuiceChangesWithResponse request
	ListHelpjuiceChangesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListHelpjuiceChangesResponse, error)

	// TranslateHelpjuiceChangeWithResponse request
	TranslateHelpjuiceChangeWithResponse(ctx context.Context, changeId string, reqEditors ...RequestEditorFn) (*TranslateHelpjuiceChangeResponse, error)

	// CreateHelpjuiceIntegrationWithBodyWithResponse request with any body
	CreateHelpjuiceIntegrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateHelpjuiceIntegrationResponse, error)

	CreateHelpjuiceIntegrationWithResponse(ctx context.Context, body CreateHelpjuiceIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateHelpjuiceIntegrationResponse, error)

	// UpdateHelpjuiceSettingsWithBodyWithResponse request with any body
	UpdateHelpjuiceSettingsWithBodyWithResponse(ctx context.Context, setupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateHelpjuiceSettingsResponse, error)

	UpdateHelpjuiceSettingsWithResponse(ctx context.Context, setupId string, body UpdateHelpjuiceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateHelpjuiceSettingsResponse, error)

	// ListLanguagesForOrgWithResponse request
	ListLanguagesForOrgWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLanguagesForOrgResponse, error)

	// CreateCustomLanguageWithBodyWithResponse request with any body
	CreateCustomLanguageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomLanguageResponse, error)

	CreateCustomLanguageWithResponse(ctx context.Context, body CreateCustomLanguageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomLanguageResponse, error)

	// DeleteCustomLanguageWithResponse request
	DeleteCustomLanguageWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteCustomLanguageResponse, error)

	// GetProjectsWithBodyWithResponse request with any body
	GetProjectsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)

	GetProjectsWithResponse(ctx context.Context, body GetProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)

	// MigrateWithBodyWithResponse request with any body
	MigrateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MigrateResponse, error)

	MigrateWithResponse(ctx context.Context, body MigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*MigrateResponse, error)

	// ListNamespacesWithResponse request
	ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error)

	// CreateNamespaceWithBodyWithResponse request with any body
	CreateNamespaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNamespaceResponse, error)

	CreateNamespaceWithResponse(ctx context.Context, body CreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNamespaceResponse, error)

	// DeleteNamespaceWithResponse request
	DeleteNamespaceWithResponse(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*DeleteNamespaceResponse, error)

	// GetNamespaceByNameAndOrgWithResponse request
	GetNamespaceByNameAndOrgWithResponse(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*GetNamespaceByNameAndOrgResponse, error)

	// UpdateNamespaceWithBodyWithResponse request with any body
	UpdateNamespaceWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNamespaceResponse, error)

	UpdateNamespaceWithResponse(ctx context.Context, namespaceName string, body UpdateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNamespaceResponse, error)

	// GetLanguagesByNamespaceWithResponse request
	GetLanguagesByNamespaceWithResponse(ctx context.Context, namespaceName string, reqEditors ...RequestEditorFn) (*GetLanguagesByNamespaceResponse, error)

	// AddLanguageWithBodyWithResponse request with any body
	AddLanguageWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddLanguageResponse, error)

	AddLanguageWithResponse(ctx context.Context, namespaceName string, body AddLanguageJSONRequestBody, reqEditors ...RequestEditorFn) (*AddLanguageResponse, error)

	// RemoveLanguageWithResponse request
	RemoveLanguageWithResponse(ctx context.Context, namespaceName string, languageId int, reqEditors ...RequestEditorFn) (*RemoveLanguageResponse, error)

	// PostNamespacesNamespaceNameSyncWithBodyWithResponse request with any body
	PostNamespacesNamespaceNameSyncWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNamespacesNamespaceNameSyncResponse, error)

	PostNamespacesNamespaceNameSyncWithResponse(ctx context.Context, namespaceName string, body PostNamespacesNamespaceNameSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNamespacesNamespaceNameSyncResponse, error)

	// GetNamespacesNamespaceNameSyncJobIdWithResponse request
	GetNamespacesNamespaceNameSyncJobIdWithResponse(ctx context.Context, namespaceName string, jobId string, reqEditors ...RequestEditorFn) (*GetNamespacesNamespaceNameSyncJobIdResponse, error)

	// ListByNamespaceWithResponse request
	ListByNamespaceWithResponse(ctx context.Context, namespaceName string, params *ListByNamespaceParams, reqEditors ...RequestEditorFn) (*ListByNamespaceResponse, error)

	// AddTermWithBodyWithResponse request with any body
	AddTermWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTermResponse, error)

	AddTermWithResponse(ctx context.Context, namespaceName string, body AddTermJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTermResponse, error)

	// CreateImportWithBodyWithResponse request with any body
	CreateImportWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImportResponse, error)

	// ImportFinishWithBodyWithResponse request with any body
	ImportFinishWithBodyWithResponse(ctx context.Context, namespaceName string, importId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportFinishResponse, error)

	ImportFinishWithResponse(ctx context.Context, namespaceName string, importId string, body ImportFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportFinishResponse, error)

	// TranslateMissingTranslationsWithBodyWithResponse request with any body
	TranslateMissingTranslationsWithBodyWithResponse(ctx context.Context, namespaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TranslateMissingTranslationsResponse, error)

	TranslateMissingTranslationsWithResponse(ctx context.Context, namespaceName string, body TranslateMissingTranslationsJSONRequestBody, reqEditors ...RequestEditorFn) (*TranslateMissingTranslationsResponse, error)

	// DeleteTermWithResponse request
	DeleteTermWithResponse(ctx context.Context, namespaceName string, termId int, reqEditors ...RequestEditorFn) (*DeleteTermResponse, error)

	// UpdateTermWithBodyWithResponse request with any body
	UpdateTermWithBodyWithResponse(ctx context.Context, namespaceName string, termId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTermResponse, error)

	UpdateTermWithResponse(ctx context.Context, namespaceName string, termId int, body UpdateTermJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTermResponse, error)

	// RecommendMagicTranslationWithBodyWithResponse request with any body
	RecommendMagicTranslationWithBodyWithResponse(ctx context.Context, namespaceName string, termId int, languageId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RecommendMagicTranslationResponse, error)

	RecommendMagicTranslationWithResponse(ctx context.Context, namespaceName string, termId int, languageId int, body RecommendMagicTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*RecommendMagicTranslationResponse, error)

	// UpdateTermTranslationWithBodyWithResponse request with any body
	UpdateTermTranslationWithBodyWithResponse(ctx context.Context, namespaceName string, termId int, languageToNamespaceId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTermTranslationResponse, error)

	UpdateTermTranslationWithResponse(ctx context.Context, namespaceName string, termId int, languageToNamespaceId int, body UpdateTermTranslationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTermTranslationResponse, error)

	// ListCustomPromptsWithResponse request
	ListCustomPromptsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCustomPromptsResponse, error)

	// CreateCustomPromptWithBodyWithResponse request with any body
	CreateCustomPromptWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomPromptResponse, error)

	CreateCustomPromptWithResponse(ctx context.Context, body CreateCustomPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomPromptResponse, error)

	// DeleteCustomPromptWithResponse request
	DeleteCustomPromptWithResponse(ctx context.Context, promptId string, reqEditors ...RequestEditorFn) (*DeleteCustomPromptResponse, error)

	// UpdateCustomPromptWithBodyWithResponse request with any body
	UpdateCustomPromptWithBodyWithResponse(ctx context.Context, promptId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomPromptResponse, error)

	UpdateCustomPromptWithResponse(ctx context.Context, promptId string, body UpdateCustomPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomPromptResponse, error)

	// PostTranslationsTranslateWithBodyWithResponse request with any body
	PostTranslationsTranslateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTranslationsTranslateResponse, error)

	PostTranslationsTranslateWithResponse(ctx context.Context, body PostTranslationsTranslateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTranslationsTranslateResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConstantsGlossaryItemType

type ConstantsGlossaryItemType string

ConstantsGlossaryItemType defines model for constants.GlossaryItemType.

const (
	GlosasryItemTypePhrase        ConstantsGlossaryItemType = "phrase"
	GlossaryItemTypeAdj           ConstantsGlossaryItemType = "adjective"
	GlossaryItemTypeAdv           ConstantsGlossaryItemType = "adverb"
	GlossaryItemTypeConjunction   ConstantsGlossaryItemType = "conjunction"
	GlossaryItemTypeIdiom         ConstantsGlossaryItemType = "idiom"
	GlossaryItemTypeInterjection  ConstantsGlossaryItemType = "interjection"
	GlossaryItemTypeNotApplicable ConstantsGlossaryItemType = "n/a"
	GlossaryItemTypeNoun          ConstantsGlossaryItemType = "noun"
	GlossaryItemTypePreposition   ConstantsGlossaryItemType = "preposition"
	GlossaryItemTypePronoun       ConstantsGlossaryItemType = "pronoun"
	GlossaryItemTypeVerb          ConstantsGlossaryItemType = "verb"
)

Defines values for ConstantsGlossaryItemType.

func (ConstantsGlossaryItemType) Valid

func (e ConstantsGlossaryItemType) Valid() bool

Valid indicates whether the value is a known member of the ConstantsGlossaryItemType enum.

type ConstantsIntegrationHelpjuiceChangeTranslationStatus

type ConstantsIntegrationHelpjuiceChangeTranslationStatus string

ConstantsIntegrationHelpjuiceChangeTranslationStatus defines model for constants.IntegrationHelpjuiceChangeTranslationStatus.

const (
	IntegrationHelpjuiceChangeTranslationStatusCompleted  ConstantsIntegrationHelpjuiceChangeTranslationStatus = "completed"
	IntegrationHelpjuiceChangeTranslationStatusFailed     ConstantsIntegrationHelpjuiceChangeTranslationStatus = "failed"
	IntegrationHelpjuiceChangeTranslationStatusInProgress ConstantsIntegrationHelpjuiceChangeTranslationStatus = "in_progress"
	IntegrationHelpjuiceChangeTranslationStatusNew        ConstantsIntegrationHelpjuiceChangeTranslationStatus = "new"
	IntegrationHelpjuiceChangeTranslationStatusPending    ConstantsIntegrationHelpjuiceChangeTranslationStatus = "pending"
)

Defines values for ConstantsIntegrationHelpjuiceChangeTranslationStatus.

func (ConstantsIntegrationHelpjuiceChangeTranslationStatus) Valid

Valid indicates whether the value is a known member of the ConstantsIntegrationHelpjuiceChangeTranslationStatus enum.

type ConstantsTermBulkImportStatus

type ConstantsTermBulkImportStatus string

ConstantsTermBulkImportStatus defines model for constants.TermBulkImportStatus.

const (
	TermBulkImportStatusCompleted  ConstantsTermBulkImportStatus = "completed"
	TermBulkImportStatusFailed     ConstantsTermBulkImportStatus = "failed"
	TermBulkImportStatusPrechecked ConstantsTermBulkImportStatus = "prechecked"
	TermBulkImportStatusProcessing ConstantsTermBulkImportStatus = "processing"
)

Defines values for ConstantsTermBulkImportStatus.

func (ConstantsTermBulkImportStatus) Valid

Valid indicates whether the value is a known member of the ConstantsTermBulkImportStatus enum.

type ConstantsTermImportCSVColumnSetupType

type ConstantsTermImportCSVColumnSetupType string

ConstantsTermImportCSVColumnSetupType defines model for constants.TermImportCSVColumnSetupType.

const (
	TermImportCSVColumnSetupTypeContext     ConstantsTermImportCSVColumnSetupType = "context"
	TermImportCSVColumnSetupTypeIgnore      ConstantsTermImportCSVColumnSetupType = "ignore"
	TermImportCSVColumnSetupTypeMark        ConstantsTermImportCSVColumnSetupType = "mark"
	TermImportCSVColumnSetupTypeTranslation ConstantsTermImportCSVColumnSetupType = "translation"
)

Defines values for ConstantsTermImportCSVColumnSetupType.

func (ConstantsTermImportCSVColumnSetupType) Valid

Valid indicates whether the value is a known member of the ConstantsTermImportCSVColumnSetupType enum.

type ConstantsTermImportFormat

type ConstantsTermImportFormat string

ConstantsTermImportFormat defines model for constants.TermImportFormat.

const (
	TermImportFormatCSV  ConstantsTermImportFormat = "csv"
	TermImportFormatTSV  ConstantsTermImportFormat = "tsv"
	TermImportFormatXLS  ConstantsTermImportFormat = "xls"
	TermImportFormatXLSX ConstantsTermImportFormat = "xlsx"
)

Defines values for ConstantsTermImportFormat.

func (ConstantsTermImportFormat) Valid

func (e ConstantsTermImportFormat) Valid() bool

Valid indicates whether the value is a known member of the ConstantsTermImportFormat enum.

type CreateAPIKeyJSONRequestBody

type CreateAPIKeyJSONRequestBody = ApikeyPayloadCreateRequest

CreateAPIKeyJSONRequestBody defines body for CreateAPIKey for application/json ContentType.

type CreateAPIKeyResponse

type CreateAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApikeyPayloadCreateResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseCreateAPIKeyResponse

func ParseCreateAPIKeyResponse(rsp *http.Response) (*CreateAPIKeyResponse, error)

ParseCreateAPIKeyResponse parses an HTTP response from a CreateAPIKeyWithResponse call

func (CreateAPIKeyResponse) ContentType

func (r CreateAPIKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateAPIKeyResponse) Status

func (r CreateAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAPIKeyResponse) StatusCode

func (r CreateAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCustomLanguageJSONRequestBody

type CreateCustomLanguageJSONRequestBody = LanguagePayloadCreateLanguageRequest

CreateCustomLanguageJSONRequestBody defines body for CreateCustomLanguage for application/json ContentType.

type CreateCustomLanguageResponse

type CreateCustomLanguageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *DtoDTOLanguage
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON409      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseCreateCustomLanguageResponse

func ParseCreateCustomLanguageResponse(rsp *http.Response) (*CreateCustomLanguageResponse, error)

ParseCreateCustomLanguageResponse parses an HTTP response from a CreateCustomLanguageWithResponse call

func (CreateCustomLanguageResponse) ContentType

func (r CreateCustomLanguageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateCustomLanguageResponse) Status

Status returns HTTPResponse.Status

func (CreateCustomLanguageResponse) StatusCode

func (r CreateCustomLanguageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCustomPromptJSONRequestBody

type CreateCustomPromptJSONRequestBody = TranslationCreateCustomPromptInput

CreateCustomPromptJSONRequestBody defines body for CreateCustomPrompt for application/json ContentType.

type CreateCustomPromptResponse

type CreateCustomPromptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TranslationCreateCustomPromptResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseCreateCustomPromptResponse

func ParseCreateCustomPromptResponse(rsp *http.Response) (*CreateCustomPromptResponse, error)

ParseCreateCustomPromptResponse parses an HTTP response from a CreateCustomPromptWithResponse call

func (CreateCustomPromptResponse) ContentType

func (r CreateCustomPromptResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateCustomPromptResponse) Status

Status returns HTTPResponse.Status

func (CreateCustomPromptResponse) StatusCode

func (r CreateCustomPromptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGlossaryItemJSONRequestBody

type CreateGlossaryItemJSONRequestBody = GlossaryCreateItemRequest

CreateGlossaryItemJSONRequestBody defines body for CreateGlossaryItem for application/json ContentType.

type CreateGlossaryItemResponse

type CreateGlossaryItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *GlossaryCreateItemResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseCreateGlossaryItemResponse

func ParseCreateGlossaryItemResponse(rsp *http.Response) (*CreateGlossaryItemResponse, error)

ParseCreateGlossaryItemResponse parses an HTTP response from a CreateGlossaryItemWithResponse call

func (CreateGlossaryItemResponse) ContentType

func (r CreateGlossaryItemResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateGlossaryItemResponse) Status

Status returns HTTPResponse.Status

func (CreateGlossaryItemResponse) StatusCode

func (r CreateGlossaryItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGlossaryJSONRequestBody

type CreateGlossaryJSONRequestBody = GlossaryCreateGlossaryRequest

CreateGlossaryJSONRequestBody defines body for CreateGlossary for application/json ContentType.

type CreateGlossaryResponse

type CreateGlossaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GlossaryCreateGlossaryResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseCreateGlossaryResponse

func ParseCreateGlossaryResponse(rsp *http.Response) (*CreateGlossaryResponse, error)

ParseCreateGlossaryResponse parses an HTTP response from a CreateGlossaryWithResponse call

func (CreateGlossaryResponse) ContentType

func (r CreateGlossaryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateGlossaryResponse) Status

func (r CreateGlossaryResponse) Status() string

Status returns HTTPResponse.Status

func (CreateGlossaryResponse) StatusCode

func (r CreateGlossaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateHelpjuiceIntegrationJSONRequestBody

type CreateHelpjuiceIntegrationJSONRequestBody = HelpjuiceCreateRequestBody

CreateHelpjuiceIntegrationJSONRequestBody defines body for CreateHelpjuiceIntegration for application/json ContentType.

type CreateHelpjuiceIntegrationResponse

type CreateHelpjuiceIntegrationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *HelpjuiceCreateResponseBody
	JSON400      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseCreateHelpjuiceIntegrationResponse

func ParseCreateHelpjuiceIntegrationResponse(rsp *http.Response) (*CreateHelpjuiceIntegrationResponse, error)

ParseCreateHelpjuiceIntegrationResponse parses an HTTP response from a CreateHelpjuiceIntegrationWithResponse call

func (CreateHelpjuiceIntegrationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateHelpjuiceIntegrationResponse) Status

Status returns HTTPResponse.Status

func (CreateHelpjuiceIntegrationResponse) StatusCode

func (r CreateHelpjuiceIntegrationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateImportMultipartBody

type CreateImportMultipartBody struct {
	// File File to import
	File openapi_types.File `json:"file"`
}

CreateImportMultipartBody defines parameters for CreateImport.

type CreateImportMultipartRequestBody

type CreateImportMultipartRequestBody CreateImportMultipartBody

CreateImportMultipartRequestBody defines body for CreateImport for multipart/form-data ContentType.

type CreateImportResponse

type CreateImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TermImportPrecheckResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseCreateImportResponse

func ParseCreateImportResponse(rsp *http.Response) (*CreateImportResponse, error)

ParseCreateImportResponse parses an HTTP response from a CreateImportWithResponse call

func (CreateImportResponse) ContentType

func (r CreateImportResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateImportResponse) Status

func (r CreateImportResponse) Status() string

Status returns HTTPResponse.Status

func (CreateImportResponse) StatusCode

func (r CreateImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateNamespaceJSONRequestBody

type CreateNamespaceJSONRequestBody = NamespacePayloadCreateNamespaceRequest

CreateNamespaceJSONRequestBody defines body for CreateNamespace for application/json ContentType.

type CreateNamespaceResponse

type CreateNamespaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseCreateNamespaceResponse

func ParseCreateNamespaceResponse(rsp *http.Response) (*CreateNamespaceResponse, error)

ParseCreateNamespaceResponse parses an HTTP response from a CreateNamespaceWithResponse call

func (CreateNamespaceResponse) ContentType

func (r CreateNamespaceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateNamespaceResponse) Status

func (r CreateNamespaceResponse) Status() string

Status returns HTTPResponse.Status

func (CreateNamespaceResponse) StatusCode

func (r CreateNamespaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAPIKeyResponse

type DeleteAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseDeleteAPIKeyResponse

func ParseDeleteAPIKeyResponse(rsp *http.Response) (*DeleteAPIKeyResponse, error)

ParseDeleteAPIKeyResponse parses an HTTP response from a DeleteAPIKeyWithResponse call

func (DeleteAPIKeyResponse) ContentType

func (r DeleteAPIKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAPIKeyResponse) Status

func (r DeleteAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAPIKeyResponse) StatusCode

func (r DeleteAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCustomLanguageResponse

type DeleteCustomLanguageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON409      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseDeleteCustomLanguageResponse

func ParseDeleteCustomLanguageResponse(rsp *http.Response) (*DeleteCustomLanguageResponse, error)

ParseDeleteCustomLanguageResponse parses an HTTP response from a DeleteCustomLanguageWithResponse call

func (DeleteCustomLanguageResponse) ContentType

func (r DeleteCustomLanguageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteCustomLanguageResponse) Status

Status returns HTTPResponse.Status

func (DeleteCustomLanguageResponse) StatusCode

func (r DeleteCustomLanguageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCustomPromptResponse

type DeleteCustomPromptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseDeleteCustomPromptResponse

func ParseDeleteCustomPromptResponse(rsp *http.Response) (*DeleteCustomPromptResponse, error)

ParseDeleteCustomPromptResponse parses an HTTP response from a DeleteCustomPromptWithResponse call

func (DeleteCustomPromptResponse) ContentType

func (r DeleteCustomPromptResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteCustomPromptResponse) Status

Status returns HTTPResponse.Status

func (DeleteCustomPromptResponse) StatusCode

func (r DeleteCustomPromptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGlossaryItemResponse

type DeleteGlossaryItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseDeleteGlossaryItemResponse

func ParseDeleteGlossaryItemResponse(rsp *http.Response) (*DeleteGlossaryItemResponse, error)

ParseDeleteGlossaryItemResponse parses an HTTP response from a DeleteGlossaryItemWithResponse call

func (DeleteGlossaryItemResponse) ContentType

func (r DeleteGlossaryItemResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteGlossaryItemResponse) Status

Status returns HTTPResponse.Status

func (DeleteGlossaryItemResponse) StatusCode

func (r DeleteGlossaryItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteNamespaceResponse

type DeleteNamespaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseDeleteNamespaceResponse

func ParseDeleteNamespaceResponse(rsp *http.Response) (*DeleteNamespaceResponse, error)

ParseDeleteNamespaceResponse parses an HTTP response from a DeleteNamespaceWithResponse call

func (DeleteNamespaceResponse) ContentType

func (r DeleteNamespaceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteNamespaceResponse) Status

func (r DeleteNamespaceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteNamespaceResponse) StatusCode

func (r DeleteNamespaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTermResponse

type DeleteTermResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseDeleteTermResponse

func ParseDeleteTermResponse(rsp *http.Response) (*DeleteTermResponse, error)

ParseDeleteTermResponse parses an HTTP response from a DeleteTermWithResponse call

func (DeleteTermResponse) ContentType

func (r DeleteTermResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTermResponse) Status

func (r DeleteTermResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTermResponse) StatusCode

func (r DeleteTermResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DtoAPIKey

type DtoAPIKey struct {
	CreatedAt      string  `json:"createdAt"`
	CreatedBy      string  `json:"createdBy"`
	Hash           string  `json:"hash"`
	Id             string  `json:"id"`
	LastUsedAt     *string `json:"lastUsedAt,omitempty"`
	Name           string  `json:"name"`
	OrganizationId string  `json:"organizationId"`
	Preview        *string `json:"preview,omitempty"`
	RevokedAt      *string `json:"revokedAt,omitempty"`
	RevokedBy      *string `json:"revokedBy,omitempty"`
	UpdatedAt      *string `json:"updatedAt,omitempty"`
	UpdatedBy      *string `json:"updatedBy,omitempty"`
}

DtoAPIKey defines model for dto.APIKey.

type DtoCustomPrompt

type DtoCustomPrompt struct {
	CreatedAt      string `json:"createdAt"`
	CreatedBy      string `json:"createdBy"`
	Id             string `json:"id"`
	IsPrivate      bool   `json:"isPrivate"`
	Name           string `json:"name"`
	OrganizationId string `json:"organizationId"`
	Prompt         string `json:"prompt"`
	UpdatedAt      string `json:"updatedAt"`
}

DtoCustomPrompt defines model for dto.CustomPrompt.

type DtoDTOLanguage

type DtoDTOLanguage struct {
	Code *string `json:"code,omitempty"`
	Id   *int    `json:"id,omitempty"`

	// IsCustom IsCustom flags a language created by an organization (not part of
	// the platform's shared set). For shared languages this is false and
	// OrganizationID is nil. Mirrors the (shared, organization_id) shape
	// on the language row with the orphan combination excluded by a
	// CHECK constraint.
	IsCustom *bool   `json:"isCustom,omitempty"`
	Name     *string `json:"name,omitempty"`

	// OrganizationId OrganizationID is the owner organization for a custom language;
	// nil for shared languages. Useful for callers that need to display
	// the source of the language ("from this org" vs "global").
	OrganizationId *string `json:"organizationId,omitempty"`
}

DtoDTOLanguage defines model for dto.DTOLanguage.

type DtoDTOLanguageConnection

type DtoDTOLanguageConnection struct {
	ConnectionId   *int    `json:"connection_id,omitempty"`
	IsDefault      *bool   `json:"is_default,omitempty"`
	LanguageCode   *string `json:"language_code,omitempty"`
	LanguageId     *int    `json:"language_id,omitempty"`
	LanguageName   *string `json:"language_name,omitempty"`
	LanguageShared *bool   `json:"language_shared,omitempty"`
}

DtoDTOLanguageConnection defines model for dto.DTOLanguageConnection.

type DtoDTONamespace

type DtoDTONamespace struct {
	Context           *string   `json:"context,omitempty"`
	CreatedAt         *string   `json:"created_at,omitempty"`
	CreatedBy         *string   `json:"created_by,omitempty"`
	DefaultLanguageId *int      `json:"defaultLanguageId,omitempty"`
	Id                *string   `json:"id,omitempty"`
	Languages         *[]string `json:"languages,omitempty"`
	Name              *string   `json:"name,omitempty"`
	OrganizationId    *string   `json:"organization_id,omitempty"`
	Progress          *float32  `json:"progress,omitempty"`
	TotalTerms        *int      `json:"total_terms,omitempty"`
	UpdatedAt         *string   `json:"updated_at,omitempty"`
}

DtoDTONamespace defines model for dto.DTONamespace.

type DtoDTOSyncJob

type DtoDTOSyncJob struct {
	AutotranslateDone  *int `json:"autotranslateDone,omitempty"`
	AutotranslateTotal *int `json:"autotranslateTotal,omitempty"`

	// AutotranslateTriggeredAt Progress — autotranslate phase. Triggered timestamp is the
	// at-most-once gate; total/done give the cell-level progress.
	AutotranslateTriggeredAt *string `json:"autotranslateTriggeredAt,omitempty"`
	CreatedAt                *string `json:"createdAt,omitempty"`
	CreatedCount             *int    `json:"createdCount,omitempty"`
	DefaultLanguageCode      *string `json:"defaultLanguageCode,omitempty"`
	DeletedCount             *int    `json:"deletedCount,omitempty"`
	DryRun                   *bool   `json:"dryRun,omitempty"`

	// ErrorMessage Terminal failure reason (only set when status='failed').
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// Failures Failures — non-fatal per-op problems accumulated across the
	// job. Empty array (not null) when there are none, so the CLI
	// can always do `for _, f := range job.Failures`.
	Failures   *[]DtoDTOSyncJobFailure `json:"failures,omitempty"`
	FinishedAt *string                 `json:"finishedAt,omitempty"`
	Id         *string                 `json:"id,omitempty"`

	// Plan Plan — the planned ops. Populated for dry-run jobs (status=
	// 'planned') and truncated to a configurable limit so a 50k-op
	// plan doesn't blow up the response. When truncated, planTotal
	// and planSample tell the client how to interpret what they got.
	Plan       *[]DtoDTOSyncJobOp `json:"plan,omitempty"`
	PlanSample *int               `json:"planSample,omitempty"`
	PlanTotal  *int               `json:"planTotal,omitempty"`
	Prune      *bool              `json:"prune,omitempty"`
	PushDone   *int               `json:"pushDone,omitempty"`

	// PushTotal Progress — push phase.
	PushTotal *int `json:"pushTotal,omitempty"`

	// ResultPerLanguage Result — only populated on status='completed'.
	ResultPerLanguage      *map[string]map[string]string `json:"resultPerLanguage,omitempty"`
	StartedAt              *string                       `json:"startedAt,omitempty"`
	Status                 *string                       `json:"status,omitempty"`
	StillUntranslatedCount *int                          `json:"stillUntranslatedCount,omitempty"`
	Strategy               *string                       `json:"strategy,omitempty"`
	UpdatedCount           *int                          `json:"updatedCount,omitempty"`
	WaitForAutotranslate   *bool                         `json:"waitForAutotranslate,omitempty"`
}

DtoDTOSyncJob defines model for dto.DTOSyncJob.

type DtoDTOSyncJobCreateResponse

type DtoDTOSyncJobCreateResponse struct {
	Id *string `json:"id,omitempty"`
}

DtoDTOSyncJobCreateResponse defines model for dto.DTOSyncJobCreateResponse.

type DtoDTOSyncJobFailure

type DtoDTOSyncJobFailure struct {
	Error *string `json:"error,omitempty"`
	Mark  *string `json:"mark,omitempty"`
	OpIdx *int    `json:"opIdx,omitempty"`
	Phase *string `json:"phase,omitempty"`
}

DtoDTOSyncJobFailure defines model for dto.DTOSyncJobFailure.

type DtoDTOSyncJobOp

type DtoDTOSyncJobOp struct {
	Applied *bool   `json:"applied,omitempty"`
	Error   *string `json:"error,omitempty"`

	// Kind create | update | delete
	Kind         *string `json:"kind,omitempty"`
	Mark         *string `json:"mark,omitempty"`
	OpIdx        *int    `json:"opIdx,omitempty"`
	PayloadValue *string `json:"payloadValue,omitempty"`
}

DtoDTOSyncJobOp defines model for dto.DTOSyncJobOp.

type DtoDTOTerm

type DtoDTOTerm struct {
	Term         DtoDTOTermDetail     `json:"term"`
	Translations []DtoTranslationInfo `json:"translations"`
}

DtoDTOTerm defines model for dto.DTOTerm.

type DtoDTOTermDetail

type DtoDTOTermDetail struct {
	Context   string `json:"context"`
	CreatedAt string `json:"created_at"`
	Id        int    `json:"id"`
	Mark      string `json:"mark"`
}

DtoDTOTermDetail defines model for dto.DTOTermDetail.

type DtoGlossary

type DtoGlossary struct {
	DefaultLanguageId *int    `json:"defaultLanguageId,omitempty"`
	Id                *string `json:"id,omitempty"`
	OrganizationId    *string `json:"organizationId,omitempty"`
}

DtoGlossary defines model for dto.Glossary.

type DtoGlossaryItem

type DtoGlossaryItem struct {
	Context               string                    `json:"context"`
	CreatedAt             string                    `json:"createdAt"`
	DefaultLanguageValue  string                    `json:"defaultLanguageValue"`
	EnabledLanguagesCount int                       `json:"enabledLanguagesCount"`
	GlossaryId            string                    `json:"glossaryId"`
	Id                    string                    `json:"id"`
	IsCaseSensitive       bool                      `json:"isCaseSensitive"`
	IsTranslatable        bool                      `json:"isTranslatable"`
	TranslatedCount       int                       `json:"translatedCount"`
	TranslationPercentage float32                   `json:"translationPercentage"`
	Type                  ConstantsGlossaryItemType `json:"type"`
	UpdatedAt             *string                   `json:"updatedAt,omitempty"`
}

DtoGlossaryItem defines model for dto.GlossaryItem.

type DtoGlossaryItemTranslation

type DtoGlossaryItemTranslation struct {
	ApprovedAt     *string `json:"approvedAt,omitempty"`
	CreatedAt      string  `json:"createdAt"`
	GlossaryItemId string  `json:"glossaryItemId"`
	LanguageCode   string  `json:"languageCode"`
	LanguageId     int     `json:"languageId"`
	LanguageName   string  `json:"languageName"`
	UpdatedAt      *string `json:"updatedAt,omitempty"`
	Value          string  `json:"value"`
}

DtoGlossaryItemTranslation defines model for dto.GlossaryItemTranslation.

type DtoIntegrationHelpjuiceChange

type DtoIntegrationHelpjuiceChange struct {
	ArticleId              string                                               `json:"articleId"`
	ArticleTitle           string                                               `json:"articleTitle"`
	ChangeType             string                                               `json:"changeType"`
	CreatedAt              string                                               `json:"createdAt"`
	Id                     string                                               `json:"id"`
	SetupId                string                                               `json:"setupId"`
	TranslationCompletedAt *string                                              `json:"translationCompletedAt,omitempty"`
	TranslationStartedAt   *string                                              `json:"translationStartedAt,omitempty"`
	TranslationStartedBy   *string                                              `json:"translationStartedBy,omitempty"`
	TranslationStatus      ConstantsIntegrationHelpjuiceChangeTranslationStatus `json:"translationStatus"`
}

DtoIntegrationHelpjuiceChange defines model for dto.IntegrationHelpjuiceChange.

type DtoLangInfo

type DtoLangInfo struct {
	Code string `json:"code"`
	Id   int    `json:"id"`
}

DtoLangInfo defines model for dto.LangInfo.

type DtoTranslationInfo

type DtoTranslationInfo struct {
	CreatedAt             *string     `json:"created_at,omitempty"`
	Lang                  DtoLangInfo `json:"lang"`
	LanguageToNamespaceId int         `json:"language_to_namespace_id"`
	UpdatedAt             *string     `json:"updated_at,omitempty"`
	Value                 string      `json:"value"`
}

DtoTranslationInfo defines model for dto.TranslationInfo.

type GetGlossaryItemResponse

type GetGlossaryItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GlossaryPayloadGetItemResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseGetGlossaryItemResponse

func ParseGetGlossaryItemResponse(rsp *http.Response) (*GetGlossaryItemResponse, error)

ParseGetGlossaryItemResponse parses an HTTP response from a GetGlossaryItemWithResponse call

func (GetGlossaryItemResponse) ContentType

func (r GetGlossaryItemResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGlossaryItemResponse) Status

func (r GetGlossaryItemResponse) Status() string

Status returns HTTPResponse.Status

func (GetGlossaryItemResponse) StatusCode

func (r GetGlossaryItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGlossaryResponse

type GetGlossaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DtoGlossary
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseGetGlossaryResponse

func ParseGetGlossaryResponse(rsp *http.Response) (*GetGlossaryResponse, error)

ParseGetGlossaryResponse parses an HTTP response from a GetGlossaryWithResponse call

func (GetGlossaryResponse) ContentType

func (r GetGlossaryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGlossaryResponse) Status

func (r GetGlossaryResponse) Status() string

Status returns HTTPResponse.Status

func (GetGlossaryResponse) StatusCode

func (r GetGlossaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLanguagesByNamespaceResponse

type GetLanguagesByNamespaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]DtoDTOLanguageConnection
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseGetLanguagesByNamespaceResponse

func ParseGetLanguagesByNamespaceResponse(rsp *http.Response) (*GetLanguagesByNamespaceResponse, error)

ParseGetLanguagesByNamespaceResponse parses an HTTP response from a GetLanguagesByNamespaceWithResponse call

func (GetLanguagesByNamespaceResponse) ContentType

func (r GetLanguagesByNamespaceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLanguagesByNamespaceResponse) Status

Status returns HTTPResponse.Status

func (GetLanguagesByNamespaceResponse) StatusCode

func (r GetLanguagesByNamespaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNamespaceByNameAndOrgResponse

type GetNamespaceByNameAndOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DtoDTONamespace
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseGetNamespaceByNameAndOrgResponse

func ParseGetNamespaceByNameAndOrgResponse(rsp *http.Response) (*GetNamespaceByNameAndOrgResponse, error)

ParseGetNamespaceByNameAndOrgResponse parses an HTTP response from a GetNamespaceByNameAndOrgWithResponse call

func (GetNamespaceByNameAndOrgResponse) ContentType

func (r GetNamespaceByNameAndOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetNamespaceByNameAndOrgResponse) Status

Status returns HTTPResponse.Status

func (GetNamespaceByNameAndOrgResponse) StatusCode

func (r GetNamespaceByNameAndOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNamespacesNamespaceNameSyncJobIdResponse

type GetNamespacesNamespaceNameSyncJobIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DtoDTOSyncJob
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseGetNamespacesNamespaceNameSyncJobIdResponse

func ParseGetNamespacesNamespaceNameSyncJobIdResponse(rsp *http.Response) (*GetNamespacesNamespaceNameSyncJobIdResponse, error)

ParseGetNamespacesNamespaceNameSyncJobIdResponse parses an HTTP response from a GetNamespacesNamespaceNameSyncJobIdWithResponse call

func (GetNamespacesNamespaceNameSyncJobIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetNamespacesNamespaceNameSyncJobIdResponse) Status

Status returns HTTPResponse.Status

func (GetNamespacesNamespaceNameSyncJobIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetProjectsJSONRequestBody

type GetProjectsJSONRequestBody = MigratorPayloadGetProjectsRequest

GetProjectsJSONRequestBody defines body for GetProjects for application/json ContentType.

type GetProjectsResponse

type GetProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MigratorPayloadGetProjectsResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseGetProjectsResponse

func ParseGetProjectsResponse(rsp *http.Response) (*GetProjectsResponse, error)

ParseGetProjectsResponse parses an HTTP response from a GetProjectsWithResponse call

func (GetProjectsResponse) ContentType

func (r GetProjectsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectsResponse) Status

func (r GetProjectsResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectsResponse) StatusCode

func (r GetProjectsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GlossaryAddTranslationRequest

type GlossaryAddTranslationRequest struct {
	LanguageId int    `json:"languageId"`
	Value      string `json:"value"`
}

GlossaryAddTranslationRequest defines model for glossary.addTranslationRequest.

type GlossaryCreateGlossaryRequest

type GlossaryCreateGlossaryRequest struct {
	DefaultLanguageId int `json:"defaultLanguageId"`
}

GlossaryCreateGlossaryRequest defines model for glossary.createGlossaryRequest.

type GlossaryCreateGlossaryResponse

type GlossaryCreateGlossaryResponse struct {
	GlossaryId string `json:"glossaryId"`
}

GlossaryCreateGlossaryResponse defines model for glossary.createGlossaryResponse.

type GlossaryCreateItemRequest

type GlossaryCreateItemRequest struct {
	Context              *string                   `json:"context,omitempty"`
	DefaultLanguageValue string                    `json:"defaultLanguageValue"`
	IsCaseSensitive      bool                      `json:"isCaseSensitive"`
	IsTranslatable       bool                      `json:"isTranslatable"`
	Type                 ConstantsGlossaryItemType `json:"type"`
}

GlossaryCreateItemRequest defines model for glossary.createItemRequest.

type GlossaryCreateItemResponse

type GlossaryCreateItemResponse struct {
	ItemId string `json:"itemId"`
}

GlossaryCreateItemResponse defines model for glossary.createItemResponse.

type GlossaryPayloadGetItemResponse

type GlossaryPayloadGetItemResponse struct {
	GlossaryItem             DtoGlossaryItem               `json:"glossaryItem"`
	GlossaryItemTranslations *[]DtoGlossaryItemTranslation `json:"glossaryItemTranslations,omitempty"`
}

GlossaryPayloadGetItemResponse defines model for glossary.payloadGetItemResponse.

type GlossaryUpdateTranslationRequest

type GlossaryUpdateTranslationRequest struct {
	Value string `json:"value"`
}

GlossaryUpdateTranslationRequest defines model for glossary.updateTranslationRequest.

type HelpjuiceCreateRequestBody

type HelpjuiceCreateRequestBody struct {
	HelpjuiceApiKey    string `json:"helpjuiceApiKey"`
	HelpjuiceSubdomain string `json:"helpjuiceSubdomain"`
	Title              string `json:"title"`
}

HelpjuiceCreateRequestBody defines model for helpjuice.createRequestBody.

type HelpjuiceCreateResponseBody

type HelpjuiceCreateResponseBody struct {
	CreateId   string `json:"createId"`
	WebhookUrl string `json:"webhookUrl"`
}

HelpjuiceCreateResponseBody defines model for helpjuice.createResponseBody.

type HelpjuiceUpdateSettingRequestBody

type HelpjuiceUpdateSettingRequestBody struct {
	CustomPrompt                string `json:"customPrompt"`
	EnableAutomaticTranslations bool   `json:"enableAutomaticTranslations"`
	TargetLanguages             []int  `json:"targetLanguages"`
	Title                       string `json:"title"`
	WatchedLanguages            []int  `json:"watchedLanguages"`
}

HelpjuiceUpdateSettingRequestBody defines model for helpjuice.updateSettingRequestBody.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImportFinishJSONRequestBody

type ImportFinishJSONRequestBody = TermImportFinishRequest

ImportFinishJSONRequestBody defines body for ImportFinish for application/json ContentType.

type ImportFinishResponse

type ImportFinishResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TermImportFinishResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseImportFinishResponse

func ParseImportFinishResponse(rsp *http.Response) (*ImportFinishResponse, error)

ParseImportFinishResponse parses an HTTP response from a ImportFinishWithResponse call

func (ImportFinishResponse) ContentType

func (r ImportFinishResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ImportFinishResponse) Status

func (r ImportFinishResponse) Status() string

Status returns HTTPResponse.Status

func (ImportFinishResponse) StatusCode

func (r ImportFinishResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LanguagePayloadCreateLanguageRequest

type LanguagePayloadCreateLanguageRequest struct {
	Code string `json:"code"`
	Name string `json:"name"`
}

LanguagePayloadCreateLanguageRequest defines model for language.payloadCreateLanguageRequest.

type ListAPIKeysResponse

type ListAPIKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
		List    []DtoAPIKey                          `json:"list"`
		Meta    ResponseAPIResponsePaginationMeta    `json:"meta"`
	}
	JSON400 *ResponseAPIError
	JSON401 *ResponseAPIError
	JSON403 *ResponseAPIError
	JSON404 *ResponseAPIError
	JSON500 *ResponseAPIError
}

func ParseListAPIKeysResponse

func ParseListAPIKeysResponse(rsp *http.Response) (*ListAPIKeysResponse, error)

ParseListAPIKeysResponse parses an HTTP response from a ListAPIKeysWithResponse call

func (ListAPIKeysResponse) ContentType

func (r ListAPIKeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAPIKeysResponse) Status

func (r ListAPIKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListAPIKeysResponse) StatusCode

func (r ListAPIKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListByNamespaceParams

type ListByNamespaceParams struct {
	Cursor             string `form:"cursor" json:"cursor"`
	HasAnyUntranslated *bool  `form:"hasAnyUntranslated,omitempty" json:"hasAnyUntranslated,omitempty"`
	Limit              int    `form:"limit" json:"limit"`
	Search             string `form:"search" json:"search"`
	UntranslatedLangId *int   `form:"untranslatedLangId,omitempty" json:"untranslatedLangId,omitempty"`
}

ListByNamespaceParams defines parameters for ListByNamespace.

type ListByNamespaceResponse

type ListByNamespaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
		List    []DtoDTOTerm                         `json:"list"`
		Meta    ResponseAPIResponsePaginationMeta    `json:"meta"`
	}
	JSON400 *ResponseAPIError
	JSON401 *ResponseAPIError
	JSON403 *ResponseAPIError
	JSON404 *ResponseAPIError
	JSON500 *ResponseAPIError
}

func ParseListByNamespaceResponse

func ParseListByNamespaceResponse(rsp *http.Response) (*ListByNamespaceResponse, error)

ParseListByNamespaceResponse parses an HTTP response from a ListByNamespaceWithResponse call

func (ListByNamespaceResponse) ContentType

func (r ListByNamespaceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListByNamespaceResponse) Status

func (r ListByNamespaceResponse) Status() string

Status returns HTTPResponse.Status

func (ListByNamespaceResponse) StatusCode

func (r ListByNamespaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCustomPromptsResponse

type ListCustomPromptsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]DtoCustomPrompt
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseListCustomPromptsResponse

func ParseListCustomPromptsResponse(rsp *http.Response) (*ListCustomPromptsResponse, error)

ParseListCustomPromptsResponse parses an HTTP response from a ListCustomPromptsWithResponse call

func (ListCustomPromptsResponse) ContentType

func (r ListCustomPromptsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListCustomPromptsResponse) Status

func (r ListCustomPromptsResponse) Status() string

Status returns HTTPResponse.Status

func (ListCustomPromptsResponse) StatusCode

func (r ListCustomPromptsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGlossaryItemsParams

type ListGlossaryItemsParams struct {
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListGlossaryItemsParams defines parameters for ListGlossaryItems.

type ListGlossaryItemsResponse

type ListGlossaryItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
		List    []DtoGlossaryItem                    `json:"list"`
		Meta    ResponseAPIResponsePaginationMeta    `json:"meta"`
	}
	JSON400 *ResponseAPIError
	JSON401 *ResponseAPIError
	JSON500 *ResponseAPIError
}

func ParseListGlossaryItemsResponse

func ParseListGlossaryItemsResponse(rsp *http.Response) (*ListGlossaryItemsResponse, error)

ParseListGlossaryItemsResponse parses an HTTP response from a ListGlossaryItemsWithResponse call

func (ListGlossaryItemsResponse) ContentType

func (r ListGlossaryItemsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListGlossaryItemsResponse) Status

func (r ListGlossaryItemsResponse) Status() string

Status returns HTTPResponse.Status

func (ListGlossaryItemsResponse) StatusCode

func (r ListGlossaryItemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListHelpjuiceChangesResponse

type ListHelpjuiceChangesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
		List    []DtoIntegrationHelpjuiceChange      `json:"list"`
		Meta    ResponseAPIResponsePaginationMeta    `json:"meta"`
	}
	JSON401 *ResponseAPIError
	JSON500 *ResponseAPIError
}

func ParseListHelpjuiceChangesResponse

func ParseListHelpjuiceChangesResponse(rsp *http.Response) (*ListHelpjuiceChangesResponse, error)

ParseListHelpjuiceChangesResponse parses an HTTP response from a ListHelpjuiceChangesWithResponse call

func (ListHelpjuiceChangesResponse) ContentType

func (r ListHelpjuiceChangesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListHelpjuiceChangesResponse) Status

Status returns HTTPResponse.Status

func (ListHelpjuiceChangesResponse) StatusCode

func (r ListHelpjuiceChangesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLanguagesForOrgResponse

type ListLanguagesForOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]DtoDTOLanguage
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseListLanguagesForOrgResponse

func ParseListLanguagesForOrgResponse(rsp *http.Response) (*ListLanguagesForOrgResponse, error)

ParseListLanguagesForOrgResponse parses an HTTP response from a ListLanguagesForOrgWithResponse call

func (ListLanguagesForOrgResponse) ContentType

func (r ListLanguagesForOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListLanguagesForOrgResponse) Status

Status returns HTTPResponse.Status

func (ListLanguagesForOrgResponse) StatusCode

func (r ListLanguagesForOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNamespacesResponse

type ListNamespacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]DtoDTONamespace
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseListNamespacesResponse

func ParseListNamespacesResponse(rsp *http.Response) (*ListNamespacesResponse, error)

ParseListNamespacesResponse parses an HTTP response from a ListNamespacesWithResponse call

func (ListNamespacesResponse) ContentType

func (r ListNamespacesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListNamespacesResponse) Status

func (r ListNamespacesResponse) Status() string

Status returns HTTPResponse.Status

func (ListNamespacesResponse) StatusCode

func (r ListNamespacesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MigrateJSONRequestBody

type MigrateJSONRequestBody = MigratorPayloadMigrateRequest

MigrateJSONRequestBody defines body for Migrate for application/json ContentType.

type MigrateResponse

type MigrateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MigratorPayloadMigrateResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseMigrateResponse

func ParseMigrateResponse(rsp *http.Response) (*MigrateResponse, error)

ParseMigrateResponse parses an HTTP response from a MigrateWithResponse call

func (MigrateResponse) ContentType

func (r MigrateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (MigrateResponse) Status

func (r MigrateResponse) Status() string

Status returns HTTPResponse.Status

func (MigrateResponse) StatusCode

func (r MigrateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MigratorPayloadGetProjectsRequest

type MigratorPayloadGetProjectsRequest struct {
	ApiKey *string `json:"api_key,omitempty"`
}

MigratorPayloadGetProjectsRequest defines model for migrator.payloadGetProjectsRequest.

type MigratorPayloadGetProjectsResponse

type MigratorPayloadGetProjectsResponse struct {
	Projects *[]PoeditorProject `json:"projects,omitempty"`
}

MigratorPayloadGetProjectsResponse defines model for migrator.payloadGetProjectsResponse.

type MigratorPayloadMigrateRequest

type MigratorPayloadMigrateRequest struct {
	ApiKey     *string `json:"api_key,omitempty"`
	ProjectIds *[]int  `json:"project_ids,omitempty"`
}

MigratorPayloadMigrateRequest defines model for migrator.payloadMigrateRequest.

type MigratorPayloadMigrateResponse

type MigratorPayloadMigrateResponse struct {
	MigratedCount *int `json:"migrated_count,omitempty"`
}

MigratorPayloadMigrateResponse defines model for migrator.payloadMigrateResponse.

type NamespacePayloadAddLanguageRequest

type NamespacePayloadAddLanguageRequest struct {
	LanguageCode *string `json:"languageCode,omitempty"`

	// LanguageId Preferred new fields — pass exactly one.
	LanguageId *int `json:"languageId,omitempty"`
}

NamespacePayloadAddLanguageRequest defines model for namespace.payloadAddLanguageRequest.

type NamespacePayloadAddLanguageResponse

type NamespacePayloadAddLanguageResponse struct {
	ConnectionId *int `json:"connection_id,omitempty"`
}

NamespacePayloadAddLanguageResponse defines model for namespace.payloadAddLanguageResponse.

type NamespacePayloadCreateNamespaceRequest

type NamespacePayloadCreateNamespaceRequest struct {
	Context string `json:"context"`

	// DefaultLanguage Deprecated: kept for one release. Used to be `defaultLanguage` (string
	// code only); now accepts either string or int via LanguageRef.
	DefaultLanguage     *TypesLanguageRef `json:"defaultLanguage,omitempty"`
	DefaultLanguageCode *string           `json:"defaultLanguageCode,omitempty"`

	// DefaultLanguageId Preferred new fields — pass exactly one. The CLI/frontend should
	// emit these going forward.
	DefaultLanguageId *int   `json:"defaultLanguageId,omitempty"`
	Name              string `json:"name"`
}

NamespacePayloadCreateNamespaceRequest defines model for namespace.payloadCreateNamespaceRequest.

type NamespacePayloadUpdateNamespaceRequest

type NamespacePayloadUpdateNamespaceRequest struct {
	Context             *string `json:"context,omitempty"`
	DefaultLanguageCode *string `json:"defaultLanguageCode,omitempty"`

	// DefaultLanguageId Preferred new fields — pass exactly one. The CLI/frontend should
	// emit these going forward.
	DefaultLanguageId *int `json:"defaultLanguageId,omitempty"`

	// DefaultLanguage Deprecated: kept for one release. Used to be `default_language` (int);
	// now accepts either int or string via LanguageRef. Prefer the explicit
	// fields above.
	DefaultLanguage *TypesLanguageRef `json:"default_language,omitempty"`
	Name            *string           `json:"name,omitempty"`
}

NamespacePayloadUpdateNamespaceRequest defines model for namespace.payloadUpdateNamespaceRequest.

type PoeditorPOEditorTime

type PoeditorPOEditorTime struct {
	TimeTime *string `json:"time.Time,omitempty"`
}

PoeditorPOEditorTime defines model for poeditor.POEditorTime.

type PoeditorProject

type PoeditorProject struct {
	Created *PoeditorPOEditorTime `json:"created,omitempty"`
	Id      *int                  `json:"id,omitempty"`
	Name    *string               `json:"name,omitempty"`
	Open    *int                  `json:"open,omitempty"`
	Public  *int                  `json:"public,omitempty"`
}

PoeditorProject defines model for poeditor.Project.

type PostNamespacesNamespaceNameSyncJSONRequestBody

type PostNamespacesNamespaceNameSyncJSONRequestBody = SyncjobCreateSyncRequest

PostNamespacesNamespaceNameSyncJSONRequestBody defines body for PostNamespacesNamespaceNameSync for application/json ContentType.

type PostNamespacesNamespaceNameSyncResponse

type PostNamespacesNamespaceNameSyncResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DtoDTOSyncJobCreateResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParsePostNamespacesNamespaceNameSyncResponse

func ParsePostNamespacesNamespaceNameSyncResponse(rsp *http.Response) (*PostNamespacesNamespaceNameSyncResponse, error)

ParsePostNamespacesNamespaceNameSyncResponse parses an HTTP response from a PostNamespacesNamespaceNameSyncWithResponse call

func (PostNamespacesNamespaceNameSyncResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostNamespacesNamespaceNameSyncResponse) Status

Status returns HTTPResponse.Status

func (PostNamespacesNamespaceNameSyncResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTranslationsTranslateJSONRequestBody

type PostTranslationsTranslateJSONRequestBody = TranslationTranslateTextBody

PostTranslationsTranslateJSONRequestBody defines body for PostTranslationsTranslate for application/json ContentType.

type PostTranslationsTranslateResponse

type PostTranslationsTranslateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TranslationTranslateTextResponse
	JSON400      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParsePostTranslationsTranslateResponse

func ParsePostTranslationsTranslateResponse(rsp *http.Response) (*PostTranslationsTranslateResponse, error)

ParsePostTranslationsTranslateResponse parses an HTTP response from a PostTranslationsTranslateWithResponse call

func (PostTranslationsTranslateResponse) ContentType

func (r PostTranslationsTranslateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostTranslationsTranslateResponse) Status

Status returns HTTPResponse.Status

func (PostTranslationsTranslateResponse) StatusCode

func (r PostTranslationsTranslateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RecommendMagicTranslationJSONRequestBody

type RecommendMagicTranslationJSONRequestBody = TermPayloadRecommendMagicTranslationRequest

RecommendMagicTranslationJSONRequestBody defines body for RecommendMagicTranslation for application/json ContentType.

type RecommendMagicTranslationResponse

type RecommendMagicTranslationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TermPayloadRecommendMagicTranslationResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseRecommendMagicTranslationResponse

func ParseRecommendMagicTranslationResponse(rsp *http.Response) (*RecommendMagicTranslationResponse, error)

ParseRecommendMagicTranslationResponse parses an HTTP response from a RecommendMagicTranslationWithResponse call

func (RecommendMagicTranslationResponse) ContentType

func (r RecommendMagicTranslationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RecommendMagicTranslationResponse) Status

Status returns HTTPResponse.Status

func (RecommendMagicTranslationResponse) StatusCode

func (r RecommendMagicTranslationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveLanguageResponse

type RemoveLanguageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseRemoveLanguageResponse

func ParseRemoveLanguageResponse(rsp *http.Response) (*RemoveLanguageResponse, error)

ParseRemoveLanguageResponse parses an HTTP response from a RemoveLanguageWithResponse call

func (RemoveLanguageResponse) ContentType

func (r RemoveLanguageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveLanguageResponse) Status

func (r RemoveLanguageResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveLanguageResponse) StatusCode

func (r RemoveLanguageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResponseAPIError

type ResponseAPIError struct {
	Data interface{}  `json:"data,omitempty"`
	Msg  string       `json:"msg"`
	Type ResponseType `json:"type"`
}

ResponseAPIError defines model for response.APIError.

type ResponseAPIResponseEmpty

type ResponseAPIResponseEmpty = map[string]interface{}

ResponseAPIResponseEmpty defines model for response.APIResponseEmpty.

type ResponseAPIResponsePaginationCursors

type ResponseAPIResponsePaginationCursors struct {
	Next *string `json:"next,omitempty"`
}

ResponseAPIResponsePaginationCursors defines model for response.APIResponsePaginationCursors.

type ResponseAPIResponsePaginationMeta

type ResponseAPIResponsePaginationMeta struct {
	Timestamp string `json:"timestamp"`
}

ResponseAPIResponsePaginationMeta defines model for response.APIResponsePaginationMeta.

type ResponseAPIResponseWithPagination

type ResponseAPIResponseWithPagination struct {
	Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
	List    interface{}                          `json:"list"`
	Meta    ResponseAPIResponsePaginationMeta    `json:"meta"`
}

ResponseAPIResponseWithPagination defines model for response.APIResponseWithPagination.

type ResponseType

type ResponseType string

ResponseType defines model for response.Type.

const (
	ErrBackupCodeInvalid          ResponseType = "BACKUP_CODE_INVALID"
	ErrColumnCountMismatch        ResponseType = "COLUMN_COUNT_MISMATCH"
	ErrConflict                   ResponseType = "CONFLICT"
	ErrConnectionAlreadyExists    ResponseType = "CONNECTION_ALREADY_EXISTS"
	ErrDuplicate                  ResponseType = "DUPLICATE"
	ErrEmailRequired              ResponseType = "EMAIL_REQUIRED"
	ErrEmpty                      ResponseType = "EMPTY"
	ErrEmptyValue                 ResponseType = "EMPTY_VALUE"
	ErrForbidden                  ResponseType = "FORBIDDEN"
	ErrInnovationAgencyIDRequired ResponseType = "INNOVATION_AGENCY_ID_REQUIRED"
	ErrInsufficientPermissions    ResponseType = "INSUFFICIENT_PERMISSIONS"
	ErrInternalServer             ResponseType = "INTERNAL_SERVER_ERROR"
	ErrInvalidImportStatus        ResponseType = "INVALID_IMPORT_STATUS"
	ErrInvalidName                ResponseType = "INVALID_NAME"
	ErrInvalidOldPassword         ResponseType = "INVALID_OLD_PASSWORD"
	ErrInvalidRequest             ResponseType = "INVALID_REQUEST"
	ErrInvalidRole                ResponseType = "INVALID_ROLE"
	ErrInvalidToken               ResponseType = "INVALID_TOKEN"
	ErrLanguageNotInNamespace     ResponseType = "LANGUAGE_NOT_IN_NAMESPACE"
	ErrLoginIntentToken           ResponseType = "LOGIN_INTENT_TOKEN"
	ErrMissingBackupCode          ResponseType = "MISSING_BACKUP_CODE"
	ErrMissingNewPassword         ResponseType = "MISSING_NEW_PASSWORD"
	ErrMissingPermissions         ResponseType = "MISSING_PERMISSIONS"
	ErrMissingResetPasswordSecret ResponseType = "MISSING_RESET_PASSWORD_SECRET"
	ErrNameRequired               ResponseType = "NAME_REQUIRED"
	ErrNamespaceMissing           ResponseType = "NAMESPACE_MISSING"
	ErrNewPasswordRequired        ResponseType = "NEW_PASSWORD_REQUIRED"
	ErrNoConnections              ResponseType = "NO_CONNECTIONS"
	ErrNoTranslationSource        ResponseType = "NO_TRANSLATION_SOURCE"
	ErrNotFound                   ResponseType = "NOT_FOUND"
	ErrNotImplemented             ResponseType = "NOT_IMPLEMENTED"
	ErrOTPInvalid                 ResponseType = "OTP_INVALID"
	ErrOldPasswordRequired        ResponseType = "OLD_PASSWORD_REQUIRED"
	ErrOrganizationMissing        ResponseType = "ORGANIZATION_MISSING"
	ErrPasswordRequired           ResponseType = "PASSWORD_REQUIRED"
	ErrPayloadInvalid             ResponseType = "INVALID_PAYLOAD"
	ErrSecretExpired              ResponseType = "SECRET_EXPIRED"
	ErrSecretNotFound             ResponseType = "SECRET_NOT_FOUND"
	ErrSetupRequired              ResponseType = "SETUP_REQUIRED"
	ErrTermAlreadyExists          ResponseType = "TERM_ALREADY_EXISTS"
	ErrTermIsRequired             ResponseType = "TERM_IS_REQUIRED"
	ErrTooManyRequests            ResponseType = "TOO_MANY_REQUESTS"
	ErrUnauthorized               ResponseType = "UNAUTHORIZED"
	ErrUserAlreadyExists          ResponseType = "USER_ALREADY_EXISTS"
	ErrUserNotFound               ResponseType = "USER_NOT_FOUND"
)

Defines values for ResponseType.

func (ResponseType) Valid

func (e ResponseType) Valid() bool

Valid indicates whether the value is a known member of the ResponseType enum.

type SharedTermBulkImportPrecheckData

type SharedTermBulkImportPrecheckData struct {
	Csv *SharedTermBulkImportPrecheckDataCSV `json:"csv,omitempty"`
}

SharedTermBulkImportPrecheckData defines model for shared.TermBulkImportPrecheckData.

type SharedTermBulkImportPrecheckDataCSV

type SharedTermBulkImportPrecheckDataCSV struct {
	ColumnNames *[]string `json:"columnNames,omitempty"`
}

SharedTermBulkImportPrecheckDataCSV defines model for shared.TermBulkImportPrecheckDataCSV.

type SharedTermImportCSVColumnSetup

type SharedTermImportCSVColumnSetup struct {
	Translation *SharedTermImportCSVColumnSetupTranslation `json:"translation,omitempty"`
	Type        ConstantsTermImportCSVColumnSetupType      `json:"type"`
}

SharedTermImportCSVColumnSetup defines model for shared.TermImportCSVColumnSetup.

type SharedTermImportCSVColumnSetupTranslation

type SharedTermImportCSVColumnSetupTranslation struct {
	LanguageId int `json:"languageId"`
}

SharedTermImportCSVColumnSetupTranslation defines model for shared.TermImportCSVColumnSetupTranslation.

type SharedTermImportCSVSetup

type SharedTermImportCSVSetup struct {
	ColumnSetup []SharedTermImportCSVColumnSetup `json:"columnSetup"`
}

SharedTermImportCSVSetup defines model for shared.TermImportCSVSetup.

type SharedTermImportSetup

type SharedTermImportSetup struct {
	// Csv CSV specific setup
	Csv *SharedTermImportCSVSetup `json:"csv,omitempty"`

	// OverwriteExisting Whether to overwrite existing terms with the same mark in the namespace
	OverwriteExisting bool `json:"overwriteExisting"`

	// TranslateAutomatically Whether to automatically translate terms into all languages in the namespace
	TranslateAutomatically bool `json:"translateAutomatically"`
}

SharedTermImportSetup defines model for shared.TermImportSetup.

type SyncjobCreateSyncRequest

type SyncjobCreateSyncRequest struct {
	DefaultLanguageCode *string `json:"defaultLanguageCode,omitempty"`
	DryRun              *bool   `json:"dryRun,omitempty"`

	// Marks Marks is the legacy default-lang-only shape. Kept for one
	// release of the CLI; new clients submit MarksPerLanguage.
	Marks *map[string]string `json:"marks,omitempty"`

	// MarksPerLanguage MarksPerLanguage is the preferred shape — one inner map per
	// language code (including the default one).
	MarksPerLanguage *map[string]map[string]string `json:"marksPerLanguage,omitempty"`
	Prune            *bool                         `json:"prune,omitempty"`

	// RetranslateOnSourceChange RetranslateOnSourceChange, when true, causes the server to
	// invalidate (empty) all existing non-source-language translations
	// of any term whose source value was changed in this sync. The
	// autotranslate phase then refills them via the LLM. Default false
	// preserves historical behavior. Opt-in via CLI flag
	// --retranslate-on-source-change.
	RetranslateOnSourceChange *bool   `json:"retranslateOnSourceChange,omitempty"`
	Strategy                  *string `json:"strategy,omitempty"`
	WaitForAutotranslate      *bool   `json:"waitForAutotranslate,omitempty"`
	WaitTimeoutSeconds        *int    `json:"waitTimeoutSeconds,omitempty"`
}

SyncjobCreateSyncRequest defines model for syncjob.createSyncRequest.

type TermImportFinishRequest

type TermImportFinishRequest struct {
	Setup SharedTermImportSetup `json:"setup"`
}

TermImportFinishRequest defines model for term.importFinishRequest.

type TermImportFinishResponse

type TermImportFinishResponse struct {
	Status ConstantsTermBulkImportStatus `json:"status"`
}

TermImportFinishResponse defines model for term.importFinishResponse.

type TermImportPrecheckResponse

type TermImportPrecheckResponse struct {
	// Details Details specific to the format
	Details SharedTermBulkImportPrecheckData `json:"details"`

	// Format Format of the import
	Format ConstantsTermImportFormat `json:"format"`

	// ImportId ID of the import session
	ImportId string `json:"importId"`

	// TotalRows TotalRows is the total number of rows in the import file
	TotalRows int `json:"totalRows"`
}

TermImportPrecheckResponse defines model for term.importPrecheckResponse.

type TermPayloadAddRequest

type TermPayloadAddRequest struct {
	Context                string `json:"context"`
	DefaultLanguageValue   string `json:"defaultLanguageValue"`
	Mark                   string `json:"mark"`
	TranslateAutomatically bool   `json:"translateAutomatically"`
}

TermPayloadAddRequest defines model for term.payloadAddRequest.

type TermPayloadRecommendMagicTranslationRequest

type TermPayloadRecommendMagicTranslationRequest struct {
	Prompt       string `json:"prompt"`
	SourceLangId *int   `json:"sourceLangId,omitempty"`
}

TermPayloadRecommendMagicTranslationRequest defines model for term.payloadRecommendMagicTranslationRequest.

type TermPayloadRecommendMagicTranslationResponse

type TermPayloadRecommendMagicTranslationResponse struct {
	Translation string `json:"translation"`
}

TermPayloadRecommendMagicTranslationResponse defines model for term.payloadRecommendMagicTranslationResponse.

type TermPayloadUpdateRequest

type TermPayloadUpdateRequest struct {
	Context *string `json:"context,omitempty"`
	Mark    *string `json:"mark,omitempty"`
}

TermPayloadUpdateRequest defines model for term.payloadUpdateRequest.

type TermPayloadUpdateResponse

type TermPayloadUpdateResponse = map[string]interface{}

TermPayloadUpdateResponse defines model for term.payloadUpdateResponse.

type TermPayloadUpdateTranslationRequest

type TermPayloadUpdateTranslationRequest struct {
	Value *string `json:"value,omitempty"`
}

TermPayloadUpdateTranslationRequest defines model for term.payloadUpdateTranslationRequest.

type TermTranslateMissingTranslationsRequest

type TermTranslateMissingTranslationsRequest struct {
	LanguageIds *[]int `json:"languageIds,omitempty"`
}

TermTranslateMissingTranslationsRequest defines model for term.translateMissingTranslationsRequest.

type TermTranslateMissingTranslationsResponse

type TermTranslateMissingTranslationsResponse = map[string]interface{}

TermTranslateMissingTranslationsResponse defines model for term.translateMissingTranslationsResponse.

type TranslateHelpjuiceChangeResponse

type TranslateHelpjuiceChangeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseTranslateHelpjuiceChangeResponse

func ParseTranslateHelpjuiceChangeResponse(rsp *http.Response) (*TranslateHelpjuiceChangeResponse, error)

ParseTranslateHelpjuiceChangeResponse parses an HTTP response from a TranslateHelpjuiceChangeWithResponse call

func (TranslateHelpjuiceChangeResponse) ContentType

func (r TranslateHelpjuiceChangeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TranslateHelpjuiceChangeResponse) Status

Status returns HTTPResponse.Status

func (TranslateHelpjuiceChangeResponse) StatusCode

func (r TranslateHelpjuiceChangeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TranslateMissingTranslationsJSONRequestBody

type TranslateMissingTranslationsJSONRequestBody = TermTranslateMissingTranslationsRequest

TranslateMissingTranslationsJSONRequestBody defines body for TranslateMissingTranslations for application/json ContentType.

type TranslateMissingTranslationsResponse

type TranslateMissingTranslationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TermTranslateMissingTranslationsResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseTranslateMissingTranslationsResponse

func ParseTranslateMissingTranslationsResponse(rsp *http.Response) (*TranslateMissingTranslationsResponse, error)

ParseTranslateMissingTranslationsResponse parses an HTTP response from a TranslateMissingTranslationsWithResponse call

func (TranslateMissingTranslationsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TranslateMissingTranslationsResponse) Status

Status returns HTTPResponse.Status

func (TranslateMissingTranslationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TranslationCreateCustomPromptInput

type TranslationCreateCustomPromptInput struct {
	CreatedBy      *string `json:"createdBy,omitempty"`
	IsPrivate      *bool   `json:"isPrivate,omitempty"`
	Name           *string `json:"name,omitempty"`
	OrganizationID *string `json:"organizationID,omitempty"`
	Prompt         *string `json:"prompt,omitempty"`
}

TranslationCreateCustomPromptInput defines model for translation.CreateCustomPromptInput.

type TranslationCreateCustomPromptResponse

type TranslationCreateCustomPromptResponse struct {
	Id string `json:"id"`
}

TranslationCreateCustomPromptResponse defines model for translation.createCustomPromptResponse.

type TranslationPatchCustomPromptInput

type TranslationPatchCustomPromptInput struct {
	IsPrivate *bool   `json:"isPrivate,omitempty"`
	Name      *string `json:"name,omitempty"`
	Prompt    *string `json:"prompt,omitempty"`
}

TranslationPatchCustomPromptInput defines model for translation.PatchCustomPromptInput.

type TranslationTranslateTextBody

type TranslationTranslateTextBody struct {
	CustomPromptId *string `json:"customPromptId,omitempty"`

	// SourceLanguageCode language code (e.g. "en")
	SourceLanguageCode *string `json:"sourceLanguageCode,omitempty"`

	// SourceLanguageId Deprecated: the original int-only fields. Kept for backwards-compat
	// for one release; new callers should use the explicit *Id / *Code
	// pair above. We keep the original field names (sourceLanguageId /
	// targetLanguageId) so existing TS/CLI clients aren't broken.
	SourceLanguageId *int `json:"sourceLanguageId,omitempty"`

	// SourceLanguageIdNew Preferred new fields — pass exactly one pair.
	SourceLanguageIdNew *int    `json:"sourceLanguageIdNew,omitempty"`
	TargetLanguageCode  *string `json:"targetLanguageCode,omitempty"`
	TargetLanguageId    *int    `json:"targetLanguageId,omitempty"`
	TargetLanguageIdNew *int    `json:"targetLanguageIdNew,omitempty"`
	Text                string  `json:"text"`
	UseGlossary         bool    `json:"useGlossary"`
}

TranslationTranslateTextBody defines model for translation.translateTextBody.

type TranslationTranslateTextResponse

type TranslationTranslateTextResponse struct {
	TranslatedText string `json:"translatedText"`
}

TranslationTranslateTextResponse defines model for translation.translateTextResponse.

type TypesLanguageRef

type TypesLanguageRef struct {
	// Code language code, e.g. "en" (case-insensitive)
	Code *string `json:"code,omitempty"`

	// Id numeric language id, e.g. 17
	Id *int `json:"id,omitempty"`
}

TypesLanguageRef defines model for types.LanguageRef.

type UpdateCustomPromptJSONRequestBody

type UpdateCustomPromptJSONRequestBody = TranslationPatchCustomPromptInput

UpdateCustomPromptJSONRequestBody defines body for UpdateCustomPrompt for application/json ContentType.

type UpdateCustomPromptResponse

type UpdateCustomPromptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseUpdateCustomPromptResponse

func ParseUpdateCustomPromptResponse(rsp *http.Response) (*UpdateCustomPromptResponse, error)

ParseUpdateCustomPromptResponse parses an HTTP response from a UpdateCustomPromptWithResponse call

func (UpdateCustomPromptResponse) ContentType

func (r UpdateCustomPromptResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateCustomPromptResponse) Status

Status returns HTTPResponse.Status

func (UpdateCustomPromptResponse) StatusCode

func (r UpdateCustomPromptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGlossaryItemTranslationJSONRequestBody

type UpdateGlossaryItemTranslationJSONRequestBody = GlossaryUpdateTranslationRequest

UpdateGlossaryItemTranslationJSONRequestBody defines body for UpdateGlossaryItemTranslation for application/json ContentType.

type UpdateGlossaryItemTranslationResponse

type UpdateGlossaryItemTranslationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseUpdateGlossaryItemTranslationResponse

func ParseUpdateGlossaryItemTranslationResponse(rsp *http.Response) (*UpdateGlossaryItemTranslationResponse, error)

ParseUpdateGlossaryItemTranslationResponse parses an HTTP response from a UpdateGlossaryItemTranslationWithResponse call

func (UpdateGlossaryItemTranslationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateGlossaryItemTranslationResponse) Status

Status returns HTTPResponse.Status

func (UpdateGlossaryItemTranslationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateHelpjuiceSettingsJSONRequestBody

type UpdateHelpjuiceSettingsJSONRequestBody = HelpjuiceUpdateSettingRequestBody

UpdateHelpjuiceSettingsJSONRequestBody defines body for UpdateHelpjuiceSettings for application/json ContentType.

type UpdateHelpjuiceSettingsResponse

type UpdateHelpjuiceSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseUpdateHelpjuiceSettingsResponse

func ParseUpdateHelpjuiceSettingsResponse(rsp *http.Response) (*UpdateHelpjuiceSettingsResponse, error)

ParseUpdateHelpjuiceSettingsResponse parses an HTTP response from a UpdateHelpjuiceSettingsWithResponse call

func (UpdateHelpjuiceSettingsResponse) ContentType

func (r UpdateHelpjuiceSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateHelpjuiceSettingsResponse) Status

Status returns HTTPResponse.Status

func (UpdateHelpjuiceSettingsResponse) StatusCode

func (r UpdateHelpjuiceSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateNamespaceJSONRequestBody

type UpdateNamespaceJSONRequestBody = NamespacePayloadUpdateNamespaceRequest

UpdateNamespaceJSONRequestBody defines body for UpdateNamespace for application/json ContentType.

type UpdateNamespaceResponse

type UpdateNamespaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResponseAPIResponseEmpty
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseUpdateNamespaceResponse

func ParseUpdateNamespaceResponse(rsp *http.Response) (*UpdateNamespaceResponse, error)

ParseUpdateNamespaceResponse parses an HTTP response from a UpdateNamespaceWithResponse call

func (UpdateNamespaceResponse) ContentType

func (r UpdateNamespaceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateNamespaceResponse) Status

func (r UpdateNamespaceResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateNamespaceResponse) StatusCode

func (r UpdateNamespaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTermJSONRequestBody

type UpdateTermJSONRequestBody = TermPayloadUpdateRequest

UpdateTermJSONRequestBody defines body for UpdateTerm for application/json ContentType.

type UpdateTermResponse

type UpdateTermResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TermPayloadUpdateResponse
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseUpdateTermResponse

func ParseUpdateTermResponse(rsp *http.Response) (*UpdateTermResponse, error)

ParseUpdateTermResponse parses an HTTP response from a UpdateTermWithResponse call

func (UpdateTermResponse) ContentType

func (r UpdateTermResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateTermResponse) Status

func (r UpdateTermResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTermResponse) StatusCode

func (r UpdateTermResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTermTranslationJSONRequestBody

type UpdateTermTranslationJSONRequestBody = TermPayloadUpdateTranslationRequest

UpdateTermTranslationJSONRequestBody defines body for UpdateTermTranslation for application/json ContentType.

type UpdateTermTranslationResponse

type UpdateTermTranslationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DtoDTOTerm
	JSON400      *ResponseAPIError
	JSON401      *ResponseAPIError
	JSON403      *ResponseAPIError
	JSON404      *ResponseAPIError
	JSON500      *ResponseAPIError
}

func ParseUpdateTermTranslationResponse

func ParseUpdateTermTranslationResponse(rsp *http.Response) (*UpdateTermTranslationResponse, error)

ParseUpdateTermTranslationResponse parses an HTTP response from a UpdateTermTranslationWithResponse call

func (UpdateTermTranslationResponse) ContentType

func (r UpdateTermTranslationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateTermTranslationResponse) Status

Status returns HTTPResponse.Status

func (UpdateTermTranslationResponse) StatusCode

func (r UpdateTermTranslationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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