client

package
v0.0.0-...-4ae6852 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDeleteGlobalPayload

func BuildDeleteGlobalPayload(variationsDeleteGlobalVariationID string, variationsDeleteGlobalSessionToken string, variationsDeleteGlobalApikeyToken string, variationsDeleteGlobalProjectSlugInput string) (*variations.DeleteGlobalPayload, error)

BuildDeleteGlobalPayload builds the payload for the variations deleteGlobal endpoint from CLI flags.

func BuildListGlobalPayload

func BuildListGlobalPayload(variationsListGlobalSessionToken string, variationsListGlobalApikeyToken string, variationsListGlobalProjectSlugInput string) (*variations.ListGlobalPayload, error)

BuildListGlobalPayload builds the payload for the variations listGlobal endpoint from CLI flags.

func BuildUpsertGlobalPayload

func BuildUpsertGlobalPayload(variationsUpsertGlobalBody string, variationsUpsertGlobalSessionToken string, variationsUpsertGlobalApikeyToken string, variationsUpsertGlobalProjectSlugInput string) (*variations.UpsertGlobalPayload, error)

BuildUpsertGlobalPayload builds the payload for the variations upsertGlobal endpoint from CLI flags.

func DecodeDeleteGlobalResponse

func DecodeDeleteGlobalResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeDeleteGlobalResponse returns a decoder for responses returned by the variations deleteGlobal endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDeleteGlobalResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "bad_request" (type *goa.ServiceError): http.StatusBadRequest
  • "not_found" (type *goa.ServiceError): http.StatusNotFound
  • "conflict" (type *goa.ServiceError): http.StatusConflict
  • "unsupported_media" (type *goa.ServiceError): http.StatusUnsupportedMediaType
  • "invalid" (type *goa.ServiceError): http.StatusUnprocessableEntity
  • "invariant_violation" (type *goa.ServiceError): http.StatusInternalServerError
  • "unexpected" (type *goa.ServiceError): http.StatusInternalServerError
  • "gateway_error" (type *goa.ServiceError): http.StatusBadGateway
  • error: internal error

func DecodeListGlobalResponse

func DecodeListGlobalResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeListGlobalResponse returns a decoder for responses returned by the variations listGlobal endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListGlobalResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "bad_request" (type *goa.ServiceError): http.StatusBadRequest
  • "not_found" (type *goa.ServiceError): http.StatusNotFound
  • "conflict" (type *goa.ServiceError): http.StatusConflict
  • "unsupported_media" (type *goa.ServiceError): http.StatusUnsupportedMediaType
  • "invalid" (type *goa.ServiceError): http.StatusUnprocessableEntity
  • "invariant_violation" (type *goa.ServiceError): http.StatusInternalServerError
  • "unexpected" (type *goa.ServiceError): http.StatusInternalServerError
  • "gateway_error" (type *goa.ServiceError): http.StatusBadGateway
  • error: internal error

func DecodeUpsertGlobalResponse

func DecodeUpsertGlobalResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

DecodeUpsertGlobalResponse returns a decoder for responses returned by the variations upsertGlobal endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUpsertGlobalResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "bad_request" (type *goa.ServiceError): http.StatusBadRequest
  • "not_found" (type *goa.ServiceError): http.StatusNotFound
  • "conflict" (type *goa.ServiceError): http.StatusConflict
  • "unsupported_media" (type *goa.ServiceError): http.StatusUnsupportedMediaType
  • "invalid" (type *goa.ServiceError): http.StatusUnprocessableEntity
  • "invariant_violation" (type *goa.ServiceError): http.StatusInternalServerError
  • "unexpected" (type *goa.ServiceError): http.StatusInternalServerError
  • "gateway_error" (type *goa.ServiceError): http.StatusBadGateway
  • error: internal error

func DeleteGlobalVariationsPath

func DeleteGlobalVariationsPath() string

DeleteGlobalVariationsPath returns the URL path to the variations service deleteGlobal HTTP endpoint.

func EncodeDeleteGlobalRequest

func EncodeDeleteGlobalRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeDeleteGlobalRequest returns an encoder for requests sent to the variations deleteGlobal server.

func EncodeListGlobalRequest

func EncodeListGlobalRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeListGlobalRequest returns an encoder for requests sent to the variations listGlobal server.

func EncodeUpsertGlobalRequest

func EncodeUpsertGlobalRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeUpsertGlobalRequest returns an encoder for requests sent to the variations upsertGlobal server.

func ListGlobalVariationsPath

func ListGlobalVariationsPath() string

ListGlobalVariationsPath returns the URL path to the variations service listGlobal HTTP endpoint.

func NewDeleteGlobalBadRequest

func NewDeleteGlobalBadRequest(body *DeleteGlobalBadRequestResponseBody) *goa.ServiceError

NewDeleteGlobalBadRequest builds a variations service deleteGlobal endpoint bad_request error.

func NewDeleteGlobalConflict

func NewDeleteGlobalConflict(body *DeleteGlobalConflictResponseBody) *goa.ServiceError

NewDeleteGlobalConflict builds a variations service deleteGlobal endpoint conflict error.

func NewDeleteGlobalForbidden

func NewDeleteGlobalForbidden(body *DeleteGlobalForbiddenResponseBody) *goa.ServiceError

NewDeleteGlobalForbidden builds a variations service deleteGlobal endpoint forbidden error.

func NewDeleteGlobalGatewayError

func NewDeleteGlobalGatewayError(body *DeleteGlobalGatewayErrorResponseBody) *goa.ServiceError

NewDeleteGlobalGatewayError builds a variations service deleteGlobal endpoint gateway_error error.

func NewDeleteGlobalInvalid

func NewDeleteGlobalInvalid(body *DeleteGlobalInvalidResponseBody) *goa.ServiceError

NewDeleteGlobalInvalid builds a variations service deleteGlobal endpoint invalid error.

func NewDeleteGlobalInvariantViolation

func NewDeleteGlobalInvariantViolation(body *DeleteGlobalInvariantViolationResponseBody) *goa.ServiceError

NewDeleteGlobalInvariantViolation builds a variations service deleteGlobal endpoint invariant_violation error.

func NewDeleteGlobalNotFound

func NewDeleteGlobalNotFound(body *DeleteGlobalNotFoundResponseBody) *goa.ServiceError

NewDeleteGlobalNotFound builds a variations service deleteGlobal endpoint not_found error.

func NewDeleteGlobalToolVariationResultOK

func NewDeleteGlobalToolVariationResultOK(body *DeleteGlobalResponseBody) *variations.DeleteGlobalToolVariationResult

NewDeleteGlobalToolVariationResultOK builds a "variations" service "deleteGlobal" endpoint result from a HTTP "OK" response.

func NewDeleteGlobalUnauthorized

func NewDeleteGlobalUnauthorized(body *DeleteGlobalUnauthorizedResponseBody) *goa.ServiceError

NewDeleteGlobalUnauthorized builds a variations service deleteGlobal endpoint unauthorized error.

func NewDeleteGlobalUnexpected

func NewDeleteGlobalUnexpected(body *DeleteGlobalUnexpectedResponseBody) *goa.ServiceError

NewDeleteGlobalUnexpected builds a variations service deleteGlobal endpoint unexpected error.

func NewDeleteGlobalUnsupportedMedia

func NewDeleteGlobalUnsupportedMedia(body *DeleteGlobalUnsupportedMediaResponseBody) *goa.ServiceError

NewDeleteGlobalUnsupportedMedia builds a variations service deleteGlobal endpoint unsupported_media error.

func NewListGlobalBadRequest

func NewListGlobalBadRequest(body *ListGlobalBadRequestResponseBody) *goa.ServiceError

NewListGlobalBadRequest builds a variations service listGlobal endpoint bad_request error.

func NewListGlobalConflict

func NewListGlobalConflict(body *ListGlobalConflictResponseBody) *goa.ServiceError

NewListGlobalConflict builds a variations service listGlobal endpoint conflict error.

func NewListGlobalForbidden

func NewListGlobalForbidden(body *ListGlobalForbiddenResponseBody) *goa.ServiceError

NewListGlobalForbidden builds a variations service listGlobal endpoint forbidden error.

func NewListGlobalGatewayError

func NewListGlobalGatewayError(body *ListGlobalGatewayErrorResponseBody) *goa.ServiceError

