app

package
v1.3.43 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package app contains auto-generated types from the app OpenAPI spec. Do not edit manually — run `make generate` to regenerate.

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

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

Index

Constants

View Source
const (
	HTTPBearerScopes = "HTTPBearer.Scopes"
)

Variables

This section is empty.

Functions

func NewAcceptInvitationRequestWithApplicationVndAPIPlusJSONBody added in v1.3.11

func NewAcceptInvitationRequestWithApplicationVndAPIPlusJSONBody(server string, body AcceptInvitationApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewAcceptInvitationRequestWithApplicationVndAPIPlusJSONBody calls the generic AcceptInvitation builder with application/vnd.api+json body

func NewAcceptInvitationRequestWithBody added in v1.3.11

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

NewAcceptInvitationRequestWithBody generates requests for AcceptInvitation with any type of body

func NewBeginOidcLoginRequest

func NewBeginOidcLoginRequest(server string, provider OidcProvider, params *BeginOidcLoginParams) (*http.Request, error)

NewBeginOidcLoginRequest generates requests for BeginOidcLogin

func NewBulkIngestMetricsRequestWithApplicationVndAPIPlusJSONBody added in v1.3.26

func NewBulkIngestMetricsRequestWithApplicationVndAPIPlusJSONBody(server string, body BulkIngestMetricsApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewBulkIngestMetricsRequestWithApplicationVndAPIPlusJSONBody calls the generic BulkIngestMetrics builder with application/vnd.api+json body

func NewBulkIngestMetricsRequestWithBody added in v1.3.26

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

NewBulkIngestMetricsRequestWithBody generates requests for BulkIngestMetrics with any type of body

func NewBulkRegisterContextsRequestWithApplicationVndAPIPlusJSONBody added in v1.2.3

func NewBulkRegisterContextsRequestWithApplicationVndAPIPlusJSONBody(server string, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewBulkRegisterContextsRequestWithApplicationVndAPIPlusJSONBody calls the generic BulkRegisterContexts builder with application/vnd.api+json body

func NewBulkRegisterContextsRequestWithBody added in v1.2.3

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

NewBulkRegisterContextsRequestWithBody generates requests for BulkRegisterContexts with any type of body

func NewCancelSubscriptionRequest added in v1.3.30

func NewCancelSubscriptionRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewCancelSubscriptionRequest generates requests for CancelSubscription

func NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody

func NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateApiKey builder with application/vnd.api+json body

func NewCreateApiKeyRequestWithBody

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

NewCreateApiKeyRequestWithBody generates requests for CreateApiKey with any type of body

func NewCreateBundleRequestWithApplicationVndAPIPlusJSONBody added in v1.3.39

func NewCreateBundleRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateBundleApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateBundleRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateBundle builder with application/vnd.api+json body

func NewCreateBundleRequestWithBody added in v1.3.39

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

NewCreateBundleRequestWithBody generates requests for CreateBundle with any type of body

func NewCreateContextTypeRequestWithApplicationVndAPIPlusJSONBody added in v1.2.3

func NewCreateContextTypeRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateContextTypeRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateContextType builder with application/vnd.api+json body

func NewCreateContextTypeRequestWithBody added in v1.2.3

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

NewCreateContextTypeRequestWithBody generates requests for CreateContextType with any type of body

func NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody

func NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateEnvironment builder with application/vnd.api+json body

func NewCreateEnvironmentRequestWithBody

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

NewCreateEnvironmentRequestWithBody generates requests for CreateEnvironment with any type of body

func NewCreateInvitationsRequestWithApplicationVndAPIPlusJSONBody

func NewCreateInvitationsRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateInvitationsRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateInvitations builder with application/vnd.api+json body

func NewCreateInvitationsRequestWithBody

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

NewCreateInvitationsRequestWithBody generates requests for CreateInvitations with any type of body

func NewCreateServiceRequestWithApplicationVndAPIPlusJSONBody

func NewCreateServiceRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateServiceApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateServiceRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateService builder with application/vnd.api+json body

func NewCreateServiceRequestWithBody

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

NewCreateServiceRequestWithBody generates requests for CreateService with any type of body

func NewCreateSubscriptionRequestWithApplicationVndAPIPlusJSONBody added in v1.3.30

func NewCreateSubscriptionRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateSubscriptionApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateSubscriptionRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateSubscription builder with application/vnd.api+json body

func NewCreateSubscriptionRequestWithBody added in v1.3.30

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

NewCreateSubscriptionRequestWithBody generates requests for CreateSubscription with any type of body

func NewDeleteAccountRequest

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

NewDeleteAccountRequest generates requests for DeleteAccount

func NewDeleteApiKeyRequest

func NewDeleteApiKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewDeleteApiKeyRequest generates requests for DeleteApiKey

func NewDeleteContextRequest added in v1.2.3

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

NewDeleteContextRequest generates requests for DeleteContext

func NewDeleteContextTypeRequest added in v1.2.3

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

NewDeleteContextTypeRequest generates requests for DeleteContextType

func NewDeleteEnvironmentRequest

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

NewDeleteEnvironmentRequest generates requests for DeleteEnvironment

func NewDeleteServiceRequest

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

NewDeleteServiceRequest generates requests for DeleteService

func NewDowngradeSubscriptionRequestWithApplicationVndAPIPlusJSONBody added in v1.3.38

func NewDowngradeSubscriptionRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body DowngradeSubscriptionApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewDowngradeSubscriptionRequestWithApplicationVndAPIPlusJSONBody calls the generic DowngradeSubscription builder with application/vnd.api+json body

func NewDowngradeSubscriptionRequestWithBody added in v1.3.38

func NewDowngradeSubscriptionRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewDowngradeSubscriptionRequestWithBody generates requests for DowngradeSubscription with any type of body

func NewExecuteSetupIntentRequest added in v1.3.30

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

NewExecuteSetupIntentRequest generates requests for ExecuteSetupIntent

func NewGetAccountRequest

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

NewGetAccountRequest generates requests for GetAccount

func NewGetApiKeyRequest

func NewGetApiKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewGetApiKeyRequest generates requests for GetApiKey

func NewGetContextRequest added in v1.2.3

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

NewGetContextRequest generates requests for GetContext

func NewGetContextTypeRequest added in v1.2.3

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

NewGetContextTypeRequest generates requests for GetContextType

func NewGetCurrentUserRequest

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

NewGetCurrentUserRequest generates requests for GetCurrentUser

func NewGetEnvironmentRequest

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

NewGetEnvironmentRequest generates requests for GetEnvironment

func NewGetServiceRequest

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

NewGetServiceRequest generates requests for GetService

func NewGetUserRequest

func NewGetUserRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewGetUserRequest generates requests for GetUser

func NewHandleOidcCallbackRequest

func NewHandleOidcCallbackRequest(server string, provider OidcProvider, params *HandleOidcCallbackParams) (*http.Request, error)

NewHandleOidcCallbackRequest generates requests for HandleOidcCallback

func NewListApiKeysRequest

func NewListApiKeysRequest(server string, params *ListApiKeysParams) (*http.Request, error)

NewListApiKeysRequest generates requests for ListApiKeys

func NewListBundlesRequest added in v1.3.43

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

NewListBundlesRequest generates requests for ListBundles

func NewListContextTypesRequest added in v1.2.3

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

NewListContextTypesRequest generates requests for ListContextTypes

func NewListContextsRequest added in v1.2.3

func NewListContextsRequest(server string, params *ListContextsParams) (*http.Request, error)

NewListContextsRequest generates requests for ListContexts

func NewListEnvironmentsRequest

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

NewListEnvironmentsRequest generates requests for ListEnvironments

func NewListInvitationsRequest

func NewListInvitationsRequest(server string, params *ListInvitationsParams) (*http.Request, error)

NewListInvitationsRequest generates requests for ListInvitations

func NewListInvoicesRequest added in v1.3.34

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

NewListInvoicesRequest generates requests for ListInvoices

func NewListMetricNamesRequest added in v1.3.28

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

NewListMetricNamesRequest generates requests for ListMetricNames

func NewListMetricRollupsRequest added in v1.3.26

func NewListMetricRollupsRequest(server string, params *ListMetricRollupsParams) (*http.Request, error)

NewListMetricRollupsRequest generates requests for ListMetricRollups

func NewListMetricsRequest added in v1.3.26

func NewListMetricsRequest(server string, params *ListMetricsParams) (*http.Request, error)

NewListMetricsRequest generates requests for ListMetrics

func NewListPaymentMethodsRequest added in v1.3.29

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

NewListPaymentMethodsRequest generates requests for ListPaymentMethods

func NewListPlansRequest

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

NewListPlansRequest generates requests for ListPlans

func NewListProductsRequest added in v1.2.3

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

NewListProductsRequest generates requests for ListProducts

func NewListServicesRequest

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

NewListServicesRequest generates requests for ListServices

func NewListSubscriptionsRequest added in v1.3.30

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

NewListSubscriptionsRequest generates requests for ListSubscriptions

func NewListUsersRequest

func NewListUsersRequest(server string, params *ListUsersParams) (*http.Request, error)

NewListUsersRequest generates requests for ListUsers

func NewLoginRequest

func NewLoginRequest(server string, body LoginJSONRequestBody) (*http.Request, error)

NewLoginRequest calls the generic Login builder with application/json body

func NewLoginRequestWithBody

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

NewLoginRequestWithBody generates requests for Login with any type of body

func NewRegisterRequest

func NewRegisterRequest(server string, body RegisterJSONRequestBody) (*http.Request, error)

NewRegisterRequest calls the generic Register builder with application/json body

func NewRegisterRequestWithBody

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

NewRegisterRequestWithBody generates requests for Register with any type of body

func NewRemoveUserRequest

func NewRemoveUserRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewRemoveUserRequest generates requests for RemoveUser

func NewResendInvitationRequest

func NewResendInvitationRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewResendInvitationRequest generates requests for ResendInvitation

func NewResendVerificationRequest added in v1.3.12

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

NewResendVerificationRequest generates requests for ResendVerification

func NewRevokeApiKeyRequest

func NewRevokeApiKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewRevokeApiKeyRequest generates requests for RevokeApiKey

func NewRevokeInvitationRequest

func NewRevokeInvitationRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewRevokeInvitationRequest generates requests for RevokeInvitation

func NewSetDefaultPaymentMethodRequestWithApplicationVndAPIPlusJSONBody added in v1.3.40

func NewSetDefaultPaymentMethodRequestWithApplicationVndAPIPlusJSONBody(server string, body SetDefaultPaymentMethodApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewSetDefaultPaymentMethodRequestWithApplicationVndAPIPlusJSONBody calls the generic SetDefaultPaymentMethod builder with application/vnd.api+json body

func NewSetDefaultPaymentMethodRequestWithBody added in v1.3.40

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

NewSetDefaultPaymentMethodRequestWithBody generates requests for SetDefaultPaymentMethod with any type of body

func NewUpdateAccountRequestWithApplicationVndAPIPlusJSONBody

func NewUpdateAccountRequestWithApplicationVndAPIPlusJSONBody(server string, body UpdateAccountApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateAccountRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateAccount builder with application/vnd.api+json body

func NewUpdateAccountRequestWithBody

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

NewUpdateAccountRequestWithBody generates requests for UpdateAccount with any type of body

func NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody

func NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateApiKey builder with application/vnd.api+json body

func NewUpdateApiKeyRequestWithBody

func NewUpdateApiKeyRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateApiKeyRequestWithBody generates requests for UpdateApiKey with any type of body

func NewUpdateContextTypeRequestWithApplicationVndAPIPlusJSONBody added in v1.2.3

func NewUpdateContextTypeRequestWithApplicationVndAPIPlusJSONBody(server string, id string, body UpdateContextTypeApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateContextTypeRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateContextType builder with application/vnd.api+json body

func NewUpdateContextTypeRequestWithBody added in v1.2.3

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

NewUpdateContextTypeRequestWithBody generates requests for UpdateContextType with any type of body

func NewUpdateCurrentUserRequestWithApplicationVndAPIPlusJSONBody

func NewUpdateCurrentUserRequestWithApplicationVndAPIPlusJSONBody(server string, body UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateCurrentUserRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateCurrentUser builder with application/vnd.api+json body

func NewUpdateCurrentUserRequestWithBody

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

NewUpdateCurrentUserRequestWithBody generates requests for UpdateCurrentUser with any type of body

func NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody

func NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, id string, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateEnvironment builder with application/vnd.api+json body

func NewUpdateEnvironmentRequestWithBody

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

NewUpdateEnvironmentRequestWithBody generates requests for UpdateEnvironment with any type of body

func NewUpdateServiceRequestWithApplicationVndAPIPlusJSONBody

func NewUpdateServiceRequestWithApplicationVndAPIPlusJSONBody(server string, id string, body UpdateServiceApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateServiceRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateService builder with application/vnd.api+json body

func NewUpdateServiceRequestWithBody

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

NewUpdateServiceRequestWithBody generates requests for UpdateService with any type of body

func NewUpdateUserRoleRequestWithApplicationVndAPIPlusJSONBody

func NewUpdateUserRoleRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateUserRoleRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateUserRole builder with application/vnd.api+json body

func NewUpdateUserRoleRequestWithBody

func NewUpdateUserRoleRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUserRoleRequestWithBody generates requests for UpdateUserRole with any type of body

func NewUpgradeSubscriptionRequestWithApplicationVndAPIPlusJSONBody added in v1.3.38

func NewUpgradeSubscriptionRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body UpgradeSubscriptionApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpgradeSubscriptionRequestWithApplicationVndAPIPlusJSONBody calls the generic UpgradeSubscription builder with application/vnd.api+json body

func NewUpgradeSubscriptionRequestWithBody added in v1.3.38

func NewUpgradeSubscriptionRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpgradeSubscriptionRequestWithBody generates requests for UpgradeSubscription with any type of body

func NewVerifyEmailRequest added in v1.3.12

func NewVerifyEmailRequest(server string, body VerifyEmailJSONRequestBody) (*http.Request, error)

NewVerifyEmailRequest calls the generic VerifyEmail builder with application/json body

func NewVerifyEmailRequestWithBody added in v1.3.12

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

NewVerifyEmailRequestWithBody generates requests for VerifyEmail with any type of body

Types

type AcceptInvitationApplicationVndAPIPlusJSONRequestBody added in v1.3.11

type AcceptInvitationApplicationVndAPIPlusJSONRequestBody = InvitationAcceptRequest

AcceptInvitationApplicationVndAPIPlusJSONRequestBody defines body for AcceptInvitation for application/vnd.api+json ContentType.

type AcceptInvitationResponse

type AcceptInvitationResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *InvitationResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseAcceptInvitationResponse

func ParseAcceptInvitationResponse(rsp *http.Response) (*AcceptInvitationResponse, error)

ParseAcceptInvitationResponse parses an HTTP response from a AcceptInvitationWithResponse call

func (AcceptInvitationResponse) Status

func (r AcceptInvitationResponse) Status() string

Status returns HTTPResponse.Status

func (AcceptInvitationResponse) StatusCode

func (r AcceptInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Account

type Account struct {
	CreatedAt            *time.Time              `json:"created_at,omitempty"`
	DeletedAt            *time.Time              `json:"deleted_at,omitempty"`
	ExpiresAt            *time.Time              `json:"expires_at,omitempty"`
	HasStripeCustomer    *bool                   `json:"has_stripe_customer,omitempty"`
	Key                  string                  `json:"key"`
	Name                 string                  `json:"name"`
	ProductSubscriptions *map[string]interface{} `json:"product_subscriptions,omitempty"`
}

Account defines model for Account.

type AccountResource

type AccountResource struct {
	Attributes Account             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       AccountResourceType `json:"type"`
}

AccountResource defines model for AccountResource.

type AccountResourceType added in v1.2.6

type AccountResourceType string

AccountResourceType defines model for AccountResource.Type.

const (
	AccountResourceTypeAccount AccountResourceType = "account"
)

Defines values for AccountResourceType.

func (AccountResourceType) Valid added in v1.2.6

func (e AccountResourceType) Valid() bool

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

type AccountResponse

type AccountResponse struct {
	Data AccountResource `json:"data"`
}

AccountResponse defines model for AccountResponse.

type ApiKey

type ApiKey struct {
	CreatedAt  *time.Time              `json:"created_at,omitempty"`
	CreatedBy  *string                 `json:"created_by,omitempty"`
	Data       *map[string]interface{} `json:"data,omitempty"`
	ExpiresAt  *time.Time              `json:"expires_at,omitempty"`
	Key        *string                 `json:"key,omitempty"`
	LastUsedAt *time.Time              `json:"last_used_at,omitempty"`
	Name       string                  `json:"name"`
	Scopes     *map[string]interface{} `json:"scopes,omitempty"`
	Status     *string                 `json:"status,omitempty"`
	UpdatedAt  *time.Time              `json:"updated_at,omitempty"`
}

ApiKey defines model for ApiKey.

type ApiKeyListResponse

type ApiKeyListResponse struct {
	Data []ApiKeyResource `json:"data"`
}

ApiKeyListResponse defines model for ApiKeyListResponse.

type ApiKeyResource

type ApiKeyResource struct {
	Attributes ApiKey             `json:"attributes"`
	Id         *string            `json:"id,omitempty"`
	Type       ApiKeyResourceType `json:"type"`
}

ApiKeyResource defines model for ApiKeyResource.

type ApiKeyResourceType added in v1.2.6

type ApiKeyResourceType string

ApiKeyResourceType defines model for ApiKeyResource.Type.

const (
	ApiKeyResourceTypeApiKey ApiKeyResourceType = "api_key"
)

Defines values for ApiKeyResourceType.

func (ApiKeyResourceType) Valid added in v1.2.6

func (e ApiKeyResourceType) Valid() bool

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

type ApiKeyResponse

type ApiKeyResponse struct {
	Data ApiKeyResource `json:"data"`
}

ApiKeyResponse defines model for ApiKeyResponse.

type AuthTokenResponse

type AuthTokenResponse struct {
	ExpiresIn int    `json:"expires_in"`
	Token     string `json:"token"`
}

AuthTokenResponse defines model for AuthTokenResponse.

type BeginOidcLoginParams

type BeginOidcLoginParams struct {
	Mode   *string `form:"mode,omitempty" json:"mode,omitempty"`
	Source *string `form:"source,omitempty" json:"source,omitempty"`
}

BeginOidcLoginParams defines parameters for BeginOidcLogin.

type BeginOidcLoginResponse

type BeginOidcLoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON429      *ErrorResponse
}

func ParseBeginOidcLoginResponse

func ParseBeginOidcLoginResponse(rsp *http.Response) (*BeginOidcLoginResponse, error)

ParseBeginOidcLoginResponse parses an HTTP response from a BeginOidcLoginWithResponse call

func (BeginOidcLoginResponse) Status

func (r BeginOidcLoginResponse) Status() string

Status returns HTTPResponse.Status

func (BeginOidcLoginResponse) StatusCode

func (r BeginOidcLoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkIngestMetricsApplicationVndAPIPlusJSONRequestBody added in v1.3.26

type BulkIngestMetricsApplicationVndAPIPlusJSONRequestBody = MetricBulkRequest

BulkIngestMetricsApplicationVndAPIPlusJSONRequestBody defines body for BulkIngestMetrics for application/vnd.api+json ContentType.

type BulkIngestMetricsResponse added in v1.3.26

type BulkIngestMetricsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseBulkIngestMetricsResponse added in v1.3.26

func ParseBulkIngestMetricsResponse(rsp *http.Response) (*BulkIngestMetricsResponse, error)

ParseBulkIngestMetricsResponse parses an HTTP response from a BulkIngestMetricsWithResponse call

func (BulkIngestMetricsResponse) Status added in v1.3.26

func (r BulkIngestMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (BulkIngestMetricsResponse) StatusCode added in v1.3.26

func (r BulkIngestMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody added in v1.2.3

type BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody = ContextBulkRegister

BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody defines body for BulkRegisterContexts for application/vnd.api+json ContentType.

type BulkRegisterContextsResponse added in v1.2.3

type BulkRegisterContextsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ContextBatchResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseBulkRegisterContextsResponse added in v1.2.3

func ParseBulkRegisterContextsResponse(rsp *http.Response) (*BulkRegisterContextsResponse, error)

ParseBulkRegisterContextsResponse parses an HTTP response from a BulkRegisterContextsWithResponse call

func (BulkRegisterContextsResponse) Status added in v1.2.3

Status returns HTTPResponse.Status

func (BulkRegisterContextsResponse) StatusCode added in v1.2.3

func (r BulkRegisterContextsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BundleAttributes added in v1.3.39

type BundleAttributes struct {
	Bundle        string   `json:"bundle"`
	Plan          string   `json:"plan"`
	Products      []string `json:"products"`
	Subscriptions []string `json:"subscriptions"`
}

BundleAttributes defines model for BundleAttributes.

type BundleListResponse added in v1.3.43

type BundleListResponse struct {
	Data []CatalogBundleResource `json:"data"`
}

BundleListResponse defines model for BundleListResponse.

type BundleResource added in v1.3.39

type BundleResource struct {
	Attributes BundleAttributes   `json:"attributes"`
	Id         *string            `json:"id,omitempty"`
	Type       BundleResourceType `json:"type"`
}

BundleResource defines model for BundleResource.

type BundleResourceType added in v1.3.39

type BundleResourceType string

BundleResourceType defines model for BundleResource.Type.

const (
	BundleResourceTypeBundle BundleResourceType = "bundle"
)

Defines values for BundleResourceType.

func (BundleResourceType) Valid added in v1.3.39

func (e BundleResourceType) Valid() bool

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

type BundleResponse added in v1.3.39

type BundleResponse struct {
	Data BundleResource `json:"data"`
}

BundleResponse defines model for BundleResponse.

type CancelSubscriptionResponse added in v1.3.30

type CancelSubscriptionResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *SubscriptionResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseCancelSubscriptionResponse added in v1.3.30

func ParseCancelSubscriptionResponse(rsp *http.Response) (*CancelSubscriptionResponse, error)

ParseCancelSubscriptionResponse parses an HTTP response from a CancelSubscriptionWithResponse call

func (CancelSubscriptionResponse) Status added in v1.3.30

Status returns HTTPResponse.Status

func (CancelSubscriptionResponse) StatusCode added in v1.3.30

func (r CancelSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CatalogBundleAttributes added in v1.3.43

type CatalogBundleAttributes struct {
	DisplayName       string   `json:"display_name"`
	Plan              string   `json:"plan"`
	PriceMonthlyCents int      `json:"price_monthly_cents"`
	Products          []string `json:"products"`
}

CatalogBundleAttributes defines model for CatalogBundleAttributes.

type CatalogBundleResource added in v1.3.43

type CatalogBundleResource struct {
	Attributes CatalogBundleAttributes   `json:"attributes"`
	Id         *string                   `json:"id,omitempty"`
	Type       CatalogBundleResourceType `json:"type"`
}

CatalogBundleResource defines model for CatalogBundleResource.

type CatalogBundleResourceType added in v1.3.43

type CatalogBundleResourceType string

CatalogBundleResourceType defines model for CatalogBundleResource.Type.

const (
	CatalogBundleResourceTypeBundle CatalogBundleResourceType = "bundle"
)

Defines values for CatalogBundleResourceType.

func (CatalogBundleResourceType) Valid added in v1.3.43

func (e CatalogBundleResourceType) Valid() bool

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

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) AcceptInvitationWithApplicationVndAPIPlusJSONBody added in v1.3.11

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

func (*Client) AcceptInvitationWithBody added in v1.3.11

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

func (*Client) BeginOidcLogin

func (c *Client) BeginOidcLogin(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkIngestMetricsWithApplicationVndAPIPlusJSONBody added in v1.3.26

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

func (*Client) BulkIngestMetricsWithBody added in v1.3.26

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

func (*Client) BulkRegisterContextsWithApplicationVndAPIPlusJSONBody added in v1.2.3

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

func (*Client) BulkRegisterContextsWithBody added in v1.2.3

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

func (*Client) CancelSubscription added in v1.3.30

func (c *Client) CancelSubscription(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateApiKeyWithApplicationVndAPIPlusJSONBody

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

func (*Client) CreateApiKeyWithBody

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

func (*Client) CreateBundleWithApplicationVndAPIPlusJSONBody added in v1.3.39

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

func (*Client) CreateBundleWithBody added in v1.3.39

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

func (*Client) CreateContextTypeWithApplicationVndAPIPlusJSONBody added in v1.2.3

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

func (*Client) CreateContextTypeWithBody added in v1.2.3

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

func (*Client) CreateEnvironmentWithApplicationVndAPIPlusJSONBody

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

func (*Client) CreateEnvironmentWithBody

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

func (*Client) CreateInvitationsWithApplicationVndAPIPlusJSONBody

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

func (*Client) CreateInvitationsWithBody

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

func (*Client) CreateServiceWithApplicationVndAPIPlusJSONBody

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

func (*Client) CreateServiceWithBody

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

func (*Client) CreateSubscriptionWithApplicationVndAPIPlusJSONBody added in v1.3.30

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

func (*Client) CreateSubscriptionWithBody added in v1.3.30

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

func (*Client) DeleteAccount

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

func (*Client) DeleteApiKey

func (c *Client) DeleteApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteContext added in v1.2.3

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

func (*Client) DeleteContextType added in v1.2.3

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

func (*Client) DeleteEnvironment

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

func (*Client) DeleteService

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

func (*Client) DowngradeSubscriptionWithApplicationVndAPIPlusJSONBody added in v1.3.38

func (c *Client) DowngradeSubscriptionWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body DowngradeSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DowngradeSubscriptionWithBody added in v1.3.38

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

func (*Client) ExecuteSetupIntent added in v1.3.30

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

func (*Client) GetAccount

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

func (*Client) GetApiKey

func (c *Client) GetApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetContext added in v1.2.3

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

func (*Client) GetContextType added in v1.2.3

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

func (*Client) GetCurrentUser

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

func (*Client) GetEnvironment

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

func (*Client) GetService

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

func (*Client) GetUser

func (c *Client) GetUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HandleOidcCallback

func (c *Client) HandleOidcCallback(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListApiKeys

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

func (*Client) ListBundles added in v1.3.43

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

func (*Client) ListContextTypes added in v1.2.3

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

func (*Client) ListContexts added in v1.2.3

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

func (*Client) ListEnvironments

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

func (*Client) ListInvitations

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

func (*Client) ListInvoices added in v1.3.34

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

func (*Client) ListMetricNames added in v1.3.28

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

func (*Client) ListMetricRollups added in v1.3.26

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

func (*Client) ListMetrics added in v1.3.26

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

func (*Client) ListPaymentMethods added in v1.3.29

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

func (*Client) ListPlans

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

func (*Client) ListProducts added in v1.2.3

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

func (*Client) ListServices

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

func (*Client) ListSubscriptions added in v1.3.30

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

func (*Client) ListUsers

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

func (*Client) Login

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

func (*Client) LoginWithBody

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

func (*Client) Register

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

func (*Client) RegisterWithBody

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

func (*Client) RemoveUser

func (c *Client) RemoveUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResendInvitation

func (c *Client) ResendInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResendVerification added in v1.3.12

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

func (*Client) RevokeApiKey

func (c *Client) RevokeApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RevokeInvitation

func (c *Client) RevokeInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDefaultPaymentMethodWithApplicationVndAPIPlusJSONBody added in v1.3.40

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

func (*Client) SetDefaultPaymentMethodWithBody added in v1.3.40

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

func (*Client) UpdateAccountWithApplicationVndAPIPlusJSONBody

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

func (*Client) UpdateAccountWithBody

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

func (*Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody

func (c *Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateApiKeyWithBody

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

func (*Client) UpdateContextTypeWithApplicationVndAPIPlusJSONBody added in v1.2.3

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

func (*Client) UpdateContextTypeWithBody added in v1.2.3

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

func (*Client) UpdateCurrentUserWithApplicationVndAPIPlusJSONBody

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

func (*Client) UpdateCurrentUserWithBody

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

func (*Client) UpdateEnvironmentWithApplicationVndAPIPlusJSONBody

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

func (*Client) UpdateEnvironmentWithBody

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

func (*Client) UpdateServiceWithApplicationVndAPIPlusJSONBody

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

func (*Client) UpdateServiceWithBody

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

func (*Client) UpdateUserRoleWithApplicationVndAPIPlusJSONBody

func (c *Client) UpdateUserRoleWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateUserRoleWithBody

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

func (*Client) UpgradeSubscriptionWithApplicationVndAPIPlusJSONBody added in v1.3.38

func (c *Client) UpgradeSubscriptionWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpgradeSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpgradeSubscriptionWithBody added in v1.3.38

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

func (*Client) VerifyEmail added in v1.3.12

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

func (*Client) VerifyEmailWithBody added in v1.3.12

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

type ClientInterface

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

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

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

	UpdateAccountWithApplicationVndAPIPlusJSONBody(ctx context.Context, body UpdateAccountApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiKey request
	DeleteApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiKey request
	GetApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeApiKey request
	RevokeApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// HandleOidcCallback request
	HandleOidcCallback(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BeginOidcLogin request
	BeginOidcLogin(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	Register(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	VerifyEmail(ctx context.Context, body VerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateBundleWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateBundleApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateContextTypeWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdateContextTypeWithApplicationVndAPIPlusJSONBody(ctx context.Context, id string, body UpdateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	BulkRegisterContextsWithApplicationVndAPIPlusJSONBody(ctx context.Context, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	CreateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, id string, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	CreateInvitationsWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AcceptInvitationWithApplicationVndAPIPlusJSONBody(ctx context.Context, body AcceptInvitationApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResendInvitation request
	ResendInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeInvitation request
	RevokeInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

	BulkIngestMetricsWithApplicationVndAPIPlusJSONBody(ctx context.Context, body BulkIngestMetricsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	SetDefaultPaymentMethodWithApplicationVndAPIPlusJSONBody(ctx context.Context, body SetDefaultPaymentMethodApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	CreateServiceWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdateServiceWithApplicationVndAPIPlusJSONBody(ctx context.Context, id string, body UpdateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateSubscriptionWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelSubscription request
	CancelSubscription(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	DowngradeSubscriptionWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body DowngradeSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpgradeSubscriptionWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpgradeSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListUsers request
	ListUsers(ctx context.Context, params *ListUsersParams, 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)

	UpdateCurrentUserWithApplicationVndAPIPlusJSONBody(ctx context.Context, body UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveUser request
	RemoveUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUser request
	GetUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateUserRoleWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody, 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) AcceptInvitationWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.3.11

func (c *ClientWithResponses) AcceptInvitationWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body AcceptInvitationApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)

func (*ClientWithResponses) AcceptInvitationWithBodyWithResponse added in v1.3.11

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

AcceptInvitationWithBodyWithResponse request with arbitrary body returning *AcceptInvitationResponse

func (*ClientWithResponses) BeginOidcLoginWithResponse

func (c *ClientWithResponses) BeginOidcLoginWithResponse(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, reqEditors ...RequestEditorFn) (*BeginOidcLoginResponse, error)

BeginOidcLoginWithResponse request returning *BeginOidcLoginResponse

func (*ClientWithResponses) BulkIngestMetricsWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.3.26

func (c *ClientWithResponses) BulkIngestMetricsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body BulkIngestMetricsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkIngestMetricsResponse, error)

func (*ClientWithResponses) BulkIngestMetricsWithBodyWithResponse added in v1.3.26

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

BulkIngestMetricsWithBodyWithResponse request with arbitrary body returning *BulkIngestMetricsResponse

func (*ClientWithResponses) BulkRegisterContextsWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.2.3

func (c *ClientWithResponses) BulkRegisterContextsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRegisterContextsResponse, error)

func (*ClientWithResponses) BulkRegisterContextsWithBodyWithResponse added in v1.2.3

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

BulkRegisterContextsWithBodyWithResponse request with arbitrary body returning *BulkRegisterContextsResponse

func (*ClientWithResponses) CancelSubscriptionWithResponse added in v1.3.30

func (c *ClientWithResponses) CancelSubscriptionWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelSubscriptionResponse, error)

CancelSubscriptionWithResponse request returning *CancelSubscriptionResponse

func (*ClientWithResponses) CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)

func (*ClientWithResponses) CreateApiKeyWithBodyWithResponse

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

CreateApiKeyWithBodyWithResponse request with arbitrary body returning *CreateApiKeyResponse

func (*ClientWithResponses) CreateBundleWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.3.39

func (c *ClientWithResponses) CreateBundleWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateBundleApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBundleResponse, error)

func (*ClientWithResponses) CreateBundleWithBodyWithResponse added in v1.3.39

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

CreateBundleWithBodyWithResponse request with arbitrary body returning *CreateBundleResponse

func (*ClientWithResponses) CreateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.2.3

func (c *ClientWithResponses) CreateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContextTypeResponse, error)

func (*ClientWithResponses) CreateContextTypeWithBodyWithResponse added in v1.2.3

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

CreateContextTypeWithBodyWithResponse request with arbitrary body returning *CreateContextTypeResponse

func (*ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)

func (*ClientWithResponses) CreateEnvironmentWithBodyWithResponse

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

CreateEnvironmentWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentResponse

func (*ClientWithResponses) CreateInvitationsWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) CreateInvitationsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

func (*ClientWithResponses) CreateInvitationsWithBodyWithResponse

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

CreateInvitationsWithBodyWithResponse request with arbitrary body returning *CreateInvitationsResponse

func (*ClientWithResponses) CreateServiceWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) CreateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)

func (*ClientWithResponses) CreateServiceWithBodyWithResponse

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

CreateServiceWithBodyWithResponse request with arbitrary body returning *CreateServiceResponse

func (*ClientWithResponses) CreateSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.3.30

func (c *ClientWithResponses) CreateSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)

func (*ClientWithResponses) CreateSubscriptionWithBodyWithResponse added in v1.3.30

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

CreateSubscriptionWithBodyWithResponse request with arbitrary body returning *CreateSubscriptionResponse

func (*ClientWithResponses) DeleteAccountWithResponse

func (c *ClientWithResponses) DeleteAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error)

DeleteAccountWithResponse request returning *DeleteAccountResponse

func (*ClientWithResponses) DeleteApiKeyWithResponse

func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)

DeleteApiKeyWithResponse request returning *DeleteApiKeyResponse

func (*ClientWithResponses) DeleteContextTypeWithResponse added in v1.2.3

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

DeleteContextTypeWithResponse request returning *DeleteContextTypeResponse

func (*ClientWithResponses) DeleteContextWithResponse added in v1.2.3

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

DeleteContextWithResponse request returning *DeleteContextResponse

func (*ClientWithResponses) DeleteEnvironmentWithResponse

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

DeleteEnvironmentWithResponse request returning *DeleteEnvironmentResponse

func (*ClientWithResponses) DeleteServiceWithResponse

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

DeleteServiceWithResponse request returning *DeleteServiceResponse

func (*ClientWithResponses) DowngradeSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.3.38

func (c *ClientWithResponses) DowngradeSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body DowngradeSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*DowngradeSubscriptionResponse, error)

func (*ClientWithResponses) DowngradeSubscriptionWithBodyWithResponse added in v1.3.38

func (c *ClientWithResponses) DowngradeSubscriptionWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DowngradeSubscriptionResponse, error)

DowngradeSubscriptionWithBodyWithResponse request with arbitrary body returning *DowngradeSubscriptionResponse

func (*ClientWithResponses) ExecuteSetupIntentWithResponse added in v1.3.30

func (c *ClientWithResponses) ExecuteSetupIntentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExecuteSetupIntentResponse, error)

ExecuteSetupIntentWithResponse request returning *ExecuteSetupIntentResponse

func (*ClientWithResponses) GetAccountWithResponse

func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)

GetAccountWithResponse request returning *GetAccountResponse

func (*ClientWithResponses) GetApiKeyWithResponse

func (c *ClientWithResponses) GetApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetApiKeyResponse, error)

GetApiKeyWithResponse request returning *GetApiKeyResponse

func (*ClientWithResponses) GetContextTypeWithResponse added in v1.2.3

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

GetContextTypeWithResponse request returning *GetContextTypeResponse

func (*ClientWithResponses) GetContextWithResponse added in v1.2.3

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

GetContextWithResponse request returning *GetContextResponse

func (*ClientWithResponses) GetCurrentUserWithResponse

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

GetCurrentUserWithResponse request returning *GetCurrentUserResponse

func (*ClientWithResponses) GetEnvironmentWithResponse

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

GetEnvironmentWithResponse request returning *GetEnvironmentResponse

func (*ClientWithResponses) GetServiceWithResponse

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

GetServiceWithResponse request returning *GetServiceResponse

func (*ClientWithResponses) GetUserWithResponse

func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUserResponse, error)

GetUserWithResponse request returning *GetUserResponse

func (*ClientWithResponses) HandleOidcCallbackWithResponse

func (c *ClientWithResponses) HandleOidcCallbackWithResponse(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, reqEditors ...RequestEditorFn) (*HandleOidcCallbackResponse, error)

HandleOidcCallbackWithResponse request returning *HandleOidcCallbackResponse

func (*ClientWithResponses) ListApiKeysWithResponse

func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)

ListApiKeysWithResponse request returning *ListApiKeysResponse

func (*ClientWithResponses) ListBundlesWithResponse added in v1.3.43

func (c *ClientWithResponses) ListBundlesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBundlesResponse, error)

ListBundlesWithResponse request returning *ListBundlesResponse

func (*ClientWithResponses) ListContextTypesWithResponse added in v1.2.3

func (c *ClientWithResponses) ListContextTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContextTypesResponse, error)

ListContextTypesWithResponse request returning *ListContextTypesResponse

func (*ClientWithResponses) ListContextsWithResponse added in v1.2.3

func (c *ClientWithResponses) ListContextsWithResponse(ctx context.Context, params *ListContextsParams, reqEditors ...RequestEditorFn) (*ListContextsResponse, error)

ListContextsWithResponse request returning *ListContextsResponse

func (*ClientWithResponses) ListEnvironmentsWithResponse

func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)

ListEnvironmentsWithResponse request returning *ListEnvironmentsResponse

func (*ClientWithResponses) ListInvitationsWithResponse

func (c *ClientWithResponses) ListInvitationsWithResponse(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*ListInvitationsResponse, error)

ListInvitationsWithResponse request returning *ListInvitationsResponse

func (*ClientWithResponses) ListInvoicesWithResponse added in v1.3.34

func (c *ClientWithResponses) ListInvoicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInvoicesResponse, error)

ListInvoicesWithResponse request returning *ListInvoicesResponse

func (*ClientWithResponses) ListMetricNamesWithResponse added in v1.3.28

func (c *ClientWithResponses) ListMetricNamesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMetricNamesResponse, error)

ListMetricNamesWithResponse request returning *ListMetricNamesResponse

func (*ClientWithResponses) ListMetricRollupsWithResponse added in v1.3.26

func (c *ClientWithResponses) ListMetricRollupsWithResponse(ctx context.Context, params *ListMetricRollupsParams, reqEditors ...RequestEditorFn) (*ListMetricRollupsResponse, error)

ListMetricRollupsWithResponse request returning *ListMetricRollupsResponse

func (*ClientWithResponses) ListMetricsWithResponse added in v1.3.26

func (c *ClientWithResponses) ListMetricsWithResponse(ctx context.Context, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*ListMetricsResponse, error)

ListMetricsWithResponse request returning *ListMetricsResponse

func (*ClientWithResponses) ListPaymentMethodsWithResponse added in v1.3.29

func (c *ClientWithResponses) ListPaymentMethodsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPaymentMethodsResponse, error)

ListPaymentMethodsWithResponse request returning *ListPaymentMethodsResponse

func (*ClientWithResponses) ListPlansWithResponse

func (c *ClientWithResponses) ListPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlansResponse, error)

ListPlansWithResponse request returning *ListPlansResponse

func (*ClientWithResponses) ListProductsWithResponse added in v1.2.3

func (c *ClientWithResponses) ListProductsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProductsResponse, error)

ListProductsWithResponse request returning *ListProductsResponse

func (*ClientWithResponses) ListServicesWithResponse

func (c *ClientWithResponses) ListServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)

