cloudquery_api

package module
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MPL-2.0 Imports: 11 Imported by: 10

README

Warning This is currently in limited preview.

CloudQuery API Go Client Library

Auto-generated CloudQuery API Client library for Go.

Documentation

Overview

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

Code generated by github.com/deepmap/oapi-codegen version v1.13.3 DO NOT EDIT.

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

Code generated by github.com/deepmap/oapi-codegen version v1.13.3 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes = "bearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewAcceptTeamInvitationRequest

func NewAcceptTeamInvitationRequest(server string, teamName TeamName, body AcceptTeamInvitationJSONRequestBody) (*http.Request, error)

NewAcceptTeamInvitationRequest calls the generic AcceptTeamInvitation builder with application/json body

func NewAcceptTeamInvitationRequestWithBody added in v1.2.2

func NewAcceptTeamInvitationRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)

NewAcceptTeamInvitationRequestWithBody generates requests for AcceptTeamInvitation with any type of body

func NewCancelTeamInvitationRequest

func NewCancelTeamInvitationRequest(server string, teamName TeamName, email Email) (*http.Request, error)

NewCancelTeamInvitationRequest generates requests for CancelTeamInvitation

func NewCreateMonthlyLimitRequest added in v1.2.3

func NewCreateMonthlyLimitRequest(server string, teamName TeamName, body CreateMonthlyLimitJSONRequestBody) (*http.Request, error)

NewCreateMonthlyLimitRequest calls the generic CreateMonthlyLimit builder with application/json body

func NewCreateMonthlyLimitRequestWithBody added in v1.2.3

func NewCreateMonthlyLimitRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)

NewCreateMonthlyLimitRequestWithBody generates requests for CreateMonthlyLimit with any type of body

func NewCreatePluginRequest

func NewCreatePluginRequest(server string, body CreatePluginJSONRequestBody) (*http.Request, error)

NewCreatePluginRequest calls the generic CreatePlugin builder with application/json body

func NewCreatePluginRequestWithBody

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

NewCreatePluginRequestWithBody generates requests for CreatePlugin with any type of body

func NewCreatePluginVersionDocsRequest

func NewCreatePluginVersionDocsRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody) (*http.Request, error)

NewCreatePluginVersionDocsRequest calls the generic CreatePluginVersionDocs builder with application/json body

func NewCreatePluginVersionDocsRequestWithBody

func NewCreatePluginVersionDocsRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewCreatePluginVersionDocsRequestWithBody generates requests for CreatePluginVersionDocs with any type of body

func NewCreatePluginVersionRequest

func NewCreatePluginVersionRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionJSONRequestBody) (*http.Request, error)

NewCreatePluginVersionRequest calls the generic CreatePluginVersion builder with application/json body

func NewCreatePluginVersionRequestWithBody

func NewCreatePluginVersionRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewCreatePluginVersionRequestWithBody generates requests for CreatePluginVersion with any type of body

func NewCreatePluginVersionTablesRequest

func NewCreatePluginVersionTablesRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody) (*http.Request, error)

NewCreatePluginVersionTablesRequest calls the generic CreatePluginVersionTables builder with application/json body

func NewCreatePluginVersionTablesRequestWithBody

func NewCreatePluginVersionTablesRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewCreatePluginVersionTablesRequestWithBody generates requests for CreatePluginVersionTables with any type of body

func NewCreateTeamAPIKeyRequest added in v1.0.3

func NewCreateTeamAPIKeyRequest(server string, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody) (*http.Request, error)

NewCreateTeamAPIKeyRequest calls the generic CreateTeamAPIKey builder with application/json body

func NewCreateTeamAPIKeyRequestWithBody added in v1.0.3

func NewCreateTeamAPIKeyRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)

NewCreateTeamAPIKeyRequestWithBody generates requests for CreateTeamAPIKey with any type of body

func NewCreateTeamRequest

func NewCreateTeamRequest(server string, body CreateTeamJSONRequestBody) (*http.Request, error)

NewCreateTeamRequest calls the generic CreateTeam builder with application/json body

func NewCreateTeamRequestWithBody

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

NewCreateTeamRequestWithBody generates requests for CreateTeam with any type of body

func NewDeleteMonthlyLimitRequest added in v1.2.3

func NewDeleteMonthlyLimitRequest(server string, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName) (*http.Request, error)

NewDeleteMonthlyLimitRequest generates requests for DeleteMonthlyLimit

func NewDeletePluginByTeamAndPluginNameRequest added in v1.0.2

func NewDeletePluginByTeamAndPluginNameRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName) (*http.Request, error)

NewDeletePluginByTeamAndPluginNameRequest generates requests for DeletePluginByTeamAndPluginName

func NewDeletePluginVersionDocsRequest

func NewDeletePluginVersionDocsRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody) (*http.Request, error)

NewDeletePluginVersionDocsRequest calls the generic DeletePluginVersionDocs builder with application/json body

func NewDeletePluginVersionDocsRequestWithBody

func NewDeletePluginVersionDocsRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewDeletePluginVersionDocsRequestWithBody generates requests for DeletePluginVersionDocs with any type of body

func NewDeletePluginVersionTablesRequest

func NewDeletePluginVersionTablesRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody) (*http.Request, error)

NewDeletePluginVersionTablesRequest calls the generic DeletePluginVersionTables builder with application/json body

func NewDeletePluginVersionTablesRequestWithBody

func NewDeletePluginVersionTablesRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewDeletePluginVersionTablesRequestWithBody generates requests for DeletePluginVersionTables with any type of body

func NewDeletePluginsByTeamRequest added in v1.0.2

func NewDeletePluginsByTeamRequest(server string, teamName TeamName) (*http.Request, error)

NewDeletePluginsByTeamRequest generates requests for DeletePluginsByTeam

func NewDeleteTeamAPIKeyRequest added in v1.0.3

func NewDeleteTeamAPIKeyRequest(server string, teamName TeamName, aPIKeyPathName APIKeyPathName) (*http.Request, error)

NewDeleteTeamAPIKeyRequest generates requests for DeleteTeamAPIKey

func NewDownloadPluginAssetRequest

func NewDownloadPluginAssetRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName) (*http.Request, error)

NewDownloadPluginAssetRequest generates requests for DownloadPluginAsset

func NewEmailTeamInvitationRequest

func NewEmailTeamInvitationRequest(server string, teamName TeamName, body EmailTeamInvitationJSONRequestBody) (*http.Request, error)

NewEmailTeamInvitationRequest calls the generic EmailTeamInvitation builder with application/json body

func NewEmailTeamInvitationRequestWithBody

func NewEmailTeamInvitationRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)

NewEmailTeamInvitationRequestWithBody generates requests for EmailTeamInvitation with any type of body

func NewGetCurrentUserMembershipsRequest

func NewGetCurrentUserMembershipsRequest(server string, params *GetCurrentUserMembershipsParams) (*http.Request, error)

NewGetCurrentUserMembershipsRequest generates requests for GetCurrentUserMemberships

func NewGetCurrentUserRequest

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

NewGetCurrentUserRequest generates requests for GetCurrentUser

func NewGetMonthlyLimitRequest added in v1.2.3

func NewGetMonthlyLimitRequest(server string, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName) (*http.Request, error)

NewGetMonthlyLimitRequest generates requests for GetMonthlyLimit

func NewGetPluginRequest

func NewGetPluginRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName) (*http.Request, error)

NewGetPluginRequest generates requests for GetPlugin

func NewGetPluginVersionRequest

func NewGetPluginVersionRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName) (*http.Request, error)

NewGetPluginVersionRequest generates requests for GetPluginVersion

func NewGetPluginVersionTableRequest

func NewGetPluginVersionTableRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, tableName string) (*http.Request, error)

NewGetPluginVersionTableRequest generates requests for GetPluginVersionTable

func NewGetTeamByNameRequest

func NewGetTeamByNameRequest(server string, teamName TeamName) (*http.Request, error)

NewGetTeamByNameRequest generates requests for GetTeamByName

func NewGetTeamMembershipsRequest

func NewGetTeamMembershipsRequest(server string, teamName TeamName, params *GetTeamMembershipsParams) (*http.Request, error)

NewGetTeamMembershipsRequest generates requests for GetTeamMemberships

func NewHealthCheckRequest

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

NewHealthCheckRequest generates requests for HealthCheck

func NewListCurrentUserInvitationsRequest

func NewListCurrentUserInvitationsRequest(server string, params *ListCurrentUserInvitationsParams) (*http.Request, error)

NewListCurrentUserInvitationsRequest generates requests for ListCurrentUserInvitations

func NewListMonthlyLimitsByTeamRequest added in v1.2.3

func NewListMonthlyLimitsByTeamRequest(server string, teamName TeamName, params *ListMonthlyLimitsByTeamParams) (*http.Request, error)

NewListMonthlyLimitsByTeamRequest generates requests for ListMonthlyLimitsByTeam

func NewListPluginVersionDocsRequest

func NewListPluginVersionDocsRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams) (*http.Request, error)

NewListPluginVersionDocsRequest generates requests for ListPluginVersionDocs

func NewListPluginVersionTablesRequest

func NewListPluginVersionTablesRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams) (*http.Request, error)

NewListPluginVersionTablesRequest generates requests for ListPluginVersionTables

func NewListPluginVersionsRequest

func NewListPluginVersionsRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, params *ListPluginVersionsParams) (*http.Request, error)

NewListPluginVersionsRequest generates requests for ListPluginVersions

func NewListPluginsByTeamRequest

func NewListPluginsByTeamRequest(server string, teamName TeamName, params *ListPluginsByTeamParams) (*http.Request, error)

NewListPluginsByTeamRequest generates requests for ListPluginsByTeam

func NewListPluginsRequest

func NewListPluginsRequest(server string, params *ListPluginsParams) (*http.Request, error)

NewListPluginsRequest generates requests for ListPlugins

func NewListTeamAPIKeysRequest added in v1.0.3

func NewListTeamAPIKeysRequest(server string, teamName TeamName, params *ListTeamAPIKeysParams) (*http.Request, error)

NewListTeamAPIKeysRequest generates requests for ListTeamAPIKeys

func NewListTeamInvitationsRequest

func NewListTeamInvitationsRequest(server string, teamName TeamName, params *ListTeamInvitationsParams) (*http.Request, error)

NewListTeamInvitationsRequest generates requests for ListTeamInvitations

func NewListTeamsRequest

func NewListTeamsRequest(server string, params *ListTeamsParams) (*http.Request, error)

NewListTeamsRequest generates requests for ListTeams

func NewListUsersByTeamRequest

func NewListUsersByTeamRequest(server string, teamName TeamName, params *ListUsersByTeamParams) (*http.Request, error)

NewListUsersByTeamRequest generates requests for ListUsersByTeam

func NewUpdateCurrentUserRequest added in v1.0.3

func NewUpdateCurrentUserRequest(server string, body UpdateCurrentUserJSONRequestBody) (*http.Request, error)

NewUpdateCurrentUserRequest calls the generic UpdateCurrentUser builder with application/json body

func NewUpdateCurrentUserRequestWithBody added in v1.0.3

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

NewUpdateCurrentUserRequestWithBody generates requests for UpdateCurrentUser with any type of body

func NewUpdateMonthlyLimitRequest added in v1.2.3

func NewUpdateMonthlyLimitRequest(server string, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, body UpdateMonthlyLimitJSONRequestBody) (*http.Request, error)

NewUpdateMonthlyLimitRequest calls the generic UpdateMonthlyLimit builder with application/json body

func NewUpdateMonthlyLimitRequestWithBody added in v1.2.3

func NewUpdateMonthlyLimitRequestWithBody(server string, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateMonthlyLimitRequestWithBody generates requests for UpdateMonthlyLimit with any type of body

func NewUpdatePluginRequest

func NewUpdatePluginRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, body UpdatePluginJSONRequestBody) (*http.Request, error)

NewUpdatePluginRequest calls the generic UpdatePlugin builder with application/json body