NewListGlobalGatewayError builds a variations service listGlobal endpoint gateway_error error.

func NewListGlobalInvalid

func NewListGlobalInvalid(body *ListGlobalInvalidResponseBody) *goa.ServiceError

NewListGlobalInvalid builds a variations service listGlobal endpoint invalid error.

func NewListGlobalInvariantViolation

func NewListGlobalInvariantViolation(body *ListGlobalInvariantViolationResponseBody) *goa.ServiceError

NewListGlobalInvariantViolation builds a variations service listGlobal endpoint invariant_violation error.

func NewListGlobalListVariationsResultOK

func NewListGlobalListVariationsResultOK(body *ListGlobalResponseBody) *variations.ListVariationsResult

NewListGlobalListVariationsResultOK builds a "variations" service "listGlobal" endpoint result from a HTTP "OK" response.

func NewListGlobalNotFound

func NewListGlobalNotFound(body *ListGlobalNotFoundResponseBody) *goa.ServiceError

NewListGlobalNotFound builds a variations service listGlobal endpoint not_found error.

func NewListGlobalUnauthorized

func NewListGlobalUnauthorized(body *ListGlobalUnauthorizedResponseBody) *goa.ServiceError

NewListGlobalUnauthorized builds a variations service listGlobal endpoint unauthorized error.

func NewListGlobalUnexpected

func NewListGlobalUnexpected(body *ListGlobalUnexpectedResponseBody) *goa.ServiceError

NewListGlobalUnexpected builds a variations service listGlobal endpoint unexpected error.

func NewListGlobalUnsupportedMedia

func NewListGlobalUnsupportedMedia(body *ListGlobalUnsupportedMediaResponseBody) *goa.ServiceError

NewListGlobalUnsupportedMedia builds a variations service listGlobal endpoint unsupported_media error.

func NewUpsertGlobalBadRequest

func NewUpsertGlobalBadRequest(body *UpsertGlobalBadRequestResponseBody) *goa.ServiceError

NewUpsertGlobalBadRequest builds a variations service upsertGlobal endpoint bad_request error.

func NewUpsertGlobalConflict

func NewUpsertGlobalConflict(body *UpsertGlobalConflictResponseBody) *goa.ServiceError

NewUpsertGlobalConflict builds a variations service upsertGlobal endpoint conflict error.

func NewUpsertGlobalForbidden

func NewUpsertGlobalForbidden(body *UpsertGlobalForbiddenResponseBody) *goa.ServiceError

NewUpsertGlobalForbidden builds a variations service upsertGlobal endpoint forbidden error.

func NewUpsertGlobalGatewayError

func NewUpsertGlobalGatewayError(body *UpsertGlobalGatewayErrorResponseBody) *goa.ServiceError

NewUpsertGlobalGatewayError builds a variations service upsertGlobal endpoint gateway_error error.

func NewUpsertGlobalInvalid

func NewUpsertGlobalInvalid(body *UpsertGlobalInvalidResponseBody) *goa.ServiceError

NewUpsertGlobalInvalid builds a variations service upsertGlobal endpoint invalid error.

func NewUpsertGlobalInvariantViolation

func NewUpsertGlobalInvariantViolation(body *UpsertGlobalInvariantViolationResponseBody) *goa.ServiceError

NewUpsertGlobalInvariantViolation builds a variations service upsertGlobal endpoint invariant_violation error.

func NewUpsertGlobalNotFound

func NewUpsertGlobalNotFound(body *UpsertGlobalNotFoundResponseBody) *goa.ServiceError

NewUpsertGlobalNotFound builds a variations service upsertGlobal endpoint not_found error.

func NewUpsertGlobalToolVariationResultOK

func NewUpsertGlobalToolVariationResultOK(body *UpsertGlobalResponseBody) *variations.UpsertGlobalToolVariationResult

NewUpsertGlobalToolVariationResultOK builds a "variations" service "upsertGlobal" endpoint result from a HTTP "OK" response.

func NewUpsertGlobalUnauthorized

func NewUpsertGlobalUnauthorized(body *UpsertGlobalUnauthorizedResponseBody) *goa.ServiceError

NewUpsertGlobalUnauthorized builds a variations service upsertGlobal endpoint unauthorized error.

func NewUpsertGlobalUnexpected