ListServicesWithResponse request returning *ListServicesResponse

func (*ClientWithResponses) ListSubscriptionsWithResponse added in v1.3.30

func (c *ClientWithResponses) ListSubscriptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSubscriptionsResponse, error)

ListSubscriptionsWithResponse request returning *ListSubscriptionsResponse

func (*ClientWithResponses) ListUsersWithResponse

func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)

ListUsersWithResponse request returning *ListUsersResponse

func (*ClientWithResponses) LoginWithBodyWithResponse

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

LoginWithBodyWithResponse request with arbitrary body returning *LoginResponse

func (*ClientWithResponses) LoginWithResponse

func (c *ClientWithResponses) LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error)

func (*ClientWithResponses) RegisterWithBodyWithResponse

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

RegisterWithBodyWithResponse request with arbitrary body returning *RegisterResponse

func (*ClientWithResponses) RegisterWithResponse

func (c *ClientWithResponses) RegisterWithResponse(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterResponse, error)

func (*ClientWithResponses) RemoveUserWithResponse

func (c *ClientWithResponses) RemoveUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveUserResponse, error)

RemoveUserWithResponse request returning *RemoveUserResponse

func (*ClientWithResponses) ResendInvitationWithResponse

func (c *ClientWithResponses) ResendInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResendInvitationResponse, error)