func NewUpdatePluginRequestWithBody

func NewUpdatePluginRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePluginRequestWithBody generates requests for UpdatePlugin with any type of body

func NewUpdatePluginVersionRequest

func NewUpdatePluginVersionRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody) (*http.Request, error)

NewUpdatePluginVersionRequest calls the generic UpdatePluginVersion builder with application/json body

func NewUpdatePluginVersionRequestWithBody

func NewUpdatePluginVersionRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePluginVersionRequestWithBody generates requests for UpdatePluginVersion with any type of body

func NewUpdateTeamRequest added in v1.0.1

func NewUpdateTeamRequest(server string, teamName TeamName, body UpdateTeamJSONRequestBody) (*http.Request, error)

NewUpdateTeamRequest calls the generic UpdateTeam builder with application/json body

func NewUpdateTeamRequestWithBody added in v1.0.1

func NewUpdateTeamRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTeamRequestWithBody generates requests for UpdateTeam with any type of body

func NewUploadImageRequest

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

NewUploadImageRequest generates requests for UploadImage

func NewUploadPluginAssetRequest

func NewUploadPluginAssetRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName) (*http.Request, error)

NewUploadPluginAssetRequest generates requests for UploadPluginAsset

Types

type APIKey added in v1.0.3

type APIKey struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	CreatedBy *Email     `json:"created_by,omitempty"`

	// ExpiresAt Timestamp at which API key will stop working
	ExpiresAt time.Time `json:"expires_at"`

	// Key API key. Will be shown only in the response when creating the key.
	Key *string `json:"key,omitempty"`

	// Name Name of the API key
	Name APIKeyName `json:"name"`

	// Scope Scope of permissions for the API key. API keys are used for creating new plugin versions and downloading existing plugins
	Scope APIKeyScope `json:"scope"`
}

APIKey API Key to interact with CloudQuery Cloud under specific team

type APIKeyName added in v1.0.3

type APIKeyName = string

APIKeyName Name of the API key

type APIKeyPathName added in v1.2.2

type APIKeyPathName = string

APIKeyPathName defines model for apikey_name.

type APIKeyScope added in v1.0.3

type APIKeyScope string

APIKeyScope Scope of permissions for the API key. API keys are used for creating new plugin versions and downloading existing plugins

const (
	ReadAndWrite APIKeyScope = "read-and-write"
)

Defines values for APIKeyScope.

type AcceptTeamInvitationJSONBody added in v1.2.2

type AcceptTeamInvitationJSONBody struct {
	Token openapi_types.UUID `json:"token"`
}

AcceptTeamInvitationJSONBody defines parameters for AcceptTeamInvitation.

type AcceptTeamInvitationJSONRequestBody added in v1.2.2

type AcceptTeamInvitationJSONRequestBody AcceptTeamInvitationJSONBody

AcceptTeamInvitationJSONRequestBody defines body for AcceptTeamInvitation for application/json ContentType.

type AcceptTeamInvitationResponse

type AcceptTeamInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MembershipWithTeam
	JSON303      *MembershipWithTeam
	JSON403      *Forbidden
	JSON500      *InternalError
}

func ParseAcceptTeamInvitationResponse

func ParseAcceptTeamInvitationResponse(rsp *http.Response) (*AcceptTeamInvitationResponse, error)

ParseAcceptTeamInvitationResponse parses an HTTP response from a AcceptTeamInvitationWithResponse call

func (AcceptTeamInvitationResponse) Status

Status returns HTTPResponse.Status

func (AcceptTeamInvitationResponse) StatusCode

func (r AcceptTeamInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BadRequest added in v1.2.1

type BadRequest = FieldError

BadRequest defines model for BadRequest.

type BasicError

type BasicError struct {
	Message string `json:"message"`
	Status  int    `json:"status"`
}

BasicError Basic Error

type CancelTeamInvitationResponse

type CancelTeamInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseCancelTeamInvitationResponse

func ParseCancelTeamInvitationResponse(rsp *http.Response) (*CancelTeamInvitationResponse, error)

ParseCancelTeamInvitationResponse parses an HTTP response from a CancelTeamInvitationWithResponse call

func (CancelTeamInvitationResponse) Status

Status returns HTTPResponse.Status

func (CancelTeamInvitationResponse) StatusCode

func (r CancelTeamInvitationResponse) 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) AcceptTeamInvitation

