app

package
v3.0.35 Latest Latest
Warning

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

Go to latest
Published: May 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.7.0 DO NOT EDIT.

Index

Constants

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

Variables

This section is empty.

Functions

func NewAcceptInvitationRequestWithApplicationVndAPIPlusJSONBody

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

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

func NewAcceptInvitationRequestWithBody

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

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

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

func NewBulkIngestMetricsRequestWithBody

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

NewBulkIngestMetricsRequestWithBody generates requests for BulkIngestMetrics with any type of body

func NewBulkRegisterContextsRequestWithApplicationVndAPIPlusJSONBody

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

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

func NewBulkRegisterContextsRequestWithBody

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

NewBulkRegisterContextsRequestWithBody generates requests for BulkRegisterContexts with any type of body

func NewCancelSubscriptionRequest

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 NewCreateContextTypeRequestWithApplicationVndAPIPlusJSONBody

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

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

func NewCreateContextTypeRequestWithBody

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

NewCreateContextTypeRequestWithBody generates requests for CreateContextType with any type of body

func NewCreateEmailRegistrationRequestWithApplicationVndAPIPlusJSONBody

func NewCreateEmailRegistrationRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateEmailRegistrationApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateEmailRegistrationRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateEmailRegistration builder with application/vnd.api+json body

func NewCreateEmailRegistrationRequestWithBody

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

NewCreateEmailRegistrationRequestWithBody generates requests for CreateEmailRegistration 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 NewCreatePaymentMethodRequestWithApplicationVndAPIPlusJSONBody