ResendInvitationWithResponse request returning *ResendInvitationResponse

func (*ClientWithResponses) ResendVerificationWithResponse added in v1.3.12

func (c *ClientWithResponses) ResendVerificationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResendVerificationResponse, error)

ResendVerificationWithResponse request returning *ResendVerificationResponse

func (*ClientWithResponses) RevokeApiKeyWithResponse

func (c *ClientWithResponses) RevokeApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeApiKeyResponse, error)

RevokeApiKeyWithResponse request returning *RevokeApiKeyResponse

func (*ClientWithResponses) RevokeInvitationWithResponse

func (c *ClientWithResponses) RevokeInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeInvitationResponse, error)

RevokeInvitationWithResponse request returning *RevokeInvitationResponse

func (*ClientWithResponses) SetDefaultPaymentMethodWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.3.40

func (c *ClientWithResponses) SetDefaultPaymentMethodWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body SetDefaultPaymentMethodApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDefaultPaymentMethodResponse, error)

func (*ClientWithResponses) SetDefaultPaymentMethodWithBodyWithResponse added in v1.3.40

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

SetDefaultPaymentMethodWithBodyWithResponse request with arbitrary body returning *SetDefaultPaymentMethodResponse

func (*ClientWithResponses) UpdateAccountWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateAccountWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body UpdateAccountApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)