func (c *Client) AcceptTeamInvitation(ctx context.Context, teamName TeamName, body AcceptTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AcceptTeamInvitationWithBody added in v1.2.2

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

func (*Client) CancelTeamInvitation

func (c *Client) CancelTeamInvitation(ctx context.Context, teamName TeamName, email Email, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMonthlyLimit added in v1.2.3

func (c *Client) CreateMonthlyLimit(ctx context.Context, teamName TeamName, body CreateMonthlyLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMonthlyLimitWithBody added in v1.2.3

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

func (*Client) CreatePlugin

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

func (*Client) CreatePluginVersion

func (c *Client) CreatePluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionDocs

func (c *Client) CreatePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionDocsWithBody

func (c *Client) CreatePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionTables

func (c *Client) CreatePluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionTablesWithBody

func (c *Client) CreatePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionWithBody

func (c *Client) CreatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginWithBody

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

func (*Client) CreateTeam

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

func (*Client) CreateTeamAPIKey added in v1.0.3

func (c *Client) CreateTeamAPIKey(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTeamAPIKeyWithBody added in v1.0.3

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

func (*Client) CreateTeamWithBody

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

func (*Client) DeleteMonthlyLimit added in v1.2.3

func (c *Client) DeleteMonthlyLimit(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginByTeamAndPluginName added in v1.0.2

func (c *Client) DeletePluginByTeamAndPluginName(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginVersionDocs

func (c *Client) DeletePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginVersionDocsWithBody

func (c *Client) DeletePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginVersionTables

func (c *Client) DeletePluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginVersionTablesWithBody

func (c *Client) DeletePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginsByTeam added in v1.0.2

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

func (*Client) DeleteTeamAPIKey added in v1.0.3

func (c *Client) DeleteTeamAPIKey(ctx context.Context, teamName TeamName, aPIKeyPathName APIKeyPathName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadPluginAsset

func (c *Client) DownloadPluginAsset(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EmailTeamInvitation

func (c *Client) EmailTeamInvitation(ctx context.Context, teamName TeamName, body EmailTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EmailTeamInvitationWithBody

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

func (*Client) GetCurrentUser

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

func (*Client) GetCurrentUserMemberships

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

func (*Client) GetMonthlyLimit added in v1.2.3

func (c *Client) GetMonthlyLimit(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPlugin

func (c *Client) GetPlugin(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPluginVersion

func (c *Client) GetPluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPluginVersionTable

func (c *Client) GetPluginVersionTable(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, tableName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamByName

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

func (*Client) GetTeamMemberships

func (c *Client) GetTeamMemberships(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HealthCheck

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

func (*Client) ListCurrentUserInvitations

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

func (*Client) ListMonthlyLimitsByTeam added in v1.2.3

func (c *Client) ListMonthlyLimitsByTeam(ctx context.Context, teamName TeamName, params *ListMonthlyLimitsByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPluginVersionDocs

func (c *Client) ListPluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPluginVersionTables

func (c *Client) ListPluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPluginVersions

func (c *Client) ListPluginVersions(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPlugins

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

func (*Client) ListPluginsByTeam

func (c *Client) ListPluginsByTeam(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTeamAPIKeys added in v1.0.3

func (c *Client) ListTeamAPIKeys(ctx context.Context, teamName TeamName, params *ListTeamAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTeamInvitations

func (c *Client) ListTeamInvitations(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTeams

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

func (*Client) ListUsersByTeam

func (c *Client) ListUsersByTeam(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCurrentUser added in v1.0.3

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

func (*Client) UpdateCurrentUserWithBody added in v1.0.3

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

func (*Client) UpdateMonthlyLimit added in v1.2.3

func (c *Client) UpdateMonthlyLimit(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, body UpdateMonthlyLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateMonthlyLimitWithBody added in v1.2.3

func (c *Client) UpdateMonthlyLimitWithBody(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePlugin

func (c *Client) UpdatePlugin(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePluginVersion

func (c *Client) UpdatePluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePluginVersionWithBody

func (c *Client) UpdatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePluginWithBody

func (c *Client) UpdatePluginWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTeam added in v1.0.1

func (c *Client) UpdateTeam(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTeamWithBody added in v1.0.1

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

func (*Client) UploadImage

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

func (*Client) UploadPluginAsset

func (c *Client) UploadPluginAsset(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

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

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

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

	CreatePlugin(ctx context.Context, body CreatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePluginByTeamAndPluginName request
	DeletePluginByTeamAndPluginName(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPlugin request
	GetPlugin(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePluginWithBody request with any body
	UpdatePluginWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePlugin(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginVersions request
	ListPluginVersions(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginVersion request
	GetPluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePluginVersionWithBody request with any body
	UpdatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePluginVersionWithBody request with any body
	CreatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadPluginAsset request
	DownloadPluginAsset(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadPluginAsset request
	UploadPluginAsset(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePluginVersionDocsWithBody request with any body
	DeletePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeletePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginVersionDocs request
	ListPluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePluginVersionDocsWithBody request with any body
	CreatePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePluginVersionTablesWithBody request with any body
	DeletePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeletePluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginVersionTables request
	ListPluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePluginVersionTablesWithBody request with any body
	CreatePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginVersionTable request
	GetPluginVersionTable(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, tableName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateTeam(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamByName request
	GetTeamByName(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateTeam(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeamAPIKeys request
	ListTeamAPIKeys(ctx context.Context, teamName TeamName, params *ListTeamAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateTeamAPIKey(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTeamAPIKey request
	DeleteTeamAPIKey(ctx context.Context, teamName TeamName, aPIKeyPathName APIKeyPathName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeamInvitations request
	ListTeamInvitations(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	EmailTeamInvitation(ctx context.Context, teamName TeamName, body EmailTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AcceptTeamInvitation(ctx context.Context, teamName TeamName, body AcceptTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelTeamInvitation request
	CancelTeamInvitation(ctx context.Context, teamName TeamName, email Email, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamMemberships request
	GetTeamMemberships(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMonthlyLimitsByTeam request
	ListMonthlyLimitsByTeam(ctx context.Context, teamName TeamName, params *ListMonthlyLimitsByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateMonthlyLimit(ctx context.Context, teamName TeamName, body CreateMonthlyLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMonthlyLimit request
	DeleteMonthlyLimit(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMonthlyLimit request
	GetMonthlyLimit(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateMonthlyLimitWithBody request with any body
	UpdateMonthlyLimitWithBody(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateMonthlyLimit(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, body UpdateMonthlyLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePluginsByTeam request
	DeletePluginsByTeam(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginsByTeam request
	ListPluginsByTeam(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListUsersByTeam request
	ListUsersByTeam(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdateCurrentUser(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// GetCurrentUserMemberships request
	GetCurrentUserMemberships(ctx context.Context, params *GetCurrentUserMembershipsParams, 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) AcceptTeamInvitationWithBodyWithResponse added in v1.2.2

func (c *ClientWithResponses) AcceptTeamInvitationWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptTeamInvitationResponse, error)

AcceptTeamInvitationWithBodyWithResponse request with arbitrary body returning *AcceptTeamInvitationResponse

func (*ClientWithResponses) AcceptTeamInvitationWithResponse

func (c *ClientWithResponses) AcceptTeamInvitationWithResponse(ctx context.Context, teamName TeamName, body AcceptTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptTeamInvitationResponse, error)

func (*ClientWithResponses) CancelTeamInvitationWithResponse

func (c *ClientWithResponses) CancelTeamInvitationWithResponse(ctx context.Context, teamName TeamName, email Email, reqEditors ...RequestEditorFn) (*CancelTeamInvitationResponse, error)

CancelTeamInvitationWithResponse request returning *CancelTeamInvitationResponse

func (*ClientWithResponses) CreateMonthlyLimitWithBodyWithResponse added in v1.2.3

func (c *ClientWithResponses) CreateMonthlyLimitWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonthlyLimitResponse, error)

CreateMonthlyLimitWithBodyWithResponse request with arbitrary body returning *CreateMonthlyLimitResponse

func (*ClientWithResponses) CreateMonthlyLimitWithResponse added in v1.2.3

func (c *ClientWithResponses) CreateMonthlyLimitWithResponse(ctx context.Context, teamName TeamName, body CreateMonthlyLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonthlyLimitResponse, error)

func (*ClientWithResponses) CreatePluginVersionDocsWithBodyWithResponse

func (c *ClientWithResponses) CreatePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error)

CreatePluginVersionDocsWithBodyWithResponse request with arbitrary body returning *CreatePluginVersionDocsResponse

func (*ClientWithResponses) CreatePluginVersionDocsWithResponse

func (c *ClientWithResponses) CreatePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error)

func (*ClientWithResponses) CreatePluginVersionTablesWithBodyWithResponse

func (c *ClientWithResponses) CreatePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error)

CreatePluginVersionTablesWithBodyWithResponse request with arbitrary body returning *CreatePluginVersionTablesResponse

func (*ClientWithResponses) CreatePluginVersionTablesWithResponse

func (c *ClientWithResponses) CreatePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error)

func (*ClientWithResponses) CreatePluginVersionWithBodyWithResponse

func (c *ClientWithResponses) CreatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error)

CreatePluginVersionWithBodyWithResponse request with arbitrary body returning *CreatePluginVersionResponse

func (*ClientWithResponses) CreatePluginVersionWithResponse

func (c *ClientWithResponses) CreatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error)

func (*ClientWithResponses) CreatePluginWithBodyWithResponse

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

CreatePluginWithBodyWithResponse request with arbitrary body returning *CreatePluginResponse

func (*ClientWithResponses) CreatePluginWithResponse

func (c *ClientWithResponses) CreatePluginWithResponse(ctx context.Context, body CreatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginResponse, error)

func (*ClientWithResponses) CreateTeamAPIKeyWithBodyWithResponse added in v1.0.3

func (c *ClientWithResponses) CreateTeamAPIKeyWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamAPIKeyResponse, error)

CreateTeamAPIKeyWithBodyWithResponse request with arbitrary body returning *CreateTeamAPIKeyResponse

func (*ClientWithResponses) CreateTeamAPIKeyWithResponse added in v1.0.3

func (c *ClientWithResponses) CreateTeamAPIKeyWithResponse(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamAPIKeyResponse, error)

func (*ClientWithResponses) CreateTeamWithBodyWithResponse

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

CreateTeamWithBodyWithResponse request with arbitrary body returning *CreateTeamResponse

func (*ClientWithResponses) CreateTeamWithResponse

func (c *ClientWithResponses) CreateTeamWithResponse(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

func (*ClientWithResponses) DeleteMonthlyLimitWithResponse added in v1.2.3

func (c *ClientWithResponses) DeleteMonthlyLimitWithResponse(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*DeleteMonthlyLimitResponse, error)

DeleteMonthlyLimitWithResponse request returning *DeleteMonthlyLimitResponse

func (*ClientWithResponses) DeletePluginByTeamAndPluginNameWithResponse added in v1.0.2

func (c *ClientWithResponses) DeletePluginByTeamAndPluginNameWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*DeletePluginByTeamAndPluginNameResponse, error)

DeletePluginByTeamAndPluginNameWithResponse request returning *DeletePluginByTeamAndPluginNameResponse

func (*ClientWithResponses) DeletePluginVersionDocsWithBodyWithResponse

func (c *ClientWithResponses) DeletePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error)

DeletePluginVersionDocsWithBodyWithResponse request with arbitrary body returning *DeletePluginVersionDocsResponse

func (*ClientWithResponses) DeletePluginVersionDocsWithResponse

func (c *ClientWithResponses) DeletePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error)

func (*ClientWithResponses) DeletePluginVersionTablesWithBodyWithResponse

func (c *ClientWithResponses) DeletePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error)

DeletePluginVersionTablesWithBodyWithResponse request with arbitrary body returning *DeletePluginVersionTablesResponse

func (*ClientWithResponses) DeletePluginVersionTablesWithResponse

func (c *ClientWithResponses) DeletePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error)

func (*ClientWithResponses) DeletePluginsByTeamWithResponse added in v1.0.2

func (c *ClientWithResponses) DeletePluginsByTeamWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*DeletePluginsByTeamResponse, error)

DeletePluginsByTeamWithResponse request returning *DeletePluginsByTeamResponse

func (*ClientWithResponses) DeleteTeamAPIKeyWithResponse added in v1.0.3

func (c *ClientWithResponses) DeleteTeamAPIKeyWithResponse(ctx context.Context, teamName TeamName, aPIKeyPathName APIKeyPathName, reqEditors ...RequestEditorFn) (*DeleteTeamAPIKeyResponse, error)

DeleteTeamAPIKeyWithResponse request returning *DeleteTeamAPIKeyResponse

func (*ClientWithResponses) DownloadPluginAssetWithResponse

func (c *ClientWithResponses) DownloadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*DownloadPluginAssetResponse, error)

DownloadPluginAssetWithResponse request returning *DownloadPluginAssetResponse

func (*ClientWithResponses) EmailTeamInvitationWithBodyWithResponse

func (c *ClientWithResponses) EmailTeamInvitationWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmailTeamInvitationResponse, error)

EmailTeamInvitationWithBodyWithResponse request with arbitrary body returning *EmailTeamInvitationResponse

func (*ClientWithResponses) EmailTeamInvitationWithResponse

func (c *ClientWithResponses) EmailTeamInvitationWithResponse(ctx context.Context, teamName TeamName, body EmailTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*EmailTeamInvitationResponse, error)

func (*ClientWithResponses) GetCurrentUserMembershipsWithResponse

func (c *ClientWithResponses) GetCurrentUserMembershipsWithResponse(ctx context.Context, params *GetCurrentUserMembershipsParams, reqEditors ...RequestEditorFn) (*GetCurrentUserMembershipsResponse, error)

GetCurrentUserMembershipsWithResponse request returning *GetCurrentUserMembershipsResponse

func (*ClientWithResponses) GetCurrentUserWithResponse

func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)

GetCurrentUserWithResponse request returning *GetCurrentUserResponse

func (*ClientWithResponses) GetMonthlyLimitWithResponse added in v1.2.3

func (c *ClientWithResponses) GetMonthlyLimitWithResponse(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*GetMonthlyLimitResponse, error)

GetMonthlyLimitWithResponse request returning *GetMonthlyLimitResponse

func (*ClientWithResponses) GetPluginVersionTableWithResponse

func (c *ClientWithResponses) GetPluginVersionTableWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, tableName string, reqEditors ...RequestEditorFn) (*GetPluginVersionTableResponse, error)

GetPluginVersionTableWithResponse request returning *GetPluginVersionTableResponse

func (*ClientWithResponses) GetPluginVersionWithResponse

func (c *ClientWithResponses) GetPluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*GetPluginVersionResponse, error)

GetPluginVersionWithResponse request returning *GetPluginVersionResponse

func (*ClientWithResponses) GetPluginWithResponse

func (c *ClientWithResponses) GetPluginWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*GetPluginResponse, error)

GetPluginWithResponse request returning *GetPluginResponse

func (*ClientWithResponses) GetTeamByNameWithResponse

func (c *ClientWithResponses) GetTeamByNameWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*GetTeamByNameResponse, error)

GetTeamByNameWithResponse request returning *GetTeamByNameResponse

func (*ClientWithResponses) GetTeamMembershipsWithResponse

func (c *ClientWithResponses) GetTeamMembershipsWithResponse(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, reqEditors ...RequestEditorFn) (*GetTeamMembershipsResponse, error)

GetTeamMembershipsWithResponse request returning *GetTeamMembershipsResponse

func (*ClientWithResponses) HealthCheckWithResponse

func (c *ClientWithResponses) HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)

HealthCheckWithResponse request returning *HealthCheckResponse

func (*ClientWithResponses) ListCurrentUserInvitationsWithResponse

func (c *ClientWithResponses) ListCurrentUserInvitationsWithResponse(ctx context.Context, params *ListCurrentUserInvitationsParams, reqEditors ...RequestEditorFn) (*ListCurrentUserInvitationsResponse, error)

ListCurrentUserInvitationsWithResponse request returning *ListCurrentUserInvitationsResponse

func (*ClientWithResponses) ListMonthlyLimitsByTeamWithResponse added in v1.2.3

func (c *ClientWithResponses) ListMonthlyLimitsByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListMonthlyLimitsByTeamParams, reqEditors ...RequestEditorFn) (*ListMonthlyLimitsByTeamResponse, error)

ListMonthlyLimitsByTeamWithResponse request returning *ListMonthlyLimitsByTeamResponse

func (*ClientWithResponses) ListPluginVersionDocsWithResponse

func (c *ClientWithResponses) ListPluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionDocsResponse, error)

ListPluginVersionDocsWithResponse request returning *ListPluginVersionDocsResponse

func (*ClientWithResponses) ListPluginVersionTablesWithResponse

func (c *ClientWithResponses) ListPluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*ListPluginVersionTablesResponse, error)

ListPluginVersionTablesWithResponse request returning *ListPluginVersionTablesResponse

func (*ClientWithResponses) ListPluginVersionsWithResponse

func (c *ClientWithResponses) ListPluginVersionsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionsResponse, error)

ListPluginVersionsWithResponse request returning *ListPluginVersionsResponse

func (*ClientWithResponses) ListPluginsByTeamWithResponse

func (c *ClientWithResponses) ListPluginsByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, reqEditors ...RequestEditorFn) (*ListPluginsByTeamResponse, error)

ListPluginsByTeamWithResponse request returning *ListPluginsByTeamResponse

func (*ClientWithResponses) ListPluginsWithResponse

func (c *ClientWithResponses) ListPluginsWithResponse(ctx context.Context, params *ListPluginsParams, reqEditors ...RequestEditorFn) (*ListPluginsResponse, error)

ListPluginsWithResponse request returning *ListPluginsResponse

func (*ClientWithResponses) ListTeamAPIKeysWithResponse added in v1.0.3

func (c *ClientWithResponses) ListTeamAPIKeysWithResponse(ctx context.Context, teamName TeamName, params *ListTeamAPIKeysParams, reqEditors ...RequestEditorFn) (*ListTeamAPIKeysResponse, error)

ListTeamAPIKeysWithResponse request returning *ListTeamAPIKeysResponse

func (*ClientWithResponses) ListTeamInvitationsWithResponse

func (c *ClientWithResponses) ListTeamInvitationsWithResponse(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, reqEditors ...RequestEditorFn) (*ListTeamInvitationsResponse, error)

ListTeamInvitationsWithResponse request returning *ListTeamInvitationsResponse

func (*ClientWithResponses) ListTeamsWithResponse

func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

ListTeamsWithResponse request returning *ListTeamsResponse

func (*ClientWithResponses) ListUsersByTeamWithResponse

func (c *ClientWithResponses) ListUsersByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, reqEditors ...RequestEditorFn) (*ListUsersByTeamResponse, error)

ListUsersByTeamWithResponse request returning *ListUsersByTeamResponse

func (*ClientWithResponses) UpdateCurrentUserWithBodyWithResponse added in v1.0.3

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

UpdateCurrentUserWithBodyWithResponse request with arbitrary body returning *UpdateCurrentUserResponse

func (*ClientWithResponses) UpdateCurrentUserWithResponse added in v1.0.3

func (c *ClientWithResponses) UpdateCurrentUserWithResponse(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)

func (*ClientWithResponses) UpdateMonthlyLimitWithBodyWithResponse added in v1.2.3

func (c *ClientWithResponses) UpdateMonthlyLimitWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonthlyLimitResponse, error)

UpdateMonthlyLimitWithBodyWithResponse request with arbitrary body returning *UpdateMonthlyLimitResponse

func (*ClientWithResponses) UpdateMonthlyLimitWithResponse added in v1.2.3

func (c *ClientWithResponses) UpdateMonthlyLimitWithResponse(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, body UpdateMonthlyLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonthlyLimitResponse, error)

func (*ClientWithResponses) UpdatePluginVersionWithBodyWithResponse

func (c *ClientWithResponses) UpdatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error)

UpdatePluginVersionWithBodyWithResponse request with arbitrary body returning *UpdatePluginVersionResponse

func (*ClientWithResponses) UpdatePluginVersionWithResponse

func (c *ClientWithResponses) UpdatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error)

func (*ClientWithResponses) UpdatePluginWithBodyWithResponse

func (c *ClientWithResponses) UpdatePluginWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error)

UpdatePluginWithBodyWithResponse request with arbitrary body returning *UpdatePluginResponse

func (*ClientWithResponses) UpdatePluginWithResponse

func (c *ClientWithResponses) UpdatePluginWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error)

func (*ClientWithResponses) UpdateTeamWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) UpdateTeamWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

UpdateTeamWithBodyWithResponse request with arbitrary body returning *UpdateTeamResponse

func (*ClientWithResponses) UpdateTeamWithResponse added in v1.0.1

func (c *ClientWithResponses) UpdateTeamWithResponse(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

func (*ClientWithResponses) UploadImageWithResponse

func (c *ClientWithResponses) UploadImageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UploadImageResponse, error)

UploadImageWithResponse request returning *UploadImageResponse

func (*ClientWithResponses) UploadPluginAssetWithResponse

func (c *ClientWithResponses) UploadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*UploadPluginAssetResponse, error)

UploadPluginAssetWithResponse request returning *UploadPluginAssetResponse

type ClientWithResponsesInterface

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

	// ListPluginsWithResponse request
	ListPluginsWithResponse(ctx context.Context, params *ListPluginsParams, reqEditors ...RequestEditorFn) (*ListPluginsResponse, error)

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

	CreatePluginWithResponse(ctx context.Context, body CreatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginResponse, error)

	// DeletePluginByTeamAndPluginNameWithResponse request
	DeletePluginByTeamAndPluginNameWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*DeletePluginByTeamAndPluginNameResponse, error)

	// GetPluginWithResponse request
	GetPluginWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*GetPluginResponse, error)

	// UpdatePluginWithBodyWithResponse request with any body
	UpdatePluginWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error)

	UpdatePluginWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error)

	// ListPluginVersionsWithResponse request
	ListPluginVersionsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionsResponse, error)

	// GetPluginVersionWithResponse request
	GetPluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*GetPluginVersionResponse, error)

	// UpdatePluginVersionWithBodyWithResponse request with any body
	UpdatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error)

	UpdatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error)

	// CreatePluginVersionWithBodyWithResponse request with any body
	CreatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error)

	CreatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error)

	// DownloadPluginAssetWithResponse request
	DownloadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*DownloadPluginAssetResponse, error)

	// UploadPluginAssetWithResponse request
	UploadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*UploadPluginAssetResponse, error)

	// DeletePluginVersionDocsWithBodyWithResponse request with any body
	DeletePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error)

	DeletePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error)

	// ListPluginVersionDocsWithResponse request
	ListPluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionDocsResponse, error)

	// CreatePluginVersionDocsWithBodyWithResponse request with any body
	CreatePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error)

	CreatePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error)

	// DeletePluginVersionTablesWithBodyWithResponse request with any body
	DeletePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error)

	DeletePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error)

	// ListPluginVersionTablesWithResponse request
	ListPluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*ListPluginVersionTablesResponse, error)

	// CreatePluginVersionTablesWithBodyWithResponse request with any body
	CreatePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error)

	CreatePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error)

	// GetPluginVersionTableWithResponse request
	GetPluginVersionTableWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, tableName string, reqEditors ...RequestEditorFn) (*GetPluginVersionTableResponse, error)

	// ListTeamsWithResponse request
	ListTeamsWithResponse(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

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

	CreateTeamWithResponse(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

	// GetTeamByNameWithResponse request
	GetTeamByNameWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*GetTeamByNameResponse, error)

	// UpdateTeamWithBodyWithResponse request with any body
	UpdateTeamWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

	UpdateTeamWithResponse(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

	// ListTeamAPIKeysWithResponse request
	ListTeamAPIKeysWithResponse(ctx context.Context, teamName TeamName, params *ListTeamAPIKeysParams, reqEditors ...RequestEditorFn) (*ListTeamAPIKeysResponse, error)

	// CreateTeamAPIKeyWithBodyWithResponse request with any body
	CreateTeamAPIKeyWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamAPIKeyResponse, error)

	CreateTeamAPIKeyWithResponse(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamAPIKeyResponse, error)

	// DeleteTeamAPIKeyWithResponse request
	DeleteTeamAPIKeyWithResponse(ctx context.Context, teamName TeamName, aPIKeyPathName APIKeyPathName, reqEditors ...RequestEditorFn) (*DeleteTeamAPIKeyResponse, error)

	// ListTeamInvitationsWithResponse request
	ListTeamInvitationsWithResponse(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, reqEditors ...RequestEditorFn) (*ListTeamInvitationsResponse, error)

	// EmailTeamInvitationWithBodyWithResponse request with any body
	EmailTeamInvitationWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmailTeamInvitationResponse, error)

	EmailTeamInvitationWithResponse(ctx context.Context, teamName TeamName, body EmailTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*EmailTeamInvitationResponse, error)

	// AcceptTeamInvitationWithBodyWithResponse request with any body
	AcceptTeamInvitationWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptTeamInvitationResponse, error)

	AcceptTeamInvitationWithResponse(ctx context.Context, teamName TeamName, body AcceptTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptTeamInvitationResponse, error)

	// CancelTeamInvitationWithResponse request
	CancelTeamInvitationWithResponse(ctx context.Context, teamName TeamName, email Email, reqEditors ...RequestEditorFn) (*CancelTeamInvitationResponse, error)

	// GetTeamMembershipsWithResponse request
	GetTeamMembershipsWithResponse(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, reqEditors ...RequestEditorFn) (*GetTeamMembershipsResponse, error)

	// ListMonthlyLimitsByTeamWithResponse request
	ListMonthlyLimitsByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListMonthlyLimitsByTeamParams, reqEditors ...RequestEditorFn) (*ListMonthlyLimitsByTeamResponse, error)

	// CreateMonthlyLimitWithBodyWithResponse request with any body
	CreateMonthlyLimitWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonthlyLimitResponse, error)

	CreateMonthlyLimitWithResponse(ctx context.Context, teamName TeamName, body CreateMonthlyLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonthlyLimitResponse, error)

	// DeleteMonthlyLimitWithResponse request
	DeleteMonthlyLimitWithResponse(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*DeleteMonthlyLimitResponse, error)

	// GetMonthlyLimitWithResponse request
	GetMonthlyLimitWithResponse(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*GetMonthlyLimitResponse, error)

	// UpdateMonthlyLimitWithBodyWithResponse request with any body
	UpdateMonthlyLimitWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonthlyLimitResponse, error)

	UpdateMonthlyLimitWithResponse(ctx context.Context, teamName TeamName, pluginTeam PluginTeam, pluginKind PluginKind, pluginName PluginName, body UpdateMonthlyLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonthlyLimitResponse, error)

	// DeletePluginsByTeamWithResponse request
	DeletePluginsByTeamWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*DeletePluginsByTeamResponse, error)

	// ListPluginsByTeamWithResponse request
	ListPluginsByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, reqEditors ...RequestEditorFn) (*ListPluginsByTeamResponse, error)

	// ListUsersByTeamWithResponse request
	ListUsersByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, reqEditors ...RequestEditorFn) (*ListUsersByTeamResponse, error)

	// UploadImageWithResponse request
	UploadImageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UploadImageResponse, error)

	// GetCurrentUserWithResponse request
	GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)

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

	UpdateCurrentUserWithResponse(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)

	// ListCurrentUserInvitationsWithResponse request
	ListCurrentUserInvitationsWithResponse(ctx context.Context, params *ListCurrentUserInvitationsParams, reqEditors ...RequestEditorFn) (*ListCurrentUserInvitationsResponse, error)

	// GetCurrentUserMembershipsWithResponse request
	GetCurrentUserMembershipsWithResponse(ctx context.Context, params *GetCurrentUserMembershipsParams, reqEditors ...RequestEditorFn) (*GetCurrentUserMembershipsResponse, error)
}

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