func NewUpsertGlobalUnexpected(body *UpsertGlobalUnexpectedResponseBody) *goa.ServiceError

NewUpsertGlobalUnexpected builds a variations service upsertGlobal endpoint unexpected error.

func NewUpsertGlobalUnsupportedMedia

func NewUpsertGlobalUnsupportedMedia(body *UpsertGlobalUnsupportedMediaResponseBody) *goa.ServiceError

NewUpsertGlobalUnsupportedMedia builds a variations service upsertGlobal endpoint unsupported_media error.

func UpsertGlobalVariationsPath

func UpsertGlobalVariationsPath() string

UpsertGlobalVariationsPath returns the URL path to the variations service upsertGlobal HTTP endpoint.

func ValidateDeleteGlobalBadRequestResponseBody

func ValidateDeleteGlobalBadRequestResponseBody(body *DeleteGlobalBadRequestResponseBody) (err error)

ValidateDeleteGlobalBadRequestResponseBody runs the validations defined on deleteGlobal_bad_request_response_body

func ValidateDeleteGlobalConflictResponseBody

func ValidateDeleteGlobalConflictResponseBody(body *DeleteGlobalConflictResponseBody) (err error)

ValidateDeleteGlobalConflictResponseBody runs the validations defined on deleteGlobal_conflict_response_body

func ValidateDeleteGlobalForbiddenResponseBody

func ValidateDeleteGlobalForbiddenResponseBody(body *DeleteGlobalForbiddenResponseBody) (err error)

ValidateDeleteGlobalForbiddenResponseBody runs the validations defined on deleteGlobal_forbidden_response_body

func ValidateDeleteGlobalGatewayErrorResponseBody

func ValidateDeleteGlobalGatewayErrorResponseBody(body *DeleteGlobalGatewayErrorResponseBody) (err error)

ValidateDeleteGlobalGatewayErrorResponseBody runs the validations defined on deleteGlobal_gateway_error_response_body

func ValidateDeleteGlobalInvalidResponseBody

func ValidateDeleteGlobalInvalidResponseBody(body *DeleteGlobalInvalidResponseBody) (err error)

ValidateDeleteGlobalInvalidResponseBody runs the validations defined on deleteGlobal_invalid_response_body

func ValidateDeleteGlobalInvariantViolationResponseBody

func ValidateDeleteGlobalInvariantViolationResponseBody(body *DeleteGlobalInvariantViolationResponseBody) (err error)

ValidateDeleteGlobalInvariantViolationResponseBody runs the validations defined on deleteGlobal_invariant_violation_response_body

func ValidateDeleteGlobalNotFoundResponseBody

func ValidateDeleteGlobalNotFoundResponseBody(body *DeleteGlobalNotFoundResponseBody) (err error)

ValidateDeleteGlobalNotFoundResponseBody runs the validations defined on deleteGlobal_not_found_response_body

func ValidateDeleteGlobalResponseBody

func ValidateDeleteGlobalResponseBody(body *DeleteGlobalResponseBody) (err error)

ValidateDeleteGlobalResponseBody runs the validations defined on DeleteGlobalResponseBody

func ValidateDeleteGlobalUnauthorizedResponseBody

func ValidateDeleteGlobalUnauthorizedResponseBody(body *DeleteGlobalUnauthorizedResponseBody) (err error)

ValidateDeleteGlobalUnauthorizedResponseBody runs the validations defined on deleteGlobal_unauthorized_response_body

func ValidateDeleteGlobalUnexpectedResponseBody

func ValidateDeleteGlobalUnexpectedResponseBody(body *DeleteGlobalUnexpectedResponseBody) (err error)

ValidateDeleteGlobalUnexpectedResponseBody runs the validations defined on deleteGlobal_unexpected_response_body

func ValidateDeleteGlobalUnsupportedMediaResponseBody

func ValidateDeleteGlobalUnsupportedMediaResponseBody(body *DeleteGlobalUnsupportedMediaResponseBody) (err error)

ValidateDeleteGlobalUnsupportedMediaResponseBody runs the validations defined on deleteGlobal_unsupported_media_response_body

func ValidateListGlobalBadRequestResponseBody

func ValidateListGlobalBadRequestResponseBody(body *ListGlobalBadRequestResponseBody) (err error)