func (*ClientWithResponses) UpdateAccountWithBodyWithResponse

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

UpdateAccountWithBodyWithResponse request with arbitrary body returning *UpdateAccountResponse

func (*ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)

func (*ClientWithResponses) UpdateApiKeyWithBodyWithResponse

func (c *ClientWithResponses) UpdateApiKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)

UpdateApiKeyWithBodyWithResponse request with arbitrary body returning *UpdateApiKeyResponse

func (*ClientWithResponses) UpdateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.2.3

func (c *ClientWithResponses) UpdateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id string, body UpdateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContextTypeResponse, error)

func (*ClientWithResponses) UpdateContextTypeWithBodyWithResponse added in v1.2.3

func (c *ClientWithResponses) UpdateContextTypeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContextTypeResponse, error)

UpdateContextTypeWithBodyWithResponse request with arbitrary body returning *UpdateContextTypeResponse

func (*ClientWithResponses) UpdateCurrentUserWithApplicationVndAPIPlusJSONBodyWithResponse

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

func (*ClientWithResponses) UpdateCurrentUserWithBodyWithResponse

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) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id string, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)

func (*ClientWithResponses) UpdateEnvironmentWithBodyWithResponse

func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)

UpdateEnvironmentWithBodyWithResponse request with arbitrary body returning *UpdateEnvironmentResponse

func (*ClientWithResponses) UpdateServiceWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id string, body UpdateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)

func (*ClientWithResponses) UpdateServiceWithBodyWithResponse

func (c *ClientWithResponses) UpdateServiceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)

UpdateServiceWithBodyWithResponse request with arbitrary body returning *UpdateServiceResponse

func (*ClientWithResponses) UpdateUserRoleWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateUserRoleWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleResponse, error)

func (*ClientWithResponses) UpdateUserRoleWithBodyWithResponse

func (c *ClientWithResponses) UpdateUserRoleWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleResponse, error)

UpdateUserRoleWithBodyWithResponse request with arbitrary body returning *UpdateUserRoleResponse

func (*ClientWithResponses) UpgradeSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.3.38

func (c *ClientWithResponses) UpgradeSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpgradeSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeSubscriptionResponse, error)

func (*ClientWithResponses) UpgradeSubscriptionWithBodyWithResponse added in v1.3.38

func (c *ClientWithResponses) UpgradeSubscriptionWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeSubscriptionResponse, error)

UpgradeSubscriptionWithBodyWithResponse request with arbitrary body returning *UpgradeSubscriptionResponse

func (*ClientWithResponses) VerifyEmailWithBodyWithResponse added in v1.3.12

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

VerifyEmailWithBodyWithResponse request with arbitrary body returning *VerifyEmailResponse

func (*ClientWithResponses) VerifyEmailWithResponse added in v1.3.12

func (c *ClientWithResponses) VerifyEmailWithResponse(ctx context.Context, body VerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailResponse, error)

type ClientWithResponsesInterface

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

	// GetAccountWithResponse request
	GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)

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

	UpdateAccountWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body UpdateAccountApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)

	// ListApiKeysWithResponse request
	ListApiKeysWithResponse(ctx context.Context, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)

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

	CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)

	// DeleteApiKeyWithResponse request
	DeleteApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)

	// GetApiKeyWithResponse request
	GetApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetApiKeyResponse, error)

	// UpdateApiKeyWithBodyWithResponse request with any body
	UpdateApiKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)

	UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)

	// RevokeApiKeyWithResponse request
	RevokeApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeApiKeyResponse, error)

	// HandleOidcCallbackWithResponse request
	HandleOidcCallbackWithResponse(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, reqEditors ...RequestEditorFn) (*HandleOidcCallbackResponse, error)

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

	LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error)

	// BeginOidcLoginWithResponse request
	BeginOidcLoginWithResponse(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, reqEditors ...RequestEditorFn) (*BeginOidcLoginResponse, error)

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

	RegisterWithResponse(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterResponse, error)

	// ResendVerificationWithResponse request
	ResendVerificationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResendVerificationResponse, error)

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

	VerifyEmailWithResponse(ctx context.Context, body VerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailResponse, error)

	// ListBundlesWithResponse request
	ListBundlesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBundlesResponse, error)

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

	CreateBundleWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateBundleApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBundleResponse, error)

	// ListContextTypesWithResponse request
	ListContextTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContextTypesResponse, error)

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

	CreateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContextTypeResponse, error)

	// DeleteContextTypeWithResponse request
	DeleteContextTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteContextTypeResponse, error)

	// GetContextTypeWithResponse request
	GetContextTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetContextTypeResponse, error)

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

	UpdateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id string, body UpdateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContextTypeResponse, error)

	// ListContextsWithResponse request
	ListContextsWithResponse(ctx context.Context, params *ListContextsParams, reqEditors ...RequestEditorFn) (*ListContextsResponse, error)

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

	BulkRegisterContextsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRegisterContextsResponse, error)

	// DeleteContextWithResponse request
	DeleteContextWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteContextResponse, error)

	// GetContextWithResponse request
	GetContextWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetContextResponse, error)

	// ListEnvironmentsWithResponse request
	ListEnvironmentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)

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

	CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)

	// DeleteEnvironmentWithResponse request
	DeleteEnvironmentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)

	// GetEnvironmentWithResponse request
	GetEnvironmentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)

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

	UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id string, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)

	// ExecuteSetupIntentWithResponse request
	ExecuteSetupIntentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExecuteSetupIntentResponse, error)

	// ListInvitationsWithResponse request
	ListInvitationsWithResponse(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*ListInvitationsResponse, error)

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

	CreateInvitationsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

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

	AcceptInvitationWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body AcceptInvitationApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)

	// ResendInvitationWithResponse request
	ResendInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResendInvitationResponse, error)

	// RevokeInvitationWithResponse request
	RevokeInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeInvitationResponse, error)

	// ListInvoicesWithResponse request
	ListInvoicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInvoicesResponse, error)

	// ListMetricNamesWithResponse request
	ListMetricNamesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMetricNamesResponse, error)

	// ListMetricRollupsWithResponse request
	ListMetricRollupsWithResponse(ctx context.Context, params *ListMetricRollupsParams, reqEditors ...RequestEditorFn) (*ListMetricRollupsResponse, error)

	// ListMetricsWithResponse request
	ListMetricsWithResponse(ctx context.Context, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*ListMetricsResponse, error)

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

	BulkIngestMetricsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body BulkIngestMetricsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkIngestMetricsResponse, error)

	// ListPaymentMethodsWithResponse request
	ListPaymentMethodsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPaymentMethodsResponse, error)

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

	SetDefaultPaymentMethodWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body SetDefaultPaymentMethodApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDefaultPaymentMethodResponse, error)

	// ListPlansWithResponse request
	ListPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlansResponse, error)

	// ListProductsWithResponse request
	ListProductsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProductsResponse, error)

	// ListServicesWithResponse request
	ListServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)

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

	CreateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)

	// DeleteServiceWithResponse request
	DeleteServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)

	// GetServiceWithResponse request
	GetServiceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)

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

	UpdateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id string, body UpdateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)

	// ListSubscriptionsWithResponse request
	ListSubscriptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSubscriptionsResponse, error)

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

	CreateSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)

	// CancelSubscriptionWithResponse request
	CancelSubscriptionWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelSubscriptionResponse, error)

	// DowngradeSubscriptionWithBodyWithResponse request with any body
	DowngradeSubscriptionWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DowngradeSubscriptionResponse, error)

	DowngradeSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body DowngradeSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*DowngradeSubscriptionResponse, error)

	// UpgradeSubscriptionWithBodyWithResponse request with any body
	UpgradeSubscriptionWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeSubscriptionResponse, error)

	UpgradeSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpgradeSubscriptionApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeSubscriptionResponse, error)

	// ListUsersWithResponse request
	ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, 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)

	UpdateCurrentUserWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)

	// RemoveUserWithResponse request
	RemoveUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveUserResponse, error)

	// GetUserWithResponse request
	GetUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUserResponse, error)

	// UpdateUserRoleWithBodyWithResponse request with any body
	UpdateUserRoleWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleResponse, error)

	UpdateUserRoleWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleResponse, error)
}

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

type Context added in v1.2.3