type CreateMonthlyLimitJSONRequestBody added in v1.2.3

type CreateMonthlyLimitJSONRequestBody = MonthlyLimitCreate

CreateMonthlyLimitJSONRequestBody defines body for CreateMonthlyLimit for application/json ContentType.

type CreateMonthlyLimitResponse added in v1.2.3

type CreateMonthlyLimitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MonthlyLimit
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseCreateMonthlyLimitResponse added in v1.2.3

func ParseCreateMonthlyLimitResponse(rsp *http.Response) (*CreateMonthlyLimitResponse, error)

ParseCreateMonthlyLimitResponse parses an HTTP response from a CreateMonthlyLimitWithResponse call

func (CreateMonthlyLimitResponse) Status added in v1.2.3

Status returns HTTPResponse.Status

func (CreateMonthlyLimitResponse) StatusCode added in v1.2.3

func (r CreateMonthlyLimitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePluginJSONRequestBody

type CreatePluginJSONRequestBody = PluginCreate

CreatePluginJSONRequestBody defines body for CreatePlugin for application/json ContentType.

type CreatePluginResponse

type CreatePluginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Plugin
	JSON400      *BadRequest
	JSON403      *Forbidden
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseCreatePluginResponse

func ParseCreatePluginResponse(rsp *http.Response) (*CreatePluginResponse, error)

ParseCreatePluginResponse parses an HTTP response from a CreatePluginWithResponse call

func (CreatePluginResponse) Status

func (r CreatePluginResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePluginResponse) StatusCode

func (r CreatePluginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePluginVersionDocsJSONBody

type CreatePluginVersionDocsJSONBody struct {
	Pages []PluginDocsPageCreate `json:"pages"`
}

CreatePluginVersionDocsJSONBody defines parameters for CreatePluginVersionDocs.

type CreatePluginVersionDocsJSONRequestBody

type CreatePluginVersionDocsJSONRequestBody CreatePluginVersionDocsJSONBody

CreatePluginVersionDocsJSONRequestBody defines body for CreatePluginVersionDocs for application/json ContentType.

type CreatePluginVersionDocsResponse

type CreatePluginVersionDocsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Names *[]PluginDocsPageName `json:"names,omitempty"`
	}
	JSON400 *BadRequest
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
	JSON500 *InternalError
}

func ParseCreatePluginVersionDocsResponse

func ParseCreatePluginVersionDocsResponse(rsp *http.Response) (*CreatePluginVersionDocsResponse, error)

ParseCreatePluginVersionDocsResponse parses an HTTP response from a CreatePluginVersionDocsWithResponse call

func (CreatePluginVersionDocsResponse) Status

Status returns HTTPResponse.Status

func (CreatePluginVersionDocsResponse) StatusCode