ValidateListGlobalBadRequestResponseBody runs the validations defined on listGlobal_bad_request_response_body

func ValidateListGlobalConflictResponseBody

func ValidateListGlobalConflictResponseBody(body *ListGlobalConflictResponseBody) (err error)

ValidateListGlobalConflictResponseBody runs the validations defined on listGlobal_conflict_response_body

func ValidateListGlobalForbiddenResponseBody

func ValidateListGlobalForbiddenResponseBody(body *ListGlobalForbiddenResponseBody) (err error)

ValidateListGlobalForbiddenResponseBody runs the validations defined on listGlobal_forbidden_response_body

func ValidateListGlobalGatewayErrorResponseBody

func ValidateListGlobalGatewayErrorResponseBody(body *ListGlobalGatewayErrorResponseBody) (err error)

ValidateListGlobalGatewayErrorResponseBody runs the validations defined on listGlobal_gateway_error_response_body

func ValidateListGlobalInvalidResponseBody

func ValidateListGlobalInvalidResponseBody(body *ListGlobalInvalidResponseBody) (err error)

ValidateListGlobalInvalidResponseBody runs the validations defined on listGlobal_invalid_response_body

func ValidateListGlobalInvariantViolationResponseBody

func ValidateListGlobalInvariantViolationResponseBody(body *ListGlobalInvariantViolationResponseBody) (err error)

ValidateListGlobalInvariantViolationResponseBody runs the validations defined on listGlobal_invariant_violation_response_body

func ValidateListGlobalNotFoundResponseBody

func ValidateListGlobalNotFoundResponseBody(body *ListGlobalNotFoundResponseBody) (err error)

ValidateListGlobalNotFoundResponseBody runs the validations defined on listGlobal_not_found_response_body

func ValidateListGlobalResponseBody

func ValidateListGlobalResponseBody(body *ListGlobalResponseBody) (err error)

ValidateListGlobalResponseBody runs the validations defined on ListGlobalResponseBody

func ValidateListGlobalUnauthorizedResponseBody

func ValidateListGlobalUnauthorizedResponseBody(body *ListGlobalUnauthorizedResponseBody) (err error)

ValidateListGlobalUnauthorizedResponseBody runs the validations defined on listGlobal_unauthorized_response_body

func ValidateListGlobalUnexpectedResponseBody

func ValidateListGlobalUnexpectedResponseBody(body *ListGlobalUnexpectedResponseBody) (err error)

ValidateListGlobalUnexpectedResponseBody runs the validations defined on listGlobal_unexpected_response_body

func ValidateListGlobalUnsupportedMediaResponseBody

func ValidateListGlobalUnsupportedMediaResponseBody(body *ListGlobalUnsupportedMediaResponseBody) (err error)

ValidateListGlobalUnsupportedMediaResponseBody runs the validations defined on listGlobal_unsupported_media_response_body

func ValidateToolVariationResponseBody

func ValidateToolVariationResponseBody(body *ToolVariationResponseBody) (err error)

ValidateToolVariationResponseBody runs the validations defined on ToolVariationResponseBody

func ValidateUpsertGlobalBadRequestResponseBody

func ValidateUpsertGlobalBadRequestResponseBody(body *UpsertGlobalBadRequestResponseBody) (err error)

ValidateUpsertGlobalBadRequestResponseBody runs the validations defined on upsertGlobal_bad_request_response_body

func ValidateUpsertGlobalConflictResponseBody

func ValidateUpsertGlobalConflictResponseBody(body *UpsertGlobalConflictResponseBody) (err error)

ValidateUpsertGlobalConflictResponseBody runs the validations defined on upsertGlobal_conflict_response_body

func ValidateUpsertGlobalForbiddenResponseBody

func ValidateUpsertGlobalForbiddenResponseBody(body *UpsertGlobalForbiddenResponseBody) (err error)

ValidateUpsertGlobalForbiddenResponseBody runs the validations defined on upsertGlobal_forbidden_response_body

func ValidateUpsertGlobalGatewayErrorResponseBody

func ValidateUpsertGlobalGatewayErrorResponseBody(body *UpsertGlobalGatewayErrorResponseBody) (err error)