type Context struct {
	// Attributes Observed attributes
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// ContextType Context type key (e.g., 'user', 'account')
	ContextType string     `json:"context_type"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`

	// Name Human-readable display name
	Name      *string    `json:"name,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Context defines model for Context.

type ContextBatchResponse added in v1.2.3

type ContextBatchResponse struct {
	Registered int `json:"registered"`
}

ContextBatchResponse defines model for ContextBatchResponse.

type ContextBulkItem added in v1.2.3

type ContextBulkItem struct {
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// Key Entity identifier: 'user-123', 'acme-corp'
	Key string `json:"key"`

	// Type Context type key: 'user', 'account', 'device'
	Type string `json:"type"`
}

ContextBulkItem defines model for ContextBulkItem.

type ContextBulkRegister added in v1.2.3

type ContextBulkRegister struct {
	Contexts []ContextBulkItem `json:"contexts"`
}

ContextBulkRegister defines model for ContextBulkRegister.

type ContextListResponse added in v1.2.3

type ContextListResponse struct {
	Data []ContextResource `json:"data"`
}

ContextListResponse defines model for ContextListResponse.

type ContextResource added in v1.2.3

type ContextResource struct {
	Attributes Context             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       ContextResourceType `json:"type"`
}

ContextResource defines model for ContextResource.

type ContextResourceType added in v1.2.6

type ContextResourceType string

ContextResourceType defines model for ContextResource.Type.

const (
	ContextResourceTypeContext ContextResourceType = "context"
)

Defines values for ContextResourceType.

func (ContextResourceType) Valid added in v1.2.6

func (e ContextResourceType) Valid() bool

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

type ContextResponse added in v1.2.3

type ContextResponse struct {
	Data ContextResource `json:"data"`
}

ContextResponse defines model for ContextResponse.

type ContextType added in v1.2.3

type ContextType struct {
	// Attributes Known attribute keys with metadata objects
	Attributes *map[string]interface{} `json:"attributes,omitempty"`
	CreatedAt  *time.Time              `json:"created_at,omitempty"`
	Id         *string                 `json:"id,omitempty"`

	// Name Display label: User, Account, Device
	Name      string     `json:"name"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ContextType defines model for ContextType.

type ContextTypeListResponse added in v1.2.3

type ContextTypeListResponse struct {
	Data []ContextTypeResource `json:"data"`
}

ContextTypeListResponse defines model for ContextTypeListResponse.

type ContextTypeResource added in v1.2.3

type ContextTypeResource struct {
	Attributes ContextType             `json:"attributes"`
	Id         *string                 `json:"id,omitempty"`
	Type       ContextTypeResourceType `json:"type"`
}

ContextTypeResource defines model for ContextTypeResource.

type ContextTypeResourceType added in v1.2.6

type ContextTypeResourceType string

ContextTypeResourceType defines model for ContextTypeResource.Type.

const (
	ContextTypeResourceTypeContextType ContextTypeResourceType = "context_type"
)

Defines values for ContextTypeResourceType.

func (ContextTypeResourceType) Valid added in v1.2.6

func (e ContextTypeResourceType) Valid() bool

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

type ContextTypeResponse added in v1.2.3

type ContextTypeResponse struct {
	Data ContextTypeResource `json:"data"`
}

ContextTypeResponse defines model for ContextTypeResponse.

type CreateApiKeyApplicationVndAPIPlusJSONRequestBody

type CreateApiKeyApplicationVndAPIPlusJSONRequestBody = ApiKeyResponse

CreateApiKeyApplicationVndAPIPlusJSONRequestBody defines body for CreateApiKey for application/vnd.api+json ContentType.

type CreateApiKeyResponse

type CreateApiKeyResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *ApiKeyResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseCreateApiKeyResponse

func ParseCreateApiKeyResponse(rsp *http.Response) (*CreateApiKeyResponse, error)

ParseCreateApiKeyResponse parses an HTTP response from a CreateApiKeyWithResponse call

func (CreateApiKeyResponse) Status

func (r CreateApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateApiKeyResponse) StatusCode

func (r CreateApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBundleApplicationVndAPIPlusJSONRequestBody added in v1.3.39

type CreateBundleApplicationVndAPIPlusJSONRequestBody = CreateBundleBody

CreateBundleApplicationVndAPIPlusJSONRequestBody defines body for CreateBundle for application/vnd.api+json ContentType.

type CreateBundleAttributes added in v1.3.39

type CreateBundleAttributes struct {
	Bundle        string `json:"bundle"`
	PaymentMethod string `json:"payment_method"`
}

CreateBundleAttributes defines model for CreateBundleAttributes.

type CreateBundleBody added in v1.3.39

type CreateBundleBody struct {
	Data CreateBundleData `json:"data"`
}

CreateBundleBody defines model for CreateBundleBody.

type CreateBundleData added in v1.3.39

type CreateBundleData struct {
	Attributes CreateBundleAttributes `json:"attributes"`
	Type       CreateBundleDataType   `json:"type"`
}

CreateBundleData defines model for CreateBundleData.

type CreateBundleDataType added in v1.3.39

type CreateBundleDataType string

CreateBundleDataType defines model for CreateBundleData.Type.

const (
	Bundle CreateBundleDataType = "bundle"
)

Defines values for CreateBundleDataType.

func (CreateBundleDataType) Valid added in v1.3.39

func (e CreateBundleDataType) Valid() bool

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

type CreateBundleResponse added in v1.3.39

type CreateBundleResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *BundleResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseCreateBundleResponse added in v1.3.39

func ParseCreateBundleResponse(rsp *http.Response) (*CreateBundleResponse, error)

ParseCreateBundleResponse parses an HTTP response from a CreateBundleWithResponse call

func (CreateBundleResponse) Status added in v1.3.39

func (r CreateBundleResponse) Status() string

Status returns HTTPResponse.Status

func (CreateBundleResponse) StatusCode added in v1.3.39

func (r CreateBundleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateContextTypeApplicationVndAPIPlusJSONRequestBody added in v1.2.3

type CreateContextTypeApplicationVndAPIPlusJSONRequestBody = ContextTypeResponse

CreateContextTypeApplicationVndAPIPlusJSONRequestBody defines body for CreateContextType for application/vnd.api+json ContentType.

type CreateContextTypeResponse added in v1.2.3

type CreateContextTypeResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *ContextTypeResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseCreateContextTypeResponse added in v1.2.3

func ParseCreateContextTypeResponse(rsp *http.Response) (*CreateContextTypeResponse, error)

ParseCreateContextTypeResponse parses an HTTP response from a CreateContextTypeWithResponse call

func (CreateContextTypeResponse) Status added in v1.2.3

func (r CreateContextTypeResponse) Status() string

Status returns HTTPResponse.Status

func (CreateContextTypeResponse) StatusCode added in v1.2.3

func (r CreateContextTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody

type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody = EnvironmentResponse

CreateEnvironmentApplicationVndAPIPlusJSONRequestBody defines body for CreateEnvironment for application/vnd.api+json ContentType.

type CreateEnvironmentResponse

type CreateEnvironmentResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *EnvironmentResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseCreateEnvironmentResponse

func ParseCreateEnvironmentResponse(rsp *http.Response) (*CreateEnvironmentResponse, error)

ParseCreateEnvironmentResponse parses an HTTP response from a CreateEnvironmentWithResponse call

func (CreateEnvironmentResponse) Status

func (r CreateEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (CreateEnvironmentResponse) StatusCode

func (r CreateEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInvitationsApplicationVndAPIPlusJSONRequestBody

type CreateInvitationsApplicationVndAPIPlusJSONRequestBody = InvitationBulkCreateRequest

CreateInvitationsApplicationVndAPIPlusJSONRequestBody defines body for CreateInvitations for application/vnd.api+json ContentType.

type CreateInvitationsResponse

type CreateInvitationsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *InvitationListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseCreateInvitationsResponse

func ParseCreateInvitationsResponse(rsp *http.Response) (*CreateInvitationsResponse, error)

ParseCreateInvitationsResponse parses an HTTP response from a CreateInvitationsWithResponse call

func (CreateInvitationsResponse) Status

func (r CreateInvitationsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateInvitationsResponse) StatusCode

func (r CreateInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateServiceApplicationVndAPIPlusJSONRequestBody

type CreateServiceApplicationVndAPIPlusJSONRequestBody = ServiceResponse

CreateServiceApplicationVndAPIPlusJSONRequestBody defines body for CreateService for application/vnd.api+json ContentType.

type CreateServiceResponse

type CreateServiceResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *ServiceResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseCreateServiceResponse

func ParseCreateServiceResponse(rsp *http.Response) (*CreateServiceResponse, error)

ParseCreateServiceResponse parses an HTTP response from a CreateServiceWithResponse call

func (CreateServiceResponse) Status

func (r CreateServiceResponse) Status() string

Status returns HTTPResponse.Status

func (CreateServiceResponse) StatusCode

func (r CreateServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSubscriptionApplicationVndAPIPlusJSONRequestBody added in v1.3.30

type CreateSubscriptionApplicationVndAPIPlusJSONRequestBody = CreateSubscriptionBody

CreateSubscriptionApplicationVndAPIPlusJSONRequestBody defines body for CreateSubscription for application/vnd.api+json ContentType.

type CreateSubscriptionAttributes added in v1.3.29

type CreateSubscriptionAttributes struct {
	PaymentMethodId string `json:"payment_method_id"`
	Plan            string `json:"plan"`
	Product         string `json:"product"`
}

CreateSubscriptionAttributes defines model for CreateSubscriptionAttributes.

type CreateSubscriptionBody added in v1.3.29

type CreateSubscriptionBody struct {
	Data CreateSubscriptionData `json:"data"`
}

CreateSubscriptionBody defines model for CreateSubscriptionBody.

type CreateSubscriptionData added in v1.3.29

type CreateSubscriptionData struct {
	Attributes CreateSubscriptionAttributes `json:"attributes"`
	Type       string                       `json:"type"`
}

CreateSubscriptionData defines model for CreateSubscriptionData.

type CreateSubscriptionResponse added in v1.3.30

type CreateSubscriptionResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *SubscriptionResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseCreateSubscriptionResponse added in v1.3.30

func ParseCreateSubscriptionResponse(rsp *http.Response) (*CreateSubscriptionResponse, error)

ParseCreateSubscriptionResponse parses an HTTP response from a CreateSubscriptionWithResponse call

func (CreateSubscriptionResponse) Status added in v1.3.30

Status returns HTTPResponse.Status

func (CreateSubscriptionResponse) StatusCode added in v1.3.30

func (r CreateSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAccountResponse

type DeleteAccountResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseDeleteAccountResponse

func ParseDeleteAccountResponse(rsp *http.Response) (*DeleteAccountResponse, error)

ParseDeleteAccountResponse parses an HTTP response from a DeleteAccountWithResponse call

func (DeleteAccountResponse) Status

func (r DeleteAccountResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAccountResponse) StatusCode

func (r DeleteAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteApiKeyResponse

type DeleteApiKeyResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseDeleteApiKeyResponse

func ParseDeleteApiKeyResponse(rsp *http.Response) (*DeleteApiKeyResponse, error)

ParseDeleteApiKeyResponse parses an HTTP response from a DeleteApiKeyWithResponse call

func (DeleteApiKeyResponse) Status

func (r DeleteApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteApiKeyResponse) StatusCode

func (r DeleteApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteContextResponse added in v1.2.3

type DeleteContextResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseDeleteContextResponse added in v1.2.3

func ParseDeleteContextResponse(rsp *http.Response) (*DeleteContextResponse, error)

ParseDeleteContextResponse parses an HTTP response from a DeleteContextWithResponse call

func (DeleteContextResponse) Status added in v1.2.3

func (r DeleteContextResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteContextResponse) StatusCode added in v1.2.3

func (r DeleteContextResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteContextTypeResponse added in v1.2.3

type DeleteContextTypeResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseDeleteContextTypeResponse added in v1.2.3

func ParseDeleteContextTypeResponse(rsp *http.Response) (*DeleteContextTypeResponse, error)

ParseDeleteContextTypeResponse parses an HTTP response from a DeleteContextTypeWithResponse call

func (DeleteContextTypeResponse) Status added in v1.2.3

func (r DeleteContextTypeResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteContextTypeResponse) StatusCode added in v1.2.3

func (r DeleteContextTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteEnvironmentResponse

type DeleteEnvironmentResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseDeleteEnvironmentResponse

func ParseDeleteEnvironmentResponse(rsp *http.Response) (*DeleteEnvironmentResponse, error)

ParseDeleteEnvironmentResponse parses an HTTP response from a DeleteEnvironmentWithResponse call

func (DeleteEnvironmentResponse) Status

func (r DeleteEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteEnvironmentResponse) StatusCode

func (r DeleteEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteServiceResponse

type DeleteServiceResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseDeleteServiceResponse

func ParseDeleteServiceResponse(rsp *http.Response) (*DeleteServiceResponse, error)

ParseDeleteServiceResponse parses an HTTP response from a DeleteServiceWithResponse call

func (DeleteServiceResponse) Status

func (r DeleteServiceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteServiceResponse) StatusCode

func (r DeleteServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DowngradeSubscriptionApplicationVndAPIPlusJSONRequestBody added in v1.3.38

type DowngradeSubscriptionApplicationVndAPIPlusJSONRequestBody = PlanChangeRequest

DowngradeSubscriptionApplicationVndAPIPlusJSONRequestBody defines body for DowngradeSubscription for application/vnd.api+json ContentType.

type DowngradeSubscriptionResponse added in v1.3.38

type DowngradeSubscriptionResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *SubscriptionResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseDowngradeSubscriptionResponse added in v1.3.38

func ParseDowngradeSubscriptionResponse(rsp *http.Response) (*DowngradeSubscriptionResponse, error)

ParseDowngradeSubscriptionResponse parses an HTTP response from a DowngradeSubscriptionWithResponse call

func (DowngradeSubscriptionResponse) Status added in v1.3.38

Status returns HTTPResponse.Status

func (DowngradeSubscriptionResponse) StatusCode added in v1.3.38

func (r DowngradeSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Environment

type Environment struct {
	Classification *string    `json:"classification,omitempty"`
	Color          *string    `json:"color,omitempty"`
	CreatedAt      *time.Time `json:"created_at,omitempty"`
	Name           string     `json:"name"`
	UpdatedAt      *time.Time `json:"updated_at,omitempty"`
}

Environment defines model for Environment.

type EnvironmentListResponse

type EnvironmentListResponse struct {
	Data []EnvironmentResource `json:"data"`
}

EnvironmentListResponse defines model for EnvironmentListResponse.

type EnvironmentResource

type EnvironmentResource struct {
	Attributes Environment             `json:"attributes"`
	Id         *string                 `json:"id,omitempty"`
	Type       EnvironmentResourceType `json:"type"`
}

EnvironmentResource defines model for EnvironmentResource.

type EnvironmentResourceType added in v1.2.6

type EnvironmentResourceType string

EnvironmentResourceType defines model for EnvironmentResource.Type.

const (
	EnvironmentResourceTypeEnvironment EnvironmentResourceType = "environment"
)

Defines values for EnvironmentResourceType.

func (EnvironmentResourceType) Valid added in v1.2.6

func (e EnvironmentResourceType) Valid() bool

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

type EnvironmentResponse

type EnvironmentResponse struct {
	Data EnvironmentResource `json:"data"`
}

EnvironmentResponse defines model for EnvironmentResponse.

type Error

type Error struct {
	Detail *string                 `json:"detail,omitempty"`
	Source *map[string]interface{} `json:"source,omitempty"`
	Status string                  `json:"status"`
	Title  string                  `json:"title"`
}

Error Single JSON:API error object.

type ErrorResponse

type ErrorResponse struct {
	Errors []Error `json:"errors"`
}

ErrorResponse JSON:API error response envelope.

type ExecuteSetupIntentResponse added in v1.3.30

type ExecuteSetupIntentResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *SetupIntentResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseExecuteSetupIntentResponse added in v1.3.30

func ParseExecuteSetupIntentResponse(rsp *http.Response) (*ExecuteSetupIntentResponse, error)

ParseExecuteSetupIntentResponse parses an HTTP response from a ExecuteSetupIntentWithResponse call

func (ExecuteSetupIntentResponse) Status added in v1.3.30

Status returns HTTPResponse.Status

func (ExecuteSetupIntentResponse) StatusCode added in v1.3.30

func (r ExecuteSetupIntentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAccountResponse

type GetAccountResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *AccountResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseGetAccountResponse

func ParseGetAccountResponse(rsp *http.Response) (*GetAccountResponse, error)

ParseGetAccountResponse parses an HTTP response from a GetAccountWithResponse call

func (GetAccountResponse) Status

func (r GetAccountResponse) Status() string

Status returns HTTPResponse.Status

func (GetAccountResponse) StatusCode

func (r GetAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiKeyResponse

type GetApiKeyResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ApiKeyResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseGetApiKeyResponse

func ParseGetApiKeyResponse(rsp *http.Response) (*GetApiKeyResponse, error)

ParseGetApiKeyResponse parses an HTTP response from a GetApiKeyWithResponse call

func (GetApiKeyResponse) Status

func (r GetApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiKeyResponse) StatusCode

func (r GetApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetContextResponse added in v1.2.3

type GetContextResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ContextResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseGetContextResponse added in v1.2.3

func ParseGetContextResponse(rsp *http.Response) (*GetContextResponse, error)

ParseGetContextResponse parses an HTTP response from a GetContextWithResponse call

func (GetContextResponse) Status added in v1.2.3

func (r GetContextResponse) Status() string

Status returns HTTPResponse.Status

func (GetContextResponse) StatusCode added in v1.2.3

func (r GetContextResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetContextTypeResponse added in v1.2.3

type GetContextTypeResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ContextTypeResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseGetContextTypeResponse added in v1.2.3

func ParseGetContextTypeResponse(rsp *http.Response) (*GetContextTypeResponse, error)

ParseGetContextTypeResponse parses an HTTP response from a GetContextTypeWithResponse call

func (GetContextTypeResponse) Status added in v1.2.3

func (r GetContextTypeResponse) Status() string

Status returns HTTPResponse.Status

func (GetContextTypeResponse) StatusCode added in v1.2.3

func (r GetContextTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCurrentUserResponse

type GetCurrentUserResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *UserResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

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 GetEnvironmentResponse

type GetEnvironmentResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *EnvironmentResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseGetEnvironmentResponse

func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error)

ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call

func (GetEnvironmentResponse) Status

func (r GetEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (GetEnvironmentResponse) StatusCode

func (r GetEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetServiceResponse

type GetServiceResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ServiceResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseGetServiceResponse

func ParseGetServiceResponse(rsp *http.Response) (*GetServiceResponse, error)

ParseGetServiceResponse parses an HTTP response from a GetServiceWithResponse call

func (GetServiceResponse) Status

func (r GetServiceResponse) Status() string

Status returns HTTPResponse.Status

func (GetServiceResponse) StatusCode

func (r GetServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserResponse

type GetUserResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *UserResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseGetUserResponse

func ParseGetUserResponse(rsp *http.Response) (*GetUserResponse, error)

ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call

func (GetUserResponse) Status

func (r GetUserResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserResponse) StatusCode

func (r GetUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HandleOidcCallbackParams

type HandleOidcCallbackParams struct {
	Code             *string `form:"code,omitempty" json:"code,omitempty"`
	State            *string `form:"state,omitempty" json:"state,omitempty"`
	Error            *string `form:"error,omitempty" json:"error,omitempty"`
	ErrorDescription *string `form:"error_description,omitempty" json:"error_description,omitempty"`
}

HandleOidcCallbackParams defines parameters for HandleOidcCallback.

type HandleOidcCallbackResponse

type HandleOidcCallbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON429      *ErrorResponse
}

func ParseHandleOidcCallbackResponse

func ParseHandleOidcCallbackResponse(rsp *http.Response) (*HandleOidcCallbackResponse, error)

ParseHandleOidcCallbackResponse parses an HTTP response from a HandleOidcCallbackWithResponse call

func (HandleOidcCallbackResponse) Status

Status returns HTTPResponse.Status

func (HandleOidcCallbackResponse) StatusCode

func (r HandleOidcCallbackResponse) 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 Invitation

type Invitation struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Email     *string    `json:"email,omitempty"`
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	InvitedBy *string    `json:"invited_by,omitempty"`
	Role      *string    `json:"role,omitempty"`
	Status    *string    `json:"status,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Invitation defines model for Invitation.

type InvitationAcceptRequest added in v1.3.11

type InvitationAcceptRequest struct {
	Token string `json:"token"`
}

InvitationAcceptRequest defines model for InvitationAcceptRequest.

type InvitationBulkCreateRequest

type InvitationBulkCreateRequest struct {
	Invitations []InvitationCreateItem `json:"invitations"`
}

InvitationBulkCreateRequest defines model for InvitationBulkCreateRequest.

type InvitationCreateItem

type InvitationCreateItem struct {
	Email openapi_types.Email `json:"email"`
	Role  *string             `json:"role,omitempty"`
}

InvitationCreateItem defines model for InvitationCreateItem.

type InvitationListResponse

type InvitationListResponse struct {
	Data []InvitationResource `json:"data"`
}

InvitationListResponse defines model for InvitationListResponse.

type InvitationResource

type InvitationResource struct {
	Attributes Invitation             `json:"attributes"`
	Id         *string                `json:"id,omitempty"`
	Type       InvitationResourceType `json:"type"`
}

InvitationResource defines model for InvitationResource.

type InvitationResourceType added in v1.2.6

type InvitationResourceType string

InvitationResourceType defines model for InvitationResource.Type.

const (
	InvitationResourceTypeInvitation InvitationResourceType = "invitation"
)

Defines values for InvitationResourceType.

func (InvitationResourceType) Valid added in v1.2.6

func (e InvitationResourceType) Valid() bool

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

type InvitationResponse

type InvitationResponse struct {
	Data InvitationResource `json:"data"`
}

InvitationResponse defines model for InvitationResponse.

type Invoice added in v1.3.34

type Invoice struct {
	AmountDue        int     `json:"amount_due"`
	AmountPaid       int     `json:"amount_paid"`
	CreatedAt        *string `json:"created_at"`
	Currency         string  `json:"currency"`
	Description      *string `json:"description"`
	HostedInvoiceUrl *string `json:"hosted_invoice_url"`
	InvoicePdf       *string `json:"invoice_pdf"`
	Number           *string `json:"number"`
	PaidAt           *string `json:"paid_at"`
	PeriodEnd        *string `json:"period_end"`
	PeriodStart      *string `json:"period_start"`
	Status           string  `json:"status"`
}

Invoice defines model for Invoice.

type InvoiceListResponse added in v1.3.34

type InvoiceListResponse struct {
	Data []InvoiceResource `json:"data"`
}

InvoiceListResponse defines model for InvoiceListResponse.

type InvoiceResource added in v1.3.34

type InvoiceResource struct {
	Attributes Invoice             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       InvoiceResourceType `json:"type"`
}

InvoiceResource defines model for InvoiceResource.

type InvoiceResourceType added in v1.3.34

type InvoiceResourceType string

InvoiceResourceType defines model for InvoiceResource.Type.

const (
	InvoiceResourceTypeInvoice InvoiceResourceType = "invoice"
)

Defines values for InvoiceResourceType.

func (InvoiceResourceType) Valid added in v1.3.34

func (e InvoiceResourceType) Valid() bool

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

type LimitDefinition added in v1.2.3

type LimitDefinition struct {
	Description   string  `json:"description"`
	DisplayFormat *string `json:"display_format,omitempty"`
	DisplayName   string  `json:"display_name"`
	Unit          string  `json:"unit"`
}

LimitDefinition defines model for LimitDefinition.

type ListApiKeysParams

type ListApiKeysParams struct {
	FilterStatus *string `form:"filter[status],omitempty" json:"filter[status],omitempty"`
}

ListApiKeysParams defines parameters for ListApiKeys.

type ListApiKeysResponse

type ListApiKeysResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ApiKeyListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListApiKeysResponse

func ParseListApiKeysResponse(rsp *http.Response) (*ListApiKeysResponse, error)

ParseListApiKeysResponse parses an HTTP response from a ListApiKeysWithResponse call

func (ListApiKeysResponse) Status

func (r ListApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListApiKeysResponse) StatusCode

func (r ListApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBundlesResponse added in v1.3.43

type ListBundlesResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *BundleListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListBundlesResponse added in v1.3.43

func ParseListBundlesResponse(rsp *http.Response) (*ListBundlesResponse, error)

ParseListBundlesResponse parses an HTTP response from a ListBundlesWithResponse call

func (ListBundlesResponse) Status added in v1.3.43

func (r ListBundlesResponse) Status() string

Status returns HTTPResponse.Status

func (ListBundlesResponse) StatusCode added in v1.3.43

func (r ListBundlesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContextTypesResponse added in v1.2.3

type ListContextTypesResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ContextTypeListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListContextTypesResponse added in v1.2.3

func ParseListContextTypesResponse(rsp *http.Response) (*ListContextTypesResponse, error)

ParseListContextTypesResponse parses an HTTP response from a ListContextTypesWithResponse call

func (ListContextTypesResponse) Status added in v1.2.3

func (r ListContextTypesResponse) Status() string

Status returns HTTPResponse.Status

func (ListContextTypesResponse) StatusCode added in v1.2.3

func (r ListContextTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContextsParams added in v1.2.3

type ListContextsParams struct {
	FilterContextType *string `form:"filter[context_type],omitempty" json:"filter[context_type],omitempty"`
}

ListContextsParams defines parameters for ListContexts.

type ListContextsResponse added in v1.2.3

type ListContextsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ContextListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListContextsResponse added in v1.2.3

func ParseListContextsResponse(rsp *http.Response) (*ListContextsResponse, error)

ParseListContextsResponse parses an HTTP response from a ListContextsWithResponse call

func (ListContextsResponse) Status added in v1.2.3

func (r ListContextsResponse) Status() string

Status returns HTTPResponse.Status

func (ListContextsResponse) StatusCode added in v1.2.3

func (r ListContextsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *EnvironmentListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListEnvironmentsResponse

func ParseListEnvironmentsResponse(rsp *http.Response) (*ListEnvironmentsResponse, error)

ParseListEnvironmentsResponse parses an HTTP response from a ListEnvironmentsWithResponse call

func (ListEnvironmentsResponse) Status

func (r ListEnvironmentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListEnvironmentsResponse) StatusCode

func (r ListEnvironmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInvitationsParams

type ListInvitationsParams struct {
	FilterStatus *string `form:"filter[status],omitempty" json:"filter[status],omitempty"`
}

ListInvitationsParams defines parameters for ListInvitations.

type ListInvitationsResponse

type ListInvitationsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *InvitationListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListInvitationsResponse

func ParseListInvitationsResponse(rsp *http.Response) (*ListInvitationsResponse, error)

ParseListInvitationsResponse parses an HTTP response from a ListInvitationsWithResponse call

func (ListInvitationsResponse) Status

func (r ListInvitationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListInvitationsResponse) StatusCode

func (r ListInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInvoicesResponse added in v1.3.34

type ListInvoicesResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *InvoiceListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListInvoicesResponse added in v1.3.34

func ParseListInvoicesResponse(rsp *http.Response) (*ListInvoicesResponse, error)

ParseListInvoicesResponse parses an HTTP response from a ListInvoicesWithResponse call

func (ListInvoicesResponse) Status added in v1.3.34

func (r ListInvoicesResponse) Status() string

Status returns HTTPResponse.Status

func (ListInvoicesResponse) StatusCode added in v1.3.34

func (r ListInvoicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetricNamesResponse added in v1.3.28

type ListMetricNamesResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *MetricNamesResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListMetricNamesResponse added in v1.3.28

func ParseListMetricNamesResponse(rsp *http.Response) (*ListMetricNamesResponse, error)

ParseListMetricNamesResponse parses an HTTP response from a ListMetricNamesWithResponse call

func (ListMetricNamesResponse) Status added in v1.3.28

func (r ListMetricNamesResponse) Status() string

Status returns HTTPResponse.Status

func (ListMetricNamesResponse) StatusCode added in v1.3.28

func (r ListMetricNamesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetricRollupsParams added in v1.3.26

type ListMetricRollupsParams struct {
	FilterName       string  `form:"filter[name]" json:"filter[name]"`
	FilterRollup     string  `form:"filter[rollup]" json:"filter[rollup]"`
	FilterRecordedAt *string `form:"filter[recorded_at],omitempty" json:"filter[recorded_at],omitempty"`
}

ListMetricRollupsParams defines parameters for ListMetricRollups.

type ListMetricRollupsResponse added in v1.3.26

type ListMetricRollupsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *MetricRollupListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListMetricRollupsResponse added in v1.3.26

func ParseListMetricRollupsResponse(rsp *http.Response) (*ListMetricRollupsResponse, error)

ParseListMetricRollupsResponse parses an HTTP response from a ListMetricRollupsWithResponse call

func (ListMetricRollupsResponse) Status added in v1.3.26

func (r ListMetricRollupsResponse) Status() string

Status returns HTTPResponse.Status

func (ListMetricRollupsResponse) StatusCode added in v1.3.26

func (r ListMetricRollupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetricsParams added in v1.3.26

type ListMetricsParams struct {
	FilterName       string  `form:"filter[name]" json:"filter[name]"`
	FilterRecordedAt *string `form:"filter[recorded_at],omitempty" json:"filter[recorded_at],omitempty"`
}

ListMetricsParams defines parameters for ListMetrics.

type ListMetricsResponse added in v1.3.26

type ListMetricsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *MetricListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListMetricsResponse added in v1.3.26

func ParseListMetricsResponse(rsp *http.Response) (*ListMetricsResponse, error)

ParseListMetricsResponse parses an HTTP response from a ListMetricsWithResponse call

func (ListMetricsResponse) Status added in v1.3.26

func (r ListMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (ListMetricsResponse) StatusCode added in v1.3.26

func (r ListMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPaymentMethodsResponse added in v1.3.29

type ListPaymentMethodsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *PaymentMethodListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListPaymentMethodsResponse added in v1.3.29

func ParseListPaymentMethodsResponse(rsp *http.Response) (*ListPaymentMethodsResponse, error)

ParseListPaymentMethodsResponse parses an HTTP response from a ListPaymentMethodsWithResponse call

func (ListPaymentMethodsResponse) Status added in v1.3.29

Status returns HTTPResponse.Status

func (ListPaymentMethodsResponse) StatusCode added in v1.3.29

func (r ListPaymentMethodsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPlansResponse

type ListPlansResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *PlanListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListPlansResponse

func ParseListPlansResponse(rsp *http.Response) (*ListPlansResponse, error)

ParseListPlansResponse parses an HTTP response from a ListPlansWithResponse call

func (ListPlansResponse) Status

func (r ListPlansResponse) Status() string

Status returns HTTPResponse.Status

func (ListPlansResponse) StatusCode

func (r ListPlansResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListProductsResponse added in v1.2.3

type ListProductsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ProductListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListProductsResponse added in v1.2.3

func ParseListProductsResponse(rsp *http.Response) (*ListProductsResponse, error)

ParseListProductsResponse parses an HTTP response from a ListProductsWithResponse call

func (ListProductsResponse) Status added in v1.2.3

func (r ListProductsResponse) Status() string

Status returns HTTPResponse.Status

func (ListProductsResponse) StatusCode added in v1.2.3

func (r ListProductsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListServicesResponse

type ListServicesResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ServiceListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListServicesResponse

func ParseListServicesResponse(rsp *http.Response) (*ListServicesResponse, error)

ParseListServicesResponse parses an HTTP response from a ListServicesWithResponse call

func (ListServicesResponse) Status

func (r ListServicesResponse) Status() string

Status returns HTTPResponse.Status

func (ListServicesResponse) StatusCode

func (r ListServicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSubscriptionsResponse added in v1.3.30

type ListSubscriptionsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *SubscriptionListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListSubscriptionsResponse added in v1.3.30

func ParseListSubscriptionsResponse(rsp *http.Response) (*ListSubscriptionsResponse, error)

ParseListSubscriptionsResponse parses an HTTP response from a ListSubscriptionsWithResponse call

func (ListSubscriptionsResponse) Status added in v1.3.30

func (r ListSubscriptionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSubscriptionsResponse) StatusCode added in v1.3.30

func (r ListSubscriptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUsersParams

type ListUsersParams struct {
	FilterAccount *string `form:"filter[account],omitempty" json:"filter[account],omitempty"`
	FilterEmail   *string `form:"filter[email],omitempty" json:"filter[email],omitempty"`
}

ListUsersParams defines parameters for ListUsers.

type ListUsersResponse

type ListUsersResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *UserListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseListUsersResponse

func ParseListUsersResponse(rsp *http.Response) (*ListUsersResponse, error)

ParseListUsersResponse parses an HTTP response from a ListUsersWithResponse call

func (ListUsersResponse) Status

func (r ListUsersResponse) Status() string

Status returns HTTPResponse.Status

func (ListUsersResponse) StatusCode

func (r ListUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LoginJSONRequestBody

type LoginJSONRequestBody = LoginRequest

LoginJSONRequestBody defines body for Login for application/json ContentType.

type LoginRequest

type LoginRequest struct {
	Email    openapi_types.Email `json:"email"`
	Password string              `json:"password"`
}

LoginRequest defines model for LoginRequest.

type LoginResponse

type LoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthTokenResponse
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON429      *ErrorResponse
}

func ParseLoginResponse

func ParseLoginResponse(rsp *http.Response) (*LoginResponse, error)

ParseLoginResponse parses an HTTP response from a LoginWithResponse call

func (LoginResponse) Status

func (r LoginResponse) Status() string

Status returns HTTPResponse.Status

func (LoginResponse) StatusCode

func (r LoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MetricAttributes added in v1.3.26

type MetricAttributes struct {
	CreatedAt     *time.Time             `json:"created_at,omitempty"`
	Dimensions    *map[string]string     `json:"dimensions,omitempty"`
	Name          string                 `json:"name"`
	PeriodSeconds int                    `json:"period_seconds"`
	RecordedAt    time.Time              `json:"recorded_at"`
	Unit          *string                `json:"unit,omitempty"`
	Value         MetricAttributes_Value `json:"value"`
}

MetricAttributes defines model for MetricAttributes.

type MetricAttributesValue0 added in v1.3.26

type MetricAttributesValue0 = float32

MetricAttributesValue0 defines model for .

type MetricAttributesValue1 added in v1.3.26

type MetricAttributesValue1 = string

MetricAttributesValue1 defines model for .

type MetricAttributes_Value added in v1.3.26

type MetricAttributes_Value struct {
	// contains filtered or unexported fields
}

MetricAttributes_Value defines model for MetricAttributes.Value.

func (MetricAttributes_Value) AsMetricAttributesValue0 added in v1.3.26

func (t MetricAttributes_Value) AsMetricAttributesValue0() (MetricAttributesValue0, error)

AsMetricAttributesValue0 returns the union data inside the MetricAttributes_Value as a MetricAttributesValue0

func (MetricAttributes_Value) AsMetricAttributesValue1 added in v1.3.26

func (t MetricAttributes_Value) AsMetricAttributesValue1() (MetricAttributesValue1, error)

AsMetricAttributesValue1 returns the union data inside the MetricAttributes_Value as a MetricAttributesValue1

func (*MetricAttributes_Value) FromMetricAttributesValue0 added in v1.3.26

func (t *MetricAttributes_Value) FromMetricAttributesValue0(v MetricAttributesValue0) error

FromMetricAttributesValue0 overwrites any union data inside the MetricAttributes_Value as the provided MetricAttributesValue0

func (*MetricAttributes_Value) FromMetricAttributesValue1 added in v1.3.26

func (t *MetricAttributes_Value) FromMetricAttributesValue1(v MetricAttributesValue1) error

FromMetricAttributesValue1 overwrites any union data inside the MetricAttributes_Value as the provided MetricAttributesValue1

func (MetricAttributes_Value) MarshalJSON added in v1.3.26

func (t MetricAttributes_Value) MarshalJSON() ([]byte, error)

func (*MetricAttributes_Value) MergeMetricAttributesValue0 added in v1.3.26

func (t *MetricAttributes_Value) MergeMetricAttributesValue0(v MetricAttributesValue0) error

MergeMetricAttributesValue0 performs a merge with any union data inside the MetricAttributes_Value, using the provided MetricAttributesValue0

func (*MetricAttributes_Value) MergeMetricAttributesValue1 added in v1.3.26

func (t *MetricAttributes_Value) MergeMetricAttributesValue1(v MetricAttributesValue1) error

MergeMetricAttributesValue1 performs a merge with any union data inside the MetricAttributes_Value, using the provided MetricAttributesValue1

func (*MetricAttributes_Value) UnmarshalJSON added in v1.3.26

func (t *MetricAttributes_Value) UnmarshalJSON(b []byte) error

type MetricBulkRequest added in v1.3.26

type MetricBulkRequest struct {
	Data []MetricResource `json:"data"`
}

MetricBulkRequest defines model for MetricBulkRequest.

type MetricListResponse added in v1.3.26

type MetricListResponse struct {
	Data []MetricResource `json:"data"`
}

MetricListResponse defines model for MetricListResponse.

type MetricNameItem added in v1.3.28

type MetricNameItem struct {
	Name string  `json:"name"`
	Unit *string `json:"unit,omitempty"`
}

MetricNameItem defines model for MetricNameItem.

type MetricNamesResponse added in v1.3.28

type MetricNamesResponse struct {
	Data []MetricNameItem `json:"data"`
}

MetricNamesResponse defines model for MetricNamesResponse.

type MetricResource added in v1.3.26

type MetricResource struct {
	Attributes MetricAttributes   `json:"attributes"`
	Id         *string            `json:"id,omitempty"`
	Type       MetricResourceType `json:"type"`
}

MetricResource defines model for MetricResource.

type MetricResourceType added in v1.3.26

type MetricResourceType string

MetricResourceType defines model for MetricResource.Type.

const (
	Metric MetricResourceType = "metric"
)

Defines values for MetricResourceType.

func (MetricResourceType) Valid added in v1.3.26

func (e MetricResourceType) Valid() bool

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

type MetricRollupAttributes added in v1.3.26

type MetricRollupAttributes struct {
	Bucket time.Time `json:"bucket"`
	Name   string    `json:"name"`
	Rollup string    `json:"rollup"`
	Unit   *string   `json:"unit,omitempty"`
	Value  string    `json:"value"`
}

MetricRollupAttributes defines model for MetricRollupAttributes.

type MetricRollupListResponse added in v1.3.26

type MetricRollupListResponse struct {
	Data []MetricRollupResource `json:"data"`
}

MetricRollupListResponse defines model for MetricRollupListResponse.

type MetricRollupResource added in v1.3.26

type MetricRollupResource struct {
	Attributes MetricRollupAttributes   `json:"attributes"`
	Type       MetricRollupResourceType `json:"type"`
}

MetricRollupResource defines model for MetricRollupResource.

type MetricRollupResourceType added in v1.3.26

type MetricRollupResourceType string

MetricRollupResourceType defines model for MetricRollupResource.Type.

const (
	MetricRollup MetricRollupResourceType = "metric_rollup"
)

Defines values for MetricRollupResourceType.

func (MetricRollupResourceType) Valid added in v1.3.26

func (e MetricRollupResourceType) Valid() bool

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

type OidcProvider

type OidcProvider string

OidcProvider defines model for OidcProvider.

const (
	Google    OidcProvider = "google"
	Microsoft OidcProvider = "microsoft"
)

Defines values for OidcProvider.

func (OidcProvider) Valid

func (e OidcProvider) Valid() bool

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

type PaymentMethodAttributes added in v1.3.37

type PaymentMethodAttributes struct {
	Brand     string `json:"brand"`
	ExpMonth  int    `json:"exp_month"`
	ExpYear   int    `json:"exp_year"`
	IsDefault bool   `json:"is_default"`
	Last4     string `json:"last4"`
}

PaymentMethodAttributes defines model for PaymentMethodAttributes.

type PaymentMethodListResponse added in v1.3.37

type PaymentMethodListResponse struct {
	Data []PaymentMethodResource `json:"data"`
}

PaymentMethodListResponse defines model for PaymentMethodListResponse.

type PaymentMethodResource added in v1.3.37

type PaymentMethodResource struct {
	Attributes PaymentMethodAttributes   `json:"attributes"`
	Id         *string                   `json:"id,omitempty"`
	Type       PaymentMethodResourceType `json:"type"`
}

PaymentMethodResource defines model for PaymentMethodResource.

type PaymentMethodResourceType added in v1.3.37

type PaymentMethodResourceType string

PaymentMethodResourceType defines model for PaymentMethodResource.Type.

const (
	PaymentMethodResourceTypePaymentMethod PaymentMethodResourceType = "payment_method"
)

Defines values for PaymentMethodResourceType.

func (PaymentMethodResourceType) Valid added in v1.3.37

func (e PaymentMethodResourceType) Valid() bool

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

type Plan

type Plan struct {
	Description string `json:"description"`
	DisplayName string `json:"display_name"`
	SortOrder   int    `json:"sort_order"`
}

Plan defines model for Plan.

type PlanChangeRequest added in v1.3.38

type PlanChangeRequest struct {
	Plan string `json:"plan"`
}

PlanChangeRequest defines model for PlanChangeRequest.

type PlanDefinition added in v1.2.3

type PlanDefinition struct {
	Limits            map[string]int `json:"limits"`
	PriceMonthlyCents int            `json:"price_monthly_cents"`
}

PlanDefinition defines model for PlanDefinition.

type PlanListResponse

type PlanListResponse struct {
	Data []PlanResource `json:"data"`
}

PlanListResponse defines model for PlanListResponse.

type PlanResource

type PlanResource struct {
	Attributes Plan             `json:"attributes"`
	Id         *string          `json:"id,omitempty"`
	Type       PlanResourceType `json:"type"`
}

PlanResource defines model for PlanResource.

type PlanResourceType added in v1.2.6

type PlanResourceType string

PlanResourceType defines model for PlanResource.Type.

const (
	PlanResourceTypePlan PlanResourceType = "plan"
)

Defines values for PlanResourceType.

func (PlanResourceType) Valid added in v1.2.6

func (e PlanResourceType) Valid() bool

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

type Product added in v1.2.3

type Product struct {
	ComingSoon  *bool                      `json:"coming_soon,omitempty"`
	Description string                     `json:"description"`
	DisplayName string                     `json:"display_name"`
	Limits      map[string]LimitDefinition `json:"limits"`
	Plans       map[string]PlanDefinition  `json:"plans"`
}

Product defines model for Product.

type ProductListResponse added in v1.2.3

type ProductListResponse struct {
	Data []ProductResource `json:"data"`
}

ProductListResponse defines model for ProductListResponse.

type ProductResource added in v1.2.3

type ProductResource struct {
	Attributes Product             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       ProductResourceType `json:"type"`
}

ProductResource defines model for ProductResource.

type ProductResourceType added in v1.2.6

type ProductResourceType string

ProductResourceType defines model for ProductResource.Type.

const (
	ProductResourceTypeProduct ProductResourceType = "product"
)

Defines values for ProductResourceType.

func (ProductResourceType) Valid added in v1.2.6

func (e ProductResourceType) Valid() bool

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

type RegisterJSONRequestBody

type RegisterJSONRequestBody = RegisterRequest

RegisterJSONRequestBody defines body for Register for application/json ContentType.

type RegisterRequest

type RegisterRequest struct {
	Email    openapi_types.Email `json:"email"`
	Password string              `json:"password"`
}

RegisterRequest defines model for RegisterRequest.

type RegisterResponse

type RegisterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthTokenResponse
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON429      *ErrorResponse
}

func ParseRegisterResponse

func ParseRegisterResponse(rsp *http.Response) (*RegisterResponse, error)

ParseRegisterResponse parses an HTTP response from a RegisterWithResponse call

func (RegisterResponse) Status

func (r RegisterResponse) Status() string

Status returns HTTPResponse.Status

func (RegisterResponse) StatusCode

func (r RegisterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveUserResponse

type RemoveUserResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseRemoveUserResponse

func ParseRemoveUserResponse(rsp *http.Response) (*RemoveUserResponse, error)

ParseRemoveUserResponse parses an HTTP response from a RemoveUserWithResponse call

func (RemoveUserResponse) Status

func (r RemoveUserResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveUserResponse) StatusCode

func (r RemoveUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type ResendInvitationResponse

type ResendInvitationResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *InvitationResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseResendInvitationResponse

func ParseResendInvitationResponse(rsp *http.Response) (*ResendInvitationResponse, error)

ParseResendInvitationResponse parses an HTTP response from a ResendInvitationWithResponse call

func (ResendInvitationResponse) Status

func (r ResendInvitationResponse) Status() string

Status returns HTTPResponse.Status

func (ResendInvitationResponse) StatusCode

func (r ResendInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResendVerificationResponse added in v1.3.12

type ResendVerificationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON429      *ErrorResponse
}

func ParseResendVerificationResponse added in v1.3.12

func ParseResendVerificationResponse(rsp *http.Response) (*ResendVerificationResponse, error)

ParseResendVerificationResponse parses an HTTP response from a ResendVerificationWithResponse call

func (ResendVerificationResponse) Status added in v1.3.12

Status returns HTTPResponse.Status

func (ResendVerificationResponse) StatusCode added in v1.3.12

func (r ResendVerificationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeApiKeyResponse

type RevokeApiKeyResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ApiKeyResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseRevokeApiKeyResponse

func ParseRevokeApiKeyResponse(rsp *http.Response) (*RevokeApiKeyResponse, error)

ParseRevokeApiKeyResponse parses an HTTP response from a RevokeApiKeyWithResponse call

func (RevokeApiKeyResponse) Status

func (r RevokeApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeApiKeyResponse) StatusCode

func (r RevokeApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeInvitationResponse

type RevokeInvitationResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *InvitationResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseRevokeInvitationResponse

func ParseRevokeInvitationResponse(rsp *http.Response) (*RevokeInvitationResponse, error)

ParseRevokeInvitationResponse parses an HTTP response from a RevokeInvitationWithResponse call

func (RevokeInvitationResponse) Status

func (r RevokeInvitationResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeInvitationResponse) StatusCode

func (r RevokeInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Service

type Service struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Name      string     `json:"name"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Service defines model for Service.

type ServiceListResponse

type ServiceListResponse struct {
	Data []ServiceResource `json:"data"`
}

ServiceListResponse defines model for ServiceListResponse.

type ServiceResource

type ServiceResource struct {
	Attributes Service             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       ServiceResourceType `json:"type"`
}

ServiceResource defines model for ServiceResource.

type ServiceResourceType added in v1.2.6

type ServiceResourceType string

ServiceResourceType defines model for ServiceResource.Type.

const (
	ServiceResourceTypeService ServiceResourceType = "service"
)

Defines values for ServiceResourceType.

func (ServiceResourceType) Valid added in v1.2.6

func (e ServiceResourceType) Valid() bool

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

type ServiceResponse

type ServiceResponse struct {
	Data ServiceResource `json:"data"`
}

ServiceResponse defines model for ServiceResponse.

type SetDefaultPaymentMethodApplicationVndAPIPlusJSONRequestBody added in v1.3.40

type SetDefaultPaymentMethodApplicationVndAPIPlusJSONRequestBody = SetDefaultPaymentMethodRequest

SetDefaultPaymentMethodApplicationVndAPIPlusJSONRequestBody defines body for SetDefaultPaymentMethod for application/vnd.api+json ContentType.

type SetDefaultPaymentMethodAttributes added in v1.3.40

type SetDefaultPaymentMethodAttributes struct {
	PaymentMethodId string `json:"payment_method_id"`
}

SetDefaultPaymentMethodAttributes defines model for SetDefaultPaymentMethodAttributes.

type SetDefaultPaymentMethodData added in v1.3.40

type SetDefaultPaymentMethodData struct {
	Attributes SetDefaultPaymentMethodAttributes `json:"attributes"`
	Type       SetDefaultPaymentMethodDataType   `json:"type"`
}

SetDefaultPaymentMethodData defines model for SetDefaultPaymentMethodData.

type SetDefaultPaymentMethodDataType added in v1.3.40

type SetDefaultPaymentMethodDataType string

SetDefaultPaymentMethodDataType defines model for SetDefaultPaymentMethodData.Type.

const (
	SetDefaultPaymentMethodDataTypePaymentMethod SetDefaultPaymentMethodDataType = "payment_method"
)

Defines values for SetDefaultPaymentMethodDataType.

func (SetDefaultPaymentMethodDataType) Valid added in v1.3.40

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

type SetDefaultPaymentMethodRequest added in v1.3.40

type SetDefaultPaymentMethodRequest struct {
	Data SetDefaultPaymentMethodData `json:"data"`
}

SetDefaultPaymentMethodRequest defines model for SetDefaultPaymentMethodRequest.

type SetDefaultPaymentMethodResponse added in v1.3.40

type SetDefaultPaymentMethodResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *PaymentMethodListResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseSetDefaultPaymentMethodResponse added in v1.3.40

func ParseSetDefaultPaymentMethodResponse(rsp *http.Response) (*SetDefaultPaymentMethodResponse, error)

ParseSetDefaultPaymentMethodResponse parses an HTTP response from a SetDefaultPaymentMethodWithResponse call

func (SetDefaultPaymentMethodResponse) Status added in v1.3.40

Status returns HTTPResponse.Status

func (SetDefaultPaymentMethodResponse) StatusCode added in v1.3.40

func (r SetDefaultPaymentMethodResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetupIntentAttributes added in v1.3.37

type SetupIntentAttributes struct {
	ClientSecret string `json:"client_secret"`
}

SetupIntentAttributes defines model for SetupIntentAttributes.

type SetupIntentResource added in v1.3.37

type SetupIntentResource struct {
	Attributes SetupIntentAttributes   `json:"attributes"`
	Type       SetupIntentResourceType `json:"type"`
}

SetupIntentResource defines model for SetupIntentResource.

type SetupIntentResourceType added in v1.3.37

type SetupIntentResourceType string

SetupIntentResourceType defines model for SetupIntentResource.Type.

const (
	SetupIntent SetupIntentResourceType = "setup_intent"
)

Defines values for SetupIntentResourceType.

func (SetupIntentResourceType) Valid added in v1.3.37

func (e SetupIntentResourceType) Valid() bool

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

type SetupIntentResponse added in v1.3.37

type SetupIntentResponse struct {
	Data SetupIntentResource `json:"data"`
}

SetupIntentResponse defines model for SetupIntentResponse.

type SubscriptionAttributes added in v1.3.37

type SubscriptionAttributes struct {
	Bundle           *string `json:"bundle,omitempty"`
	ClientSecret     *string `json:"client_secret,omitempty"`
	Comped           bool    `json:"comped"`
	CurrentPeriodEnd *string `json:"current_period_end,omitempty"`
	Plan             string  `json:"plan"`
	Product          string  `json:"product"`
	Status           *string `json:"status,omitempty"`
	StripeManaged    bool    `json:"stripe_managed"`
}

SubscriptionAttributes defines model for SubscriptionAttributes.

type SubscriptionListResponse added in v1.3.37

type SubscriptionListResponse struct {
	Data []SubscriptionResource `json:"data"`
}

SubscriptionListResponse defines model for SubscriptionListResponse.

type SubscriptionResource added in v1.3.37

type SubscriptionResource struct {
	Attributes SubscriptionAttributes   `json:"attributes"`
	Id         *string                  `json:"id,omitempty"`
	Type       SubscriptionResourceType `json:"type"`
}

SubscriptionResource defines model for SubscriptionResource.

type SubscriptionResourceType added in v1.3.37

type SubscriptionResourceType string

SubscriptionResourceType defines model for SubscriptionResource.Type.

const (
	Subscription SubscriptionResourceType = "subscription"
)

Defines values for SubscriptionResourceType.

func (SubscriptionResourceType) Valid added in v1.3.37

func (e SubscriptionResourceType) Valid() bool

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

type SubscriptionResponse added in v1.3.37

type SubscriptionResponse struct {
	Data SubscriptionResource `json:"data"`
}

SubscriptionResponse defines model for SubscriptionResponse.

type UpdateAccountApplicationVndAPIPlusJSONRequestBody

type UpdateAccountApplicationVndAPIPlusJSONRequestBody = AccountResponse

UpdateAccountApplicationVndAPIPlusJSONRequestBody defines body for UpdateAccount for application/vnd.api+json ContentType.

type UpdateAccountResponse

type UpdateAccountResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *AccountResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseUpdateAccountResponse

func ParseUpdateAccountResponse(rsp *http.Response) (*UpdateAccountResponse, error)

ParseUpdateAccountResponse parses an HTTP response from a UpdateAccountWithResponse call

func (UpdateAccountResponse) Status

func (r UpdateAccountResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAccountResponse) StatusCode

func (r UpdateAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateApiKeyApplicationVndAPIPlusJSONRequestBody

type UpdateApiKeyApplicationVndAPIPlusJSONRequestBody = ApiKeyResponse

UpdateApiKeyApplicationVndAPIPlusJSONRequestBody defines body for UpdateApiKey for application/vnd.api+json ContentType.

type UpdateApiKeyResponse

type UpdateApiKeyResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ApiKeyResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseUpdateApiKeyResponse

func ParseUpdateApiKeyResponse(rsp *http.Response) (*UpdateApiKeyResponse, error)

ParseUpdateApiKeyResponse parses an HTTP response from a UpdateApiKeyWithResponse call

func (UpdateApiKeyResponse) Status

func (r UpdateApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateApiKeyResponse) StatusCode

func (r UpdateApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateContextTypeApplicationVndAPIPlusJSONRequestBody added in v1.2.3

type UpdateContextTypeApplicationVndAPIPlusJSONRequestBody = ContextTypeResponse

UpdateContextTypeApplicationVndAPIPlusJSONRequestBody defines body for UpdateContextType for application/vnd.api+json ContentType.

type UpdateContextTypeResponse added in v1.2.3

type UpdateContextTypeResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ContextTypeResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseUpdateContextTypeResponse added in v1.2.3

func ParseUpdateContextTypeResponse(rsp *http.Response) (*UpdateContextTypeResponse, error)

ParseUpdateContextTypeResponse parses an HTTP response from a UpdateContextTypeWithResponse call

func (UpdateContextTypeResponse) Status added in v1.2.3

func (r UpdateContextTypeResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateContextTypeResponse) StatusCode added in v1.2.3

func (r UpdateContextTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody

type UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody = UserResponse

UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody defines body for UpdateCurrentUser for application/vnd.api+json ContentType.

type UpdateCurrentUserResponse

type UpdateCurrentUserResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *UserResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseUpdateCurrentUserResponse

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

ParseUpdateCurrentUserResponse parses an HTTP response from a UpdateCurrentUserWithResponse call

func (UpdateCurrentUserResponse) Status

func (r UpdateCurrentUserResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateCurrentUserResponse) StatusCode

func (r UpdateCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody

type UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody = EnvironmentResponse

UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody defines body for UpdateEnvironment for application/vnd.api+json ContentType.

type UpdateEnvironmentResponse

type UpdateEnvironmentResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *EnvironmentResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseUpdateEnvironmentResponse

func ParseUpdateEnvironmentResponse(rsp *http.Response) (*UpdateEnvironmentResponse, error)

ParseUpdateEnvironmentResponse parses an HTTP response from a UpdateEnvironmentWithResponse call

func (UpdateEnvironmentResponse) Status

func (r UpdateEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateEnvironmentResponse) StatusCode

func (r UpdateEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateServiceApplicationVndAPIPlusJSONRequestBody

type UpdateServiceApplicationVndAPIPlusJSONRequestBody = ServiceResponse

UpdateServiceApplicationVndAPIPlusJSONRequestBody defines body for UpdateService for application/vnd.api+json ContentType.

type UpdateServiceResponse

type UpdateServiceResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *ServiceResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseUpdateServiceResponse

func ParseUpdateServiceResponse(rsp *http.Response) (*UpdateServiceResponse, error)

ParseUpdateServiceResponse parses an HTTP response from a UpdateServiceWithResponse call

func (UpdateServiceResponse) Status

func (r UpdateServiceResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateServiceResponse) StatusCode

func (r UpdateServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateUserRoleApplicationVndAPIPlusJSONRequestBody

type UpdateUserRoleApplicationVndAPIPlusJSONRequestBody = UserResponse

UpdateUserRoleApplicationVndAPIPlusJSONRequestBody defines body for UpdateUserRole for application/vnd.api+json ContentType.

type UpdateUserRoleResponse

type UpdateUserRoleResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *UserResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseUpdateUserRoleResponse

func ParseUpdateUserRoleResponse(rsp *http.Response) (*UpdateUserRoleResponse, error)

ParseUpdateUserRoleResponse parses an HTTP response from a UpdateUserRoleWithResponse call

func (UpdateUserRoleResponse) Status

func (r UpdateUserRoleResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateUserRoleResponse) StatusCode

func (r UpdateUserRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpgradeSubscriptionApplicationVndAPIPlusJSONRequestBody added in v1.3.38

type UpgradeSubscriptionApplicationVndAPIPlusJSONRequestBody = PlanChangeRequest

UpgradeSubscriptionApplicationVndAPIPlusJSONRequestBody defines body for UpgradeSubscription for application/vnd.api+json ContentType.

type UpgradeSubscriptionResponse added in v1.3.38

type UpgradeSubscriptionResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *SubscriptionResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseUpgradeSubscriptionResponse added in v1.3.38

func ParseUpgradeSubscriptionResponse(rsp *http.Response) (*UpgradeSubscriptionResponse, error)

ParseUpgradeSubscriptionResponse parses an HTTP response from a UpgradeSubscriptionWithResponse call

func (UpgradeSubscriptionResponse) Status added in v1.3.38

Status returns HTTPResponse.Status

func (UpgradeSubscriptionResponse) StatusCode added in v1.3.38

func (r UpgradeSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type User

type User struct {
	// Account Account UUID
	Account      *string    `json:"account,omitempty"`
	AuthProvider *string    `json:"auth_provider,omitempty"`
	CreatedAt    *time.Time `json:"created_at,omitempty"`
	DisplayName  string     `json:"display_name"`

	// Email User's email address
	Email         openapi_types.Email `json:"email"`
	EmailVerified *bool               `json:"email_verified,omitempty"`
	ProfilePic    *string             `json:"profile_pic,omitempty"`

	// Role Role in current account context
	Role *string `json:"role,omitempty"`
}

User defines model for User.

type UserListResponse

type UserListResponse struct {
	Data []UserResource `json:"data"`
}

UserListResponse defines model for UserListResponse.

type UserResource

type UserResource struct {
	Attributes User             `json:"attributes"`
	Id         *string          `json:"id,omitempty"`
	Type       UserResourceType `json:"type"`
}

UserResource defines model for UserResource.

type UserResourceType added in v1.2.6

type UserResourceType string

UserResourceType defines model for UserResource.Type.

const (
	UserResourceTypeUser UserResourceType = "user"
)

Defines values for UserResourceType.

func (UserResourceType) Valid added in v1.2.6

func (e UserResourceType) Valid() bool

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

type UserResponse

type UserResponse struct {
	Data UserResource `json:"data"`
}

UserResponse defines model for UserResponse.

type VerifyEmailJSONRequestBody added in v1.3.12

type VerifyEmailJSONRequestBody = VerifyEmailRequest

VerifyEmailJSONRequestBody defines body for VerifyEmail for application/json ContentType.

type VerifyEmailRequest added in v1.3.12

type VerifyEmailRequest struct {
	Token string `json:"token"`
}

VerifyEmailRequest defines model for VerifyEmailRequest.

type VerifyEmailResponse added in v1.3.12

type VerifyEmailResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthTokenResponse
	JSON400      *ErrorResponse
	JSON401      *ErrorResponse
	JSON404      *ErrorResponse
	JSON429      *ErrorResponse
}

func ParseVerifyEmailResponse added in v1.3.12

func ParseVerifyEmailResponse(rsp *http.Response) (*VerifyEmailResponse, error)

ParseVerifyEmailResponse parses an HTTP response from a VerifyEmailWithResponse call

func (VerifyEmailResponse) Status added in v1.3.12

func (r VerifyEmailResponse) Status() string

Status returns HTTPResponse.Status

func (VerifyEmailResponse) StatusCode added in v1.3.12

func (r VerifyEmailResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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