func (r CreatePluginVersionDocsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePluginVersionJSONBody

type CreatePluginVersionJSONBody struct {
	// Checksums List of SHA-256 checksums for this plugin version, one for each supported target.
	Checksums []string `json:"checksums"`

	// Message A message describing what's new or changed in this version.
	// This message will be displayed to users in the plugin's changelog.
	// Supports limited markdown syntax.
	Message string `json:"message"`

	// PackageType The package type of the plugin assets
	PackageType CreatePluginVersionJSONBodyPackageType `json:"package_type"`

	// Protocols List of protocols supported by this plugin version
	Protocols []int `json:"protocols"`

	// SupportedTargets The targets supported by this plugin version, formatted as <os>_<arch>
	SupportedTargets []string `json:"supported_targets"`
}

CreatePluginVersionJSONBody defines parameters for CreatePluginVersion.

type CreatePluginVersionJSONBodyPackageType

type CreatePluginVersionJSONBodyPackageType string

CreatePluginVersionJSONBodyPackageType defines parameters for CreatePluginVersion.

const (
	CreatePluginVersionJSONBodyPackageTypeDocker CreatePluginVersionJSONBodyPackageType = "docker"
	CreatePluginVersionJSONBodyPackageTypeNative CreatePluginVersionJSONBodyPackageType = "native"
)

Defines values for CreatePluginVersionJSONBodyPackageType.

type CreatePluginVersionJSONRequestBody

type CreatePluginVersionJSONRequestBody CreatePluginVersionJSONBody

CreatePluginVersionJSONRequestBody defines body for CreatePluginVersion for application/json ContentType.

type CreatePluginVersionResponse

type CreatePluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PluginVersion
	JSON201      *PluginVersion
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON500      *InternalError
}

func ParseCreatePluginVersionResponse

func ParseCreatePluginVersionResponse(rsp *http.Response) (*CreatePluginVersionResponse, error)

ParseCreatePluginVersionResponse parses an HTTP response from a CreatePluginVersionWithResponse call

func (CreatePluginVersionResponse) Status

Status returns HTTPResponse.Status

func (CreatePluginVersionResponse) StatusCode

func (r CreatePluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePluginVersionTablesJSONBody

type CreatePluginVersionTablesJSONBody struct {
	Tables []PluginTableCreate `json:"tables"`
}

CreatePluginVersionTablesJSONBody defines parameters for CreatePluginVersionTables.

type CreatePluginVersionTablesJSONRequestBody

type CreatePluginVersionTablesJSONRequestBody CreatePluginVersionTablesJSONBody

CreatePluginVersionTablesJSONRequestBody defines body for CreatePluginVersionTables for application/json ContentType.

type CreatePluginVersionTablesResponse

type CreatePluginVersionTablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Names *[]PluginTableName `json:"names,omitempty"`
	}
	JSON400 *BadRequest
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
	JSON500 *InternalError
}

func ParseCreatePluginVersionTablesResponse

func ParseCreatePluginVersionTablesResponse(rsp *http.Response) (*CreatePluginVersionTablesResponse, error)

ParseCreatePluginVersionTablesResponse parses an HTTP response from a CreatePluginVersionTablesWithResponse call

func (CreatePluginVersionTablesResponse) Status

Status returns HTTPResponse.Status

func (CreatePluginVersionTablesResponse) StatusCode