ValidateUpsertGlobalGatewayErrorResponseBody runs the validations defined on upsertGlobal_gateway_error_response_body

func ValidateUpsertGlobalInvalidResponseBody

func ValidateUpsertGlobalInvalidResponseBody(body *UpsertGlobalInvalidResponseBody) (err error)

ValidateUpsertGlobalInvalidResponseBody runs the validations defined on upsertGlobal_invalid_response_body

func ValidateUpsertGlobalInvariantViolationResponseBody

func ValidateUpsertGlobalInvariantViolationResponseBody(body *UpsertGlobalInvariantViolationResponseBody) (err error)

ValidateUpsertGlobalInvariantViolationResponseBody runs the validations defined on upsertGlobal_invariant_violation_response_body

func ValidateUpsertGlobalNotFoundResponseBody

func ValidateUpsertGlobalNotFoundResponseBody(body *UpsertGlobalNotFoundResponseBody) (err error)

ValidateUpsertGlobalNotFoundResponseBody runs the validations defined on upsertGlobal_not_found_response_body

func ValidateUpsertGlobalResponseBody

func ValidateUpsertGlobalResponseBody(body *UpsertGlobalResponseBody) (err error)

ValidateUpsertGlobalResponseBody runs the validations defined on UpsertGlobalResponseBody

func ValidateUpsertGlobalUnauthorizedResponseBody

func ValidateUpsertGlobalUnauthorizedResponseBody(body *UpsertGlobalUnauthorizedResponseBody) (err error)

ValidateUpsertGlobalUnauthorizedResponseBody runs the validations defined on upsertGlobal_unauthorized_response_body

func ValidateUpsertGlobalUnexpectedResponseBody

func ValidateUpsertGlobalUnexpectedResponseBody(body *UpsertGlobalUnexpectedResponseBody) (err error)

ValidateUpsertGlobalUnexpectedResponseBody runs the validations defined on upsertGlobal_unexpected_response_body

func ValidateUpsertGlobalUnsupportedMediaResponseBody

func ValidateUpsertGlobalUnsupportedMediaResponseBody(body *UpsertGlobalUnsupportedMediaResponseBody) (err error)

ValidateUpsertGlobalUnsupportedMediaResponseBody runs the validations defined on upsertGlobal_unsupported_media_response_body

Types

type Client

type Client struct {
	// UpsertGlobal Doer is the HTTP client used to make requests to the
	// upsertGlobal endpoint.
	UpsertGlobalDoer goahttp.Doer

	// DeleteGlobal Doer is the HTTP client used to make requests to the
	// deleteGlobal endpoint.
	DeleteGlobalDoer goahttp.Doer

	// ListGlobal Doer is the HTTP client used to make requests to the listGlobal
	// endpoint.
	ListGlobalDoer goahttp.Doer

	// RestoreResponseBody controls whether the response bodies are reset after
	// decoding so they can be read again.
	RestoreResponseBody bool
	// contains filtered or unexported fields
}

Client lists the variations service endpoint HTTP clients.

func NewClient

func NewClient(
	scheme string,
	host string,
	doer goahttp.Doer,
	enc func(*http.Request) goahttp.Encoder,
	dec func(*http.Response) goahttp.Decoder,
	restoreBody bool,
) *Client

NewClient instantiates HTTP clients for all the variations service servers.

func (*Client) BuildDeleteGlobalRequest

func (c *Client) BuildDeleteGlobalRequest(ctx context.Context, v any) (*http.Request, error)

BuildDeleteGlobalRequest instantiates a HTTP request object with method and path set to call the "variations" service "deleteGlobal" endpoint

func (*Client) BuildListGlobalRequest

func (c *Client) BuildListGlobalRequest(ctx context.Context, v any) (*http.Request, error)

BuildListGlobalRequest instantiates a HTTP request object with method and path set to call the "variations" service "listGlobal" endpoint

func (*Client) BuildUpsertGlobalRequest

func (c *Client) BuildUpsertGlobalRequest(ctx context.Context, v any) (*http.Request, error)

BuildUpsertGlobalRequest instantiates a HTTP request object with method and path set to call the "variations" service "upsertGlobal" endpoint

func (*Client) DeleteGlobal

func (c *Client) DeleteGlobal() goa.Endpoint