func NewCreatePaymentMethodRequestWithApplicationVndAPIPlusJSONBody(server string, body CreatePaymentMethodApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreatePaymentMethodRequestWithApplicationVndAPIPlusJSONBody calls the generic CreatePaymentMethod builder with application/vnd.api+json body

func NewCreatePaymentMethodRequestWithBody

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

NewCreatePaymentMethodRequestWithBody generates requests for CreatePaymentMethod 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

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

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

func NewCreateSubscriptionRequestWithBody

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

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

NewDeleteContextRequest generates requests for DeleteContext

func NewDeleteContextTypeRequest

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 NewDeletePaymentMethodRequest

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

NewDeletePaymentMethodRequest generates requests for DeletePaymentMethod

func NewDeleteServiceRequest

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

NewDeleteServiceRequest generates requests for DeleteService

func NewDowngradeSubscriptionRequestWithApplicationVndAPIPlusJSONBody

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

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

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 NewGetAccountSettingsRequest

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

NewGetAccountSettingsRequest generates requests for GetAccountSettings

func NewGetApiKeyRequest

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

NewGetApiKeyRequest generates requests for GetApiKey

func NewGetContextRequest

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

NewGetContextRequest generates requests for GetContext

func NewGetContextTypeRequest

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 NewGetInvoiceRequest

func NewGetInvoiceRequest(server string, invoiceId string) (*http.Request, error)

NewGetInvoiceRequest generates requests for GetInvoice

func NewGetPaymentMethodRequest

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

NewGetPaymentMethodRequest generates requests for GetPaymentMethod

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 NewGetUserSettingsRequest

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

NewGetUserSettingsRequest generates requests for GetUserSettings

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 NewListContextTypesRequest

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

NewListContextTypesRequest generates requests for ListContextTypes

func NewListContextsRequest

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

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

NewListInvoicesRequest generates requests for ListInvoices

func NewListMetricNamesRequest

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

NewListMetricNamesRequest generates requests for ListMetricNames

func NewListMetricRollupsRequest

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

NewListMetricRollupsRequest generates requests for ListMetricRollups

func NewListMetricsRequest

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

NewListMetricsRequest generates requests for ListMetrics

func NewListPaymentMethodsRequest

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

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

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 NewPutAccountSettingsRequest

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

NewPutAccountSettingsRequest generates requests for PutAccountSettings

func NewPutUserSettingsKeyRequest

func NewPutUserSettingsKeyRequest(server string, key string) (*http.Request, error)

NewPutUserSettingsKeyRequest generates requests for PutUserSettingsKey

func NewPutUserSettingsRequest

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

NewPutUserSettingsRequest generates requests for PutUserSettings

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

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 NewSendContactEmailRequestWithApplicationVndAPIPlusJSONBody

func NewSendContactEmailRequestWithApplicationVndAPIPlusJSONBody(server string, body SendContactEmailApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewSendContactEmailRequestWithApplicationVndAPIPlusJSONBody calls the generic SendContactEmail builder with application/vnd.api+json body

func NewSendContactEmailRequestWithBody

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

NewSendContactEmailRequestWithBody generates requests for SendContactEmail with any type of body

func NewSetDefaultPaymentMethodRequest

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

NewSetDefaultPaymentMethodRequest generates requests for SetDefaultPaymentMethod

func NewUncancelSubscriptionRequest

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

NewUncancelSubscriptionRequest generates requests for UncancelSubscription

func NewUndowngradeSubscriptionRequest

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

NewUndowngradeSubscriptionRequest generates requests for UndowngradeSubscription

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 NewUpdateContextRequestWithApplicationVndAPIPlusJSONBody

func NewUpdateContextRequestWithApplicationVndAPIPlusJSONBody(server string, id string, body UpdateContextApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateContextRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateContext builder with application/vnd.api+json body

func NewUpdateContextRequestWithBody

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

NewUpdateContextRequestWithBody generates requests for UpdateContext with any type of body

func NewUpdateContextTypeRequestWithApplicationVndAPIPlusJSONBody

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

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 NewUpdatePaymentMethodRequestWithApplicationVndAPIPlusJSONBody

func NewUpdatePaymentMethodRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body UpdatePaymentMethodApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdatePaymentMethodRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdatePaymentMethod builder with application/vnd.api+json body

func NewUpdatePaymentMethodRequestWithBody

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

NewUpdatePaymentMethodRequestWithBody generates requests for UpdatePaymentMethod 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

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

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

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

NewVerifyEmailRequest calls the generic VerifyEmail builder with application/json body

func NewVerifyEmailRequestWithBody

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

NewVerifyEmailRequestWithBody generates requests for VerifyEmail with any type of body

func NewWipeAccountDataRequestWithApplicationVndAPIPlusJSONBody

func NewWipeAccountDataRequestWithApplicationVndAPIPlusJSONBody(server string, body WipeAccountDataApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewWipeAccountDataRequestWithApplicationVndAPIPlusJSONBody calls the generic WipeAccountData builder with application/vnd.api+json body

func NewWipeAccountDataRequestWithBody

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

NewWipeAccountDataRequestWithBody generates requests for WipeAccountData with any type of body

Types

type AcceptInvitationApplicationVndAPIPlusJSONRequestBody

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

func (r AcceptInvitationResponse) ContentType() string

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

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 When the account was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// DeletedAt When the account was deleted. `null` for active accounts.
	DeletedAt *time.Time `json:"deleted_at,omitempty"`

	// DiscountOverridePct Custom discount percentage applied to the account in place of the volume-based discount schedule. `null` means the volume schedule applies.
	DiscountOverridePct *int `json:"discount_override_pct,omitempty"`

	// DiscountOverrideReason Free-form note explaining why the override was set.
	DiscountOverrideReason *string `json:"discount_override_reason,omitempty"`

	// DiscountOverrideSetAt When the override was last changed.
	DiscountOverrideSetAt *time.Time `json:"discount_override_set_at,omitempty"`

	// DiscountOverrideSetByUserId UUID of the user who set the override.
	DiscountOverrideSetByUserId *string `json:"discount_override_set_by_user_id,omitempty"`

	// EntryPoint How the account first reached smplkit (e.g. `LOGIN`, `GET_STARTED`, `LIVE_DEMO`).
	EntryPoint *string `json:"entry_point,omitempty"`

	// ExpiresAt When the account is scheduled to expire. `null` for accounts with no expiry.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// HasStripeCustomer `true` once the account has been linked to a billing provider customer record.
	HasStripeCustomer *bool `json:"has_stripe_customer,omitempty"`

	// Key Stable URL-safe identifier for the account, derived from the account name at creation. Used in console URLs and other places that prefer a human-readable handle.
	Key *string `json:"key,omitempty"`

	// Name Human-readable name for the account.
	Name string `json:"name"`

	// ProductSubscriptions Map of product key to the account's subscription summary for that product, including plan, status, and entitlement limits.
	ProductSubscriptions *map[string]interface{} `json:"product_subscriptions,omitempty"`

	// ShowSampleData Whether the account is currently configured to display the sample dataset alongside the customer's own resources.
	ShowSampleData *bool `json:"show_sample_data,omitempty"`
}

Account A tenant of smplkit — the unit of isolation that owns all of a customer's resources (environments, contexts, API keys, and so on).

type AccountRequest added in v3.0.31

type AccountRequest struct {
	// Data JSON:API resource envelope for an account.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data AccountResource `json:"data"`
}

AccountRequest JSON:API request envelope for creating or updating an account.

type AccountResource

type AccountResource struct {
	// Attributes A tenant of smplkit — the unit of isolation that owns all of a
	// customer's resources (environments, contexts, API keys, and so on).
	Attributes Account             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       AccountResourceType `json:"type"`
}

AccountResource JSON:API resource envelope for an account.

`id` must not be specified for create requests (the server assigns it).

type AccountResourceType

type AccountResourceType string

AccountResourceType defines model for AccountResource.Type.

const (
	AccountResourceTypeAccount AccountResourceType = "account"
)

Defines values for AccountResourceType.

func (AccountResourceType) Valid

func (e AccountResourceType) Valid() bool

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

type AccountResponse

type AccountResponse struct {
	// Data JSON:API resource envelope for an account.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data AccountResource `json:"data"`
}

AccountResponse JSON:API single-resource response envelope for an account.

type AccountWipeRequest

type AccountWipeRequest struct {
	// Confirm Must be `true` for the wipe to proceed. Any other value returns 400.
	Confirm bool `json:"confirm"`

	// GenerateSampleData When `true`, re-seed the account with the standard sample dataset after wiping. Best-effort: any seeding failure is logged but does not fail the wipe.
	GenerateSampleData *bool `json:"generate_sample_data,omitempty"`
}

AccountWipeRequest Confirmation envelope for the wipe-account action.

type AddPaymentMethodAttributes

type AddPaymentMethodAttributes struct {
	// Default When `true`, make the newly registered payment method the account's default. The first payment method on an account is always set as default regardless of this field.
	Default *bool `json:"default,omitempty"`

	// StripePaymentMethodId Identifier of the Stripe payment method to register on the account, e.g. `pm_1234567890abcdef`.
	StripePaymentMethodId string `json:"stripe_payment_method_id"`
}

AddPaymentMethodAttributes Attributes accepted when registering a new payment method.

The customer first creates a Stripe payment method client-side using Stripe Elements, then submits its `pm_...` identifier here to persist it on the account.

type AddPaymentMethodBody

type AddPaymentMethodBody struct {
	// Data Resource object for the add-payment-method request.
	Data AddPaymentMethodData `json:"data"`
}

AddPaymentMethodBody JSON:API request envelope for registering a new payment method.

type AddPaymentMethodData

type AddPaymentMethodData struct {
	// Attributes Attributes accepted when registering a new payment method.
	//
	// The customer first creates a Stripe payment method client-side using
	// Stripe Elements, then submits its `pm_...` identifier here to persist
	// it on the account.
	Attributes AddPaymentMethodAttributes `json:"attributes"`
	Type       AddPaymentMethodDataType   `json:"type"`
}

AddPaymentMethodData Resource object for the add-payment-method request.

type AddPaymentMethodDataType

type AddPaymentMethodDataType string

AddPaymentMethodDataType defines model for AddPaymentMethodData.Type.

const (
	AddPaymentMethodDataTypePaymentMethod AddPaymentMethodDataType = "payment_method"
)

Defines values for AddPaymentMethodDataType.

func (AddPaymentMethodDataType) Valid

func (e AddPaymentMethodDataType) Valid() bool

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

type ApiKey

type ApiKey struct {
	// CreatedAt When the key was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// CreatedBy UUID of the user who created the key.
	CreatedBy *string `json:"created_by,omitempty"`

	// ExpiresAt Optional expiry timestamp. After this time, the key is rejected. Omit for keys that do not expire.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Key The bearer token value. Returned in plaintext on the create response so the caller can capture it; subsequent reads return the same value for round-tripping.
	Key *string `json:"key,omitempty"`

	// LastUsedAt When the key was most recently used to authenticate.
	LastUsedAt *time.Time `json:"last_used_at,omitempty"`

	// Name Human-readable name for the key.
	Name string `json:"name"`

	// Scopes Scope restrictions applied to the key. Empty object grants full account access; populated forms are reserved for future scope syntax.
	Scopes *map[string]interface{} `json:"scopes,omitempty"`

	// Status Lifecycle state of the key. `ACTIVE` keys may be used to authenticate; `REVOKED` keys are rejected.
	Status *string `json:"status,omitempty"`

	// UpdatedAt When the key was last modified.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ApiKey An API key used by SDKs, scripts, and other programmatic clients to authenticate with the smplkit API on behalf of the account.

The full key value is returned in plaintext on the create response and is otherwise unavailable — record it somewhere safe immediately after creation.

type ApiKeyListResponse

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

ApiKeyListResponse JSON:API collection response for API keys.

type ApiKeyRequest added in v3.0.31

type ApiKeyRequest struct {
	// Data JSON:API resource envelope for an API key.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data ApiKeyResource `json:"data"`
}

ApiKeyRequest JSON:API request envelope for creating or updating an API key.

type ApiKeyResource

type ApiKeyResource struct {
	// Attributes An API key used by SDKs, scripts, and other programmatic clients to
	// authenticate with the smplkit API on behalf of the account.
	//
	// The full key value is returned in plaintext on the create response and
	// is otherwise unavailable — record it somewhere safe immediately after
	// creation.
	Attributes ApiKey             `json:"attributes"`
	Id         *string            `json:"id,omitempty"`
	Type       ApiKeyResourceType `json:"type"`
}

ApiKeyResource JSON:API resource envelope for an API key.

`id` must not be specified for create requests (the server assigns it).

type ApiKeyResourceType

type ApiKeyResourceType string

ApiKeyResourceType defines model for ApiKeyResource.Type.

const (
	ApiKeyResourceTypeApiKey ApiKeyResourceType = "api_key"
)

Defines values for ApiKeyResourceType.

func (ApiKeyResourceType) Valid

func (e ApiKeyResourceType) Valid() bool

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

type ApiKeyResponse

type ApiKeyResponse struct {
	// Data JSON:API resource envelope for an API key.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data ApiKeyResource `json:"data"`
}

ApiKeyResponse JSON:API single-resource response envelope for an API key.

type AuthTokenResponse

type AuthTokenResponse struct {
	// ExpiresIn Seconds until the token expires.
	ExpiresIn int `json:"expires_in"`

	// Token Bearer token to pass in the `Authorization` header.
	Token string `json:"token"`
}

AuthTokenResponse Authentication token issued on successful login or registration.

type BeginOidcLoginParams

type BeginOidcLoginParams struct {
	Mode       *string `form:"mode,omitempty" json:"mode,omitempty"`
	Source     *string `form:"source,omitempty" json:"source,omitempty"`
	EntryPoint *string `form:"entry_point,omitempty" json:"entry_point,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) ContentType

func (r BeginOidcLoginResponse) ContentType() string

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

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

type BulkIngestMetricsApplicationVndAPIPlusJSONRequestBody = MetricBulkRequest

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

type BulkIngestMetricsResponse

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

func ParseBulkIngestMetricsResponse

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

ParseBulkIngestMetricsResponse parses an HTTP response from a BulkIngestMetricsWithResponse call

func (BulkIngestMetricsResponse) ContentType

func (r BulkIngestMetricsResponse) ContentType() string

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

func (BulkIngestMetricsResponse) Status

func (r BulkIngestMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (BulkIngestMetricsResponse) StatusCode

func (r BulkIngestMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody

type BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody = ContextBulkRegister

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

type BulkRegisterContextsResponse

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

func ParseBulkRegisterContextsResponse

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

ParseBulkRegisterContextsResponse parses an HTTP response from a BulkRegisterContextsWithResponse call

func (BulkRegisterContextsResponse) ContentType

func (r BulkRegisterContextsResponse) ContentType() string

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

func (BulkRegisterContextsResponse) Status

Status returns HTTPResponse.Status

func (BulkRegisterContextsResponse) StatusCode

func (r BulkRegisterContextsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelSubscriptionResponse

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

func ParseCancelSubscriptionResponse

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

ParseCancelSubscriptionResponse parses an HTTP response from a CancelSubscriptionWithResponse call

func (CancelSubscriptionResponse) ContentType

func (r CancelSubscriptionResponse) ContentType() string

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

func (CancelSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (CancelSubscriptionResponse) StatusCode

func (r CancelSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

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

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

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

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

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

Creates a new Client, with reasonable defaults

func (*Client) AcceptInvitationWithApplicationVndAPIPlusJSONBody

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

func (*Client) AcceptInvitationWithBody

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

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

func (*Client) BulkIngestMetricsWithBody

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

func (*Client) BulkRegisterContextsWithApplicationVndAPIPlusJSONBody

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

func (*Client) BulkRegisterContextsWithBody

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

func (*Client) CancelSubscription

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

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

func (*Client) CreateContextTypeWithBody

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

func (*Client) CreateEmailRegistrationWithApplicationVndAPIPlusJSONBody

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

func (*Client) CreateEmailRegistrationWithBody

func (c *Client) CreateEmailRegistrationWithBody(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) CreatePaymentMethodWithApplicationVndAPIPlusJSONBody

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

func (*Client) CreatePaymentMethodWithBody

func (c *Client) CreatePaymentMethodWithBody(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

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

func (*Client) CreateSubscriptionWithBody

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

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

func (*Client) DeleteContextType

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

func (c *Client) DeletePaymentMethod(ctx context.Context, id openapi_types.UUID, 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

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

func (*Client) DowngradeSubscriptionWithBody

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

func (*Client) ExecuteSetupIntent

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

func (c *Client) GetAccountSettings(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

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

func (*Client) GetContextType

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

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

func (*Client) GetPaymentMethod

func (c *Client) GetPaymentMethod(ctx context.Context, id openapi_types.UUID, 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) GetUserSettings

func (c *Client) GetUserSettings(ctx context.Context, 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) ListContextTypes

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

func (*Client) ListContexts

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

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

func (*Client) ListMetricNames

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

func (*Client) ListMetricRollups

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

func (*Client) ListMetrics

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

func (*Client) ListPaymentMethods

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

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

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

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

func (*Client) PutUserSettings

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

func (*Client) PutUserSettingsKey

func (c *Client) PutUserSettingsKey(ctx context.Context, key string, 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

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

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

func (*Client) SendContactEmailWithBody

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

func (*Client) SetDefaultPaymentMethod

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

func (*Client) UncancelSubscription

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

func (*Client) UndowngradeSubscription

func (c *Client) UndowngradeSubscription(ctx context.Context, id openapi_types.UUID, 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

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

func (*Client) UpdateContextTypeWithBody

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

func (*Client) UpdateContextWithApplicationVndAPIPlusJSONBody

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

func (*Client) UpdateContextWithBody

func (c *Client) UpdateContextWithBody(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) UpdatePaymentMethodWithApplicationVndAPIPlusJSONBody

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

func (*Client) UpdatePaymentMethodWithBody

func (c *Client) UpdatePaymentMethodWithBody(ctx context.Context, id openapi_types.UUID, 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

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

func (*Client) UpgradeSubscriptionWithBody

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

func (*Client) VerifyEmail

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

func (*Client) VerifyEmailWithBody

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

func (*Client) WipeAccountDataWithApplicationVndAPIPlusJSONBody

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

func (*Client) WipeAccountDataWithBody

func (c *Client) WipeAccountDataWithBody(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)

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

	WipeAccountDataWithApplicationVndAPIPlusJSONBody(ctx context.Context, body WipeAccountDataApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// PutAccountSettings request
	PutAccountSettings(ctx context.Context, 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)

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

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

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

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

	CreateEmailRegistrationWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateEmailRegistrationApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	SendContactEmailWithApplicationVndAPIPlusJSONBody(ctx context.Context, body SendContactEmailApplicationVndAPIPlusJSONRequestBody, 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)

	// GetInvoice request
	GetInvoice(ctx context.Context, invoiceId string, 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)

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

	CreatePaymentMethodWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreatePaymentMethodApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	// SetDefaultPaymentMethod request
	SetDefaultPaymentMethod(ctx context.Context, id openapi_types.UUID, 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)

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

	// UndowngradeSubscription request
	UndowngradeSubscription(ctx context.Context, id openapi_types.UUID, 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)

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

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

	// PutUserSettingsKey request
	PutUserSettingsKey(ctx context.Context, key string, 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

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

func (*ClientWithResponses) AcceptInvitationWithBodyWithResponse

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

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

func (*ClientWithResponses) BulkIngestMetricsWithBodyWithResponse

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

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

func (*ClientWithResponses) BulkRegisterContextsWithBodyWithResponse

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

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

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

func (*ClientWithResponses) CreateContextTypeWithBodyWithResponse

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

func (c *ClientWithResponses) CreateEmailRegistrationWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateEmailRegistrationApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEmailRegistrationResponse, error)

func (*ClientWithResponses) CreateEmailRegistrationWithBodyWithResponse

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

CreateEmailRegistrationWithBodyWithResponse request with arbitrary body returning *CreateEmailRegistrationResponse

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

func (c *ClientWithResponses) CreatePaymentMethodWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreatePaymentMethodApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePaymentMethodResponse, error)

func (*ClientWithResponses) CreatePaymentMethodWithBodyWithResponse

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

CreatePaymentMethodWithBodyWithResponse request with arbitrary body returning *CreatePaymentMethodResponse

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

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

func (*ClientWithResponses) CreateSubscriptionWithBodyWithResponse

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

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

DeleteContextTypeWithResponse request returning *DeleteContextTypeResponse

func (*ClientWithResponses) DeleteContextWithResponse

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

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

DeletePaymentMethodWithResponse request returning *DeletePaymentMethodResponse

func (*ClientWithResponses) DeleteServiceWithResponse

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

DeleteServiceWithResponse request returning *DeleteServiceResponse

func (*ClientWithResponses) DowngradeSubscriptionWithApplicationVndAPIPlusJSONBodyWithResponse

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

func (*ClientWithResponses) DowngradeSubscriptionWithBodyWithResponse

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

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

ExecuteSetupIntentWithResponse request returning *ExecuteSetupIntentResponse

func (*ClientWithResponses) GetAccountSettingsWithResponse

func (c *ClientWithResponses) GetAccountSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountSettingsResponse, error)

GetAccountSettingsWithResponse request returning *GetAccountSettingsResponse

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

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

GetContextTypeWithResponse request returning *GetContextTypeResponse

func (*ClientWithResponses) GetContextWithResponse

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

func (c *ClientWithResponses) GetInvoiceWithResponse(ctx context.Context, invoiceId string, reqEditors ...RequestEditorFn) (*GetInvoiceResponse, error)

GetInvoiceWithResponse request returning *GetInvoiceResponse

func (*ClientWithResponses) GetPaymentMethodWithResponse

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

GetPaymentMethodWithResponse request returning *GetPaymentMethodResponse

func (*ClientWithResponses) GetServiceWithResponse

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

GetServiceWithResponse request returning *GetServiceResponse

func (*ClientWithResponses) GetUserSettingsWithResponse

func (c *ClientWithResponses) GetUserSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserSettingsResponse, error)

GetUserSettingsWithResponse request returning *GetUserSettingsResponse

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

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

ListContextTypesWithResponse request returning *ListContextTypesResponse

func (*ClientWithResponses) ListContextsWithResponse

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

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

ListInvoicesWithResponse request returning *ListInvoicesResponse

func (*ClientWithResponses) ListMetricNamesWithResponse

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

ListMetricNamesWithResponse request returning *ListMetricNamesResponse

func (*ClientWithResponses) ListMetricRollupsWithResponse

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

ListMetricRollupsWithResponse request returning *ListMetricRollupsResponse

func (*ClientWithResponses) ListMetricsWithResponse

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

ListMetricsWithResponse request returning *ListMetricsResponse

func (*ClientWithResponses) ListPaymentMethodsWithResponse

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

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

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

func (c *ClientWithResponses) PutAccountSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PutAccountSettingsResponse, error)

PutAccountSettingsWithResponse request returning *PutAccountSettingsResponse

func (*ClientWithResponses) PutUserSettingsKeyWithResponse

func (c *ClientWithResponses) PutUserSettingsKeyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*PutUserSettingsKeyResponse, error)

PutUserSettingsKeyWithResponse request returning *PutUserSettingsKeyResponse

func (*ClientWithResponses) PutUserSettingsWithResponse

func (c *ClientWithResponses) PutUserSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PutUserSettingsResponse, error)

PutUserSettingsWithResponse request returning *PutUserSettingsResponse

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

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

func (c *ClientWithResponses) SendContactEmailWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body SendContactEmailApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*SendContactEmailResponse, error)

func (*ClientWithResponses) SendContactEmailWithBodyWithResponse

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

SendContactEmailWithBodyWithResponse request with arbitrary body returning *SendContactEmailResponse

func (*ClientWithResponses) SetDefaultPaymentMethodWithResponse

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

SetDefaultPaymentMethodWithResponse request returning *SetDefaultPaymentMethodResponse

func (*ClientWithResponses) UncancelSubscriptionWithResponse

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

UncancelSubscriptionWithResponse request returning *UncancelSubscriptionResponse

func (*ClientWithResponses) UndowngradeSubscriptionWithResponse

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

UndowngradeSubscriptionWithResponse request returning *UndowngradeSubscriptionResponse

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

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

func (*ClientWithResponses) UpdateContextTypeWithBodyWithResponse

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

func (c *ClientWithResponses) UpdateContextWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id string, body UpdateContextApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContextResponse, error)

func (*ClientWithResponses) UpdateContextWithBodyWithResponse

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

UpdateContextWithBodyWithResponse request with arbitrary body returning *UpdateContextResponse

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

func (c *ClientWithResponses) UpdatePaymentMethodWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdatePaymentMethodApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePaymentMethodResponse, error)

func (*ClientWithResponses) UpdatePaymentMethodWithBodyWithResponse

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

UpdatePaymentMethodWithBodyWithResponse request with arbitrary body returning *UpdatePaymentMethodResponse

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

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

func (*ClientWithResponses) UpgradeSubscriptionWithBodyWithResponse

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

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

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

func (*ClientWithResponses) WipeAccountDataWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) WipeAccountDataWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body WipeAccountDataApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*WipeAccountDataResponse, error)

func (*ClientWithResponses) WipeAccountDataWithBodyWithResponse

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

WipeAccountDataWithBodyWithResponse request with arbitrary body returning *WipeAccountDataResponse

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)

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

	WipeAccountDataWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body WipeAccountDataApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*WipeAccountDataResponse, error)

	// GetAccountSettingsWithResponse request
	GetAccountSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountSettingsResponse, error)

	// PutAccountSettingsWithResponse request
	PutAccountSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PutAccountSettingsResponse, 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)

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

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

	UpdateContextWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id string, body UpdateContextApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContextResponse, error)

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

	CreateEmailRegistrationWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateEmailRegistrationApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEmailRegistrationResponse, error)

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

	SendContactEmailWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body SendContactEmailApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*SendContactEmailResponse, 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)

	// GetInvoiceWithResponse request
	GetInvoiceWithResponse(ctx context.Context, invoiceId string, reqEditors ...RequestEditorFn) (*GetInvoiceResponse, 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)

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

	CreatePaymentMethodWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreatePaymentMethodApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePaymentMethodResponse, error)

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

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

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

	UpdatePaymentMethodWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdatePaymentMethodApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePaymentMethodResponse, error)

	// SetDefaultPaymentMethodWithResponse request
	SetDefaultPaymentMethodWithResponse(ctx context.Context, id openapi_types.UUID, 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)

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

	// UndowngradeSubscriptionWithResponse request
	UndowngradeSubscriptionWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UndowngradeSubscriptionResponse, 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)

	// GetUserSettingsWithResponse request
	GetUserSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserSettingsResponse, error)

	// PutUserSettingsWithResponse request
	PutUserSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PutUserSettingsResponse, error)

	// PutUserSettingsKeyWithResponse request
	PutUserSettingsKeyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*PutUserSettingsKeyResponse, 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 ContactTopic

type ContactTopic string

ContactTopic Topic options accepted on contact-us submissions.

const (
	ContactTopicAccount        ContactTopic = "account"
	ContactTopicBilling        ContactTopic = "billing"
	ContactTopicFeatureRequest ContactTopic = "feature_request"
	ContactTopicOther          ContactTopic = "other"
	ContactTopicTechnical      ContactTopic = "technical"
)

Defines values for ContactTopic.

func (ContactTopic) Valid

func (e ContactTopic) Valid() bool

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

type Context

type Context struct {
	// Attributes Observed attribute values for this context instance. The key set is conventionally aligned with the parent context type's known attribute keys, but additional keys are accepted.
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// ContextType Key of the context type this instance belongs to (e.g. `user`, `account`).
	ContextType string `json:"context_type"`

	// CreatedAt When the context instance was first registered.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Name Human-readable display name for the context instance.
	Name *string `json:"name,omitempty"`

	// UpdatedAt When the context instance was last modified.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Context A specific instance of a context type — for example, a particular user, account, or device — together with the attributes observed on it.

Context instances are addressed by a composite identifier of the form `context_type:key` (e.g. `user:alice-123`).

type ContextBatchResponse

type ContextBatchResponse struct {
	// Registered Number of context instances that were created or updated.
	Registered int `json:"registered"`
}

ContextBatchResponse Summary returned by the bulk context registration endpoint.

type ContextBulkItem

type ContextBulkItem struct {
	// Attributes Observed attribute values for this context instance.
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// Key Entity identifier within the context type, e.g. `user-123`.
	Key string `json:"key"`

	// Type Key of the context type this instance belongs to (e.g. `user`, `account`, `device`).
	Type string `json:"type"`
}

ContextBulkItem One context instance in a bulk registration payload.

type ContextBulkRegister

type ContextBulkRegister struct {
	// Contexts One context instance per entry.
	Contexts []ContextBulkItem `json:"contexts"`
}

ContextBulkRegister Bulk registration request body for the contexts endpoint.

type ContextListResponse

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

ContextListResponse JSON:API collection response for context instances.

type ContextRequest added in v3.0.31

type ContextRequest struct {
	// Data JSON:API resource envelope for a context instance.
	//
	// `id` is the composite identifier `context_type:key`. It must not be
	// specified for create requests (the server assigns it).
	Data ContextResource `json:"data"`
}

ContextRequest JSON:API request envelope for creating or updating a context instance.

type ContextResource

type ContextResource struct {
	// Attributes A specific instance of a context type — for example, a particular
	// user, account, or device — together with the attributes observed on it.
	//
	// Context instances are addressed by a composite identifier of the form
	// `context_type:key` (e.g. `user:alice-123`).
	Attributes Context             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       ContextResourceType `json:"type"`
}

ContextResource JSON:API resource envelope for a context instance.

`id` is the composite identifier `context_type:key`. It must not be specified for create requests (the server assigns it).

type ContextResourceType

type ContextResourceType string

ContextResourceType defines model for ContextResource.Type.

const (
	ContextResourceTypeContext ContextResourceType = "context"
)

Defines values for ContextResourceType.

func (ContextResourceType) Valid

func (e ContextResourceType) Valid() bool

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

type ContextResponse

type ContextResponse struct {
	// Data JSON:API resource envelope for a context instance.
	//
	// `id` is the composite identifier `context_type:key`. It must not be
	// specified for create requests (the server assigns it).
	Data ContextResource `json:"data"`
}

ContextResponse JSON:API single-resource response envelope for a context instance.

type ContextType

type ContextType struct {
	// Attributes Map of known attribute key to per-attribute metadata. The metadata object is free-form and may be empty. Keys grow as new attributes are observed on context instances of this type.
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// CreatedAt When the context type was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Name Display label for the context type, e.g. `User`, `Account`, or `Device`.
	Name string `json:"name"`

	// UpdatedAt When the context type was last modified.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ContextType A kind of context — for example, `user`, `account`, or `device` — that groups together context instances sharing a common set of attributes.

The known attribute keys for the type accumulate as instances are registered; each key carries an optional metadata object describing it.

type ContextTypeListResponse

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

ContextTypeListResponse JSON:API collection response for context types.

type ContextTypeRequest added in v3.0.31

type ContextTypeRequest struct {
	// Data JSON:API resource envelope for a context type.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data ContextTypeResource `json:"data"`
}

ContextTypeRequest JSON:API request envelope for creating or updating a context type.

type ContextTypeResource

type ContextTypeResource struct {
	// Attributes A kind of context — for example, `user`, `account`, or `device` — that
	// groups together context instances sharing a common set of attributes.
	//
	// The known attribute keys for the type accumulate as instances are
	// registered; each key carries an optional metadata object describing it.
	Attributes ContextType             `json:"attributes"`
	Id         *string                 `json:"id,omitempty"`
	Type       ContextTypeResourceType `json:"type"`
}

ContextTypeResource JSON:API resource envelope for a context type.

`id` must not be specified for create requests (the server assigns it).

type ContextTypeResourceType

type ContextTypeResourceType string

ContextTypeResourceType defines model for ContextTypeResource.Type.

const (
	ContextTypeResourceTypeContextType ContextTypeResourceType = "context_type"
)

Defines values for ContextTypeResourceType.

func (ContextTypeResourceType) Valid

func (e ContextTypeResourceType) Valid() bool

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

type ContextTypeResponse

type ContextTypeResponse struct {
	// Data JSON:API resource envelope for a context type.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data ContextTypeResource `json:"data"`
}

ContextTypeResponse JSON:API single-resource response envelope for a context type.

type CreateApiKeyApplicationVndAPIPlusJSONRequestBody

type CreateApiKeyApplicationVndAPIPlusJSONRequestBody = ApiKeyRequest

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

func (r CreateApiKeyResponse) ContentType() string

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

func (CreateApiKeyResponse) Status

func (r CreateApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateApiKeyResponse) StatusCode

func (r CreateApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateContextTypeApplicationVndAPIPlusJSONRequestBody

type CreateContextTypeApplicationVndAPIPlusJSONRequestBody = ContextTypeRequest

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

type CreateContextTypeResponse

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

func ParseCreateContextTypeResponse

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

ParseCreateContextTypeResponse parses an HTTP response from a CreateContextTypeWithResponse call

func (CreateContextTypeResponse) ContentType

func (r CreateContextTypeResponse) ContentType() string

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

func (CreateContextTypeResponse) Status

func (r CreateContextTypeResponse) Status() string

Status returns HTTPResponse.Status

func (CreateContextTypeResponse) StatusCode

func (r CreateContextTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEmailRegistrationApplicationVndAPIPlusJSONBody

type CreateEmailRegistrationApplicationVndAPIPlusJSONBody map[string]interface{}

CreateEmailRegistrationApplicationVndAPIPlusJSONBody defines parameters for CreateEmailRegistration.

type CreateEmailRegistrationApplicationVndAPIPlusJSONRequestBody

type CreateEmailRegistrationApplicationVndAPIPlusJSONRequestBody CreateEmailRegistrationApplicationVndAPIPlusJSONBody

CreateEmailRegistrationApplicationVndAPIPlusJSONRequestBody defines body for CreateEmailRegistration for application/vnd.api+json ContentType.

type CreateEmailRegistrationResponse

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

func ParseCreateEmailRegistrationResponse

func ParseCreateEmailRegistrationResponse(rsp *http.Response) (*CreateEmailRegistrationResponse, error)

ParseCreateEmailRegistrationResponse parses an HTTP response from a CreateEmailRegistrationWithResponse call

func (CreateEmailRegistrationResponse) ContentType

func (r CreateEmailRegistrationResponse) ContentType() string

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

func (CreateEmailRegistrationResponse) Status

Status returns HTTPResponse.Status

func (CreateEmailRegistrationResponse) StatusCode

func (r CreateEmailRegistrationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody

type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody = EnvironmentRequest

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

func (r CreateEnvironmentResponse) ContentType() string

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

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

func (r CreateInvitationsResponse) ContentType() string

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

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 CreatePaymentMethodApplicationVndAPIPlusJSONRequestBody

type CreatePaymentMethodApplicationVndAPIPlusJSONRequestBody = AddPaymentMethodBody

CreatePaymentMethodApplicationVndAPIPlusJSONRequestBody defines body for CreatePaymentMethod for application/vnd.api+json ContentType.

type CreatePaymentMethodResponse

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

func ParseCreatePaymentMethodResponse

func ParseCreatePaymentMethodResponse(rsp *http.Response) (*CreatePaymentMethodResponse, error)

ParseCreatePaymentMethodResponse parses an HTTP response from a CreatePaymentMethodWithResponse call

func (CreatePaymentMethodResponse) ContentType

func (r CreatePaymentMethodResponse) ContentType() string

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

func (CreatePaymentMethodResponse) Status

Status returns HTTPResponse.Status

func (CreatePaymentMethodResponse) StatusCode

func (r CreatePaymentMethodResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateServiceApplicationVndAPIPlusJSONRequestBody

type CreateServiceApplicationVndAPIPlusJSONRequestBody = ServiceRequest

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

func (r CreateServiceResponse) ContentType() string

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

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

type CreateSubscriptionApplicationVndAPIPlusJSONRequestBody = CreateSubscriptionBody

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

type CreateSubscriptionAttributes

type CreateSubscriptionAttributes struct {
	// PaymentMethod UUID of a payment method on file to bill against. If omitted, the account's default payment method is used.
	PaymentMethod *string `json:"payment_method,omitempty"`

	// Plan Plan key to subscribe on, e.g. `pro`.
	Plan string `json:"plan"`

	// Product Product key to subscribe to, e.g. `flags`.
	Product string `json:"product"`
}

CreateSubscriptionAttributes Attributes accepted when creating a new subscription.

type CreateSubscriptionBody

type CreateSubscriptionBody struct {
	// Data Resource object for the create-subscription request.
	Data CreateSubscriptionData `json:"data"`
}

CreateSubscriptionBody JSON:API request envelope for creating a subscription.

type CreateSubscriptionData

type CreateSubscriptionData struct {
	// Attributes Attributes accepted when creating a new subscription.
	Attributes CreateSubscriptionAttributes `json:"attributes"`

	// Type Resource type; must be `subscription`.
	Type string `json:"type"`
}

CreateSubscriptionData Resource object for the create-subscription request.

type CreateSubscriptionResponse

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

func ParseCreateSubscriptionResponse

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

ParseCreateSubscriptionResponse parses an HTTP response from a CreateSubscriptionWithResponse call

func (CreateSubscriptionResponse) ContentType

func (r CreateSubscriptionResponse) ContentType() string

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

func (CreateSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (CreateSubscriptionResponse) StatusCode

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

func (r DeleteAccountResponse) ContentType() string

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

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

func (r DeleteApiKeyResponse) ContentType() string

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

func (DeleteApiKeyResponse) Status

func (r DeleteApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteApiKeyResponse) StatusCode

func (r DeleteApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteContextResponse

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

func ParseDeleteContextResponse

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

ParseDeleteContextResponse parses an HTTP response from a DeleteContextWithResponse call

func (DeleteContextResponse) ContentType

func (r DeleteContextResponse) ContentType() string

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

func (DeleteContextResponse) Status

func (r DeleteContextResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteContextResponse) StatusCode

func (r DeleteContextResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteContextTypeResponse

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

func ParseDeleteContextTypeResponse

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

ParseDeleteContextTypeResponse parses an HTTP response from a DeleteContextTypeWithResponse call

func (DeleteContextTypeResponse) ContentType

func (r DeleteContextTypeResponse) ContentType() string

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

func (DeleteContextTypeResponse) Status

func (r DeleteContextTypeResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteContextTypeResponse) StatusCode

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

func (r DeleteEnvironmentResponse) ContentType() string

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

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 DeletePaymentMethodResponse

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

func ParseDeletePaymentMethodResponse

func ParseDeletePaymentMethodResponse(rsp *http.Response) (*DeletePaymentMethodResponse, error)

ParseDeletePaymentMethodResponse parses an HTTP response from a DeletePaymentMethodWithResponse call

func (DeletePaymentMethodResponse) ContentType

func (r DeletePaymentMethodResponse) ContentType() string

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

func (DeletePaymentMethodResponse) Status

Status returns HTTPResponse.Status

func (DeletePaymentMethodResponse) StatusCode

func (r DeletePaymentMethodResponse) 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) ContentType

func (r DeleteServiceResponse) ContentType() string

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

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

type DowngradeSubscriptionApplicationVndAPIPlusJSONRequestBody = PlanChangeRequest

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

type DowngradeSubscriptionResponse

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

func ParseDowngradeSubscriptionResponse

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

ParseDowngradeSubscriptionResponse parses an HTTP response from a DowngradeSubscriptionWithResponse call

func (DowngradeSubscriptionResponse) ContentType

func (r DowngradeSubscriptionResponse) ContentType() string

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

func (DowngradeSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (DowngradeSubscriptionResponse) StatusCode

func (r DowngradeSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Email

type Email struct {
	// Body Free-form text of the message. Trimmed before validation.
	Body string `json:"body"`

	// SentAt When the message was accepted by the server.
	SentAt *time.Time `json:"sent_at,omitempty"`

	// Topic Topic options accepted on contact-us submissions.
	Topic ContactTopic `json:"topic"`
}

Email A contact-us submission. Sending the resource delivers a support ticket and an auto-response email; nothing is persisted. The `id` returned on the response is a per-request correlation identifier.

type EmailResource

type EmailResource struct {
	// Attributes A contact-us submission. Sending the resource delivers a support
	// ticket and an auto-response email; nothing is persisted. The `id`
	// returned on the response is a per-request correlation identifier.
	Attributes Email             `json:"attributes"`
	Id         *string           `json:"id,omitempty"`
	Type       EmailResourceType `json:"type"`
}

EmailResource JSON:API resource envelope for a contact-us submission.

`id` must not be specified for create requests (the server assigns it).

type EmailResourceType

type EmailResourceType string

EmailResourceType defines model for EmailResource.Type.

const (
	EmailResourceTypeEmail EmailResourceType = "email"
)

Defines values for EmailResourceType.

func (EmailResourceType) Valid

func (e EmailResourceType) Valid() bool

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

type EmailResponse

type EmailResponse struct {
	// Data JSON:API resource envelope for a contact-us submission.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data EmailResource `json:"data"`
}

EmailResponse JSON:API single-resource response envelope for a contact-us message.

type Environment

type Environment struct {
	// Classification `STANDARD` for environments the customer explicitly manages; `AD_HOC` for environments auto-created from SDK traffic. Case-insensitive on input.
	Classification *EnvironmentClassification `json:"classification,omitempty"`

	// Color Display color used by the console to badge the environment. Accepts any CSS color string.
	Color *string `json:"color,omitempty"`

	// CreatedAt When the environment was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Name Human-readable name for the environment.
	Name string `json:"name"`

	// UpdatedAt When the environment was last modified.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Environment A named deployment context — for example, `production`, `staging`, or `development`. Resources scoped to an environment (such as config items and feature flags) are evaluated against environment-specific values.

type EnvironmentClassification added in v3.0.5

type EnvironmentClassification string

EnvironmentClassification `STANDARD` for environments the customer explicitly manages; `AD_HOC` for environments auto-created from SDK traffic. Case-insensitive on input.

const (
	ADHOC    EnvironmentClassification = "AD_HOC"
	STANDARD EnvironmentClassification = "STANDARD"
)

Defines values for EnvironmentClassification.

func (EnvironmentClassification) Valid added in v3.0.5

func (e EnvironmentClassification) Valid() bool

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

type EnvironmentListResponse

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

EnvironmentListResponse JSON:API collection response for environments.

type EnvironmentRequest added in v3.0.31

type EnvironmentRequest struct {
	// Data JSON:API resource envelope for an environment.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data EnvironmentResource `json:"data"`
}

EnvironmentRequest JSON:API request envelope for creating or updating an environment.

type EnvironmentResource

type EnvironmentResource struct {
	// Attributes A named deployment context — for example, `production`, `staging`, or
	// `development`. Resources scoped to an environment (such as config items
	// and feature flags) are evaluated against environment-specific values.
	Attributes Environment             `json:"attributes"`
	Id         *string                 `json:"id,omitempty"`
	Type       EnvironmentResourceType `json:"type"`
}

EnvironmentResource JSON:API resource envelope for an environment.

`id` must not be specified for create requests (the server assigns it).

type EnvironmentResourceType

type EnvironmentResourceType string

EnvironmentResourceType defines model for EnvironmentResource.Type.

const (
	EnvironmentResourceTypeEnvironment EnvironmentResourceType = "environment"
)

Defines values for EnvironmentResourceType.

func (EnvironmentResourceType) Valid

func (e EnvironmentResourceType) Valid() bool

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

type EnvironmentResponse

type EnvironmentResponse struct {
	// Data JSON:API resource envelope for an environment.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data EnvironmentResource `json:"data"`
}

EnvironmentResponse JSON:API single-resource response envelope for an environment.

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

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

func ParseExecuteSetupIntentResponse

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

ParseExecuteSetupIntentResponse parses an HTTP response from a ExecuteSetupIntentWithResponse call

func (ExecuteSetupIntentResponse) ContentType

func (r ExecuteSetupIntentResponse) ContentType() string

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

func (ExecuteSetupIntentResponse) Status

Status returns HTTPResponse.Status

func (ExecuteSetupIntentResponse) StatusCode

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

func (r GetAccountResponse) ContentType() string

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

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 GetAccountSettingsResponse

type GetAccountSettingsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *map[string]interface{}
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseGetAccountSettingsResponse

func ParseGetAccountSettingsResponse(rsp *http.Response) (*GetAccountSettingsResponse, error)

ParseGetAccountSettingsResponse parses an HTTP response from a GetAccountSettingsWithResponse call

func (GetAccountSettingsResponse) ContentType

func (r GetAccountSettingsResponse) ContentType() string

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

func (GetAccountSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetAccountSettingsResponse) StatusCode

func (r GetAccountSettingsResponse) 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) ContentType

func (r GetApiKeyResponse) ContentType() string

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

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

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

func ParseGetContextResponse

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

ParseGetContextResponse parses an HTTP response from a GetContextWithResponse call

func (GetContextResponse) ContentType

func (r GetContextResponse) ContentType() string

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

func (GetContextResponse) Status

func (r GetContextResponse) Status() string

Status returns HTTPResponse.Status

func (GetContextResponse) StatusCode

func (r GetContextResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetContextTypeResponse

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

func ParseGetContextTypeResponse

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

ParseGetContextTypeResponse parses an HTTP response from a GetContextTypeWithResponse call

func (GetContextTypeResponse) ContentType

func (r GetContextTypeResponse) ContentType() string

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

func (GetContextTypeResponse) Status

func (r GetContextTypeResponse) Status() string

Status returns HTTPResponse.Status

func (GetContextTypeResponse) StatusCode

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

func (r GetCurrentUserResponse) ContentType() string

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

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

func (r GetEnvironmentResponse) ContentType() string

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

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 GetInvoiceResponse

type GetInvoiceResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *InvoiceSingleResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON406 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
	ApplicationvndApiJSON502 *ErrorResponse
}

func ParseGetInvoiceResponse

func ParseGetInvoiceResponse(rsp *http.Response) (*GetInvoiceResponse, error)

ParseGetInvoiceResponse parses an HTTP response from a GetInvoiceWithResponse call

func (GetInvoiceResponse) ContentType

func (r GetInvoiceResponse) ContentType() string

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

func (GetInvoiceResponse) Status

func (r GetInvoiceResponse) Status() string

Status returns HTTPResponse.Status

func (GetInvoiceResponse) StatusCode

func (r GetInvoiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPaymentMethodResponse

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

func ParseGetPaymentMethodResponse

func ParseGetPaymentMethodResponse(rsp *http.Response) (*GetPaymentMethodResponse, error)

ParseGetPaymentMethodResponse parses an HTTP response from a GetPaymentMethodWithResponse call

func (GetPaymentMethodResponse) ContentType

func (r GetPaymentMethodResponse) ContentType() string

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

func (GetPaymentMethodResponse) Status

func (r GetPaymentMethodResponse) Status() string

Status returns HTTPResponse.Status

func (GetPaymentMethodResponse) StatusCode

func (r GetPaymentMethodResponse) 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) ContentType

func (r GetServiceResponse) ContentType() string

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

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

func (r GetUserResponse) ContentType() string

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

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 GetUserSettingsResponse

type GetUserSettingsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *map[string]interface{}
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParseGetUserSettingsResponse

func ParseGetUserSettingsResponse(rsp *http.Response) (*GetUserSettingsResponse, error)

ParseGetUserSettingsResponse parses an HTTP response from a GetUserSettingsWithResponse call

func (GetUserSettingsResponse) ContentType

func (r GetUserSettingsResponse) ContentType() string

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

func (GetUserSettingsResponse) Status

func (r GetUserSettingsResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserSettingsResponse) StatusCode

func (r GetUserSettingsResponse) 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) ContentType

func (r HandleOidcCallbackResponse) ContentType() string

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

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 {
	// AccountName Name of the account the recipient is being invited to join.
	AccountName *string `json:"account_name,omitempty"`

	// CreatedAt When the invitation was issued.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Email Email address the invitation was sent to.
	Email *string `json:"email,omitempty"`

	// ExpiresAt When the invitation token stops being redeemable.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// InvitedBy UUID of the user who sent the invitation.
	InvitedBy *string `json:"invited_by,omitempty"`

	// InviterDisplayName Display name of the user who sent the invitation.
	InviterDisplayName *string `json:"inviter_display_name,omitempty"`

	// Role Role to assign on acceptance. One of `ADMIN`, `MEMBER`, or `VIEWER`.
	Role *string `json:"role,omitempty"`

	// Status Lifecycle state of the invitation. One of `PENDING`, `ACCEPTED`, `REVOKED`, or `EXPIRED`.
	Status *string `json:"status,omitempty"`

	// Token Single-use token that the recipient redeems to accept the invitation. Echoed on responses so the inviting client can construct the acceptance link.
	Token *string `json:"token,omitempty"`

	// UpdatedAt When the invitation record was last modified.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Invitation An invitation for a person to join an account.

Invitations carry a time-limited token; the recipient redeems the token to become a member of the inviting account at the assigned role.

type InvitationAcceptRequest

type InvitationAcceptRequest struct {
	// Token Invitation token from the email link.
	Token string `json:"token"`
}

InvitationAcceptRequest Body for the invitation-accept endpoint.

type InvitationBulkCreateRequest

type InvitationBulkCreateRequest struct {
	// Invitations One to fifty invitations to send in a single request.
	Invitations []InvitationCreateItem `json:"invitations"`
}

InvitationBulkCreateRequest Bulk-create request body for the invitations endpoint.

type InvitationCreateItem

type InvitationCreateItem struct {
	// Email Email address to send the invitation to.
	Email openapi_types.Email `json:"email"`

	// Role Role to assign on acceptance. One of `ADMIN`, `MEMBER`, or `VIEWER`. `OWNER` cannot be assigned via invitation. Case-insensitive on input.
	Role *string `json:"role,omitempty"`
}

InvitationCreateItem One invitation in a bulk-create request.

type InvitationListResponse

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

InvitationListResponse JSON:API collection response for invitations.

type InvitationResource

type InvitationResource struct {
	// Attributes An invitation for a person to join an account.
	//
	// Invitations carry a time-limited token; the recipient redeems the
	// token to become a member of the inviting account at the assigned role.
	Attributes Invitation             `json:"attributes"`
	Id         *string                `json:"id,omitempty"`
	Type       InvitationResourceType `json:"type"`
}

InvitationResource JSON:API resource envelope for an invitation.

`id` must not be specified for create requests (the server assigns it).

type InvitationResourceType

type InvitationResourceType string

InvitationResourceType defines model for InvitationResource.Type.

const (
	InvitationResourceTypeInvitation InvitationResourceType = "invitation"
)

Defines values for InvitationResourceType.

func (InvitationResourceType) Valid

func (e InvitationResourceType) Valid() bool

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

type InvitationResponse

type InvitationResponse struct {
	// Data JSON:API resource envelope for an invitation.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data InvitationResource `json:"data"`
}

InvitationResponse JSON:API single-resource response envelope for an invitation.

type Invoice

type Invoice struct {
	// AmountDue Amount owed on the invoice in the smallest currency unit (e.g. cents).
	AmountDue int `json:"amount_due"`

	// AmountPaid Amount paid against the invoice in the smallest currency unit.
	AmountPaid int `json:"amount_paid"`

	// CreatedAt When the invoice was created (ISO 8601).
	CreatedAt *string `json:"created_at"`

	// Currency ISO 4217 currency code, e.g. `usd`.
	Currency string `json:"currency"`

	// Description Human-readable summary of the invoice's line items.
	Description *string `json:"description"`

	// HostedInvoiceUrl Link to the hosted invoice page.
	HostedInvoiceUrl *string `json:"hosted_invoice_url"`

	// InvoicePdf Link to the PDF rendering of the invoice.
	InvoicePdf *string `json:"invoice_pdf"`

	// Number Invoice number assigned by the billing provider.
	Number *string `json:"number"`

	// PaidAt When the invoice was paid in full (ISO 8601), or `null` if unpaid.
	PaidAt *string `json:"paid_at"`

	// PeriodEnd End of the service period the invoice covers (ISO 8601).
	PeriodEnd *string `json:"period_end"`

	// PeriodStart Start of the service period the invoice covers (ISO 8601).
	PeriodStart *string `json:"period_start"`

	// Status Invoice lifecycle state, e.g. `draft`, `open`, `paid`, `uncollectible`, `void`.
	Status string `json:"status"`
}

Invoice A billing invoice issued for the account.

type InvoiceListResponse

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

InvoiceListResponse JSON:API collection response for invoices.

type InvoiceResource

type InvoiceResource struct {
	// Attributes A billing invoice issued for the account.
	Attributes Invoice             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       InvoiceResourceType `json:"type"`
}

InvoiceResource JSON:API resource envelope for an invoice.

type InvoiceResourceType

type InvoiceResourceType string

InvoiceResourceType defines model for InvoiceResource.Type.

const (
	InvoiceResourceTypeInvoice InvoiceResourceType = "invoice"
)

Defines values for InvoiceResourceType.

func (InvoiceResourceType) Valid

func (e InvoiceResourceType) Valid() bool

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

type InvoiceSingleResponse

type InvoiceSingleResponse struct {
	// Data JSON:API resource envelope for an invoice.
	Data InvoiceResource `json:"data"`
}

InvoiceSingleResponse JSON:API single-resource response envelope for an invoice.

type LimitDefinition

type LimitDefinition struct {
	// Description Long-form description of what the limit controls.
	Description string `json:"description"`

	// DisplayFormat Optional formatter hint for rendering the limit value in customer-facing UI.
	DisplayFormat *string `json:"display_format,omitempty"`

	// DisplayName Human-readable name for the limit.
	DisplayName string `json:"display_name"`

	// Unit Unit the limit is measured in, e.g. `flags`, `events`.
	Unit string `json:"unit"`
}

LimitDefinition Description of a single metered limit on a product.

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

func (r ListApiKeysResponse) ContentType() string

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

func (ListApiKeysResponse) Status

func (r ListApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListApiKeysResponse) StatusCode

func (r ListApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContextTypesResponse

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

func ParseListContextTypesResponse

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

ParseListContextTypesResponse parses an HTTP response from a ListContextTypesWithResponse call

func (ListContextTypesResponse) ContentType

func (r ListContextTypesResponse) ContentType() string

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

func (ListContextTypesResponse) Status

func (r ListContextTypesResponse) Status() string

Status returns HTTPResponse.Status

func (ListContextTypesResponse) StatusCode

func (r ListContextTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContextsParams

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

ListContextsParams defines parameters for ListContexts.

type ListContextsResponse

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

func ParseListContextsResponse

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

ParseListContextsResponse parses an HTTP response from a ListContextsWithResponse call

func (ListContextsResponse) ContentType

func (r ListContextsResponse) ContentType() string

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

func (ListContextsResponse) Status

func (r ListContextsResponse) Status() string

Status returns HTTPResponse.Status

func (ListContextsResponse) StatusCode

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

func (r ListEnvironmentsResponse) ContentType() string

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

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"`
	FilterToken  *string `form:"filter[token],omitempty" json:"filter[token],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) ContentType

func (r ListInvitationsResponse) ContentType() string

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

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

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

func ParseListInvoicesResponse

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

ParseListInvoicesResponse parses an HTTP response from a ListInvoicesWithResponse call

func (ListInvoicesResponse) ContentType

func (r ListInvoicesResponse) ContentType() string

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

func (ListInvoicesResponse) Status

func (r ListInvoicesResponse) Status() string

Status returns HTTPResponse.Status

func (ListInvoicesResponse) StatusCode

func (r ListInvoicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetricNamesResponse

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

func ParseListMetricNamesResponse

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

ParseListMetricNamesResponse parses an HTTP response from a ListMetricNamesWithResponse call

func (ListMetricNamesResponse) ContentType

func (r ListMetricNamesResponse) ContentType() string

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

func (ListMetricNamesResponse) Status

func (r ListMetricNamesResponse) Status() string

Status returns HTTPResponse.Status

func (ListMetricNamesResponse) StatusCode

func (r ListMetricNamesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetricRollupsParams

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

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

func ParseListMetricRollupsResponse

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

ParseListMetricRollupsResponse parses an HTTP response from a ListMetricRollupsWithResponse call

func (ListMetricRollupsResponse) ContentType

func (r ListMetricRollupsResponse) ContentType() string

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

func (ListMetricRollupsResponse) Status

func (r ListMetricRollupsResponse) Status() string

Status returns HTTPResponse.Status

func (ListMetricRollupsResponse) StatusCode

func (r ListMetricRollupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetricsParams

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

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

func ParseListMetricsResponse

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

ParseListMetricsResponse parses an HTTP response from a ListMetricsWithResponse call

func (ListMetricsResponse) ContentType

func (r ListMetricsResponse) ContentType() string

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

func (ListMetricsResponse) Status

func (r ListMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (ListMetricsResponse) StatusCode

func (r ListMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPaymentMethodsResponse

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

func ParseListPaymentMethodsResponse

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

ParseListPaymentMethodsResponse parses an HTTP response from a ListPaymentMethodsWithResponse call

func (ListPaymentMethodsResponse) ContentType

func (r ListPaymentMethodsResponse) ContentType() string

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

func (ListPaymentMethodsResponse) Status

Status returns HTTPResponse.Status

func (ListPaymentMethodsResponse) StatusCode

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

func (r ListPlansResponse) ContentType() string

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

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

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

func ParseListProductsResponse

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

ParseListProductsResponse parses an HTTP response from a ListProductsWithResponse call

func (ListProductsResponse) ContentType

func (r ListProductsResponse) ContentType() string

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

func (ListProductsResponse) Status

func (r ListProductsResponse) Status() string

Status returns HTTPResponse.Status

func (ListProductsResponse) StatusCode

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

func (r ListServicesResponse) ContentType() string

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

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

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

func ParseListSubscriptionsResponse

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

ParseListSubscriptionsResponse parses an HTTP response from a ListSubscriptionsWithResponse call

func (ListSubscriptionsResponse) ContentType

func (r ListSubscriptionsResponse) ContentType() string

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

func (ListSubscriptionsResponse) Status

func (r ListSubscriptionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSubscriptionsResponse) StatusCode

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"`

	// FilterSearch Case-insensitive substring match against display_name and email. If the value is a valid UUID, also matches user id exactly.
	FilterSearch *string `form:"filter[search],omitempty" json:"filter[search],omitempty"`

	// PageNumber 1-based page number
	PageNumber *int `form:"page[number],omitempty" json:"page[number],omitempty"`

	// PageSize Items per page
	PageSize *int `form:"page[size],omitempty" json:"page[size],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) ContentType

func (r ListUsersResponse) ContentType() string

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

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 Email address of the user signing in.
	Email openapi_types.Email `json:"email"`

	// Password Password supplied for authentication.
	Password string `json:"password"`
}

LoginRequest Body for the email + password login endpoint.

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

func (r LoginResponse) ContentType() string

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

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

type MetricAttributes struct {
	// CreatedAt When the data point was ingested.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Dimensions Optional dimension keys that scope the data point, e.g. `environment`, `service`. Used as filter targets on the list endpoint via `filter[dimensions.<key>]=...`.
	Dimensions *map[string]string `json:"dimensions,omitempty"`

	// Name Metric series name, e.g. `flags.evaluations`. Dot-separated.
	Name string `json:"name"`

	// PeriodSeconds Length of the aggregation window in seconds (e.g. `60` for a one-minute roll-up).
	PeriodSeconds int `json:"period_seconds"`

	// RecordedAt Start of the aggregation window this data point covers.
	RecordedAt time.Time `json:"recorded_at"`

	// Unit Unit the value is expressed in, e.g. `evaluations`, `ms`, `bytes`.
	Unit *string `json:"unit,omitempty"`

	// Value Aggregated value for this data point over `period_seconds`.
	Value MetricAttributes_Value `json:"value"`
}

MetricAttributes A pre-aggregated metric data point recorded for the account.

type MetricAttributesValue0

type MetricAttributesValue0 = float32

MetricAttributesValue0 defines model for .

type MetricAttributesValue1

type MetricAttributesValue1 = string

MetricAttributesValue1 defines model for .

type MetricAttributes_Value

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

MetricAttributes_Value Aggregated value for this data point over `period_seconds`.

func (MetricAttributes_Value) AsMetricAttributesValue0

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

AsMetricAttributesValue0 returns the union data inside the MetricAttributes_Value as a MetricAttributesValue0

func (MetricAttributes_Value) AsMetricAttributesValue1

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

AsMetricAttributesValue1 returns the union data inside the MetricAttributes_Value as a MetricAttributesValue1

func (*MetricAttributes_Value) FromMetricAttributesValue0

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

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

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

func (*MetricAttributes_Value) MergeMetricAttributesValue0

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

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

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

type MetricBulkRequest

type MetricBulkRequest struct {
	// Data Metric data points to ingest in a single request.
	Data []MetricResource `json:"data"`
}

MetricBulkRequest Bulk-ingest request envelope for metric data points.

type MetricListResponse

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

MetricListResponse JSON:API collection response for metric data points.

type MetricNameItem

type MetricNameItem struct {
	// Name Distinct metric series name.
	Name string `json:"name"`

	// Unit Representative unit observed for this series.
	Unit *string `json:"unit,omitempty"`
}

MetricNameItem One distinct metric name with a representative unit.

type MetricNamesResponse

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

MetricNamesResponse Plain-JSON response listing distinct metric names for the account.

type MetricResource

type MetricResource struct {
	// Attributes A pre-aggregated metric data point recorded for the account.
	Attributes MetricAttributes   `json:"attributes"`
	Id         *string            `json:"id,omitempty"`
	Type       MetricResourceType `json:"type"`
}

MetricResource JSON:API resource envelope for a metric data point.

`id` must not be specified for create requests (the server assigns it).

type MetricResourceType

type MetricResourceType string

MetricResourceType defines model for MetricResource.Type.

const (
	Metric MetricResourceType = "metric"
)

Defines values for MetricResourceType.

func (MetricResourceType) Valid

func (e MetricResourceType) Valid() bool

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

type MetricRollupAttributes

type MetricRollupAttributes struct {
	// Bucket Start of the time bucket this rollup covers.
	Bucket time.Time `json:"bucket"`

	// Name Metric series name the rollup is computed from.
	Name string `json:"name"`

	// Rollup Rollup interval. One of `1m`, `5m`, `15m`, `1h`, `6h`, `1d`.
	Rollup string `json:"rollup"`

	// Unit Unit the value is expressed in.
	Unit *string `json:"unit,omitempty"`

	// Value Sum of the underlying metric values over the bucket.
	Value string `json:"value"`
}

MetricRollupAttributes An aggregated metric value over a fixed-size time bucket.

type MetricRollupListResponse

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

MetricRollupListResponse JSON:API collection response for metric rollups.

type MetricRollupResource

type MetricRollupResource struct {
	// Attributes An aggregated metric value over a fixed-size time bucket.
	Attributes MetricRollupAttributes   `json:"attributes"`
	Type       MetricRollupResourceType `json:"type"`
}

MetricRollupResource JSON:API resource envelope for a metric rollup.

type MetricRollupResourceType

type MetricRollupResourceType string

MetricRollupResourceType defines model for MetricRollupResource.Type.

const (
	MetricRollup MetricRollupResourceType = "metric_rollup"
)

Defines values for MetricRollupResourceType.

func (MetricRollupResourceType) Valid

func (e MetricRollupResourceType) Valid() bool

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

type NextTierMeta added in v3.0.16

type NextTierMeta struct {
	// AdditionalSavingsCents Additional monthly savings in cents at the next tier.
	AdditionalSavingsCents int `json:"additional_savings_cents"`

	// DiscountPct Discount percentage that would apply at the next tier.
	DiscountPct int `json:"discount_pct"`

	// ProductsNeeded Number of additional subscribed products needed to reach the next tier.
	ProductsNeeded int `json:"products_needed"`
}

NextTierMeta Information about the next volume-discount tier.

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 PageMeta

type PageMeta struct {
	// Number 1-based page number returned.
	Number int `json:"number"`

	// Size Page size used for this response.
	Size int `json:"size"`

	// TotalItems Total number of matching items across all pages.
	TotalItems int `json:"total_items"`

	// TotalPages Total number of pages at the current page size.
	TotalPages int `json:"total_pages"`
}

PageMeta Pagination metadata returned with a collection response.

type PaymentMethod

type PaymentMethod struct {
	// BillingDetails Billing details (name, email, phone, address) associated with the card.
	BillingDetails *map[string]interface{} `json:"billing_details,omitempty"`

	// Brand Card network brand, e.g. `visa`, `mastercard`, `amex`.
	Brand *string `json:"brand,omitempty"`

	// CreatedAt When the payment method was registered.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Default Whether this payment method is the account's default for subscription charges. Use the `set_default` action to change which payment method is default — this field is not writable via PUT.
	Default *bool `json:"default,omitempty"`

	// ExpMonth Expiry month (1-12).
	ExpMonth *int `json:"exp_month,omitempty"`

	// ExpYear Expiry year (four-digit).
	ExpYear *int `json:"exp_year,omitempty"`

	// Last4 Last four digits of the card number.
	Last4 *string `json:"last4,omitempty"`

	// UpdatedAt When the payment method was last modified.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

PaymentMethod A saved card on file for the account, used to charge subscription invoices.

The default payment method is changed via the `set_default` action rather than by updating this field through PUT.

type PaymentMethodListResponse

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

PaymentMethodListResponse JSON:API collection response for payment methods.

type PaymentMethodRequest added in v3.0.31

type PaymentMethodRequest struct {
	// Data JSON:API resource envelope for a payment method.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data PaymentMethodResource `json:"data"`
}

PaymentMethodRequest JSON:API request envelope for updating a payment method.

type PaymentMethodResource

type PaymentMethodResource struct {
	// Attributes A saved card on file for the account, used to charge subscription
	// invoices.
	//
	// The default payment method is changed via the `set_default` action
	// rather than by updating this field through PUT.
	Attributes PaymentMethod             `json:"attributes"`
	Id         *string                   `json:"id,omitempty"`
	Type       PaymentMethodResourceType `json:"type"`
}

PaymentMethodResource JSON:API resource envelope for a payment method.

`id` must not be specified for create requests (the server assigns it).

type PaymentMethodResourceType

type PaymentMethodResourceType string

PaymentMethodResourceType defines model for PaymentMethodResource.Type.

const (
	PaymentMethodResourceTypePaymentMethod PaymentMethodResourceType = "payment_method"
)

Defines values for PaymentMethodResourceType.

func (PaymentMethodResourceType) Valid

func (e PaymentMethodResourceType) Valid() bool

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

type PaymentMethodResponse

type PaymentMethodResponse struct {
	// Data JSON:API resource envelope for a payment method.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data PaymentMethodResource `json:"data"`
}

PaymentMethodResponse JSON:API single-resource response envelope for a payment method.

type Plan

type Plan struct {
	// Description Long-form plan description.
	Description string `json:"description"`

	// DisplayName Human-readable plan name.
	DisplayName string `json:"display_name"`

	// SortOrder Order in which the plan should be shown in customer-facing lists. Lower values sort first.
	SortOrder int `json:"sort_order"`
}

Plan A plan tier offered across smplkit products.

type PlanChangeRequest

type PlanChangeRequest struct {
	// Plan Plan key to change the subscription to.
	Plan string `json:"plan"`
}

PlanChangeRequest Body for the subscription upgrade and downgrade actions.

type PlanDefinition

type PlanDefinition struct {
	// Limits Map of limit key to the cap that applies on this plan. `-1` indicates an unlimited cap.
	Limits map[string]int `json:"limits"`

	// PriceMonthlyCents Monthly list price in cents. `0` for free plans.
	PriceMonthlyCents int `json:"price_monthly_cents"`
}

PlanDefinition Per-plan pricing and limits for a product.

type PlanListResponse

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

PlanListResponse JSON:API collection response for plan tiers.

type PlanResource

type PlanResource struct {
	// Attributes A plan tier offered across smplkit products.
	Attributes Plan             `json:"attributes"`
	Id         *string          `json:"id,omitempty"`
	Type       PlanResourceType `json:"type"`
}

PlanResource JSON:API resource envelope for a plan tier.

type PlanResourceType

type PlanResourceType string

PlanResourceType defines model for PlanResource.Type.

const (
	PlanResourceTypePlan PlanResourceType = "plan"
)

Defines values for PlanResourceType.

func (PlanResourceType) Valid

func (e PlanResourceType) Valid() bool

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

type Product

type Product struct {
	// ComingSoon When `true`, the product is listed but not yet available for subscription.
	ComingSoon *bool `json:"coming_soon,omitempty"`

	// Description Long-form product description.
	Description string `json:"description"`

	// DisplayName Human-readable product name.
	DisplayName string `json:"display_name"`

	// Features Bullet-list feature highlights for the product.
	Features *[]string `json:"features,omitempty"`

	// Limits Map of limit key to limit definition for this product.
	Limits map[string]LimitDefinition `json:"limits"`

	// Plans Map of plan key to plan definition for this product.
	Plans map[string]PlanDefinition `json:"plans"`

	// Tagline Short marketing tagline shown on plan-selection surfaces.
	Tagline *string `json:"tagline,omitempty"`
}

Product A smplkit product, with its plans, metered limits, and marketing copy.

type ProductListResponse

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

ProductListResponse JSON:API collection response for products.

type ProductResource

type ProductResource struct {
	// Attributes A smplkit product, with its plans, metered limits, and marketing copy.
	Attributes Product             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       ProductResourceType `json:"type"`
}

ProductResource JSON:API resource envelope for a product catalog entry.

type ProductResourceType

type ProductResourceType string

ProductResourceType defines model for ProductResource.Type.

const (
	ProductResourceTypeProduct ProductResourceType = "product"
)

Defines values for ProductResourceType.

func (ProductResourceType) Valid

func (e ProductResourceType) Valid() bool

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

type PutAccountSettingsResponse

type PutAccountSettingsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *map[string]interface{}
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParsePutAccountSettingsResponse

func ParsePutAccountSettingsResponse(rsp *http.Response) (*PutAccountSettingsResponse, error)

ParsePutAccountSettingsResponse parses an HTTP response from a PutAccountSettingsWithResponse call

func (PutAccountSettingsResponse) ContentType

func (r PutAccountSettingsResponse) ContentType() string

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

func (PutAccountSettingsResponse) Status

Status returns HTTPResponse.Status

func (PutAccountSettingsResponse) StatusCode

func (r PutAccountSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutUserSettingsKeyResponse

type PutUserSettingsKeyResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *map[string]interface{}
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParsePutUserSettingsKeyResponse

func ParsePutUserSettingsKeyResponse(rsp *http.Response) (*PutUserSettingsKeyResponse, error)

ParsePutUserSettingsKeyResponse parses an HTTP response from a PutUserSettingsKeyWithResponse call

func (PutUserSettingsKeyResponse) ContentType

func (r PutUserSettingsKeyResponse) ContentType() string

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

func (PutUserSettingsKeyResponse) Status

Status returns HTTPResponse.Status

func (PutUserSettingsKeyResponse) StatusCode

func (r PutUserSettingsKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutUserSettingsResponse

type PutUserSettingsResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *map[string]interface{}
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
}

func ParsePutUserSettingsResponse

func ParsePutUserSettingsResponse(rsp *http.Response) (*PutUserSettingsResponse, error)

ParsePutUserSettingsResponse parses an HTTP response from a PutUserSettingsWithResponse call

func (PutUserSettingsResponse) ContentType

func (r PutUserSettingsResponse) ContentType() string

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

func (PutUserSettingsResponse) Status

func (r PutUserSettingsResponse) Status() string

Status returns HTTPResponse.Status

func (PutUserSettingsResponse) StatusCode

func (r PutUserSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RegisterJSONRequestBody

type RegisterJSONRequestBody = RegisterRequest

RegisterJSONRequestBody defines body for Register for application/json ContentType.

type RegisterRequest

type RegisterRequest struct {
	// Email Email address that becomes the new user's login identifier.
	Email openapi_types.Email `json:"email"`

	// EntryPoint How the customer arrived at the registration page. Allowed values: `LOGIN`, `GET_STARTED`, `LIVE_DEMO`, `UNKNOWN`. Defaults to `UNKNOWN` when omitted. Case-insensitive on input.
	EntryPoint *RegisterRequestEntryPoint `json:"entry_point,omitempty"`

	// Password Password for the new account. Must be at least 8 characters.
	Password string `json:"password"`
}

RegisterRequest Body for the email + password registration endpoint.

type RegisterRequestEntryPoint added in v3.0.6

type RegisterRequestEntryPoint string

RegisterRequestEntryPoint How the customer arrived at the registration page. Allowed values: `LOGIN`, `GET_STARTED`, `LIVE_DEMO`, `UNKNOWN`. Defaults to `UNKNOWN` when omitted. Case-insensitive on input.

const (
	GETSTARTED RegisterRequestEntryPoint = "GET_STARTED"
	LIVEDEMO   RegisterRequestEntryPoint = "LIVE_DEMO"
	LOGIN      RegisterRequestEntryPoint = "LOGIN"
	UNKNOWN    RegisterRequestEntryPoint = "UNKNOWN"
)

Defines values for RegisterRequestEntryPoint.

func (RegisterRequestEntryPoint) Valid added in v3.0.6

func (e RegisterRequestEntryPoint) Valid() bool

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

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

func (r RegisterResponse) ContentType() string

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

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

func (r RemoveUserResponse) ContentType() string

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

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

func (r ResendInvitationResponse) ContentType() string

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

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

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

func ParseResendVerificationResponse

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

ParseResendVerificationResponse parses an HTTP response from a ResendVerificationWithResponse call

func (ResendVerificationResponse) ContentType

func (r ResendVerificationResponse) ContentType() string

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

func (ResendVerificationResponse) Status

Status returns HTTPResponse.Status

func (ResendVerificationResponse) StatusCode

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

func (r RevokeApiKeyResponse) ContentType() string

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

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

func (r RevokeInvitationResponse) ContentType() string

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

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 SendContactEmailApplicationVndAPIPlusJSONBody

type SendContactEmailApplicationVndAPIPlusJSONBody map[string]interface{}

SendContactEmailApplicationVndAPIPlusJSONBody defines parameters for SendContactEmail.

type SendContactEmailApplicationVndAPIPlusJSONRequestBody

type SendContactEmailApplicationVndAPIPlusJSONRequestBody SendContactEmailApplicationVndAPIPlusJSONBody

SendContactEmailApplicationVndAPIPlusJSONRequestBody defines body for SendContactEmail for application/vnd.api+json ContentType.

type SendContactEmailResponse

type SendContactEmailResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *EmailResponse
	ApplicationvndApiJSON400 *ErrorResponse
	ApplicationvndApiJSON401 *ErrorResponse
	ApplicationvndApiJSON404 *ErrorResponse
	ApplicationvndApiJSON409 *ErrorResponse
	ApplicationvndApiJSON429 *ErrorResponse
	ApplicationvndApiJSON500 *ErrorResponse
}

func ParseSendContactEmailResponse

func ParseSendContactEmailResponse(rsp *http.Response) (*SendContactEmailResponse, error)

ParseSendContactEmailResponse parses an HTTP response from a SendContactEmailWithResponse call

func (SendContactEmailResponse) ContentType

func (r SendContactEmailResponse) ContentType() string

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

func (SendContactEmailResponse) Status

func (r SendContactEmailResponse) Status() string

Status returns HTTPResponse.Status

func (SendContactEmailResponse) StatusCode

func (r SendContactEmailResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Service

type Service struct {
	// CreatedAt When the service was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Name Human-readable name for the service.
	Name string `json:"name"`

	// UpdatedAt When the service was last modified.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Service A service that contexts can be evaluated against — for example, a backend application or microservice in the customer's stack.

type ServiceListResponse

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

ServiceListResponse JSON:API collection response for services.

type ServiceRequest added in v3.0.31

type ServiceRequest struct {
	// Data JSON:API resource envelope for a service.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data ServiceResource `json:"data"`
}

ServiceRequest JSON:API request envelope for creating or updating a service.

type ServiceResource

type ServiceResource struct {
	// Attributes A service that contexts can be evaluated against — for example, a
	// backend application or microservice in the customer's stack.
	Attributes Service             `json:"attributes"`
	Id         *string             `json:"id,omitempty"`
	Type       ServiceResourceType `json:"type"`
}

ServiceResource JSON:API resource envelope for a service.

`id` must not be specified for create requests (the server assigns it).

type ServiceResourceType

type ServiceResourceType string

ServiceResourceType defines model for ServiceResource.Type.

const (
	ServiceResourceTypeService ServiceResourceType = "service"
)

Defines values for ServiceResourceType.

func (ServiceResourceType) Valid

func (e ServiceResourceType) Valid() bool

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

type ServiceResponse

type ServiceResponse struct {
	// Data JSON:API resource envelope for a service.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data ServiceResource `json:"data"`
}

ServiceResponse JSON:API single-resource response envelope for a service.

type SetDefaultPaymentMethodResponse

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

func ParseSetDefaultPaymentMethodResponse

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

ParseSetDefaultPaymentMethodResponse parses an HTTP response from a SetDefaultPaymentMethodWithResponse call

func (SetDefaultPaymentMethodResponse) ContentType

func (r SetDefaultPaymentMethodResponse) ContentType() string

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

func (SetDefaultPaymentMethodResponse) Status

Status returns HTTPResponse.Status

func (SetDefaultPaymentMethodResponse) StatusCode

func (r SetDefaultPaymentMethodResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetupIntentAttributes

type SetupIntentAttributes struct {
	// ClientSecret Client secret to pass to Stripe Elements so the customer can complete payment-method setup in the browser.
	ClientSecret string `json:"client_secret"`
}

SetupIntentAttributes Result of executing the setup-intent function.

type SetupIntentResource

type SetupIntentResource struct {
	// Attributes Result of executing the setup-intent function.
	Attributes SetupIntentAttributes   `json:"attributes"`
	Type       SetupIntentResourceType `json:"type"`
}

SetupIntentResource defines model for SetupIntentResource.

type SetupIntentResourceType

type SetupIntentResourceType string

SetupIntentResourceType defines model for SetupIntentResource.Type.

const (
	SetupIntent SetupIntentResourceType = "setup_intent"
)

Defines values for SetupIntentResourceType.

func (SetupIntentResourceType) Valid

func (e SetupIntentResourceType) Valid() bool

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

type SetupIntentResponse

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

SetupIntentResponse JSON:API single-resource response envelope for a setup-intent result.

type SubscriptionAttributes

type SubscriptionAttributes struct {
	// ClientSecret Stripe payment intent client secret returned when a subscription create requires additional authentication (3DS). Returned only on create.
	ClientSecret *string `json:"client_secret,omitempty"`

	// Comped When `true`, the subscription is complimentary and is not billed through the billing provider.
	Comped bool `json:"comped"`

	// CurrentPeriodEnd End of the current billing period (ISO 8601 timestamp).
	CurrentPeriodEnd *string `json:"current_period_end,omitempty"`

	// Plan Plan key the subscription is on, e.g. `pro`.
	Plan string `json:"plan"`

	// Product Product key the subscription is for, e.g. `flags`.
	Product string `json:"product"`

	// Status Lifecycle state of the subscription, e.g. `active`, `trialing`, `past_due`, `canceled`.
	Status *string `json:"status,omitempty"`

	// StripeManaged When `true`, the subscription is billed through Stripe; otherwise it is a free or complimentary subscription that does not produce invoices.
	StripeManaged bool `json:"stripe_managed"`
}

SubscriptionAttributes A subscription that grants the account access to a product on a plan.

type SubscriptionListMeta added in v3.0.16

type SubscriptionListMeta struct {
	// DiscountAmountCents Discount amount in cents.
	DiscountAmountCents int `json:"discount_amount_cents"`

	// DiscountPct Effective discount percentage applied.
	DiscountPct int `json:"discount_pct"`

	// DiscountSource Source of the discount. `VOLUME` indicates the standard volume-discount schedule; `OVERRIDE` indicates a custom discount set on the account.
	DiscountSource SubscriptionListMetaDiscountSource `json:"discount_source"`

	// NextTier Information about the next volume-discount tier.
	NextTier *NextTierMeta `json:"next_tier,omitempty"`

	// SubtotalCents Sum of list prices across all subscriptions in cents.
	SubtotalCents int `json:"subtotal_cents"`

	// TotalCents Final monthly total in cents after the discount.
	TotalCents int `json:"total_cents"`
}

SubscriptionListMeta Discount and totals summary attached to a subscription collection response.

type SubscriptionListMetaDiscountSource added in v3.0.16

type SubscriptionListMetaDiscountSource string

SubscriptionListMetaDiscountSource Source of the discount. `VOLUME` indicates the standard volume-discount schedule; `OVERRIDE` indicates a custom discount set on the account.

const (
	OVERRIDE SubscriptionListMetaDiscountSource = "OVERRIDE"
	VOLUME   SubscriptionListMetaDiscountSource = "VOLUME"
)

Defines values for SubscriptionListMetaDiscountSource.

func (SubscriptionListMetaDiscountSource) Valid added in v3.0.16

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

type SubscriptionListResponse

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

	// Meta Discount and totals summary attached to a subscription collection response.
	Meta *SubscriptionListMeta `json:"meta,omitempty"`
}

SubscriptionListResponse JSON:API collection response for subscriptions.

type SubscriptionResource

type SubscriptionResource struct {
	// Attributes A subscription that grants the account access to a product on a plan.
	Attributes SubscriptionAttributes   `json:"attributes"`
	Id         *string                  `json:"id,omitempty"`
	Type       SubscriptionResourceType `json:"type"`
}

SubscriptionResource JSON:API resource envelope for a subscription.

`id` must not be specified for create requests (the server assigns it).

type SubscriptionResourceType

type SubscriptionResourceType string

SubscriptionResourceType defines model for SubscriptionResource.Type.

const (
	Subscription SubscriptionResourceType = "subscription"
)

Defines values for SubscriptionResourceType.

func (SubscriptionResourceType) Valid

func (e SubscriptionResourceType) Valid() bool

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

type SubscriptionResponse

type SubscriptionResponse struct {
	// Data JSON:API resource envelope for a subscription.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data SubscriptionResource `json:"data"`
}

SubscriptionResponse JSON:API single-resource response envelope for a subscription.

type UncancelSubscriptionResponse

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

func ParseUncancelSubscriptionResponse

func ParseUncancelSubscriptionResponse(rsp *http.Response) (*UncancelSubscriptionResponse, error)

ParseUncancelSubscriptionResponse parses an HTTP response from a UncancelSubscriptionWithResponse call

func (UncancelSubscriptionResponse) ContentType

func (r UncancelSubscriptionResponse) ContentType() string

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

func (UncancelSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (UncancelSubscriptionResponse) StatusCode

func (r UncancelSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UndowngradeSubscriptionResponse

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

func ParseUndowngradeSubscriptionResponse

func ParseUndowngradeSubscriptionResponse(rsp *http.Response) (*UndowngradeSubscriptionResponse, error)

ParseUndowngradeSubscriptionResponse parses an HTTP response from a UndowngradeSubscriptionWithResponse call

func (UndowngradeSubscriptionResponse) ContentType

func (r UndowngradeSubscriptionResponse) ContentType() string

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

func (UndowngradeSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (UndowngradeSubscriptionResponse) StatusCode

func (r UndowngradeSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateAccountApplicationVndAPIPlusJSONRequestBody

type UpdateAccountApplicationVndAPIPlusJSONRequestBody = AccountRequest

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

func (r UpdateAccountResponse) ContentType() string

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

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 = ApiKeyRequest

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

func (r UpdateApiKeyResponse) ContentType() string

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

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 UpdateContextApplicationVndAPIPlusJSONRequestBody

type UpdateContextApplicationVndAPIPlusJSONRequestBody = ContextRequest

UpdateContextApplicationVndAPIPlusJSONRequestBody defines body for UpdateContext for application/vnd.api+json ContentType.

type UpdateContextResponse

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

func ParseUpdateContextResponse

func ParseUpdateContextResponse(rsp *http.Response) (*UpdateContextResponse, error)

ParseUpdateContextResponse parses an HTTP response from a UpdateContextWithResponse call

func (UpdateContextResponse) ContentType

func (r UpdateContextResponse) ContentType() string

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

func (UpdateContextResponse) Status

func (r UpdateContextResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateContextResponse) StatusCode

func (r UpdateContextResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateContextTypeApplicationVndAPIPlusJSONRequestBody

type UpdateContextTypeApplicationVndAPIPlusJSONRequestBody = ContextTypeRequest

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

type UpdateContextTypeResponse

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

func ParseUpdateContextTypeResponse

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

ParseUpdateContextTypeResponse parses an HTTP response from a UpdateContextTypeWithResponse call

func (UpdateContextTypeResponse) ContentType

func (r UpdateContextTypeResponse) ContentType() string

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

func (UpdateContextTypeResponse) Status

func (r UpdateContextTypeResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateContextTypeResponse) StatusCode

func (r UpdateContextTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody

type UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody = UserRequest

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

func (r UpdateCurrentUserResponse) ContentType() string

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

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 = EnvironmentRequest

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

func (r UpdateEnvironmentResponse) ContentType() string

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

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 UpdatePaymentMethodApplicationVndAPIPlusJSONRequestBody

type UpdatePaymentMethodApplicationVndAPIPlusJSONRequestBody = PaymentMethodRequest

UpdatePaymentMethodApplicationVndAPIPlusJSONRequestBody defines body for UpdatePaymentMethod for application/vnd.api+json ContentType.

type UpdatePaymentMethodResponse

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

func ParseUpdatePaymentMethodResponse

func ParseUpdatePaymentMethodResponse(rsp *http.Response) (*UpdatePaymentMethodResponse, error)

ParseUpdatePaymentMethodResponse parses an HTTP response from a UpdatePaymentMethodWithResponse call

func (UpdatePaymentMethodResponse) ContentType

func (r UpdatePaymentMethodResponse) ContentType() string

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

func (UpdatePaymentMethodResponse) Status

Status returns HTTPResponse.Status

func (UpdatePaymentMethodResponse) StatusCode

func (r UpdatePaymentMethodResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateServiceApplicationVndAPIPlusJSONRequestBody

type UpdateServiceApplicationVndAPIPlusJSONRequestBody = ServiceRequest

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

func (r UpdateServiceResponse) ContentType() string

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

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 = UserRequest

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

func (r UpdateUserRoleResponse) ContentType() string

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

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

type UpgradeSubscriptionApplicationVndAPIPlusJSONRequestBody = PlanChangeRequest

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

type UpgradeSubscriptionResponse

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

func ParseUpgradeSubscriptionResponse

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

ParseUpgradeSubscriptionResponse parses an HTTP response from a UpgradeSubscriptionWithResponse call

func (UpgradeSubscriptionResponse) ContentType

func (r UpgradeSubscriptionResponse) ContentType() string

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

func (UpgradeSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (UpgradeSubscriptionResponse) StatusCode

func (r UpgradeSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type User

type User struct {
	// Account UUID of the account the user is acting within.
	Account *string `json:"account,omitempty"`

	// AuthProvider Identity provider that authenticates the user, e.g. `google`, `microsoft`, or `email`.
	AuthProvider *string `json:"auth_provider,omitempty"`

	// AvatarUrl Server-generated `data:` URL containing the user's avatar image bytes when one has been captured. `null` when no avatar is available — callers should fall back to Gravatar or initials.
	AvatarUrl *string `json:"avatar_url,omitempty"`

	// CreatedAt When the user record was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// DisplayName Human-readable display name shown in the console and on shared resources.
	DisplayName string `json:"display_name"`

	// Email Email address used to sign in to the user account.
	Email *openapi_types.Email `json:"email,omitempty"`

	// EmailVerified Whether the user has completed email verification.
	EmailVerified *bool `json:"email_verified,omitempty"`

	// ProfilePic URL of an external profile picture (e.g. the value supplied by the user's identity provider).
	ProfilePic *string `json:"profile_pic,omitempty"`

	// Role Role the user holds in the current account context. One of `OWNER`, `ADMIN`, `MEMBER`, or `VIEWER`.
	Role *string `json:"role,omitempty"`
}

User A person with access to one or more accounts in smplkit.

type UserListMeta

type UserListMeta struct {
	// Page Pagination metadata returned with a collection response.
	Page PageMeta `json:"page"`
}

UserListMeta defines model for UserListMeta.

type UserListResponse

type UserListResponse struct {
	Data []UserResource `json:"data"`
	Meta *UserListMeta  `json:"meta,omitempty"`
}

UserListResponse JSON:API collection response for users.

type UserRequest added in v3.0.31

type UserRequest struct {
	// Data JSON:API resource envelope for a user.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data UserResource `json:"data"`
}

UserRequest JSON:API request envelope for creating or updating a user.

type UserResource

type UserResource struct {
	// Attributes A person with access to one or more accounts in smplkit.
	Attributes User             `json:"attributes"`
	Id         *string          `json:"id,omitempty"`
	Type       UserResourceType `json:"type"`
}

UserResource JSON:API resource envelope for a user.

`id` must not be specified for create requests (the server assigns it).

type UserResourceType

type UserResourceType string

UserResourceType defines model for UserResource.Type.

const (
	UserResourceTypeUser UserResourceType = "user"
)

Defines values for UserResourceType.

func (UserResourceType) Valid

func (e UserResourceType) Valid() bool

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

type UserResponse

type UserResponse struct {
	// Data JSON:API resource envelope for a user.
	//
	// `id` must not be specified for create requests (the server assigns it).
	Data UserResource `json:"data"`
}

UserResponse JSON:API single-resource response envelope for a user.

type VerifyEmailJSONRequestBody

type VerifyEmailJSONRequestBody = VerifyEmailRequest

VerifyEmailJSONRequestBody defines body for VerifyEmail for application/json ContentType.

type VerifyEmailRequest

type VerifyEmailRequest struct {
	// Token Verification token previously delivered to the user's email.
	Token string `json:"token"`
}

VerifyEmailRequest Body for the email-verification endpoint.

type VerifyEmailResponse

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

func ParseVerifyEmailResponse

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

ParseVerifyEmailResponse parses an HTTP response from a VerifyEmailWithResponse call

func (VerifyEmailResponse) ContentType

func (r VerifyEmailResponse) ContentType() string

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

func (VerifyEmailResponse) Status

func (r VerifyEmailResponse) Status() string

Status returns HTTPResponse.Status

func (VerifyEmailResponse) StatusCode

func (r VerifyEmailResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WipeAccountDataApplicationVndAPIPlusJSONRequestBody

type WipeAccountDataApplicationVndAPIPlusJSONRequestBody = AccountWipeRequest

WipeAccountDataApplicationVndAPIPlusJSONRequestBody defines body for WipeAccountData for application/vnd.api+json ContentType.

type WipeAccountDataResponse

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

func ParseWipeAccountDataResponse

func ParseWipeAccountDataResponse(rsp *http.Response) (*WipeAccountDataResponse, error)

ParseWipeAccountDataResponse parses an HTTP response from a WipeAccountDataWithResponse call

func (WipeAccountDataResponse) ContentType

func (r WipeAccountDataResponse) ContentType() string

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

func (WipeAccountDataResponse) Status

func (r WipeAccountDataResponse) Status() string

Status returns HTTPResponse.Status

func (WipeAccountDataResponse) StatusCode

func (r WipeAccountDataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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