func (r CreatePluginVersionTablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamAPIKeyJSONBody added in v1.0.3

type CreateTeamAPIKeyJSONBody struct {
	ExpiresAt time.Time `json:"expires_at"`
	Name      string    `json:"name"`

	// Scope Scope of permissions for the API key. API keys are used for creating new plugin versions and downloading existing plugins
	Scope *APIKeyScope `json:"scope,omitempty"`
}

CreateTeamAPIKeyJSONBody defines parameters for CreateTeamAPIKey.

type CreateTeamAPIKeyJSONRequestBody added in v1.0.3

type CreateTeamAPIKeyJSONRequestBody CreateTeamAPIKeyJSONBody

CreateTeamAPIKeyJSONRequestBody defines body for CreateTeamAPIKey for application/json ContentType.

type CreateTeamAPIKeyResponse added in v1.0.3

type CreateTeamAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *APIKey
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseCreateTeamAPIKeyResponse added in v1.0.3

func ParseCreateTeamAPIKeyResponse(rsp *http.Response) (*CreateTeamAPIKeyResponse, error)

ParseCreateTeamAPIKeyResponse parses an HTTP response from a CreateTeamAPIKeyWithResponse call

func (CreateTeamAPIKeyResponse) Status added in v1.0.3

func (r CreateTeamAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamAPIKeyResponse) StatusCode added in v1.0.3

func (r CreateTeamAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamJSONBody

type CreateTeamJSONBody struct {
	// DisplayName The team's display name
	DisplayName string `json:"display_name"`

	// Name The unique name for the team.
	Name TeamName `json:"name"`
}

CreateTeamJSONBody defines parameters for CreateTeam.

type CreateTeamJSONRequestBody

type CreateTeamJSONRequestBody CreateTeamJSONBody

CreateTeamJSONRequestBody defines body for CreateTeam for application/json ContentType.

type CreateTeamResponse

type CreateTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Team
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseCreateTeamResponse

func ParseCreateTeamResponse(rsp *http.Response) (*CreateTeamResponse, error)

ParseCreateTeamResponse parses an HTTP response from a CreateTeamWithResponse call

func (CreateTeamResponse) Status

func (r CreateTeamResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamResponse) StatusCode

func (r CreateTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMonthlyLimitResponse added in v1.2.3

type DeleteMonthlyLimitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseDeleteMonthlyLimitResponse added in v1.2.3

func ParseDeleteMonthlyLimitResponse(rsp *http.Response) (*DeleteMonthlyLimitResponse, error)

ParseDeleteMonthlyLimitResponse parses an HTTP response from a DeleteMonthlyLimitWithResponse call

func (DeleteMonthlyLimitResponse) Status added in v1.2.3

Status returns HTTPResponse.Status

func (DeleteMonthlyLimitResponse) StatusCode added in v1.2.3

func (r DeleteMonthlyLimitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePluginByTeamAndPluginNameResponse added in v1.0.2

type DeletePluginByTeamAndPluginNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseDeletePluginByTeamAndPluginNameResponse added in v1.0.2

func ParseDeletePluginByTeamAndPluginNameResponse(rsp *http.Response) (*DeletePluginByTeamAndPluginNameResponse, error)

ParseDeletePluginByTeamAndPluginNameResponse parses an HTTP response from a DeletePluginByTeamAndPluginNameWithResponse call

func (DeletePluginByTeamAndPluginNameResponse) Status added in v1.0.2

Status returns HTTPResponse.Status

func (DeletePluginByTeamAndPluginNameResponse) StatusCode added in v1.0.2

StatusCode returns HTTPResponse.StatusCode

type DeletePluginVersionDocsJSONBody

type DeletePluginVersionDocsJSONBody struct {
	Names []PluginDocsPageName `json:"names"`
}

DeletePluginVersionDocsJSONBody defines parameters for DeletePluginVersionDocs.

type DeletePluginVersionDocsJSONRequestBody

type DeletePluginVersionDocsJSONRequestBody DeletePluginVersionDocsJSONBody

DeletePluginVersionDocsJSONRequestBody defines body for DeletePluginVersionDocs for application/json ContentType.

type DeletePluginVersionDocsResponse

type DeletePluginVersionDocsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseDeletePluginVersionDocsResponse

func ParseDeletePluginVersionDocsResponse(rsp *http.Response) (*DeletePluginVersionDocsResponse, error)

ParseDeletePluginVersionDocsResponse parses an HTTP response from a DeletePluginVersionDocsWithResponse call

func (DeletePluginVersionDocsResponse) Status

Status returns HTTPResponse.Status

func (DeletePluginVersionDocsResponse) StatusCode

func (r DeletePluginVersionDocsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePluginVersionTablesJSONBody

type DeletePluginVersionTablesJSONBody struct {
	Names []PluginTableName `json:"names"`
}

DeletePluginVersionTablesJSONBody defines parameters for DeletePluginVersionTables.

type DeletePluginVersionTablesJSONRequestBody

type DeletePluginVersionTablesJSONRequestBody DeletePluginVersionTablesJSONBody

DeletePluginVersionTablesJSONRequestBody defines body for DeletePluginVersionTables for application/json ContentType.

type DeletePluginVersionTablesResponse

type DeletePluginVersionTablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseDeletePluginVersionTablesResponse

func ParseDeletePluginVersionTablesResponse(rsp *http.Response) (*DeletePluginVersionTablesResponse, error)

ParseDeletePluginVersionTablesResponse parses an HTTP response from a DeletePluginVersionTablesWithResponse call

func (DeletePluginVersionTablesResponse) Status

Status returns HTTPResponse.Status

func (DeletePluginVersionTablesResponse) StatusCode

func (r DeletePluginVersionTablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePluginsByTeamResponse added in v1.0.2

type DeletePluginsByTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseDeletePluginsByTeamResponse added in v1.0.2

func ParseDeletePluginsByTeamResponse(rsp *http.Response) (*DeletePluginsByTeamResponse, error)

ParseDeletePluginsByTeamResponse parses an HTTP response from a DeletePluginsByTeamWithResponse call

func (DeletePluginsByTeamResponse) Status added in v1.0.2

Status returns HTTPResponse.Status

func (DeletePluginsByTeamResponse) StatusCode added in v1.0.2

func (r DeletePluginsByTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTeamAPIKeyResponse added in v1.0.3

type DeleteTeamAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseDeleteTeamAPIKeyResponse added in v1.0.3

func ParseDeleteTeamAPIKeyResponse(rsp *http.Response) (*DeleteTeamAPIKeyResponse, error)

ParseDeleteTeamAPIKeyResponse parses an HTTP response from a DeleteTeamAPIKeyWithResponse call

func (DeleteTeamAPIKeyResponse) Status added in v1.0.3

func (r DeleteTeamAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTeamAPIKeyResponse) StatusCode added in v1.0.3

func (r DeleteTeamAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadPluginAssetResponse

type DownloadPluginAssetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *RequiresAuthentication
	JSON404      *NotFound
	JSON429      *TooManyRequests
	JSON500      *InternalError
}

func ParseDownloadPluginAssetResponse

func ParseDownloadPluginAssetResponse(rsp *http.Response) (*DownloadPluginAssetResponse, error)

ParseDownloadPluginAssetResponse parses an HTTP response from a DownloadPluginAssetWithResponse call

func (DownloadPluginAssetResponse) Status

Status returns HTTPResponse.Status

func (DownloadPluginAssetResponse) StatusCode

func (r DownloadPluginAssetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Email

type Email = openapi_types.Email

Email defines model for Email.

type EmailTeamInvitationJSONBody

type EmailTeamInvitationJSONBody struct {
	Email openapi_types.Email             `json:"email"`
	Role  EmailTeamInvitationJSONBodyRole `json:"role"`
}

EmailTeamInvitationJSONBody defines parameters for EmailTeamInvitation.

type EmailTeamInvitationJSONBodyRole added in v1.2.1

type EmailTeamInvitationJSONBodyRole string

EmailTeamInvitationJSONBodyRole defines parameters for EmailTeamInvitation.

const (
	Admin  EmailTeamInvitationJSONBodyRole = "admin"
	Member EmailTeamInvitationJSONBodyRole = "member"
)

Defines values for EmailTeamInvitationJSONBodyRole.

type EmailTeamInvitationJSONRequestBody

type EmailTeamInvitationJSONRequestBody EmailTeamInvitationJSONBody

EmailTeamInvitationJSONRequestBody defines body for EmailTeamInvitation for application/json ContentType.

type EmailTeamInvitationResponse

type EmailTeamInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invitation
	JSON400      *BadRequest
	JSON403      *Forbidden
	JSON500      *InternalError
}

func ParseEmailTeamInvitationResponse

func ParseEmailTeamInvitationResponse(rsp *http.Response) (*EmailTeamInvitationResponse, error)

ParseEmailTeamInvitationResponse parses an HTTP response from a EmailTeamInvitationWithResponse call

func (EmailTeamInvitationResponse) Status

Status returns HTTPResponse.Status

func (EmailTeamInvitationResponse) StatusCode

func (r EmailTeamInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FieldError added in v1.2.3

type FieldError struct {
	Errors      *[]string          `json:"errors,omitempty"`
	FieldErrors *map[string]string `json:"field_errors,omitempty"`
	Message     string             `json:"message"`
	Status      int                `json:"status"`
}

FieldError defines model for FieldError.

type Forbidden

type Forbidden = FieldError

Forbidden defines model for Forbidden.

type GetCurrentUserMembershipsParams

type GetCurrentUserMembershipsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

GetCurrentUserMembershipsParams defines parameters for GetCurrentUserMemberships.

type GetCurrentUserMembershipsResponse

type GetCurrentUserMembershipsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []MembershipWithTeam `json:"items"`
		Metadata ListMetadata         `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON500 *InternalError
}

func ParseGetCurrentUserMembershipsResponse

func ParseGetCurrentUserMembershipsResponse(rsp *http.Response) (*GetCurrentUserMembershipsResponse, error)

ParseGetCurrentUserMembershipsResponse parses an HTTP response from a GetCurrentUserMembershipsWithResponse call

func (GetCurrentUserMembershipsResponse) Status

Status returns HTTPResponse.Status

func (GetCurrentUserMembershipsResponse) StatusCode

func (r GetCurrentUserMembershipsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCurrentUserResponse

type GetCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON500      *InternalError
}

func ParseGetCurrentUserResponse

func ParseGetCurrentUserResponse(rsp *http.Response) (*GetCurrentUserResponse, error)

ParseGetCurrentUserResponse parses an HTTP response from a GetCurrentUserWithResponse call

func (GetCurrentUserResponse) Status

func (r GetCurrentUserResponse) Status() string

Status returns HTTPResponse.Status

func (GetCurrentUserResponse) StatusCode

func (r GetCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMonthlyLimitResponse added in v1.2.3

type GetMonthlyLimitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MonthlyLimit
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseGetMonthlyLimitResponse added in v1.2.3

func ParseGetMonthlyLimitResponse(rsp *http.Response) (*GetMonthlyLimitResponse, error)

ParseGetMonthlyLimitResponse parses an HTTP response from a GetMonthlyLimitWithResponse call

func (GetMonthlyLimitResponse) Status added in v1.2.3

func (r GetMonthlyLimitResponse) Status() string

Status returns HTTPResponse.Status

func (GetMonthlyLimitResponse) StatusCode added in v1.2.3

func (r GetMonthlyLimitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginResponse

type GetPluginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Plugin
	JSON401      *RequiresAuthentication
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseGetPluginResponse

func ParseGetPluginResponse(rsp *http.Response) (*GetPluginResponse, error)

ParseGetPluginResponse parses an HTTP response from a GetPluginWithResponse call

func (GetPluginResponse) Status

func (r GetPluginResponse) Status() string

Status returns HTTPResponse.Status

func (GetPluginResponse) StatusCode

func (r GetPluginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginVersionResponse

type GetPluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PluginVersion
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseGetPluginVersionResponse

func ParseGetPluginVersionResponse(rsp *http.Response) (*GetPluginVersionResponse, error)

ParseGetPluginVersionResponse parses an HTTP response from a GetPluginVersionWithResponse call

func (GetPluginVersionResponse) Status

func (r GetPluginVersionResponse) Status() string

Status returns HTTPResponse.Status

func (GetPluginVersionResponse) StatusCode

func (r GetPluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginVersionTableResponse

type GetPluginVersionTableResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PluginTableDetails
	JSON401      *RequiresAuthentication
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseGetPluginVersionTableResponse

func ParseGetPluginVersionTableResponse(rsp *http.Response) (*GetPluginVersionTableResponse, error)

ParseGetPluginVersionTableResponse parses an HTTP response from a GetPluginVersionTableWithResponse call

func (GetPluginVersionTableResponse) Status

Status returns HTTPResponse.Status

func (GetPluginVersionTableResponse) StatusCode

func (r GetPluginVersionTableResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamByNameResponse

type GetTeamByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Team
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseGetTeamByNameResponse

func ParseGetTeamByNameResponse(rsp *http.Response) (*GetTeamByNameResponse, error)

ParseGetTeamByNameResponse parses an HTTP response from a GetTeamByNameWithResponse call

func (GetTeamByNameResponse) Status

func (r GetTeamByNameResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamByNameResponse) StatusCode

func (r GetTeamByNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamMembershipsParams

type GetTeamMembershipsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

GetTeamMembershipsParams defines parameters for GetTeamMemberships.

type GetTeamMembershipsResponse

type GetTeamMembershipsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []MembershipWithUser `json:"items"`
		Metadata ListMetadata         `json:"metadata"`
	}
	JSON400 *BadRequest
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON500 *InternalError
}

func ParseGetTeamMembershipsResponse

func ParseGetTeamMembershipsResponse(rsp *http.Response) (*GetTeamMembershipsResponse, error)

ParseGetTeamMembershipsResponse parses an HTTP response from a GetTeamMembershipsWithResponse call

func (GetTeamMembershipsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamMembershipsResponse) StatusCode

func (r GetTeamMembershipsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HealthCheckResponse

type HealthCheckResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseHealthCheckResponse

func ParseHealthCheckResponse(rsp *http.Response) (*HealthCheckResponse, error)

ParseHealthCheckResponse parses an HTTP response from a HealthCheckWithResponse call

func (HealthCheckResponse) Status

func (r HealthCheckResponse) Status() string

Status returns HTTPResponse.Status

func (HealthCheckResponse) StatusCode

func (r HealthCheckResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImageURL

type ImageURL struct {
	DownloadUrl string `json:"download_url"`
	UploadUrl   string `json:"upload_url"`
}

ImageURL defines model for ImageURL.

type IncludeDrafts added in v1.0.3

type IncludeDrafts = bool

IncludeDrafts defines model for include_drafts.

type IncludePrivate added in v1.2.2

type IncludePrivate = bool

IncludePrivate defines model for include_private.

type InternalError

type InternalError = BasicError

InternalError Basic Error

type Invitation

type Invitation struct {
	CreatedAt time.Time `json:"created_at"`
	Email     Email     `json:"email"`
	Role      string    `json:"role"`

	// TeamName The unique name for the team.
	TeamName TeamName `json:"team_name"`
}

Invitation defines model for Invitation.

type InvitationWithToken added in v1.2.2

type InvitationWithToken struct {
	CreatedAt time.Time `json:"created_at"`
	Email     Email     `json:"email"`
	Role      string    `json:"role"`

	// TeamName The unique name for the team.
	TeamName TeamName `json:"team_name"`

	// Token The token used to accept the invitation
	Token openapi_types.UUID `json:"token"`
}

InvitationWithToken defines model for InvitationWithToken.

type ListCurrentUserInvitationsParams

type ListCurrentUserInvitationsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListCurrentUserInvitationsParams defines parameters for ListCurrentUserInvitations.

type ListCurrentUserInvitationsResponse

type ListCurrentUserInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []InvitationWithToken `json:"items"`
		Metadata ListMetadata          `json:"metadata"`
	}
	JSON500 *InternalError
}

func ParseListCurrentUserInvitationsResponse

func ParseListCurrentUserInvitationsResponse(rsp *http.Response) (*ListCurrentUserInvitationsResponse, error)

ParseListCurrentUserInvitationsResponse parses an HTTP response from a ListCurrentUserInvitationsWithResponse call

func (ListCurrentUserInvitationsResponse) Status

Status returns HTTPResponse.Status

func (ListCurrentUserInvitationsResponse) StatusCode

func (r ListCurrentUserInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetadata

type ListMetadata struct {
	LastPage   *int `json:"last_page,omitempty"`
	TotalCount *int `json:"total_count,omitempty"`
}

ListMetadata defines model for ListMetadata.

type ListMonthlyLimitsByTeamParams added in v1.2.3

type ListMonthlyLimitsByTeamParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListMonthlyLimitsByTeamParams defines parameters for ListMonthlyLimitsByTeam.

type ListMonthlyLimitsByTeamResponse added in v1.2.3

type ListMonthlyLimitsByTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []MonthlyLimit `json:"items"`
		Metadata ListMetadata   `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON500 *InternalError
}

func ParseListMonthlyLimitsByTeamResponse added in v1.2.3

func ParseListMonthlyLimitsByTeamResponse(rsp *http.Response) (*ListMonthlyLimitsByTeamResponse, error)

ParseListMonthlyLimitsByTeamResponse parses an HTTP response from a ListMonthlyLimitsByTeamWithResponse call

func (ListMonthlyLimitsByTeamResponse) Status added in v1.2.3

Status returns HTTPResponse.Status

func (ListMonthlyLimitsByTeamResponse) StatusCode added in v1.2.3

func (r ListMonthlyLimitsByTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginVersionDocsParams

type ListPluginVersionDocsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListPluginVersionDocsParams defines parameters for ListPluginVersionDocs.

type ListPluginVersionDocsResponse

type ListPluginVersionDocsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []PluginDocsPage `json:"items"`
		Metadata ListMetadata     `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON404 *NotFound
	JSON500 *InternalError
}

func ParseListPluginVersionDocsResponse

func ParseListPluginVersionDocsResponse(rsp *http.Response) (*ListPluginVersionDocsResponse, error)

ParseListPluginVersionDocsResponse parses an HTTP response from a ListPluginVersionDocsWithResponse call

func (ListPluginVersionDocsResponse) Status

Status returns HTTPResponse.Status

func (ListPluginVersionDocsResponse) StatusCode

func (r ListPluginVersionDocsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginVersionTablesParams

type ListPluginVersionTablesParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListPluginVersionTablesParams defines parameters for ListPluginVersionTables.

type ListPluginVersionTablesResponse

type ListPluginVersionTablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []PluginTable `json:"items"`
		Metadata ListMetadata  `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON404 *NotFound
	JSON500 *InternalError
}

func ParseListPluginVersionTablesResponse

func ParseListPluginVersionTablesResponse(rsp *http.Response) (*ListPluginVersionTablesResponse, error)

ParseListPluginVersionTablesResponse parses an HTTP response from a ListPluginVersionTablesWithResponse call

func (ListPluginVersionTablesResponse) Status

Status returns HTTPResponse.Status

func (ListPluginVersionTablesResponse) StatusCode

func (r ListPluginVersionTablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginVersionsParams

type ListPluginVersionsParams struct {
	// SortBy The field to sort by
	SortBy *ListPluginVersionsParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`

	// IncludeDrafts Whether to include draft plugins
	IncludeDrafts *IncludeDrafts `form:"include_drafts,omitempty" json:"include_drafts,omitempty"`
}

ListPluginVersionsParams defines parameters for ListPluginVersions.

type ListPluginVersionsParamsSortBy

type ListPluginVersionsParamsSortBy string

ListPluginVersionsParamsSortBy defines parameters for ListPluginVersions.

const (
	ListPluginVersionsParamsSortByCreatedAt ListPluginVersionsParamsSortBy = "created_at"
)

Defines values for ListPluginVersionsParamsSortBy.

type ListPluginVersionsResponse

type ListPluginVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []PluginVersion `json:"items"`
		Metadata ListMetadata    `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON500 *InternalError
}

func ParseListPluginVersionsResponse

func ParseListPluginVersionsResponse(rsp *http.Response) (*ListPluginVersionsResponse, error)

ParseListPluginVersionsResponse parses an HTTP response from a ListPluginVersionsWithResponse call

func (ListPluginVersionsResponse) Status

Status returns HTTPResponse.Status

func (ListPluginVersionsResponse) StatusCode

func (r ListPluginVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginsByTeamParams

type ListPluginsByTeamParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`

	// IncludePrivate Whether to include private plugins
	IncludePrivate *IncludePrivate `form:"include_private,omitempty" json:"include_private,omitempty"`
}

ListPluginsByTeamParams defines parameters for ListPluginsByTeam.

type ListPluginsByTeamResponse

type ListPluginsByTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Plugin     `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON500 *InternalError
}

func ParseListPluginsByTeamResponse

func ParseListPluginsByTeamResponse(rsp *http.Response) (*ListPluginsByTeamResponse, error)

ParseListPluginsByTeamResponse parses an HTTP response from a ListPluginsByTeamWithResponse call

func (ListPluginsByTeamResponse) Status

func (r ListPluginsByTeamResponse) Status() string

Status returns HTTPResponse.Status

func (ListPluginsByTeamResponse) StatusCode

func (r ListPluginsByTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginsParams

type ListPluginsParams struct {
	// SortBy The field to sort by
	SortBy *ListPluginsParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListPluginsParams defines parameters for ListPlugins.

type ListPluginsParamsSortBy

type ListPluginsParamsSortBy string

ListPluginsParamsSortBy defines parameters for ListPlugins.

const (
	ListPluginsParamsSortByCreatedAt ListPluginsParamsSortBy = "created_at"
	ListPluginsParamsSortByDownloads ListPluginsParamsSortBy = "downloads"
	ListPluginsParamsSortByName      ListPluginsParamsSortBy = "name"
	ListPluginsParamsSortByUpdatedAt ListPluginsParamsSortBy = "updated_at"
)

Defines values for ListPluginsParamsSortBy.

type ListPluginsResponse

type ListPluginsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Plugin     `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON500 *InternalError
}

func ParseListPluginsResponse

func ParseListPluginsResponse(rsp *http.Response) (*ListPluginsResponse, error)

ParseListPluginsResponse parses an HTTP response from a ListPluginsWithResponse call

func (ListPluginsResponse) Status

func (r ListPluginsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPluginsResponse) StatusCode

func (r ListPluginsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamAPIKeysParams added in v1.0.3

type ListTeamAPIKeysParams struct {
	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`
}

ListTeamAPIKeysParams defines parameters for ListTeamAPIKeys.

type ListTeamAPIKeysResponse added in v1.0.3

type ListTeamAPIKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []APIKey     `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON500 *InternalError
}

func ParseListTeamAPIKeysResponse added in v1.0.3

func ParseListTeamAPIKeysResponse(rsp *http.Response) (*ListTeamAPIKeysResponse, error)

ParseListTeamAPIKeysResponse parses an HTTP response from a ListTeamAPIKeysWithResponse call

func (ListTeamAPIKeysResponse) Status added in v1.0.3

func (r ListTeamAPIKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamAPIKeysResponse) StatusCode added in v1.0.3

func (r ListTeamAPIKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamInvitationsParams

type ListTeamInvitationsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListTeamInvitationsParams defines parameters for ListTeamInvitations.

type ListTeamInvitationsResponse

type ListTeamInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Invitation `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON403 *Forbidden
	JSON500 *InternalError
}

func ParseListTeamInvitationsResponse

func ParseListTeamInvitationsResponse(rsp *http.Response) (*ListTeamInvitationsResponse, error)

ParseListTeamInvitationsResponse parses an HTTP response from a ListTeamInvitationsWithResponse call

func (ListTeamInvitationsResponse) Status

Status returns HTTPResponse.Status

func (ListTeamInvitationsResponse) StatusCode

func (r ListTeamInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamsParams

type ListTeamsParams struct {
	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`
}

ListTeamsParams defines parameters for ListTeams.

type ListTeamsResponse

type ListTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Team       `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON500 *InternalError
}

func ParseListTeamsResponse

func ParseListTeamsResponse(rsp *http.Response) (*ListTeamsResponse, error)

ParseListTeamsResponse parses an HTTP response from a ListTeamsWithResponse call

func (ListTeamsResponse) Status

func (r ListTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamsResponse) StatusCode

func (r ListTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUsersByTeamParams

type ListUsersByTeamParams struct {
	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`
}

ListUsersByTeamParams defines parameters for ListUsersByTeam.

type ListUsersByTeamResponse

type ListUsersByTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []User       `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON400 *BadRequest
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON500 *InternalError
}

func ParseListUsersByTeamResponse

func ParseListUsersByTeamResponse(rsp *http.Response) (*ListUsersByTeamResponse, error)

ParseListUsersByTeamResponse parses an HTTP response from a ListUsersByTeamWithResponse call

func (ListUsersByTeamResponse) Status

func (r ListUsersByTeamResponse) Status() string

Status returns HTTPResponse.Status

func (ListUsersByTeamResponse) StatusCode

func (r ListUsersByTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MembershipWithTeam added in v1.2.3

type MembershipWithTeam struct {
	Role string `json:"role"`

	// Team CloudQuery Team
	Team *Team `json:"team,omitempty"`
}

MembershipWithTeam defines model for MembershipWithTeam.

type MembershipWithUser added in v1.2.3

type MembershipWithUser struct {
	Role string `json:"role"`

	// User CloudQuery User
	User *User `json:"user,omitempty"`
}

MembershipWithUser defines model for MembershipWithUser.

type MethodNotAllowed added in v1.0.3

type MethodNotAllowed = BasicError

MethodNotAllowed Basic Error

type MonthlyLimit added in v1.2.3

type MonthlyLimit struct {
	// CreatedAt The date and time the plugin limit was created.
	CreatedAt time.Time `json:"created_at"`

	// PluginKind The kind of plugin, ie. source or destination.
	PluginKind PluginKind `json:"plugin_kind"`

	// PluginName The unique name for the plugin.
	PluginName PluginName `json:"plugin_name"`

	// PluginTeam The unique name for the team.
	PluginTeam TeamName `json:"plugin_team"`

	// UpdatedAt The date and time the plugin limit was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// Usd The maximum USD amount the plugin is allowed to use within a calendar month.
	USD int `json:"usd"`
}

MonthlyLimit A configurable monthly limit for plugin usage.

type MonthlyLimitCreate added in v1.2.3

type MonthlyLimitCreate struct {
	// PluginKind The kind of plugin, ie. source or destination.
	PluginKind PluginKind `json:"plugin_kind"`

	// PluginName The unique name for the plugin.
	PluginName PluginName `json:"plugin_name"`

	// PluginTeam The unique name for the team.
	PluginTeam TeamName `json:"plugin_team"`

	// Usd The maximum USD amount the plugin is allowed to use within a calendar month.
	USD int `json:"usd"`
}

MonthlyLimitCreate A configurable monthly limit for plugin usage.

type MonthlyLimitUpdate added in v1.2.3

type MonthlyLimitUpdate struct {
	// Usd The maximum USD amount the plugin is allowed to use within a calendar month.
	USD int `json:"usd"`
}

MonthlyLimitUpdate A configurable monthly limit for plugin usage.

type NotFound

type NotFound = BasicError

NotFound Basic Error

type Page

type Page = int64

Page defines model for page.

type PerPage

type PerPage = int64

PerPage defines model for per_page.

type Plugin

type Plugin struct {
	// Category Supported categories for plugins
	Category  PluginCategory `json:"category"`
	CreatedAt time.Time      `json:"created_at"`

	// DisplayName The plugin's display name
	DisplayName string  `json:"display_name"`
	Homepage    *string `json:"homepage,omitempty"`

	// Kind The kind of plugin, ie. source or destination.
	Kind PluginKind `json:"kind"`

	// Name The unique name for the plugin.
	Name PluginName `json:"name"`

	// Official True if the plugin is maintained by CloudQuery, false otherwise
	Official bool `json:"official"`

	// Public Whether the plugin is listed in the CloudQuery Hub. If false, the plugin will not be shown in the CloudQuery Hub and will only be visible to members of the plugin's team.
	Public           *bool   `json:"public,omitempty"`
	Repository       *string `json:"repository,omitempty"`
	ShortDescription string  `json:"short_description"`

	// TeamName The unique name for the team.
	TeamName TeamName `json:"team_name"`

	// Tier Supported tiers for plugins
	Tier PluginTier `json:"tier"`
}

Plugin CloudQuery Plugin

type PluginCategory

type PluginCategory string

PluginCategory Supported categories for plugins

const (
	CloudInfrastructure  PluginCategory = "cloud-infrastructure"
	Databases            PluginCategory = "databases"
	EngineeringAnalytics PluginCategory = "engineering-analytics"
	Other                PluginCategory = "other"
	SalesMarketing       PluginCategory = "sales-marketing"
)

Defines values for PluginCategory.

type PluginCreate

type PluginCreate struct {
	// Category Supported categories for plugins
	Category PluginCategory `json:"category"`

	// DisplayName The plugin's display name, as shown in the CloudQuery Hub.
	DisplayName string  `json:"display_name"`
	Homepage    *string `json:"homepage,omitempty"`

	// Kind The kind of plugin, ie. source or destination.
	Kind PluginKind `json:"kind"`

	Logo string `json:"logo"`

	// Name The unique name for the plugin.
	Name PluginName `json:"name"`

	// Public Whether the plugin is listed in the CloudQuery Hub. If false, the plugin will not be shown in the CloudQuery Hub and will only be visible to members of the team.
	Public     bool    `json:"public"`
	Repository *string `json:"repository,omitempty"`

	// ShortDescription Short description of the plugin. This will be shown in the CloudQuery Hub.
	ShortDescription string `json:"short_description"`

	// TeamName The unique name for the team.
	TeamName TeamName `json:"team_name"`

	// Tier Supported tiers for plugins
	Tier PluginTier `json:"tier"`
}

PluginCreate defines model for PluginCreate.

type PluginDocsPage

type PluginDocsPage struct {
	// Content The content of the documentation page. Supports markdown.
	Content string `json:"content"`

	// Name The unique name for the plugin documentation page.
	Name PluginDocsPageName `json:"name"`

	// OrdinalPosition The position of the page in the documentation
	OrdinalPosition *int `json:"ordinal_position,omitempty"`

	// Title The title of the documentation page
	Title string `json:"title"`
}

PluginDocsPage CloudQuery Plugin Documentation Page

type PluginDocsPageCreate added in v1.0.3

type PluginDocsPageCreate struct {
	// Content The content of the documentation page. Supports markdown.
	Content string `json:"content"`

	// Name The unique name for the plugin documentation page.
	Name PluginDocsPageName `json:"name"`

	// OrdinalPosition The position of the page in the documentation
	OrdinalPosition *int `json:"ordinal_position,omitempty"`

	// Title The title of the documentation page
	Title string `json:"title"`
}

PluginDocsPageCreate CloudQuery Plugin Documentation Page

type PluginDocsPageName

type PluginDocsPageName = string

PluginDocsPageName The unique name for the plugin documentation page.

type PluginKind added in v1.0.3

type PluginKind string

PluginKind The kind of plugin, ie. source or destination.

const (
	Destination PluginKind = "destination"
	Source      PluginKind = "source"
)

Defines values for PluginKind.

type PluginName

type PluginName = string

PluginName The unique name for the plugin.

type PluginSortBy

type PluginSortBy string

PluginSortBy defines model for plugin_sort_by.

const (
	PluginSortByCreatedAt PluginSortBy = "created_at"
	PluginSortByDownloads PluginSortBy = "downloads"
	PluginSortByName      PluginSortBy = "name"
	PluginSortByUpdatedAt PluginSortBy = "updated_at"
)

Defines values for PluginSortBy.

type PluginTable

type PluginTable struct {
	// Description Description of the table
	Description string `json:"description"`

	// IsIncremental Whether the table is incremental
	IsIncremental bool `json:"is_incremental"`

	// Name Name of the table
	Name PluginTableName `json:"name"`

	// Parent Name of the parent table, if any
	Parent *string `json:"parent,omitempty"`

	// Relations Names of the tables that depend on this table
	Relations []string `json:"relations"`

	// Title Title of the table
	Title string `json:"title"`
}

PluginTable CloudQuery Plugin Table

type PluginTableColumn

type PluginTableColumn struct {
	// Description Description of the column
	Description string `json:"description"`

	// IncrementalKey Whether the column is used as an incremental key
	IncrementalKey bool `json:"incremental_key"`

	// IsUnique Whether the column has a unique constraint
	IsUnique bool `json:"is_unique"`

	// Name Name of the column
	Name string `json:"name"`

	// NotNull Whether the column is nullable
	NotNull bool `json:"not_null"`

	// PrimaryKey Whether the column is part of the primary key
	PrimaryKey bool `json:"primary_key"`

	// Type Arrow Type of the column
	Type string `json:"type"`
}

PluginTableColumn CloudQuery Plugin Column

type PluginTableCreate added in v1.0.3

type PluginTableCreate struct {
	// Description Description of the table
	Description *string `json:"description,omitempty"`

	// IsIncremental Whether the table is incremental
	IsIncremental *bool `json:"is_incremental,omitempty"`

	// Name Name of the table
	Name PluginTableName `json:"name"`

	// Parent Name of the parent table, if any
	Parent *string `json:"parent,omitempty"`

	// Relations Names of the tables that depend on this table
	Relations *[]string `json:"relations,omitempty"`

	// Title Title of the table
	Title *string `json:"title,omitempty"`
}

PluginTableCreate CloudQuery Plugin Table

type PluginTableDetails

type PluginTableDetails struct {
	// Columns List of columns
	Columns []PluginTableColumn `json:"columns"`

	// Description Description of the table
	Description string `json:"description"`

	// IsIncremental Whether the table is incremental
	IsIncremental bool `json:"is_incremental"`

	// Name Name of the table
	Name string `json:"name"`

	// Parent Name of the parent table, if any
	Parent *string `json:"parent,omitempty"`

	// Relations Names of the tables that depend on this table
	Relations []string `json:"relations"`

	// Title Title of the table
	Title string `json:"title"`
}

PluginTableDetails defines model for PluginTableDetails.

type PluginTableName

type PluginTableName = string

PluginTableName Name of the table

type PluginTeam added in v1.2.3

type PluginTeam = TeamName

PluginTeam The unique name for the team.

type PluginTier

type PluginTier string

PluginTier Supported tiers for plugins

const (
	Free PluginTier = "free"
)

Defines values for PluginTier.

type PluginUpdate

type PluginUpdate struct {
	// Category Supported categories for plugins
	Category *PluginCategory `json:"category,omitempty"`

	// DisplayName The plugin's display name, as shown in the CloudQuery Hub.
	DisplayName *string `json:"display_name,omitempty"`
	Homepage    *string `json:"homepage,omitempty"`

	Logo *string `json:"logo,omitempty"`

	// Public If plugin is not public, it won't be visible to other teams in the CloudQuery Hub.
	Public     *bool   `json:"public,omitempty"`
	Repository *string `json:"repository,omitempty"`

	// ShortDescription Short description of the plugin. This will be shown in the CloudQuery Hub.
	ShortDescription *string `json:"short_description,omitempty"`

	// Tier Supported tiers for plugins
	Tier *PluginTier `json:"tier,omitempty"`
}

PluginUpdate defines model for PluginUpdate.

type PluginVersion

type PluginVersion struct {
	// Checksums The checksums of the plugin assets
	Checksums []string `json:"checksums"`

	// CreatedAt The date and time the plugin version was created.
	CreatedAt time.Time `json:"created_at"`

	// Draft If a plugin version is in draft, it will not show to members outside the team or be counted as the latest version.
	Draft bool `json:"draft"`

	// Message Description of what's new or changed in this version (supports markdown)
	Message string `json:"message"`

	// Name The version in semantic version format.
	Name VersionName `json:"name"`

	// PackageType The package type of the plugin assets
	PackageType PluginVersionPackageType `json:"package_type"`

	// Protocols The CloudQuery protocols supported by this plugin version
	Protocols []int `json:"protocols"`

	// PublishedAt The date and time the plugin version was set to non-draft (published).
	PublishedAt *time.Time `json:"published_at,omitempty"`

	// Retracted If a plugin version is retracted, assets will still be available for download, but the version will be marked as retracted to discourage use.
	Retracted bool `json:"retracted"`

	// SupportedTargets The targets supported by this plugin version, formatted as <os>_<arch>
	SupportedTargets []string `json:"supported_targets"`
}

PluginVersion CloudQuery Plugin Version

type PluginVersionPackageType

type PluginVersionPackageType string

PluginVersionPackageType The package type of the plugin assets

const (
	PluginVersionPackageTypeDocker PluginVersionPackageType = "docker"
	PluginVersionPackageTypeNative PluginVersionPackageType = "native"
)

Defines values for PluginVersionPackageType.

type PluginVersionUpdate

type PluginVersionUpdate struct {
	// Checksums The SHA-256 checksums of the plugin binaries, one per supported target.
	Checksums *[]string `json:"checksums,omitempty"`

	// Draft If a plugin version is in draft, it will not show to members outside the team or be counted as the latest version. Once draft is set to false, only certain fields can be updated.
	Draft *bool `json:"draft,omitempty"`

	// Message Description of what's new or changed in this version (supports markdown)
	Message *string `json:"message,omitempty"`

	// PackageType The package type of the plugin binaries
	PackageType *string `json:"package_type,omitempty"`

	// Protocols The supported CloudQuery protocols by this plugin version
	Protocols *[]int `json:"protocols,omitempty"`

	// Retracted If a plugin version is retracted, assets will still be available for download, but the version will be marked as retracted to discourage use.
	Retracted        *bool     `json:"retracted,omitempty"`
	SupportedTargets *[]string `json:"supported_targets,omitempty"`
}

PluginVersionUpdate defines model for PluginVersionUpdate.

type ReleaseURL

type ReleaseURL struct {
	Url string `json:"url"`
}

ReleaseURL defines model for ReleaseURL.

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiresAuthentication

type RequiresAuthentication = BasicError

RequiresAuthentication Basic Error

type TargetName

type TargetName = string

TargetName defines model for target_name.

type Team

type Team struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// DisplayName The team's display name
	DisplayName string `json:"display_name"`

	// Name The unique name for the team.
	Name TeamName `json:"name"`
}

Team CloudQuery Team

type TeamName

type TeamName = string

TeamName The unique name for the team.

type TooManyRequests added in v1.2.2

type TooManyRequests = BasicError

TooManyRequests Basic Error

type UnprocessableEntity

type UnprocessableEntity = FieldError

UnprocessableEntity defines model for UnprocessableEntity.

type UpdateCurrentUserJSONBody added in v1.0.3

type UpdateCurrentUserJSONBody struct {
	// Name The user's name
	Name *string `json:"name,omitempty"`
}

UpdateCurrentUserJSONBody defines parameters for UpdateCurrentUser.

type UpdateCurrentUserJSONRequestBody added in v1.0.3

type UpdateCurrentUserJSONRequestBody UpdateCurrentUserJSONBody

UpdateCurrentUserJSONRequestBody defines body for UpdateCurrentUser for application/json ContentType.

type UpdateCurrentUserResponse added in v1.0.3

type UpdateCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON405      *MethodNotAllowed
	JSON500      *InternalError
}

func ParseUpdateCurrentUserResponse added in v1.0.3

func ParseUpdateCurrentUserResponse(rsp *http.Response) (*UpdateCurrentUserResponse, error)

ParseUpdateCurrentUserResponse parses an HTTP response from a UpdateCurrentUserWithResponse call

func (UpdateCurrentUserResponse) Status added in v1.0.3

func (r UpdateCurrentUserResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateCurrentUserResponse) StatusCode added in v1.0.3

func (r UpdateCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateMonthlyLimitJSONRequestBody added in v1.2.3

type UpdateMonthlyLimitJSONRequestBody = MonthlyLimitUpdate

UpdateMonthlyLimitJSONRequestBody defines body for UpdateMonthlyLimit for application/json ContentType.

type UpdateMonthlyLimitResponse added in v1.2.3

type UpdateMonthlyLimitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MonthlyLimit
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseUpdateMonthlyLimitResponse added in v1.2.3

func ParseUpdateMonthlyLimitResponse(rsp *http.Response) (*UpdateMonthlyLimitResponse, error)

ParseUpdateMonthlyLimitResponse parses an HTTP response from a UpdateMonthlyLimitWithResponse call

func (UpdateMonthlyLimitResponse) Status added in v1.2.3

Status returns HTTPResponse.Status

func (UpdateMonthlyLimitResponse) StatusCode added in v1.2.3

func (r UpdateMonthlyLimitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePluginJSONRequestBody

type UpdatePluginJSONRequestBody = PluginUpdate

UpdatePluginJSONRequestBody defines body for UpdatePlugin for application/json ContentType.

type UpdatePluginResponse

type UpdatePluginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Plugin
	JSON400      *BadRequest
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseUpdatePluginResponse

func ParseUpdatePluginResponse(rsp *http.Response) (*UpdatePluginResponse, error)

ParseUpdatePluginResponse parses an HTTP response from a UpdatePluginWithResponse call

func (UpdatePluginResponse) Status

func (r UpdatePluginResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePluginResponse) StatusCode

func (r UpdatePluginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePluginVersionJSONRequestBody

type UpdatePluginVersionJSONRequestBody = PluginVersionUpdate

UpdatePluginVersionJSONRequestBody defines body for UpdatePluginVersion for application/json ContentType.

type UpdatePluginVersionResponse

type UpdatePluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PluginVersion
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseUpdatePluginVersionResponse

func ParseUpdatePluginVersionResponse(rsp *http.Response) (*UpdatePluginVersionResponse, error)

ParseUpdatePluginVersionResponse parses an HTTP response from a UpdatePluginVersionWithResponse call

func (UpdatePluginVersionResponse) Status

Status returns HTTPResponse.Status

func (UpdatePluginVersionResponse) StatusCode

func (r UpdatePluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTeamJSONBody added in v1.0.1

type UpdateTeamJSONBody struct {
	// DisplayName The team's display name
	DisplayName *string `json:"display_name,omitempty"`
}

UpdateTeamJSONBody defines parameters for UpdateTeam.

type UpdateTeamJSONRequestBody added in v1.0.1

type UpdateTeamJSONRequestBody UpdateTeamJSONBody

UpdateTeamJSONRequestBody defines body for UpdateTeam for application/json ContentType.

type UpdateTeamResponse added in v1.0.1

type UpdateTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Team
	JSON400      *BadRequest
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseUpdateTeamResponse added in v1.0.1

func ParseUpdateTeamResponse(rsp *http.Response) (*UpdateTeamResponse, error)

ParseUpdateTeamResponse parses an HTTP response from a UpdateTeamWithResponse call

func (UpdateTeamResponse) Status added in v1.0.1

func (r UpdateTeamResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTeamResponse) StatusCode added in v1.0.1

func (r UpdateTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadImageResponse

type UploadImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ImageURL
	JSON500      *InternalError
}

func ParseUploadImageResponse

func ParseUploadImageResponse(rsp *http.Response) (*UploadImageResponse, error)

ParseUploadImageResponse parses an HTTP response from a UploadImageWithResponse call

func (UploadImageResponse) Status

func (r UploadImageResponse) Status() string

Status returns HTTPResponse.Status

func (UploadImageResponse) StatusCode

func (r UploadImageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadPluginAssetResponse

type UploadPluginAssetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ReleaseURL
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON500      *InternalError
}

func ParseUploadPluginAssetResponse

func ParseUploadPluginAssetResponse(rsp *http.Response) (*UploadPluginAssetResponse, error)

ParseUploadPluginAssetResponse parses an HTTP response from a UploadPluginAssetWithResponse call

func (UploadPluginAssetResponse) Status

func (r UploadPluginAssetResponse) Status() string

Status returns HTTPResponse.Status

func (UploadPluginAssetResponse) StatusCode

func (r UploadPluginAssetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type User

type User struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Email     Email      `json:"email"`

	// Name The unique name for the user.
	Name      *UserName  `json:"name,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

User CloudQuery User

type UserName

type UserName = string

UserName The unique name for the user.

type VersionName

type VersionName = string

VersionName The version in semantic version format.

type VersionSortBy

type VersionSortBy string

VersionSortBy defines model for version_sort_by.

const (
	VersionSortByCreatedAt VersionSortBy = "created_at"
)

Defines values for VersionSortBy.

Jump to

Keyboard shortcuts

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