DeleteGlobal returns an endpoint that makes HTTP requests to the variations service deleteGlobal server.

func (*Client) ListGlobal

func (c *Client) ListGlobal() goa.Endpoint

ListGlobal returns an endpoint that makes HTTP requests to the variations service listGlobal server.

func (*Client) UpsertGlobal

func (c *Client) UpsertGlobal() goa.Endpoint

UpsertGlobal returns an endpoint that makes HTTP requests to the variations service upsertGlobal server.

type DeleteGlobalBadRequestResponseBody

type DeleteGlobalBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalBadRequestResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "bad_request" error.

type DeleteGlobalConflictResponseBody

type DeleteGlobalConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalConflictResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "conflict" error.

type DeleteGlobalForbiddenResponseBody

type DeleteGlobalForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalForbiddenResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "forbidden" error.

type DeleteGlobalGatewayErrorResponseBody

type DeleteGlobalGatewayErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalGatewayErrorResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "gateway_error" error.

type DeleteGlobalInvalidResponseBody

type DeleteGlobalInvalidResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalInvalidResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "invalid" error.

type DeleteGlobalInvariantViolationResponseBody

type DeleteGlobalInvariantViolationResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalInvariantViolationResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "invariant_violation" error.

type DeleteGlobalNotFoundResponseBody

type DeleteGlobalNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalNotFoundResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "not_found" error.

type DeleteGlobalResponseBody

type DeleteGlobalResponseBody struct {
	// The ID of the variation that was deleted
	VariationID *string `form:"variation_id,omitempty" json:"variation_id,omitempty" xml:"variation_id,omitempty"`
}

DeleteGlobalResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body.

type DeleteGlobalUnauthorizedResponseBody

type DeleteGlobalUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalUnauthorizedResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "unauthorized" error.

type DeleteGlobalUnexpectedResponseBody

type DeleteGlobalUnexpectedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalUnexpectedResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "unexpected" error.

type DeleteGlobalUnsupportedMediaResponseBody

type DeleteGlobalUnsupportedMediaResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteGlobalUnsupportedMediaResponseBody is the type of the "variations" service "deleteGlobal" endpoint HTTP response body for the "unsupported_media" error.

type ListGlobalBadRequestResponseBody

type ListGlobalBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalBadRequestResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "bad_request" error.

type ListGlobalConflictResponseBody

type ListGlobalConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalConflictResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "conflict" error.

type ListGlobalForbiddenResponseBody

type ListGlobalForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalForbiddenResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "forbidden" error.

type ListGlobalGatewayErrorResponseBody

type ListGlobalGatewayErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalGatewayErrorResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "gateway_error" error.

type ListGlobalInvalidResponseBody

type ListGlobalInvalidResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalInvalidResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "invalid" error.

type ListGlobalInvariantViolationResponseBody

type ListGlobalInvariantViolationResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalInvariantViolationResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "invariant_violation" error.

type ListGlobalNotFoundResponseBody

type ListGlobalNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalNotFoundResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "not_found" error.

type ListGlobalResponseBody

type ListGlobalResponseBody struct {
	Variations []*ToolVariationResponseBody `form:"variations,omitempty" json:"variations,omitempty" xml:"variations,omitempty"`
}

ListGlobalResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body.

type ListGlobalUnauthorizedResponseBody

type ListGlobalUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalUnauthorizedResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "unauthorized" error.

type ListGlobalUnexpectedResponseBody

type ListGlobalUnexpectedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalUnexpectedResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "unexpected" error.

type ListGlobalUnsupportedMediaResponseBody

type ListGlobalUnsupportedMediaResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListGlobalUnsupportedMediaResponseBody is the type of the "variations" service "listGlobal" endpoint HTTP response body for the "unsupported_media" error.

type ToolVariationResponseBody

type ToolVariationResponseBody struct {
	// The ID of the tool variation
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// The ID of the tool variation group
	GroupID *string `form:"group_id,omitempty" json:"group_id,omitempty" xml:"group_id,omitempty"`
	// The URN of the source tool
	SrcToolUrn *string `form:"src_tool_urn,omitempty" json:"src_tool_urn,omitempty" xml:"src_tool_urn,omitempty"`
	// The name of the source tool
	SrcToolName *string `form:"src_tool_name,omitempty" json:"src_tool_name,omitempty" xml:"src_tool_name,omitempty"`
	// The confirmation mode for the tool variation
	Confirm *string `form:"confirm,omitempty" json:"confirm,omitempty" xml:"confirm,omitempty"`
	// The confirmation prompt for the tool variation
	ConfirmPrompt *string `form:"confirm_prompt,omitempty" json:"confirm_prompt,omitempty" xml:"confirm_prompt,omitempty"`
	// The name of the tool variation
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// The description of the tool variation
	Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	// The summarizer of the tool variation
	Summarizer *string `form:"summarizer,omitempty" json:"summarizer,omitempty" xml:"summarizer,omitempty"`
	// The creation date of the tool variation
	CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"`
	// The last update date of the tool variation
	UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"`
}

ToolVariationResponseBody is used to define fields on response body types.

type UpsertGlobalBadRequestResponseBody

type UpsertGlobalBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalBadRequestResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "bad_request" error.

type UpsertGlobalConflictResponseBody

type UpsertGlobalConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalConflictResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "conflict" error.

type UpsertGlobalForbiddenResponseBody

type UpsertGlobalForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalForbiddenResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "forbidden" error.

type UpsertGlobalGatewayErrorResponseBody

type UpsertGlobalGatewayErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalGatewayErrorResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "gateway_error" error.

type UpsertGlobalInvalidResponseBody

type UpsertGlobalInvalidResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalInvalidResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "invalid" error.

type UpsertGlobalInvariantViolationResponseBody

type UpsertGlobalInvariantViolationResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalInvariantViolationResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "invariant_violation" error.

type UpsertGlobalNotFoundResponseBody

type UpsertGlobalNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalNotFoundResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "not_found" error.

type UpsertGlobalRequestBody

type UpsertGlobalRequestBody struct {
	// The URN of the source tool
	SrcToolUrn string `form:"src_tool_urn" json:"src_tool_urn" xml:"src_tool_urn"`
	// The name of the source tool
	SrcToolName string `form:"src_tool_name" json:"src_tool_name" xml:"src_tool_name"`
	// The confirmation mode for the tool variation
	Confirm *string `form:"confirm,omitempty" json:"confirm,omitempty" xml:"confirm,omitempty"`
	// The confirmation prompt for the tool variation
	ConfirmPrompt *string `form:"confirm_prompt,omitempty" json:"confirm_prompt,omitempty" xml:"confirm_prompt,omitempty"`
	// The name of the tool variation
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// The summary of the tool variation
	Summary *string `form:"summary,omitempty" json:"summary,omitempty" xml:"summary,omitempty"`
	// The description of the tool variation
	Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	// The tags of the tool variation
	Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// The summarizer of the tool variation
	Summarizer *string `form:"summarizer,omitempty" json:"summarizer,omitempty" xml:"summarizer,omitempty"`
}

UpsertGlobalRequestBody is the type of the "variations" service "upsertGlobal" endpoint HTTP request body.

func NewUpsertGlobalRequestBody

func NewUpsertGlobalRequestBody(p *variations.UpsertGlobalPayload) *UpsertGlobalRequestBody

NewUpsertGlobalRequestBody builds the HTTP request body from the payload of the "upsertGlobal" endpoint of the "variations" service.

type UpsertGlobalResponseBody

type UpsertGlobalResponseBody struct {
	Variation *ToolVariationResponseBody `form:"variation,omitempty" json:"variation,omitempty" xml:"variation,omitempty"`
}

UpsertGlobalResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body.

type UpsertGlobalUnauthorizedResponseBody

type UpsertGlobalUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalUnauthorizedResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "unauthorized" error.

type UpsertGlobalUnexpectedResponseBody

type UpsertGlobalUnexpectedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalUnexpectedResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "unexpected" error.

type UpsertGlobalUnsupportedMediaResponseBody

type UpsertGlobalUnsupportedMediaResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpsertGlobalUnsupportedMediaResponseBody is the type of the "variations" service "upsertGlobal" endpoint HTTP response body for the "unsupported_media" error.

Jump to

Keyboard shortcuts

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