generated

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

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

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

Index

Constants

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

Variables

This section is empty.

Functions

func NewActivateLicenseRequest

func NewActivateLicenseRequest(server string, params *ActivateLicenseParams, body ActivateLicenseJSONRequestBody) (*http.Request, error)

NewActivateLicenseRequest calls the generic ActivateLicense builder with application/json body

func NewActivateLicenseRequestWithBody

func NewActivateLicenseRequestWithBody(server string, params *ActivateLicenseParams, contentType string, body io.Reader) (*http.Request, error)

NewActivateLicenseRequestWithBody generates requests for ActivateLicense with any type of body

func NewAssignLicenseFeatureRequest

func NewAssignLicenseFeatureRequest(server string, id IDPath, body AssignLicenseFeatureJSONRequestBody) (*http.Request, error)

NewAssignLicenseFeatureRequest calls the generic AssignLicenseFeature builder with application/json body

func NewAssignLicenseFeatureRequestWithBody

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

NewAssignLicenseFeatureRequestWithBody generates requests for AssignLicenseFeature with any type of body

func NewBlacklistLicenseDeviceRequest

func NewBlacklistLicenseDeviceRequest(server string, id IDPath, deviceId DeviceIDPath) (*http.Request, error)

NewBlacklistLicenseDeviceRequest generates requests for BlacklistLicenseDevice

func NewCheckLicenseRequest

func NewCheckLicenseRequest(server string, body CheckLicenseJSONRequestBody) (*http.Request, error)

NewCheckLicenseRequest calls the generic CheckLicense builder with application/json body

func NewCheckLicenseRequestWithBody

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

NewCheckLicenseRequestWithBody generates requests for CheckLicense with any type of body

func NewCheckinFloatingLicenseRequest

func NewCheckinFloatingLicenseRequest(server string, params *CheckinFloatingLicenseParams, body CheckinFloatingLicenseJSONRequestBody) (*http.Request, error)

NewCheckinFloatingLicenseRequest calls the generic CheckinFloatingLicense builder with application/json body

func NewCheckinFloatingLicenseRequestWithBody

func NewCheckinFloatingLicenseRequestWithBody(server string, params *CheckinFloatingLicenseParams, contentType string, body io.Reader) (*http.Request, error)

NewCheckinFloatingLicenseRequestWithBody generates requests for CheckinFloatingLicense with any type of body

func NewCheckoutFloatingLicenseRequest

func NewCheckoutFloatingLicenseRequest(server string, params *CheckoutFloatingLicenseParams, body CheckoutFloatingLicenseJSONRequestBody) (*http.Request, error)

NewCheckoutFloatingLicenseRequest calls the generic CheckoutFloatingLicense builder with application/json body

func NewCheckoutFloatingLicenseRequestWithBody

func NewCheckoutFloatingLicenseRequestWithBody(server string, params *CheckoutFloatingLicenseParams, contentType string, body io.Reader) (*http.Request, error)

NewCheckoutFloatingLicenseRequestWithBody generates requests for CheckoutFloatingLicense with any type of body

func NewConsumeLicenseRequest

func NewConsumeLicenseRequest(server string, params *ConsumeLicenseParams, body ConsumeLicenseJSONRequestBody) (*http.Request, error)

NewConsumeLicenseRequest calls the generic ConsumeLicense builder with application/json body

func NewConsumeLicenseRequestWithBody

func NewConsumeLicenseRequestWithBody(server string, params *ConsumeLicenseParams, contentType string, body io.Reader) (*http.Request, error)

NewConsumeLicenseRequestWithBody generates requests for ConsumeLicense with any type of body

func NewCreateAPIKeyRequest

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

NewCreateAPIKeyRequest calls the generic CreateAPIKey builder with application/json body

func NewCreateAPIKeyRequestWithBody

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

NewCreateAPIKeyRequestWithBody generates requests for CreateAPIKey with any type of body

func NewCreateCustomerRequest

func NewCreateCustomerRequest(server string, body CreateCustomerJSONRequestBody) (*http.Request, error)

NewCreateCustomerRequest calls the generic CreateCustomer builder with application/json body

func NewCreateCustomerRequestWithBody

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

NewCreateCustomerRequestWithBody generates requests for CreateCustomer with any type of body

func NewCreateFeatureRequest

func NewCreateFeatureRequest(server string, id IDPath, body CreateFeatureJSONRequestBody) (*http.Request, error)

NewCreateFeatureRequest calls the generic CreateFeature builder with application/json body

func NewCreateFeatureRequestWithBody

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

NewCreateFeatureRequestWithBody generates requests for CreateFeature with any type of body

func NewCreateLicenseRequest

func NewCreateLicenseRequest(server string, body CreateLicenseJSONRequestBody) (*http.Request, error)

NewCreateLicenseRequest calls the generic CreateLicense builder with application/json body

func NewCreateLicenseRequestWithBody

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

NewCreateLicenseRequestWithBody generates requests for CreateLicense with any type of body

func NewCreateOrderRequest

func NewCreateOrderRequest(server string, id IDPath, body CreateOrderJSONRequestBody) (*http.Request, error)

NewCreateOrderRequest calls the generic CreateOrder builder with application/json body

func NewCreateOrderRequestWithBody

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

NewCreateOrderRequestWithBody generates requests for CreateOrder with any type of body

func NewCreatePolicyRequest

func NewCreatePolicyRequest(server string, id IDPath, body CreatePolicyJSONRequestBody) (*http.Request, error)

NewCreatePolicyRequest calls the generic CreatePolicy builder with application/json body

func NewCreatePolicyRequestWithBody

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

NewCreatePolicyRequestWithBody generates requests for CreatePolicy with any type of body

func NewCreateProductCustomFieldDefinitionRequest

func NewCreateProductCustomFieldDefinitionRequest(server string, id IDPath, body CreateProductCustomFieldDefinitionJSONRequestBody) (*http.Request, error)

NewCreateProductCustomFieldDefinitionRequest calls the generic CreateProductCustomFieldDefinition builder with application/json body

func NewCreateProductCustomFieldDefinitionRequestWithBody

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

NewCreateProductCustomFieldDefinitionRequestWithBody generates requests for CreateProductCustomFieldDefinition with any type of body

func NewCreateProductRequest

func NewCreateProductRequest(server string, body CreateProductJSONRequestBody) (*http.Request, error)

NewCreateProductRequest calls the generic CreateProduct builder with application/json body

func NewCreateProductRequestWithBody

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

NewCreateProductRequestWithBody generates requests for CreateProduct with any type of body

func NewCreateProductVersionRequest

func NewCreateProductVersionRequest(server string, id IDPath, body CreateProductVersionJSONRequestBody) (*http.Request, error)

NewCreateProductVersionRequest calls the generic CreateProductVersion builder with application/json body

func NewCreateProductVersionRequestWithBody

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

NewCreateProductVersionRequestWithBody generates requests for CreateProductVersion with any type of body

func NewCreateReportExportRequest added in v1.0.0

func NewCreateReportExportRequest(server string, body CreateReportExportJSONRequestBody) (*http.Request, error)

NewCreateReportExportRequest calls the generic CreateReportExport builder with application/json body

func NewCreateReportExportRequestWithBody added in v1.0.0

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

NewCreateReportExportRequestWithBody generates requests for CreateReportExport with any type of body

func NewCreateSubscriptionRequest

func NewCreateSubscriptionRequest(server string, id IDPath, body CreateSubscriptionJSONRequestBody) (*http.Request, error)

NewCreateSubscriptionRequest calls the generic CreateSubscription builder with application/json body

func NewCreateSubscriptionRequestWithBody

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

NewCreateSubscriptionRequestWithBody generates requests for CreateSubscription with any type of body

func NewCreateWebhookEndpointRequest

func NewCreateWebhookEndpointRequest(server string, body CreateWebhookEndpointJSONRequestBody) (*http.Request, error)

NewCreateWebhookEndpointRequest calls the generic CreateWebhookEndpoint builder with application/json body

func NewCreateWebhookEndpointRequestWithBody

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

NewCreateWebhookEndpointRequestWithBody generates requests for CreateWebhookEndpoint with any type of body

func NewDeactivateLicenseRequest

func NewDeactivateLicenseRequest(server string, params *DeactivateLicenseParams, body DeactivateLicenseJSONRequestBody) (*http.Request, error)

NewDeactivateLicenseRequest calls the generic DeactivateLicense builder with application/json body

func NewDeactivateLicenseRequestWithBody

func NewDeactivateLicenseRequestWithBody(server string, params *DeactivateLicenseParams, contentType string, body io.Reader) (*http.Request, error)

NewDeactivateLicenseRequestWithBody generates requests for DeactivateLicense with any type of body

func NewDeleteCustomerRequest

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

NewDeleteCustomerRequest generates requests for DeleteCustomer

func NewDeletePolicyRequest

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

NewDeletePolicyRequest generates requests for DeletePolicy

func NewDeleteProductCustomFieldDefinitionRequest

func NewDeleteProductCustomFieldDefinitionRequest(server string, id IDPath, fieldId FieldIDPath) (*http.Request, error)

NewDeleteProductCustomFieldDefinitionRequest generates requests for DeleteProductCustomFieldDefinition

func NewDeleteProductRequest

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

NewDeleteProductRequest generates requests for DeleteProduct

func NewDeleteWebhookEndpointRequest

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

NewDeleteWebhookEndpointRequest generates requests for DeleteWebhookEndpoint

func NewDownloadReportExportRequest added in v1.0.0

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

NewDownloadReportExportRequest generates requests for DownloadReportExport

func NewGetCustomerRequest

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

NewGetCustomerRequest generates requests for GetCustomer

func NewGetCustomerSummaryRequest added in v1.0.0

func NewGetCustomerSummaryRequest(server string, params *GetCustomerSummaryParams) (*http.Request, error)

NewGetCustomerSummaryRequest generates requests for GetCustomerSummary

func NewGetFeatureRequest

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

NewGetFeatureRequest generates requests for GetFeature

func NewGetLicenseAuditReportRequest added in v1.0.0

func NewGetLicenseAuditReportRequest(server string, params *GetLicenseAuditReportParams) (*http.Request, error)

NewGetLicenseAuditReportRequest generates requests for GetLicenseAuditReport

func NewGetLicenseDeviceRequest

func NewGetLicenseDeviceRequest(server string, id IDPath, deviceId DeviceIDPath) (*http.Request, error)

NewGetLicenseDeviceRequest generates requests for GetLicenseDevice

func NewGetLicenseRequest

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

NewGetLicenseRequest generates requests for GetLicense

func NewGetMetricsRequest

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

NewGetMetricsRequest generates requests for GetMetrics

func NewGetOpsSummaryRequest added in v1.0.0

func NewGetOpsSummaryRequest(server string, params *GetOpsSummaryParams) (*http.Request, error)

NewGetOpsSummaryRequest generates requests for GetOpsSummary

func NewGetOrderRequest

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

NewGetOrderRequest generates requests for GetOrder

func NewGetPolicyRequest

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

NewGetPolicyRequest generates requests for GetPolicy

func NewGetProductCustomFieldDefinitionRequest

func NewGetProductCustomFieldDefinitionRequest(server string, id IDPath, fieldId FieldIDPath) (*http.Request, error)

NewGetProductCustomFieldDefinitionRequest generates requests for GetProductCustomFieldDefinition

func NewGetProductRequest

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

NewGetProductRequest generates requests for GetProduct

func NewGetReportExportRequest added in v1.0.0

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

NewGetReportExportRequest generates requests for GetReportExport

func NewGetSubscriptionRequest

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

NewGetSubscriptionRequest generates requests for GetSubscription

func NewGetSubscriptionSettlementRequest added in v1.0.0

func NewGetSubscriptionSettlementRequest(server string, params *GetSubscriptionSettlementParams) (*http.Request, error)

NewGetSubscriptionSettlementRequest generates requests for GetSubscriptionSettlement

func NewGetUsageSummaryRequest added in v1.0.0

func NewGetUsageSummaryRequest(server string, params *GetUsageSummaryParams) (*http.Request, error)

NewGetUsageSummaryRequest generates requests for GetUsageSummary

func NewGetWebhookEndpointRequest

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

NewGetWebhookEndpointRequest generates requests for GetWebhookEndpoint

func NewGetWebhookHealthRequest added in v1.0.0

func NewGetWebhookHealthRequest(server string, params *GetWebhookHealthParams) (*http.Request, error)

NewGetWebhookHealthRequest generates requests for GetWebhookHealth

func NewHealthRequest

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

NewHealthRequest generates requests for Health

func NewHealthzRequest

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

NewHealthzRequest generates requests for Healthz

func NewHeartbeatFloatingLicenseRequest

func NewHeartbeatFloatingLicenseRequest(server string, body HeartbeatFloatingLicenseJSONRequestBody) (*http.Request, error)

NewHeartbeatFloatingLicenseRequest calls the generic HeartbeatFloatingLicense builder with application/json body

func NewHeartbeatFloatingLicenseRequestWithBody

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

NewHeartbeatFloatingLicenseRequestWithBody generates requests for HeartbeatFloatingLicense with any type of body

func NewIssueOfflineLicenseRequest

func NewIssueOfflineLicenseRequest(server string, body IssueOfflineLicenseJSONRequestBody) (*http.Request, error)

NewIssueOfflineLicenseRequest calls the generic IssueOfflineLicense builder with application/json body

func NewIssueOfflineLicenseRequestWithBody

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

NewIssueOfflineLicenseRequestWithBody generates requests for IssueOfflineLicense with any type of body

func NewListAPIKeysRequest

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

NewListAPIKeysRequest generates requests for ListAPIKeys

func NewListActivitiesRequest added in v1.0.0

func NewListActivitiesRequest(server string, params *ListActivitiesParams) (*http.Request, error)

NewListActivitiesRequest generates requests for ListActivities

func NewListCustomerCustomFieldValuesRequest

func NewListCustomerCustomFieldValuesRequest(server string, id IDPath, params *ListCustomerCustomFieldValuesParams) (*http.Request, error)

NewListCustomerCustomFieldValuesRequest generates requests for ListCustomerCustomFieldValues

func NewListCustomersRequest

func NewListCustomersRequest(server string, params *ListCustomersParams) (*http.Request, error)

NewListCustomersRequest generates requests for ListCustomers

func NewListEventsRequest

func NewListEventsRequest(server string, params *ListEventsParams) (*http.Request, error)

NewListEventsRequest generates requests for ListEvents

func NewListFeaturesByProductRequest

func NewListFeaturesByProductRequest(server string, id IDPath, params *ListFeaturesByProductParams) (*http.Request, error)

NewListFeaturesByProductRequest generates requests for ListFeaturesByProduct

func NewListLicenseCustomFieldValuesRequest

func NewListLicenseCustomFieldValuesRequest(server string, id IDPath, params *ListLicenseCustomFieldValuesParams) (*http.Request, error)

NewListLicenseCustomFieldValuesRequest generates requests for ListLicenseCustomFieldValues

func NewListLicenseDevicesRequest

func NewListLicenseDevicesRequest(server string, id IDPath, params *ListLicenseDevicesParams) (*http.Request, error)

NewListLicenseDevicesRequest generates requests for ListLicenseDevices

func NewListLicenseFeaturesRequest

func NewListLicenseFeaturesRequest(server string, id IDPath, params *ListLicenseFeaturesParams) (*http.Request, error)

NewListLicenseFeaturesRequest generates requests for ListLicenseFeatures

func NewListLicensesRequest

func NewListLicensesRequest(server string, params *ListLicensesParams) (*http.Request, error)

NewListLicensesRequest generates requests for ListLicenses

func NewListPoliciesByProductRequest

func NewListPoliciesByProductRequest(server string, id IDPath, params *ListPoliciesByProductParams) (*http.Request, error)

NewListPoliciesByProductRequest generates requests for ListPoliciesByProduct

func NewListProductCustomFieldDefinitionsRequest

func NewListProductCustomFieldDefinitionsRequest(server string, id IDPath, params *ListProductCustomFieldDefinitionsParams) (*http.Request, error)

NewListProductCustomFieldDefinitionsRequest generates requests for ListProductCustomFieldDefinitions

func NewListProductOrdersRequest

func NewListProductOrdersRequest(server string, id IDPath, params *ListProductOrdersParams) (*http.Request, error)

NewListProductOrdersRequest generates requests for ListProductOrders

func NewListProductSubscriptionsRequest

func NewListProductSubscriptionsRequest(server string, id IDPath, params *ListProductSubscriptionsParams) (*http.Request, error)

NewListProductSubscriptionsRequest generates requests for ListProductSubscriptions

func NewListProductVersionsRequest

func NewListProductVersionsRequest(server string, id IDPath, params *ListProductVersionsParams) (*http.Request, error)

NewListProductVersionsRequest generates requests for ListProductVersions

func NewListProductsRequest

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

NewListProductsRequest generates requests for ListProducts

func NewListPublicKeysRequest

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

NewListPublicKeysRequest generates requests for ListPublicKeys

func NewListRuntimeErrorGroupsRequest added in v1.0.0

func NewListRuntimeErrorGroupsRequest(server string, params *ListRuntimeErrorGroupsParams) (*http.Request, error)

NewListRuntimeErrorGroupsRequest generates requests for ListRuntimeErrorGroups

func NewListUsageLedgerRequest added in v1.0.0

func NewListUsageLedgerRequest(server string, params *ListUsageLedgerParams) (*http.Request, error)

NewListUsageLedgerRequest generates requests for ListUsageLedger

func NewListWebhookEndpointsRequest

func NewListWebhookEndpointsRequest(server string, params *ListWebhookEndpointsParams) (*http.Request, error)

NewListWebhookEndpointsRequest generates requests for ListWebhookEndpoints

func NewReadyzRequest

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

NewReadyzRequest generates requests for Readyz

func NewReinstateLicenseRequest

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

NewReinstateLicenseRequest generates requests for ReinstateLicense

func NewRemoveLicenseFeatureRequest

func NewRemoveLicenseFeatureRequest(server string, id IDPath, featureId FeatureIDPath) (*http.Request, error)

NewRemoveLicenseFeatureRequest generates requests for RemoveLicenseFeature

func NewRenewLicenseRequest

func NewRenewLicenseRequest(server string, id IDPath, params *RenewLicenseParams, body RenewLicenseJSONRequestBody) (*http.Request, error)

NewRenewLicenseRequest calls the generic RenewLicense builder with application/json body

func NewRenewLicenseRequestWithBody

func NewRenewLicenseRequestWithBody(server string, id IDPath, params *RenewLicenseParams, contentType string, body io.Reader) (*http.Request, error)

NewRenewLicenseRequestWithBody generates requests for RenewLicense with any type of body

func NewResetLicenseDeviceRequest

func NewResetLicenseDeviceRequest(server string, id IDPath, deviceId DeviceIDPath) (*http.Request, error)

NewResetLicenseDeviceRequest generates requests for ResetLicenseDevice

func NewResetLicenseUsageRequest

func NewResetLicenseUsageRequest(server string, id IDPath, body ResetLicenseUsageJSONRequestBody) (*http.Request, error)

NewResetLicenseUsageRequest calls the generic ResetLicenseUsage builder with application/json body

func NewResetLicenseUsageRequestWithBody

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

NewResetLicenseUsageRequestWithBody generates requests for ResetLicenseUsage with any type of body

func NewRevokeLicenseRequest

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

NewRevokeLicenseRequest generates requests for RevokeLicense

func NewSuspendLicenseRequest

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

NewSuspendLicenseRequest generates requests for SuspendLicense

func NewTransferLicenseRequest

func NewTransferLicenseRequest(server string, id IDPath, params *TransferLicenseParams, body TransferLicenseJSONRequestBody) (*http.Request, error)

NewTransferLicenseRequest calls the generic TransferLicense builder with application/json body

func NewTransferLicenseRequestWithBody

func NewTransferLicenseRequestWithBody(server string, id IDPath, params *TransferLicenseParams, contentType string, body io.Reader) (*http.Request, error)

NewTransferLicenseRequestWithBody generates requests for TransferLicense with any type of body

func NewUpdateCustomerRequest

func NewUpdateCustomerRequest(server string, id IDPath, body UpdateCustomerJSONRequestBody) (*http.Request, error)

NewUpdateCustomerRequest calls the generic UpdateCustomer builder with application/json body

func NewUpdateCustomerRequestWithBody

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

NewUpdateCustomerRequestWithBody generates requests for UpdateCustomer with any type of body

func NewUpdateOrderRequest

func NewUpdateOrderRequest(server string, id IDPath, body UpdateOrderJSONRequestBody) (*http.Request, error)

NewUpdateOrderRequest calls the generic UpdateOrder builder with application/json body

func NewUpdateOrderRequestWithBody

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

NewUpdateOrderRequestWithBody generates requests for UpdateOrder with any type of body

func NewUpdatePolicyRequest

func NewUpdatePolicyRequest(server string, id IDPath, body UpdatePolicyJSONRequestBody) (*http.Request, error)

NewUpdatePolicyRequest calls the generic UpdatePolicy builder with application/json body

func NewUpdatePolicyRequestWithBody

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

NewUpdatePolicyRequestWithBody generates requests for UpdatePolicy with any type of body

func NewUpdateProductCustomFieldDefinitionRequest

func NewUpdateProductCustomFieldDefinitionRequest(server string, id IDPath, fieldId FieldIDPath, body UpdateProductCustomFieldDefinitionJSONRequestBody) (*http.Request, error)

NewUpdateProductCustomFieldDefinitionRequest calls the generic UpdateProductCustomFieldDefinition builder with application/json body

func NewUpdateProductCustomFieldDefinitionRequestWithBody

func NewUpdateProductCustomFieldDefinitionRequestWithBody(server string, id IDPath, fieldId FieldIDPath, contentType string, body io.Reader) (*http.Request, error)

NewUpdateProductCustomFieldDefinitionRequestWithBody generates requests for UpdateProductCustomFieldDefinition with any type of body

func NewUpdateProductRequest

func NewUpdateProductRequest(server string, id IDPath, body UpdateProductJSONRequestBody) (*http.Request, error)

NewUpdateProductRequest calls the generic UpdateProduct builder with application/json body

func NewUpdateProductRequestWithBody

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

NewUpdateProductRequestWithBody generates requests for UpdateProduct with any type of body

func NewUpdateSubscriptionRequest

func NewUpdateSubscriptionRequest(server string, id IDPath, body UpdateSubscriptionJSONRequestBody) (*http.Request, error)

NewUpdateSubscriptionRequest calls the generic UpdateSubscription builder with application/json body

func NewUpdateSubscriptionRequestWithBody

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

NewUpdateSubscriptionRequestWithBody generates requests for UpdateSubscription with any type of body

func NewUpdateWebhookEndpointRequest

func NewUpdateWebhookEndpointRequest(server string, id IDPath, body UpdateWebhookEndpointJSONRequestBody) (*http.Request, error)

NewUpdateWebhookEndpointRequest calls the generic UpdateWebhookEndpoint builder with application/json body

func NewUpdateWebhookEndpointRequestWithBody

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

NewUpdateWebhookEndpointRequestWithBody generates requests for UpdateWebhookEndpoint with any type of body

func NewUpsertCustomerCustomFieldValueRequest

func NewUpsertCustomerCustomFieldValueRequest(server string, id IDPath, fieldId FieldIDPath, body UpsertCustomerCustomFieldValueJSONRequestBody) (*http.Request, error)

NewUpsertCustomerCustomFieldValueRequest calls the generic UpsertCustomerCustomFieldValue builder with application/json body

func NewUpsertCustomerCustomFieldValueRequestWithBody

func NewUpsertCustomerCustomFieldValueRequestWithBody(server string, id IDPath, fieldId FieldIDPath, contentType string, body io.Reader) (*http.Request, error)

NewUpsertCustomerCustomFieldValueRequestWithBody generates requests for UpsertCustomerCustomFieldValue with any type of body

func NewUpsertLicenseCustomFieldValueRequest

func NewUpsertLicenseCustomFieldValueRequest(server string, id IDPath, fieldId FieldIDPath, body UpsertLicenseCustomFieldValueJSONRequestBody) (*http.Request, error)

NewUpsertLicenseCustomFieldValueRequest calls the generic UpsertLicenseCustomFieldValue builder with application/json body

func NewUpsertLicenseCustomFieldValueRequestWithBody

func NewUpsertLicenseCustomFieldValueRequestWithBody(server string, id IDPath, fieldId FieldIDPath, contentType string, body io.Reader) (*http.Request, error)

NewUpsertLicenseCustomFieldValueRequestWithBody generates requests for UpsertLicenseCustomFieldValue with any type of body

func NewValidateLicenseRequest

func NewValidateLicenseRequest(server string, body ValidateLicenseJSONRequestBody) (*http.Request, error)

NewValidateLicenseRequest calls the generic ValidateLicense builder with application/json body

func NewValidateLicenseRequestWithBody

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

NewValidateLicenseRequestWithBody generates requests for ValidateLicense with any type of body

Types

type APIKey

type APIKey struct {
	AllowedCidrs []string          `json:"allowed_cidrs"`
	CreatedAt    time.Time         `json:"created_at"`
	ExpiresAt    *time.Time        `json:"expires_at,omitempty"`
	Id           string            `json:"id"`
	IsActive     bool              `json:"is_active"`
	KeyPrefix    string            `json:"key_prefix"`
	LastUsedAt   *time.Time        `json:"last_used_at,omitempty"`
	Name         string            `json:"name"`
	Scopes       []ManagementScope `json:"scopes"`
}

APIKey defines model for APIKey.

type APIKeyCreateRequest

type APIKeyCreateRequest struct {
	AllowedCidrs *[]string  `json:"allowed_cidrs,omitempty"`
	ExpiresAt    *time.Time `json:"expires_at,omitempty"`
	Name         string     `json:"name"`

	// Scopes Defaults to `["admin"]` when omitted.
	Scopes *[]ManagementScope `json:"scopes,omitempty"`
}

APIKeyCreateRequest defines model for APIKeyCreateRequest.

type APIKeyCreateResponse

type APIKeyCreateResponse struct {
	ApiKey APIKey `json:"api_key"`
	Token  string `json:"token"`
}

APIKeyCreateResponse defines model for APIKeyCreateResponse.

type ActivateLicenseJSONRequestBody

type ActivateLicenseJSONRequestBody = RuntimeBindingRequest

ActivateLicenseJSONRequestBody defines body for ActivateLicense for application/json ContentType.

type ActivateLicenseParams

type ActivateLicenseParams struct {
	IdempotencyKey IdempotencyKeyHeader `json:"Idempotency-Key"`
}

ActivateLicenseParams defines parameters for ActivateLicense.

type ActivateLicenseResponse

type ActivateLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignedRuntimeEntitlementEnvelope
	JSON400      *BadRequest
	JSON401      *UnauthorizedLicense
	JSON403      *ForbiddenRuntime
	JSON409      *Conflict
	JSON422      *ValidationError
}

func ParseActivateLicenseResponse

func ParseActivateLicenseResponse(rsp *http.Response) (*ActivateLicenseResponse, error)

ParseActivateLicenseResponse parses an HTTP response from a ActivateLicenseWithResponse call

func (ActivateLicenseResponse) Status

func (r ActivateLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (ActivateLicenseResponse) StatusCode

func (r ActivateLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AssignLicenseFeatureJSONRequestBody

type AssignLicenseFeatureJSONRequestBody = LicenseFeatureAssignRequest

AssignLicenseFeatureJSONRequestBody defines body for AssignLicenseFeature for application/json ContentType.

type AssignLicenseFeatureResponse

type AssignLicenseFeatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data LicenseFeature `json:"data"`
		Meta ResponseMeta   `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseAssignLicenseFeatureResponse

func ParseAssignLicenseFeatureResponse(rsp *http.Response) (*AssignLicenseFeatureResponse, error)

ParseAssignLicenseFeatureResponse parses an HTTP response from a AssignLicenseFeatureWithResponse call

func (AssignLicenseFeatureResponse) Status

Status returns HTTPResponse.Status

func (AssignLicenseFeatureResponse) StatusCode

func (r AssignLicenseFeatureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AuditActorType

type AuditActorType string

AuditActorType defines model for AuditActorType.

const (
	AuditActorTypeApiKey      AuditActorType = "api_key"
	AuditActorTypeLicense     AuditActorType = "license"
	AuditActorTypeOidcSubject AuditActorType = "oidc_subject"
	AuditActorTypeSystem      AuditActorType = "system"
)

Defines values for AuditActorType.

func (AuditActorType) Valid

func (e AuditActorType) Valid() bool

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

type BadRequest

type BadRequest = ErrorEnvelope

BadRequest defines model for BadRequest.

type BlacklistLicenseDeviceResponse

type BlacklistLicenseDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Device       `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
}

func ParseBlacklistLicenseDeviceResponse

func ParseBlacklistLicenseDeviceResponse(rsp *http.Response) (*BlacklistLicenseDeviceResponse, error)

ParseBlacklistLicenseDeviceResponse parses an HTTP response from a BlacklistLicenseDeviceWithResponse call

func (BlacklistLicenseDeviceResponse) Status

Status returns HTTPResponse.Status

func (BlacklistLicenseDeviceResponse) StatusCode

func (r BlacklistLicenseDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CheckLicenseJSONRequestBody

type CheckLicenseJSONRequestBody = RuntimeBindingRequest

CheckLicenseJSONRequestBody defines body for CheckLicense for application/json ContentType.

type CheckLicenseResponse

type CheckLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignedRuntimeEntitlementEnvelope
	JSON400      *InvalidJSON
	JSON401      *UnauthorizedLicense
	JSON403      *ForbiddenRuntime
	JSON404      *NotFound
	JSON422      *ValidationError
}

func ParseCheckLicenseResponse

func ParseCheckLicenseResponse(rsp *http.Response) (*CheckLicenseResponse, error)

ParseCheckLicenseResponse parses an HTTP response from a CheckLicenseWithResponse call

func (CheckLicenseResponse) Status

func (r CheckLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (CheckLicenseResponse) StatusCode

func (r CheckLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CheckinFloatingLicenseJSONRequestBody

type CheckinFloatingLicenseJSONRequestBody = FloatingLeaseRequest

CheckinFloatingLicenseJSONRequestBody defines body for CheckinFloatingLicense for application/json ContentType.

type CheckinFloatingLicenseParams

type CheckinFloatingLicenseParams struct {
	IdempotencyKey IdempotencyKeyHeader `json:"Idempotency-Key"`
}

CheckinFloatingLicenseParams defines parameters for CheckinFloatingLicense.

type CheckinFloatingLicenseResponse

type CheckinFloatingLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignedRuntimeFloatingLeaseEnvelope
	JSON400      *BadRequest
	JSON401      *UnauthorizedLicense
	JSON404      *NotFound
	JSON409      *Conflict
	JSON422      *ValidationError
}

func ParseCheckinFloatingLicenseResponse

func ParseCheckinFloatingLicenseResponse(rsp *http.Response) (*CheckinFloatingLicenseResponse, error)

ParseCheckinFloatingLicenseResponse parses an HTTP response from a CheckinFloatingLicenseWithResponse call

func (CheckinFloatingLicenseResponse) Status

Status returns HTTPResponse.Status

func (CheckinFloatingLicenseResponse) StatusCode

func (r CheckinFloatingLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CheckoutFloatingLicenseJSONRequestBody

type CheckoutFloatingLicenseJSONRequestBody = RuntimeBindingRequest

CheckoutFloatingLicenseJSONRequestBody defines body for CheckoutFloatingLicense for application/json ContentType.

type CheckoutFloatingLicenseParams

type CheckoutFloatingLicenseParams struct {
	IdempotencyKey IdempotencyKeyHeader `json:"Idempotency-Key"`
}

CheckoutFloatingLicenseParams defines parameters for CheckoutFloatingLicense.

type CheckoutFloatingLicenseResponse

type CheckoutFloatingLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignedRuntimeFloatingCheckoutEnvelope
	JSON400      *BadRequest
	JSON401      *UnauthorizedLicense
	JSON403      *ForbiddenRuntime
	JSON409      *Conflict
	JSON422      *ValidationError
}

func ParseCheckoutFloatingLicenseResponse

func ParseCheckoutFloatingLicenseResponse(rsp *http.Response) (*CheckoutFloatingLicenseResponse, error)

ParseCheckoutFloatingLicenseResponse parses an HTTP response from a CheckoutFloatingLicenseWithResponse call

func (CheckoutFloatingLicenseResponse) Status

Status returns HTTPResponse.Status

func (CheckoutFloatingLicenseResponse) StatusCode

func (r CheckoutFloatingLicenseResponse) 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) ActivateLicense

func (c *Client) ActivateLicense(ctx context.Context, params *ActivateLicenseParams, body ActivateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActivateLicenseWithBody

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

func (*Client) AssignLicenseFeature

func (c *Client) AssignLicenseFeature(ctx context.Context, id IDPath, body AssignLicenseFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AssignLicenseFeatureWithBody

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

func (*Client) BlacklistLicenseDevice

func (c *Client) BlacklistLicenseDevice(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CheckLicense

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

func (*Client) CheckLicenseWithBody

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

func (*Client) CheckinFloatingLicense

func (c *Client) CheckinFloatingLicense(ctx context.Context, params *CheckinFloatingLicenseParams, body CheckinFloatingLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CheckinFloatingLicenseWithBody

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

func (*Client) CheckoutFloatingLicense

func (c *Client) CheckoutFloatingLicense(ctx context.Context, params *CheckoutFloatingLicenseParams, body CheckoutFloatingLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CheckoutFloatingLicenseWithBody

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

func (*Client) ConsumeLicense

func (c *Client) ConsumeLicense(ctx context.Context, params *ConsumeLicenseParams, body ConsumeLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ConsumeLicenseWithBody

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

func (*Client) CreateAPIKey

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

func (*Client) CreateAPIKeyWithBody

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

func (*Client) CreateCustomer

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

func (*Client) CreateCustomerWithBody

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

func (*Client) CreateFeature

func (c *Client) CreateFeature(ctx context.Context, id IDPath, body CreateFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFeatureWithBody

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

func (*Client) CreateLicense

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

func (*Client) CreateLicenseWithBody

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

func (*Client) CreateOrder

func (c *Client) CreateOrder(ctx context.Context, id IDPath, body CreateOrderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrderWithBody

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

func (*Client) CreatePolicy

func (c *Client) CreatePolicy(ctx context.Context, id IDPath, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePolicyWithBody

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

func (*Client) CreateProduct

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

func (*Client) CreateProductCustomFieldDefinition

func (c *Client) CreateProductCustomFieldDefinition(ctx context.Context, id IDPath, body CreateProductCustomFieldDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProductCustomFieldDefinitionWithBody

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

func (*Client) CreateProductVersion

func (c *Client) CreateProductVersion(ctx context.Context, id IDPath, body CreateProductVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProductVersionWithBody

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

func (*Client) CreateProductWithBody

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

func (*Client) CreateReportExport added in v1.0.0

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

func (*Client) CreateReportExportWithBody added in v1.0.0

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

func (*Client) CreateSubscription

func (c *Client) CreateSubscription(ctx context.Context, id IDPath, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSubscriptionWithBody

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

func (*Client) CreateWebhookEndpoint

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

func (*Client) CreateWebhookEndpointWithBody

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

func (*Client) DeactivateLicense

func (c *Client) DeactivateLicense(ctx context.Context, params *DeactivateLicenseParams, body DeactivateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeactivateLicenseWithBody

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

func (*Client) DeleteCustomer

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

func (*Client) DeletePolicy

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

func (*Client) DeleteProduct

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

func (*Client) DeleteProductCustomFieldDefinition

func (c *Client) DeleteProductCustomFieldDefinition(ctx context.Context, id IDPath, fieldId FieldIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWebhookEndpoint

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

func (*Client) DownloadReportExport added in v1.0.0

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

func (*Client) GetCustomer

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

func (*Client) GetCustomerSummary added in v1.0.0

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

func (*Client) GetFeature

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

func (*Client) GetLicense

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

func (*Client) GetLicenseAuditReport added in v1.0.0

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

func (*Client) GetLicenseDevice

func (c *Client) GetLicenseDevice(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMetrics

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

func (*Client) GetOpsSummary added in v1.0.0

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

func (*Client) GetOrder

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

func (*Client) GetPolicy

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

func (*Client) GetProduct

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

func (*Client) GetProductCustomFieldDefinition

func (c *Client) GetProductCustomFieldDefinition(ctx context.Context, id IDPath, fieldId FieldIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetReportExport added in v1.0.0

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

func (*Client) GetSubscription

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

func (*Client) GetSubscriptionSettlement added in v1.0.0

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

func (*Client) GetUsageSummary added in v1.0.0

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

func (*Client) GetWebhookEndpoint

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

func (*Client) GetWebhookHealth added in v1.0.0

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

func (*Client) Health

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

func (*Client) Healthz

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

func (*Client) HeartbeatFloatingLicense

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

func (*Client) HeartbeatFloatingLicenseWithBody

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

func (*Client) IssueOfflineLicense

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

func (*Client) IssueOfflineLicenseWithBody

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

func (*Client) ListAPIKeys

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

func (*Client) ListActivities added in v1.0.0

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

func (*Client) ListCustomerCustomFieldValues

func (c *Client) ListCustomerCustomFieldValues(ctx context.Context, id IDPath, params *ListCustomerCustomFieldValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCustomers

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

func (*Client) ListEvents

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

func (*Client) ListFeaturesByProduct

func (c *Client) ListFeaturesByProduct(ctx context.Context, id IDPath, params *ListFeaturesByProductParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLicenseCustomFieldValues

func (c *Client) ListLicenseCustomFieldValues(ctx context.Context, id IDPath, params *ListLicenseCustomFieldValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLicenseDevices

func (c *Client) ListLicenseDevices(ctx context.Context, id IDPath, params *ListLicenseDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLicenseFeatures

func (c *Client) ListLicenseFeatures(ctx context.Context, id IDPath, params *ListLicenseFeaturesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLicenses

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

func (*Client) ListPoliciesByProduct

func (c *Client) ListPoliciesByProduct(ctx context.Context, id IDPath, params *ListPoliciesByProductParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListProductCustomFieldDefinitions

func (c *Client) ListProductCustomFieldDefinitions(ctx context.Context, id IDPath, params *ListProductCustomFieldDefinitionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListProductOrders

func (c *Client) ListProductOrders(ctx context.Context, id IDPath, params *ListProductOrdersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListProductSubscriptions

func (c *Client) ListProductSubscriptions(ctx context.Context, id IDPath, params *ListProductSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListProductVersions

func (c *Client) ListProductVersions(ctx context.Context, id IDPath, params *ListProductVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListProducts

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

func (*Client) ListPublicKeys

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

func (*Client) ListRuntimeErrorGroups added in v1.0.0

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

func (*Client) ListUsageLedger added in v1.0.0

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

func (*Client) ListWebhookEndpoints

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

func (*Client) Readyz

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

func (*Client) ReinstateLicense

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

func (*Client) RemoveLicenseFeature

func (c *Client) RemoveLicenseFeature(ctx context.Context, id IDPath, featureId FeatureIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RenewLicense

func (c *Client) RenewLicense(ctx context.Context, id IDPath, params *RenewLicenseParams, body RenewLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RenewLicenseWithBody

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

func (*Client) ResetLicenseDevice

func (c *Client) ResetLicenseDevice(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetLicenseUsage

func (c *Client) ResetLicenseUsage(ctx context.Context, id IDPath, body ResetLicenseUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetLicenseUsageWithBody

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

func (*Client) RevokeLicense

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

func (*Client) SuspendLicense

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

func (*Client) TransferLicense

func (c *Client) TransferLicense(ctx context.Context, id IDPath, params *TransferLicenseParams, body TransferLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TransferLicenseWithBody

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

func (*Client) UpdateCustomer

func (c *Client) UpdateCustomer(ctx context.Context, id IDPath, body UpdateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCustomerWithBody

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

func (*Client) UpdateOrder

func (c *Client) UpdateOrder(ctx context.Context, id IDPath, body UpdateOrderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateOrderWithBody

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

func (*Client) UpdatePolicy

func (c *Client) UpdatePolicy(ctx context.Context, id IDPath, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePolicyWithBody

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

func (*Client) UpdateProduct

func (c *Client) UpdateProduct(ctx context.Context, id IDPath, body UpdateProductJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProductCustomFieldDefinition

func (c *Client) UpdateProductCustomFieldDefinition(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpdateProductCustomFieldDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProductCustomFieldDefinitionWithBody

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

func (*Client) UpdateProductWithBody

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

func (*Client) UpdateSubscription

func (c *Client) UpdateSubscription(ctx context.Context, id IDPath, body UpdateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSubscriptionWithBody

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

func (*Client) UpdateWebhookEndpoint

func (c *Client) UpdateWebhookEndpoint(ctx context.Context, id IDPath, body UpdateWebhookEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWebhookEndpointWithBody

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

func (*Client) UpsertCustomerCustomFieldValue

func (c *Client) UpsertCustomerCustomFieldValue(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpsertCustomerCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpsertCustomerCustomFieldValueWithBody

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

func (*Client) UpsertLicenseCustomFieldValue

func (c *Client) UpsertLicenseCustomFieldValue(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpsertLicenseCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpsertLicenseCustomFieldValueWithBody

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

func (*Client) ValidateLicense

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

func (*Client) ValidateLicenseWithBody

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

type ClientInterface

type ClientInterface interface {
	// ListActivities request
	ListActivities(ctx context.Context, params *ListActivitiesParams, 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)

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

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

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

	CreateCustomer(ctx context.Context, body CreateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdateCustomer(ctx context.Context, id IDPath, body UpdateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCustomerCustomFieldValues request
	ListCustomerCustomFieldValues(ctx context.Context, id IDPath, params *ListCustomerCustomFieldValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpsertCustomerCustomFieldValue(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpsertCustomerCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	ActivateLicense(ctx context.Context, params *ActivateLicenseParams, body ActivateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CheckLicense(ctx context.Context, body CheckLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ConsumeLicense(ctx context.Context, params *ConsumeLicenseParams, body ConsumeLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	DeactivateLicense(ctx context.Context, params *DeactivateLicenseParams, body DeactivateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CheckinFloatingLicense(ctx context.Context, params *CheckinFloatingLicenseParams, body CheckinFloatingLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CheckoutFloatingLicense(ctx context.Context, params *CheckoutFloatingLicenseParams, body CheckoutFloatingLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	HeartbeatFloatingLicense(ctx context.Context, body HeartbeatFloatingLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	IssueOfflineLicense(ctx context.Context, body IssueOfflineLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ValidateLicense(ctx context.Context, body ValidateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateLicense(ctx context.Context, body CreateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ListLicenseCustomFieldValues request
	ListLicenseCustomFieldValues(ctx context.Context, id IDPath, params *ListLicenseCustomFieldValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpsertLicenseCustomFieldValue(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpsertLicenseCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLicenseDevices request
	ListLicenseDevices(ctx context.Context, id IDPath, params *ListLicenseDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLicenseDevice request
	GetLicenseDevice(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BlacklistLicenseDevice request
	BlacklistLicenseDevice(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetLicenseDevice request
	ResetLicenseDevice(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLicenseFeatures request
	ListLicenseFeatures(ctx context.Context, id IDPath, params *ListLicenseFeaturesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AssignLicenseFeature(ctx context.Context, id IDPath, body AssignLicenseFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveLicenseFeature request
	RemoveLicenseFeature(ctx context.Context, id IDPath, featureId FeatureIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	RenewLicense(ctx context.Context, id IDPath, params *RenewLicenseParams, body RenewLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	TransferLicense(ctx context.Context, id IDPath, params *TransferLicenseParams, body TransferLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ResetLicenseUsage(ctx context.Context, id IDPath, body ResetLicenseUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

	UpdateOrder(ctx context.Context, id IDPath, body UpdateOrderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdatePolicy(ctx context.Context, id IDPath, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateProduct(ctx context.Context, body CreateProductJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdateProduct(ctx context.Context, id IDPath, body UpdateProductJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListProductCustomFieldDefinitions request
	ListProductCustomFieldDefinitions(ctx context.Context, id IDPath, params *ListProductCustomFieldDefinitionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateProductCustomFieldDefinition(ctx context.Context, id IDPath, body CreateProductCustomFieldDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProductCustomFieldDefinition request
	DeleteProductCustomFieldDefinition(ctx context.Context, id IDPath, fieldId FieldIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProductCustomFieldDefinition request
	GetProductCustomFieldDefinition(ctx context.Context, id IDPath, fieldId FieldIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateProductCustomFieldDefinition(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpdateProductCustomFieldDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListFeaturesByProduct request
	ListFeaturesByProduct(ctx context.Context, id IDPath, params *ListFeaturesByProductParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateFeature(ctx context.Context, id IDPath, body CreateFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListProductOrders request
	ListProductOrders(ctx context.Context, id IDPath, params *ListProductOrdersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateOrder(ctx context.Context, id IDPath, body CreateOrderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPoliciesByProduct request
	ListPoliciesByProduct(ctx context.Context, id IDPath, params *ListPoliciesByProductParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreatePolicy(ctx context.Context, id IDPath, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListProductSubscriptions request
	ListProductSubscriptions(ctx context.Context, id IDPath, params *ListProductSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateSubscription(ctx context.Context, id IDPath, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListProductVersions request
	ListProductVersions(ctx context.Context, id IDPath, params *ListProductVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateProductVersion(ctx context.Context, id IDPath, body CreateProductVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateReportExport(ctx context.Context, body CreateReportExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

	UpdateSubscription(ctx context.Context, id IDPath, body UpdateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	CreateWebhookEndpoint(ctx context.Context, body CreateWebhookEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdateWebhookEndpoint(ctx context.Context, id IDPath, body UpdateWebhookEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

func (c *ClientWithResponses) ActivateLicenseWithBodyWithResponse(ctx context.Context, params *ActivateLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateLicenseResponse, error)

ActivateLicenseWithBodyWithResponse request with arbitrary body returning *ActivateLicenseResponse

func (*ClientWithResponses) ActivateLicenseWithResponse

func (c *ClientWithResponses) ActivateLicenseWithResponse(ctx context.Context, params *ActivateLicenseParams, body ActivateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateLicenseResponse, error)

func (*ClientWithResponses) AssignLicenseFeatureWithBodyWithResponse

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

AssignLicenseFeatureWithBodyWithResponse request with arbitrary body returning *AssignLicenseFeatureResponse

func (*ClientWithResponses) AssignLicenseFeatureWithResponse

func (c *ClientWithResponses) AssignLicenseFeatureWithResponse(ctx context.Context, id IDPath, body AssignLicenseFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignLicenseFeatureResponse, error)

func (*ClientWithResponses) BlacklistLicenseDeviceWithResponse

func (c *ClientWithResponses) BlacklistLicenseDeviceWithResponse(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*BlacklistLicenseDeviceResponse, error)

BlacklistLicenseDeviceWithResponse request returning *BlacklistLicenseDeviceResponse

func (*ClientWithResponses) CheckLicenseWithBodyWithResponse

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

CheckLicenseWithBodyWithResponse request with arbitrary body returning *CheckLicenseResponse

func (*ClientWithResponses) CheckLicenseWithResponse

func (c *ClientWithResponses) CheckLicenseWithResponse(ctx context.Context, body CheckLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckLicenseResponse, error)

func (*ClientWithResponses) CheckinFloatingLicenseWithBodyWithResponse

func (c *ClientWithResponses) CheckinFloatingLicenseWithBodyWithResponse(ctx context.Context, params *CheckinFloatingLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckinFloatingLicenseResponse, error)

CheckinFloatingLicenseWithBodyWithResponse request with arbitrary body returning *CheckinFloatingLicenseResponse

func (*ClientWithResponses) CheckinFloatingLicenseWithResponse

func (*ClientWithResponses) CheckoutFloatingLicenseWithBodyWithResponse

func (c *ClientWithResponses) CheckoutFloatingLicenseWithBodyWithResponse(ctx context.Context, params *CheckoutFloatingLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckoutFloatingLicenseResponse, error)

CheckoutFloatingLicenseWithBodyWithResponse request with arbitrary body returning *CheckoutFloatingLicenseResponse

func (*ClientWithResponses) ConsumeLicenseWithBodyWithResponse

func (c *ClientWithResponses) ConsumeLicenseWithBodyWithResponse(ctx context.Context, params *ConsumeLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConsumeLicenseResponse, error)

ConsumeLicenseWithBodyWithResponse request with arbitrary body returning *ConsumeLicenseResponse

func (*ClientWithResponses) ConsumeLicenseWithResponse

func (c *ClientWithResponses) ConsumeLicenseWithResponse(ctx context.Context, params *ConsumeLicenseParams, body ConsumeLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*ConsumeLicenseResponse, 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) CreateAPIKeyWithResponse

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

func (*ClientWithResponses) CreateCustomerWithBodyWithResponse

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

CreateCustomerWithBodyWithResponse request with arbitrary body returning *CreateCustomerResponse

func (*ClientWithResponses) CreateCustomerWithResponse

func (c *ClientWithResponses) CreateCustomerWithResponse(ctx context.Context, body CreateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomerResponse, error)

func (*ClientWithResponses) CreateFeatureWithBodyWithResponse

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

CreateFeatureWithBodyWithResponse request with arbitrary body returning *CreateFeatureResponse

func (*ClientWithResponses) CreateFeatureWithResponse

func (c *ClientWithResponses) CreateFeatureWithResponse(ctx context.Context, id IDPath, body CreateFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFeatureResponse, error)

func (*ClientWithResponses) CreateLicenseWithBodyWithResponse

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

CreateLicenseWithBodyWithResponse request with arbitrary body returning *CreateLicenseResponse

func (*ClientWithResponses) CreateLicenseWithResponse

func (c *ClientWithResponses) CreateLicenseWithResponse(ctx context.Context, body CreateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLicenseResponse, error)

func (*ClientWithResponses) CreateOrderWithBodyWithResponse

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

CreateOrderWithBodyWithResponse request with arbitrary body returning *CreateOrderResponse

func (*ClientWithResponses) CreateOrderWithResponse

func (c *ClientWithResponses) CreateOrderWithResponse(ctx context.Context, id IDPath, body CreateOrderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrderResponse, error)

func (*ClientWithResponses) CreatePolicyWithBodyWithResponse

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

CreatePolicyWithBodyWithResponse request with arbitrary body returning *CreatePolicyResponse

func (*ClientWithResponses) CreatePolicyWithResponse

func (c *ClientWithResponses) CreatePolicyWithResponse(ctx context.Context, id IDPath, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePolicyResponse, error)

func (*ClientWithResponses) CreateProductCustomFieldDefinitionWithBodyWithResponse

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

CreateProductCustomFieldDefinitionWithBodyWithResponse request with arbitrary body returning *CreateProductCustomFieldDefinitionResponse

func (*ClientWithResponses) CreateProductVersionWithBodyWithResponse

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

CreateProductVersionWithBodyWithResponse request with arbitrary body returning *CreateProductVersionResponse

func (*ClientWithResponses) CreateProductVersionWithResponse

func (c *ClientWithResponses) CreateProductVersionWithResponse(ctx context.Context, id IDPath, body CreateProductVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProductVersionResponse, error)

func (*ClientWithResponses) CreateProductWithBodyWithResponse

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

CreateProductWithBodyWithResponse request with arbitrary body returning *CreateProductResponse

func (*ClientWithResponses) CreateProductWithResponse

func (c *ClientWithResponses) CreateProductWithResponse(ctx context.Context, body CreateProductJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProductResponse, error)

func (*ClientWithResponses) CreateReportExportWithBodyWithResponse added in v1.0.0

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

CreateReportExportWithBodyWithResponse request with arbitrary body returning *CreateReportExportResponse

func (*ClientWithResponses) CreateReportExportWithResponse added in v1.0.0

func (c *ClientWithResponses) CreateReportExportWithResponse(ctx context.Context, body CreateReportExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReportExportResponse, error)

func (*ClientWithResponses) CreateSubscriptionWithBodyWithResponse

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

CreateSubscriptionWithBodyWithResponse request with arbitrary body returning *CreateSubscriptionResponse

func (*ClientWithResponses) CreateSubscriptionWithResponse

func (c *ClientWithResponses) CreateSubscriptionWithResponse(ctx context.Context, id IDPath, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)

func (*ClientWithResponses) CreateWebhookEndpointWithBodyWithResponse

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

CreateWebhookEndpointWithBodyWithResponse request with arbitrary body returning *CreateWebhookEndpointResponse

func (*ClientWithResponses) CreateWebhookEndpointWithResponse

func (c *ClientWithResponses) CreateWebhookEndpointWithResponse(ctx context.Context, body CreateWebhookEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookEndpointResponse, error)

func (*ClientWithResponses) DeactivateLicenseWithBodyWithResponse

func (c *ClientWithResponses) DeactivateLicenseWithBodyWithResponse(ctx context.Context, params *DeactivateLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeactivateLicenseResponse, error)

DeactivateLicenseWithBodyWithResponse request with arbitrary body returning *DeactivateLicenseResponse

func (*ClientWithResponses) DeactivateLicenseWithResponse

func (*ClientWithResponses) DeleteCustomerWithResponse

func (c *ClientWithResponses) DeleteCustomerWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*DeleteCustomerResponse, error)

DeleteCustomerWithResponse request returning *DeleteCustomerResponse

func (*ClientWithResponses) DeletePolicyWithResponse

func (c *ClientWithResponses) DeletePolicyWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*DeletePolicyResponse, error)

DeletePolicyWithResponse request returning *DeletePolicyResponse

func (*ClientWithResponses) DeleteProductCustomFieldDefinitionWithResponse

func (c *ClientWithResponses) DeleteProductCustomFieldDefinitionWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, reqEditors ...RequestEditorFn) (*DeleteProductCustomFieldDefinitionResponse, error)

DeleteProductCustomFieldDefinitionWithResponse request returning *DeleteProductCustomFieldDefinitionResponse

func (*ClientWithResponses) DeleteProductWithResponse

func (c *ClientWithResponses) DeleteProductWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*DeleteProductResponse, error)

DeleteProductWithResponse request returning *DeleteProductResponse

func (*ClientWithResponses) DeleteWebhookEndpointWithResponse

func (c *ClientWithResponses) DeleteWebhookEndpointWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*DeleteWebhookEndpointResponse, error)

DeleteWebhookEndpointWithResponse request returning *DeleteWebhookEndpointResponse

func (*ClientWithResponses) DownloadReportExportWithResponse added in v1.0.0

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

DownloadReportExportWithResponse request returning *DownloadReportExportResponse

func (*ClientWithResponses) GetCustomerSummaryWithResponse added in v1.0.0

func (c *ClientWithResponses) GetCustomerSummaryWithResponse(ctx context.Context, params *GetCustomerSummaryParams, reqEditors ...RequestEditorFn) (*GetCustomerSummaryResponse, error)

GetCustomerSummaryWithResponse request returning *GetCustomerSummaryResponse

func (*ClientWithResponses) GetCustomerWithResponse

func (c *ClientWithResponses) GetCustomerWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetCustomerResponse, error)

GetCustomerWithResponse request returning *GetCustomerResponse

func (*ClientWithResponses) GetFeatureWithResponse

func (c *ClientWithResponses) GetFeatureWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetFeatureResponse, error)

GetFeatureWithResponse request returning *GetFeatureResponse

func (*ClientWithResponses) GetLicenseAuditReportWithResponse added in v1.0.0

func (c *ClientWithResponses) GetLicenseAuditReportWithResponse(ctx context.Context, params *GetLicenseAuditReportParams, reqEditors ...RequestEditorFn) (*GetLicenseAuditReportResponse, error)

GetLicenseAuditReportWithResponse request returning *GetLicenseAuditReportResponse

func (*ClientWithResponses) GetLicenseDeviceWithResponse

func (c *ClientWithResponses) GetLicenseDeviceWithResponse(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*GetLicenseDeviceResponse, error)

GetLicenseDeviceWithResponse request returning *GetLicenseDeviceResponse

func (*ClientWithResponses) GetLicenseWithResponse

func (c *ClientWithResponses) GetLicenseWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetLicenseResponse, error)

GetLicenseWithResponse request returning *GetLicenseResponse

func (*ClientWithResponses) GetMetricsWithResponse

func (c *ClientWithResponses) GetMetricsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetricsResponse, error)

GetMetricsWithResponse request returning *GetMetricsResponse

func (*ClientWithResponses) GetOpsSummaryWithResponse added in v1.0.0

func (c *ClientWithResponses) GetOpsSummaryWithResponse(ctx context.Context, params *GetOpsSummaryParams, reqEditors ...RequestEditorFn) (*GetOpsSummaryResponse, error)

GetOpsSummaryWithResponse request returning *GetOpsSummaryResponse

func (*ClientWithResponses) GetOrderWithResponse

func (c *ClientWithResponses) GetOrderWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetOrderResponse, error)

GetOrderWithResponse request returning *GetOrderResponse

func (*ClientWithResponses) GetPolicyWithResponse

func (c *ClientWithResponses) GetPolicyWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

GetPolicyWithResponse request returning *GetPolicyResponse

func (*ClientWithResponses) GetProductCustomFieldDefinitionWithResponse

func (c *ClientWithResponses) GetProductCustomFieldDefinitionWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, reqEditors ...RequestEditorFn) (*GetProductCustomFieldDefinitionResponse, error)

GetProductCustomFieldDefinitionWithResponse request returning *GetProductCustomFieldDefinitionResponse

func (*ClientWithResponses) GetProductWithResponse

func (c *ClientWithResponses) GetProductWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetProductResponse, error)

GetProductWithResponse request returning *GetProductResponse

func (*ClientWithResponses) GetReportExportWithResponse added in v1.0.0

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

GetReportExportWithResponse request returning *GetReportExportResponse

func (*ClientWithResponses) GetSubscriptionSettlementWithResponse added in v1.0.0

func (c *ClientWithResponses) GetSubscriptionSettlementWithResponse(ctx context.Context, params *GetSubscriptionSettlementParams, reqEditors ...RequestEditorFn) (*GetSubscriptionSettlementResponse, error)

GetSubscriptionSettlementWithResponse request returning *GetSubscriptionSettlementResponse

func (*ClientWithResponses) GetSubscriptionWithResponse

func (c *ClientWithResponses) GetSubscriptionWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetSubscriptionResponse, error)

GetSubscriptionWithResponse request returning *GetSubscriptionResponse

func (*ClientWithResponses) GetUsageSummaryWithResponse added in v1.0.0

func (c *ClientWithResponses) GetUsageSummaryWithResponse(ctx context.Context, params *GetUsageSummaryParams, reqEditors ...RequestEditorFn) (*GetUsageSummaryResponse, error)

GetUsageSummaryWithResponse request returning *GetUsageSummaryResponse

func (*ClientWithResponses) GetWebhookEndpointWithResponse

func (c *ClientWithResponses) GetWebhookEndpointWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetWebhookEndpointResponse, error)

GetWebhookEndpointWithResponse request returning *GetWebhookEndpointResponse

func (*ClientWithResponses) GetWebhookHealthWithResponse added in v1.0.0

func (c *ClientWithResponses) GetWebhookHealthWithResponse(ctx context.Context, params *GetWebhookHealthParams, reqEditors ...RequestEditorFn) (*GetWebhookHealthResponse, error)

GetWebhookHealthWithResponse request returning *GetWebhookHealthResponse

func (*ClientWithResponses) HealthWithResponse

func (c *ClientWithResponses) HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)

HealthWithResponse request returning *HealthResponse

func (*ClientWithResponses) HealthzWithResponse

func (c *ClientWithResponses) HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthzResponse, error)

HealthzWithResponse request returning *HealthzResponse

func (*ClientWithResponses) HeartbeatFloatingLicenseWithBodyWithResponse

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

HeartbeatFloatingLicenseWithBodyWithResponse request with arbitrary body returning *HeartbeatFloatingLicenseResponse

func (*ClientWithResponses) HeartbeatFloatingLicenseWithResponse

func (c *ClientWithResponses) HeartbeatFloatingLicenseWithResponse(ctx context.Context, body HeartbeatFloatingLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*HeartbeatFloatingLicenseResponse, error)

func (*ClientWithResponses) IssueOfflineLicenseWithBodyWithResponse

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

IssueOfflineLicenseWithBodyWithResponse request with arbitrary body returning *IssueOfflineLicenseResponse

func (*ClientWithResponses) IssueOfflineLicenseWithResponse

func (c *ClientWithResponses) IssueOfflineLicenseWithResponse(ctx context.Context, body IssueOfflineLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueOfflineLicenseResponse, error)

func (*ClientWithResponses) ListAPIKeysWithResponse

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

ListAPIKeysWithResponse request returning *ListAPIKeysResponse

func (*ClientWithResponses) ListActivitiesWithResponse added in v1.0.0

func (c *ClientWithResponses) ListActivitiesWithResponse(ctx context.Context, params *ListActivitiesParams, reqEditors ...RequestEditorFn) (*ListActivitiesResponse, error)

ListActivitiesWithResponse request returning *ListActivitiesResponse

func (*ClientWithResponses) ListCustomerCustomFieldValuesWithResponse

func (c *ClientWithResponses) ListCustomerCustomFieldValuesWithResponse(ctx context.Context, id IDPath, params *ListCustomerCustomFieldValuesParams, reqEditors ...RequestEditorFn) (*ListCustomerCustomFieldValuesResponse, error)

ListCustomerCustomFieldValuesWithResponse request returning *ListCustomerCustomFieldValuesResponse

func (*ClientWithResponses) ListCustomersWithResponse

func (c *ClientWithResponses) ListCustomersWithResponse(ctx context.Context, params *ListCustomersParams, reqEditors ...RequestEditorFn) (*ListCustomersResponse, error)

ListCustomersWithResponse request returning *ListCustomersResponse

func (*ClientWithResponses) ListEventsWithResponse

func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)

ListEventsWithResponse request returning *ListEventsResponse

func (*ClientWithResponses) ListFeaturesByProductWithResponse

func (c *ClientWithResponses) ListFeaturesByProductWithResponse(ctx context.Context, id IDPath, params *ListFeaturesByProductParams, reqEditors ...RequestEditorFn) (*ListFeaturesByProductResponse, error)

ListFeaturesByProductWithResponse request returning *ListFeaturesByProductResponse

func (*ClientWithResponses) ListLicenseCustomFieldValuesWithResponse

func (c *ClientWithResponses) ListLicenseCustomFieldValuesWithResponse(ctx context.Context, id IDPath, params *ListLicenseCustomFieldValuesParams, reqEditors ...RequestEditorFn) (*ListLicenseCustomFieldValuesResponse, error)

ListLicenseCustomFieldValuesWithResponse request returning *ListLicenseCustomFieldValuesResponse

func (*ClientWithResponses) ListLicenseDevicesWithResponse

func (c *ClientWithResponses) ListLicenseDevicesWithResponse(ctx context.Context, id IDPath, params *ListLicenseDevicesParams, reqEditors ...RequestEditorFn) (*ListLicenseDevicesResponse, error)

ListLicenseDevicesWithResponse request returning *ListLicenseDevicesResponse

func (*ClientWithResponses) ListLicenseFeaturesWithResponse

func (c *ClientWithResponses) ListLicenseFeaturesWithResponse(ctx context.Context, id IDPath, params *ListLicenseFeaturesParams, reqEditors ...RequestEditorFn) (*ListLicenseFeaturesResponse, error)

ListLicenseFeaturesWithResponse request returning *ListLicenseFeaturesResponse

func (*ClientWithResponses) ListLicensesWithResponse

func (c *ClientWithResponses) ListLicensesWithResponse(ctx context.Context, params *ListLicensesParams, reqEditors ...RequestEditorFn) (*ListLicensesResponse, error)

ListLicensesWithResponse request returning *ListLicensesResponse

func (*ClientWithResponses) ListPoliciesByProductWithResponse

func (c *ClientWithResponses) ListPoliciesByProductWithResponse(ctx context.Context, id IDPath, params *ListPoliciesByProductParams, reqEditors ...RequestEditorFn) (*ListPoliciesByProductResponse, error)

ListPoliciesByProductWithResponse request returning *ListPoliciesByProductResponse

func (*ClientWithResponses) ListProductCustomFieldDefinitionsWithResponse

func (c *ClientWithResponses) ListProductCustomFieldDefinitionsWithResponse(ctx context.Context, id IDPath, params *ListProductCustomFieldDefinitionsParams, reqEditors ...RequestEditorFn) (*ListProductCustomFieldDefinitionsResponse, error)

ListProductCustomFieldDefinitionsWithResponse request returning *ListProductCustomFieldDefinitionsResponse

func (*ClientWithResponses) ListProductOrdersWithResponse

func (c *ClientWithResponses) ListProductOrdersWithResponse(ctx context.Context, id IDPath, params *ListProductOrdersParams, reqEditors ...RequestEditorFn) (*ListProductOrdersResponse, error)

ListProductOrdersWithResponse request returning *ListProductOrdersResponse

func (*ClientWithResponses) ListProductSubscriptionsWithResponse

func (c *ClientWithResponses) ListProductSubscriptionsWithResponse(ctx context.Context, id IDPath, params *ListProductSubscriptionsParams, reqEditors ...RequestEditorFn) (*ListProductSubscriptionsResponse, error)

ListProductSubscriptionsWithResponse request returning *ListProductSubscriptionsResponse

func (*ClientWithResponses) ListProductVersionsWithResponse

func (c *ClientWithResponses) ListProductVersionsWithResponse(ctx context.Context, id IDPath, params *ListProductVersionsParams, reqEditors ...RequestEditorFn) (*ListProductVersionsResponse, error)

ListProductVersionsWithResponse request returning *ListProductVersionsResponse

func (*ClientWithResponses) ListProductsWithResponse

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

ListProductsWithResponse request returning *ListProductsResponse

func (*ClientWithResponses) ListPublicKeysWithResponse

func (c *ClientWithResponses) ListPublicKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPublicKeysResponse, error)

ListPublicKeysWithResponse request returning *ListPublicKeysResponse

func (*ClientWithResponses) ListRuntimeErrorGroupsWithResponse added in v1.0.0

func (c *ClientWithResponses) ListRuntimeErrorGroupsWithResponse(ctx context.Context, params *ListRuntimeErrorGroupsParams, reqEditors ...RequestEditorFn) (*ListRuntimeErrorGroupsResponse, error)

ListRuntimeErrorGroupsWithResponse request returning *ListRuntimeErrorGroupsResponse

func (*ClientWithResponses) ListUsageLedgerWithResponse added in v1.0.0

func (c *ClientWithResponses) ListUsageLedgerWithResponse(ctx context.Context, params *ListUsageLedgerParams, reqEditors ...RequestEditorFn) (*ListUsageLedgerResponse, error)

ListUsageLedgerWithResponse request returning *ListUsageLedgerResponse

func (*ClientWithResponses) ListWebhookEndpointsWithResponse

func (c *ClientWithResponses) ListWebhookEndpointsWithResponse(ctx context.Context, params *ListWebhookEndpointsParams, reqEditors ...RequestEditorFn) (*ListWebhookEndpointsResponse, error)

ListWebhookEndpointsWithResponse request returning *ListWebhookEndpointsResponse

func (*ClientWithResponses) ReadyzWithResponse

func (c *ClientWithResponses) ReadyzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadyzResponse, error)

ReadyzWithResponse request returning *ReadyzResponse

func (*ClientWithResponses) ReinstateLicenseWithResponse

func (c *ClientWithResponses) ReinstateLicenseWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*ReinstateLicenseResponse, error)

ReinstateLicenseWithResponse request returning *ReinstateLicenseResponse

func (*ClientWithResponses) RemoveLicenseFeatureWithResponse

func (c *ClientWithResponses) RemoveLicenseFeatureWithResponse(ctx context.Context, id IDPath, featureId FeatureIDPath, reqEditors ...RequestEditorFn) (*RemoveLicenseFeatureResponse, error)

RemoveLicenseFeatureWithResponse request returning *RemoveLicenseFeatureResponse

func (*ClientWithResponses) RenewLicenseWithBodyWithResponse

func (c *ClientWithResponses) RenewLicenseWithBodyWithResponse(ctx context.Context, id IDPath, params *RenewLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenewLicenseResponse, error)

RenewLicenseWithBodyWithResponse request with arbitrary body returning *RenewLicenseResponse

func (*ClientWithResponses) RenewLicenseWithResponse

func (c *ClientWithResponses) RenewLicenseWithResponse(ctx context.Context, id IDPath, params *RenewLicenseParams, body RenewLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*RenewLicenseResponse, error)

func (*ClientWithResponses) ResetLicenseDeviceWithResponse

func (c *ClientWithResponses) ResetLicenseDeviceWithResponse(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*ResetLicenseDeviceResponse, error)

ResetLicenseDeviceWithResponse request returning *ResetLicenseDeviceResponse

func (*ClientWithResponses) ResetLicenseUsageWithBodyWithResponse

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

ResetLicenseUsageWithBodyWithResponse request with arbitrary body returning *ResetLicenseUsageResponse

func (*ClientWithResponses) ResetLicenseUsageWithResponse

func (c *ClientWithResponses) ResetLicenseUsageWithResponse(ctx context.Context, id IDPath, body ResetLicenseUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetLicenseUsageResponse, error)

func (*ClientWithResponses) RevokeLicenseWithResponse

func (c *ClientWithResponses) RevokeLicenseWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*RevokeLicenseResponse, error)

RevokeLicenseWithResponse request returning *RevokeLicenseResponse

func (*ClientWithResponses) SuspendLicenseWithResponse

func (c *ClientWithResponses) SuspendLicenseWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*SuspendLicenseResponse, error)

SuspendLicenseWithResponse request returning *SuspendLicenseResponse

func (*ClientWithResponses) TransferLicenseWithBodyWithResponse

func (c *ClientWithResponses) TransferLicenseWithBodyWithResponse(ctx context.Context, id IDPath, params *TransferLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferLicenseResponse, error)

TransferLicenseWithBodyWithResponse request with arbitrary body returning *TransferLicenseResponse

func (*ClientWithResponses) TransferLicenseWithResponse

func (c *ClientWithResponses) TransferLicenseWithResponse(ctx context.Context, id IDPath, params *TransferLicenseParams, body TransferLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*TransferLicenseResponse, error)

func (*ClientWithResponses) UpdateCustomerWithBodyWithResponse

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

UpdateCustomerWithBodyWithResponse request with arbitrary body returning *UpdateCustomerResponse

func (*ClientWithResponses) UpdateCustomerWithResponse

func (c *ClientWithResponses) UpdateCustomerWithResponse(ctx context.Context, id IDPath, body UpdateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomerResponse, error)

func (*ClientWithResponses) UpdateOrderWithBodyWithResponse

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

UpdateOrderWithBodyWithResponse request with arbitrary body returning *UpdateOrderResponse

func (*ClientWithResponses) UpdateOrderWithResponse

func (c *ClientWithResponses) UpdateOrderWithResponse(ctx context.Context, id IDPath, body UpdateOrderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrderResponse, error)

func (*ClientWithResponses) UpdatePolicyWithBodyWithResponse

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

UpdatePolicyWithBodyWithResponse request with arbitrary body returning *UpdatePolicyResponse

func (*ClientWithResponses) UpdatePolicyWithResponse

func (c *ClientWithResponses) UpdatePolicyWithResponse(ctx context.Context, id IDPath, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

func (*ClientWithResponses) UpdateProductCustomFieldDefinitionWithBodyWithResponse

func (c *ClientWithResponses) UpdateProductCustomFieldDefinitionWithBodyWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProductCustomFieldDefinitionResponse, error)

UpdateProductCustomFieldDefinitionWithBodyWithResponse request with arbitrary body returning *UpdateProductCustomFieldDefinitionResponse

func (*ClientWithResponses) UpdateProductCustomFieldDefinitionWithResponse

func (c *ClientWithResponses) UpdateProductCustomFieldDefinitionWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpdateProductCustomFieldDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProductCustomFieldDefinitionResponse, error)

func (*ClientWithResponses) UpdateProductWithBodyWithResponse

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

UpdateProductWithBodyWithResponse request with arbitrary body returning *UpdateProductResponse

func (*ClientWithResponses) UpdateProductWithResponse

func (c *ClientWithResponses) UpdateProductWithResponse(ctx context.Context, id IDPath, body UpdateProductJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProductResponse, error)

func (*ClientWithResponses) UpdateSubscriptionWithBodyWithResponse

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

UpdateSubscriptionWithBodyWithResponse request with arbitrary body returning *UpdateSubscriptionResponse

func (*ClientWithResponses) UpdateSubscriptionWithResponse

func (c *ClientWithResponses) UpdateSubscriptionWithResponse(ctx context.Context, id IDPath, body UpdateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSubscriptionResponse, error)

func (*ClientWithResponses) UpdateWebhookEndpointWithBodyWithResponse

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

UpdateWebhookEndpointWithBodyWithResponse request with arbitrary body returning *UpdateWebhookEndpointResponse

func (*ClientWithResponses) UpdateWebhookEndpointWithResponse

func (c *ClientWithResponses) UpdateWebhookEndpointWithResponse(ctx context.Context, id IDPath, body UpdateWebhookEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookEndpointResponse, error)

func (*ClientWithResponses) UpsertCustomerCustomFieldValueWithBodyWithResponse

func (c *ClientWithResponses) UpsertCustomerCustomFieldValueWithBodyWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertCustomerCustomFieldValueResponse, error)

UpsertCustomerCustomFieldValueWithBodyWithResponse request with arbitrary body returning *UpsertCustomerCustomFieldValueResponse

func (*ClientWithResponses) UpsertCustomerCustomFieldValueWithResponse

func (c *ClientWithResponses) UpsertCustomerCustomFieldValueWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpsertCustomerCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertCustomerCustomFieldValueResponse, error)

func (*ClientWithResponses) UpsertLicenseCustomFieldValueWithBodyWithResponse

func (c *ClientWithResponses) UpsertLicenseCustomFieldValueWithBodyWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertLicenseCustomFieldValueResponse, error)

UpsertLicenseCustomFieldValueWithBodyWithResponse request with arbitrary body returning *UpsertLicenseCustomFieldValueResponse

func (*ClientWithResponses) UpsertLicenseCustomFieldValueWithResponse

func (c *ClientWithResponses) UpsertLicenseCustomFieldValueWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpsertLicenseCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertLicenseCustomFieldValueResponse, error)

func (*ClientWithResponses) ValidateLicenseWithBodyWithResponse

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

ValidateLicenseWithBodyWithResponse request with arbitrary body returning *ValidateLicenseResponse

func (*ClientWithResponses) ValidateLicenseWithResponse

func (c *ClientWithResponses) ValidateLicenseWithResponse(ctx context.Context, body ValidateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateLicenseResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListActivitiesWithResponse request
	ListActivitiesWithResponse(ctx context.Context, params *ListActivitiesParams, reqEditors ...RequestEditorFn) (*ListActivitiesResponse, 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)

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

	// ListCustomersWithResponse request
	ListCustomersWithResponse(ctx context.Context, params *ListCustomersParams, reqEditors ...RequestEditorFn) (*ListCustomersResponse, error)

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

	CreateCustomerWithResponse(ctx context.Context, body CreateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomerResponse, error)

	// DeleteCustomerWithResponse request
	DeleteCustomerWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*DeleteCustomerResponse, error)

	// GetCustomerWithResponse request
	GetCustomerWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetCustomerResponse, error)

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

	UpdateCustomerWithResponse(ctx context.Context, id IDPath, body UpdateCustomerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomerResponse, error)

	// ListCustomerCustomFieldValuesWithResponse request
	ListCustomerCustomFieldValuesWithResponse(ctx context.Context, id IDPath, params *ListCustomerCustomFieldValuesParams, reqEditors ...RequestEditorFn) (*ListCustomerCustomFieldValuesResponse, error)

	// UpsertCustomerCustomFieldValueWithBodyWithResponse request with any body
	UpsertCustomerCustomFieldValueWithBodyWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertCustomerCustomFieldValueResponse, error)

	UpsertCustomerCustomFieldValueWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpsertCustomerCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertCustomerCustomFieldValueResponse, error)

	// ListEventsWithResponse request
	ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)

	// GetFeatureWithResponse request
	GetFeatureWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetFeatureResponse, error)

	// ActivateLicenseWithBodyWithResponse request with any body
	ActivateLicenseWithBodyWithResponse(ctx context.Context, params *ActivateLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateLicenseResponse, error)

	ActivateLicenseWithResponse(ctx context.Context, params *ActivateLicenseParams, body ActivateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateLicenseResponse, error)

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

	CheckLicenseWithResponse(ctx context.Context, body CheckLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckLicenseResponse, error)

	// ConsumeLicenseWithBodyWithResponse request with any body
	ConsumeLicenseWithBodyWithResponse(ctx context.Context, params *ConsumeLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConsumeLicenseResponse, error)

	ConsumeLicenseWithResponse(ctx context.Context, params *ConsumeLicenseParams, body ConsumeLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*ConsumeLicenseResponse, error)

	// DeactivateLicenseWithBodyWithResponse request with any body
	DeactivateLicenseWithBodyWithResponse(ctx context.Context, params *DeactivateLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeactivateLicenseResponse, error)

	DeactivateLicenseWithResponse(ctx context.Context, params *DeactivateLicenseParams, body DeactivateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*DeactivateLicenseResponse, error)

	// CheckinFloatingLicenseWithBodyWithResponse request with any body
	CheckinFloatingLicenseWithBodyWithResponse(ctx context.Context, params *CheckinFloatingLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckinFloatingLicenseResponse, error)

	CheckinFloatingLicenseWithResponse(ctx context.Context, params *CheckinFloatingLicenseParams, body CheckinFloatingLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckinFloatingLicenseResponse, error)

	// CheckoutFloatingLicenseWithBodyWithResponse request with any body
	CheckoutFloatingLicenseWithBodyWithResponse(ctx context.Context, params *CheckoutFloatingLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckoutFloatingLicenseResponse, error)

	CheckoutFloatingLicenseWithResponse(ctx context.Context, params *CheckoutFloatingLicenseParams, body CheckoutFloatingLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckoutFloatingLicenseResponse, error)

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

	HeartbeatFloatingLicenseWithResponse(ctx context.Context, body HeartbeatFloatingLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*HeartbeatFloatingLicenseResponse, error)

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

	IssueOfflineLicenseWithResponse(ctx context.Context, body IssueOfflineLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueOfflineLicenseResponse, error)

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

	ValidateLicenseWithResponse(ctx context.Context, body ValidateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateLicenseResponse, error)

	// ListLicensesWithResponse request
	ListLicensesWithResponse(ctx context.Context, params *ListLicensesParams, reqEditors ...RequestEditorFn) (*ListLicensesResponse, error)

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

	CreateLicenseWithResponse(ctx context.Context, body CreateLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLicenseResponse, error)

	// GetLicenseWithResponse request
	GetLicenseWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetLicenseResponse, error)

	// ListLicenseCustomFieldValuesWithResponse request
	ListLicenseCustomFieldValuesWithResponse(ctx context.Context, id IDPath, params *ListLicenseCustomFieldValuesParams, reqEditors ...RequestEditorFn) (*ListLicenseCustomFieldValuesResponse, error)

	// UpsertLicenseCustomFieldValueWithBodyWithResponse request with any body
	UpsertLicenseCustomFieldValueWithBodyWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertLicenseCustomFieldValueResponse, error)

	UpsertLicenseCustomFieldValueWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpsertLicenseCustomFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertLicenseCustomFieldValueResponse, error)

	// ListLicenseDevicesWithResponse request
	ListLicenseDevicesWithResponse(ctx context.Context, id IDPath, params *ListLicenseDevicesParams, reqEditors ...RequestEditorFn) (*ListLicenseDevicesResponse, error)

	// GetLicenseDeviceWithResponse request
	GetLicenseDeviceWithResponse(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*GetLicenseDeviceResponse, error)

	// BlacklistLicenseDeviceWithResponse request
	BlacklistLicenseDeviceWithResponse(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*BlacklistLicenseDeviceResponse, error)

	// ResetLicenseDeviceWithResponse request
	ResetLicenseDeviceWithResponse(ctx context.Context, id IDPath, deviceId DeviceIDPath, reqEditors ...RequestEditorFn) (*ResetLicenseDeviceResponse, error)

	// ListLicenseFeaturesWithResponse request
	ListLicenseFeaturesWithResponse(ctx context.Context, id IDPath, params *ListLicenseFeaturesParams, reqEditors ...RequestEditorFn) (*ListLicenseFeaturesResponse, error)

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

	AssignLicenseFeatureWithResponse(ctx context.Context, id IDPath, body AssignLicenseFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignLicenseFeatureResponse, error)

	// RemoveLicenseFeatureWithResponse request
	RemoveLicenseFeatureWithResponse(ctx context.Context, id IDPath, featureId FeatureIDPath, reqEditors ...RequestEditorFn) (*RemoveLicenseFeatureResponse, error)

	// ReinstateLicenseWithResponse request
	ReinstateLicenseWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*ReinstateLicenseResponse, error)

	// RenewLicenseWithBodyWithResponse request with any body
	RenewLicenseWithBodyWithResponse(ctx context.Context, id IDPath, params *RenewLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenewLicenseResponse, error)

	RenewLicenseWithResponse(ctx context.Context, id IDPath, params *RenewLicenseParams, body RenewLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*RenewLicenseResponse, error)

	// RevokeLicenseWithResponse request
	RevokeLicenseWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*RevokeLicenseResponse, error)

	// SuspendLicenseWithResponse request
	SuspendLicenseWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*SuspendLicenseResponse, error)

	// TransferLicenseWithBodyWithResponse request with any body
	TransferLicenseWithBodyWithResponse(ctx context.Context, id IDPath, params *TransferLicenseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TransferLicenseResponse, error)

	TransferLicenseWithResponse(ctx context.Context, id IDPath, params *TransferLicenseParams, body TransferLicenseJSONRequestBody, reqEditors ...RequestEditorFn) (*TransferLicenseResponse, error)

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

	ResetLicenseUsageWithResponse(ctx context.Context, id IDPath, body ResetLicenseUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetLicenseUsageResponse, error)

	// ListRuntimeErrorGroupsWithResponse request
	ListRuntimeErrorGroupsWithResponse(ctx context.Context, params *ListRuntimeErrorGroupsParams, reqEditors ...RequestEditorFn) (*ListRuntimeErrorGroupsResponse, error)

	// GetOpsSummaryWithResponse request
	GetOpsSummaryWithResponse(ctx context.Context, params *GetOpsSummaryParams, reqEditors ...RequestEditorFn) (*GetOpsSummaryResponse, error)

	// GetWebhookHealthWithResponse request
	GetWebhookHealthWithResponse(ctx context.Context, params *GetWebhookHealthParams, reqEditors ...RequestEditorFn) (*GetWebhookHealthResponse, error)

	// GetOrderWithResponse request
	GetOrderWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetOrderResponse, error)

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

	UpdateOrderWithResponse(ctx context.Context, id IDPath, body UpdateOrderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrderResponse, error)

	// DeletePolicyWithResponse request
	DeletePolicyWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*DeletePolicyResponse, error)

	// GetPolicyWithResponse request
	GetPolicyWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

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

	UpdatePolicyWithResponse(ctx context.Context, id IDPath, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

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

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

	CreateProductWithResponse(ctx context.Context, body CreateProductJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProductResponse, error)

	// DeleteProductWithResponse request
	DeleteProductWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*DeleteProductResponse, error)

	// GetProductWithResponse request
	GetProductWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetProductResponse, error)

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

	UpdateProductWithResponse(ctx context.Context, id IDPath, body UpdateProductJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProductResponse, error)

	// ListProductCustomFieldDefinitionsWithResponse request
	ListProductCustomFieldDefinitionsWithResponse(ctx context.Context, id IDPath, params *ListProductCustomFieldDefinitionsParams, reqEditors ...RequestEditorFn) (*ListProductCustomFieldDefinitionsResponse, error)

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

	CreateProductCustomFieldDefinitionWithResponse(ctx context.Context, id IDPath, body CreateProductCustomFieldDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProductCustomFieldDefinitionResponse, error)

	// DeleteProductCustomFieldDefinitionWithResponse request
	DeleteProductCustomFieldDefinitionWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, reqEditors ...RequestEditorFn) (*DeleteProductCustomFieldDefinitionResponse, error)

	// GetProductCustomFieldDefinitionWithResponse request
	GetProductCustomFieldDefinitionWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, reqEditors ...RequestEditorFn) (*GetProductCustomFieldDefinitionResponse, error)

	// UpdateProductCustomFieldDefinitionWithBodyWithResponse request with any body
	UpdateProductCustomFieldDefinitionWithBodyWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProductCustomFieldDefinitionResponse, error)

	UpdateProductCustomFieldDefinitionWithResponse(ctx context.Context, id IDPath, fieldId FieldIDPath, body UpdateProductCustomFieldDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProductCustomFieldDefinitionResponse, error)

	// ListFeaturesByProductWithResponse request
	ListFeaturesByProductWithResponse(ctx context.Context, id IDPath, params *ListFeaturesByProductParams, reqEditors ...RequestEditorFn) (*ListFeaturesByProductResponse, error)

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

	CreateFeatureWithResponse(ctx context.Context, id IDPath, body CreateFeatureJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFeatureResponse, error)

	// ListProductOrdersWithResponse request
	ListProductOrdersWithResponse(ctx context.Context, id IDPath, params *ListProductOrdersParams, reqEditors ...RequestEditorFn) (*ListProductOrdersResponse, error)

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

	CreateOrderWithResponse(ctx context.Context, id IDPath, body CreateOrderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrderResponse, error)

	// ListPoliciesByProductWithResponse request
	ListPoliciesByProductWithResponse(ctx context.Context, id IDPath, params *ListPoliciesByProductParams, reqEditors ...RequestEditorFn) (*ListPoliciesByProductResponse, error)

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

	CreatePolicyWithResponse(ctx context.Context, id IDPath, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePolicyResponse, error)

	// ListProductSubscriptionsWithResponse request
	ListProductSubscriptionsWithResponse(ctx context.Context, id IDPath, params *ListProductSubscriptionsParams, reqEditors ...RequestEditorFn) (*ListProductSubscriptionsResponse, error)

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

	CreateSubscriptionWithResponse(ctx context.Context, id IDPath, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)

	// ListProductVersionsWithResponse request
	ListProductVersionsWithResponse(ctx context.Context, id IDPath, params *ListProductVersionsParams, reqEditors ...RequestEditorFn) (*ListProductVersionsResponse, error)

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

	CreateProductVersionWithResponse(ctx context.Context, id IDPath, body CreateProductVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProductVersionResponse, error)

	// GetCustomerSummaryWithResponse request
	GetCustomerSummaryWithResponse(ctx context.Context, params *GetCustomerSummaryParams, reqEditors ...RequestEditorFn) (*GetCustomerSummaryResponse, error)

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

	CreateReportExportWithResponse(ctx context.Context, body CreateReportExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReportExportResponse, error)

	// GetReportExportWithResponse request
	GetReportExportWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetReportExportResponse, error)

	// DownloadReportExportWithResponse request
	DownloadReportExportWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadReportExportResponse, error)

	// GetLicenseAuditReportWithResponse request
	GetLicenseAuditReportWithResponse(ctx context.Context, params *GetLicenseAuditReportParams, reqEditors ...RequestEditorFn) (*GetLicenseAuditReportResponse, error)

	// GetSubscriptionSettlementWithResponse request
	GetSubscriptionSettlementWithResponse(ctx context.Context, params *GetSubscriptionSettlementParams, reqEditors ...RequestEditorFn) (*GetSubscriptionSettlementResponse, error)

	// ListUsageLedgerWithResponse request
	ListUsageLedgerWithResponse(ctx context.Context, params *ListUsageLedgerParams, reqEditors ...RequestEditorFn) (*ListUsageLedgerResponse, error)

	// GetUsageSummaryWithResponse request
	GetUsageSummaryWithResponse(ctx context.Context, params *GetUsageSummaryParams, reqEditors ...RequestEditorFn) (*GetUsageSummaryResponse, error)

	// GetSubscriptionWithResponse request
	GetSubscriptionWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetSubscriptionResponse, error)

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

	UpdateSubscriptionWithResponse(ctx context.Context, id IDPath, body UpdateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSubscriptionResponse, error)

	// ListPublicKeysWithResponse request
	ListPublicKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPublicKeysResponse, error)

	// ListWebhookEndpointsWithResponse request
	ListWebhookEndpointsWithResponse(ctx context.Context, params *ListWebhookEndpointsParams, reqEditors ...RequestEditorFn) (*ListWebhookEndpointsResponse, error)

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

	CreateWebhookEndpointWithResponse(ctx context.Context, body CreateWebhookEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookEndpointResponse, error)

	// DeleteWebhookEndpointWithResponse request
	DeleteWebhookEndpointWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*DeleteWebhookEndpointResponse, error)

	// GetWebhookEndpointWithResponse request
	GetWebhookEndpointWithResponse(ctx context.Context, id IDPath, reqEditors ...RequestEditorFn) (*GetWebhookEndpointResponse, error)

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

	UpdateWebhookEndpointWithResponse(ctx context.Context, id IDPath, body UpdateWebhookEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookEndpointResponse, error)

	// HealthWithResponse request
	HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)

	// HealthzWithResponse request
	HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthzResponse, error)

	// GetMetricsWithResponse request
	GetMetricsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetricsResponse, error)

	// ReadyzWithResponse request
	ReadyzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadyzResponse, error)
}

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

type Conflict

type Conflict = ErrorEnvelope

Conflict defines model for Conflict.

type ConsumeLicenseJSONRequestBody

type ConsumeLicenseJSONRequestBody = ConsumeLicenseRequest

ConsumeLicenseJSONRequestBody defines body for ConsumeLicense for application/json ContentType.

type ConsumeLicenseParams

type ConsumeLicenseParams struct {
	IdempotencyKey IdempotencyKeyHeader `json:"Idempotency-Key"`
}

ConsumeLicenseParams defines parameters for ConsumeLicense.

type ConsumeLicenseRequest

type ConsumeLicenseRequest struct {
	// Amount Defaults to `1` when omitted.
	Amount      *int64  `json:"amount,omitempty"`
	AppVersion  *string `json:"app_version,omitempty"`
	ClusterId   *string `json:"cluster_id,omitempty"`
	ContainerId *string `json:"container_id,omitempty"`
	EventId     string  `json:"event_id"`
	FeatureCode string  `json:"feature_code"`
	Fingerprint *string `json:"fingerprint,omitempty"`
	Hostname    *string `json:"hostname,omitempty"`
	IsContainer *bool   `json:"is_container,omitempty"`
	IsVm        *bool   `json:"is_vm,omitempty"`
	Namespace   *string `json:"namespace,omitempty"`
	Os          *string `json:"os,omitempty"`
	PodName     *string `json:"pod_name,omitempty"`
}

ConsumeLicenseRequest defines model for ConsumeLicenseRequest.

type ConsumeLicenseResponse

type ConsumeLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignedRuntimeEntitlementEnvelope
	JSON400      *BadRequest
	JSON401      *UnauthorizedLicense
	JSON403      *ForbiddenRuntime
	JSON404      *NotFound
	JSON409      *Conflict
	JSON422      *ValidationError
}

func ParseConsumeLicenseResponse

func ParseConsumeLicenseResponse(rsp *http.Response) (*ConsumeLicenseResponse, error)

ParseConsumeLicenseResponse parses an HTTP response from a ConsumeLicenseWithResponse call

func (ConsumeLicenseResponse) Status

func (r ConsumeLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (ConsumeLicenseResponse) StatusCode

func (r ConsumeLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAPIKeyJSONRequestBody

type CreateAPIKeyJSONRequestBody = APIKeyCreateRequest

CreateAPIKeyJSONRequestBody defines body for CreateAPIKey for application/json ContentType.

type CreateAPIKeyResponse

type CreateAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data APIKeyCreateResponse `json:"data"`
		Meta ResponseMeta         `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON422 *ValidationError
}

func ParseCreateAPIKeyResponse

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

ParseCreateAPIKeyResponse parses an HTTP response from a CreateAPIKeyWithResponse call

func (CreateAPIKeyResponse) Status

func (r CreateAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAPIKeyResponse) StatusCode

func (r CreateAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCustomerJSONRequestBody

type CreateCustomerJSONRequestBody = CustomerCreateRequest

CreateCustomerJSONRequestBody defines body for CreateCustomer for application/json ContentType.

type CreateCustomerResponse

type CreateCustomerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data Customer     `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreateCustomerResponse

func ParseCreateCustomerResponse(rsp *http.Response) (*CreateCustomerResponse, error)

ParseCreateCustomerResponse parses an HTTP response from a CreateCustomerWithResponse call

func (CreateCustomerResponse) Status

func (r CreateCustomerResponse) Status() string

Status returns HTTPResponse.Status

func (CreateCustomerResponse) StatusCode

func (r CreateCustomerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateFeatureJSONRequestBody

type CreateFeatureJSONRequestBody = FeatureCreateRequest

CreateFeatureJSONRequestBody defines body for CreateFeature for application/json ContentType.

type CreateFeatureResponse

type CreateFeatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data Feature      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreateFeatureResponse

func ParseCreateFeatureResponse(rsp *http.Response) (*CreateFeatureResponse, error)

ParseCreateFeatureResponse parses an HTTP response from a CreateFeatureWithResponse call

func (CreateFeatureResponse) Status

func (r CreateFeatureResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFeatureResponse) StatusCode

func (r CreateFeatureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateLicenseJSONRequestBody

type CreateLicenseJSONRequestBody = LicenseCreateRequest

CreateLicenseJSONRequestBody defines body for CreateLicense for application/json ContentType.

type CreateLicenseResponse

type CreateLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data LicenseCreateResponse `json:"data"`
		Meta ResponseMeta          `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreateLicenseResponse

func ParseCreateLicenseResponse(rsp *http.Response) (*CreateLicenseResponse, error)

ParseCreateLicenseResponse parses an HTTP response from a CreateLicenseWithResponse call

func (CreateLicenseResponse) Status

func (r CreateLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (CreateLicenseResponse) StatusCode

func (r CreateLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrderJSONRequestBody

type CreateOrderJSONRequestBody = OrderCreateRequest

CreateOrderJSONRequestBody defines body for CreateOrder for application/json ContentType.

type CreateOrderResponse

type CreateOrderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data Order        `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreateOrderResponse

func ParseCreateOrderResponse(rsp *http.Response) (*CreateOrderResponse, error)

ParseCreateOrderResponse parses an HTTP response from a CreateOrderWithResponse call

func (CreateOrderResponse) Status

func (r CreateOrderResponse) Status() string

Status returns HTTPResponse.Status

func (CreateOrderResponse) StatusCode

func (r CreateOrderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePolicyJSONRequestBody

type CreatePolicyJSONRequestBody = PolicyCreateRequest

CreatePolicyJSONRequestBody defines body for CreatePolicy for application/json ContentType.

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data Policy       `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreatePolicyResponse

func ParseCreatePolicyResponse(rsp *http.Response) (*CreatePolicyResponse, error)

ParseCreatePolicyResponse parses an HTTP response from a CreatePolicyWithResponse call

func (CreatePolicyResponse) Status

func (r CreatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePolicyResponse) StatusCode

func (r CreatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProductCustomFieldDefinitionJSONRequestBody

type CreateProductCustomFieldDefinitionJSONRequestBody = CustomFieldDefinitionCreateRequest

CreateProductCustomFieldDefinitionJSONRequestBody defines body for CreateProductCustomFieldDefinition for application/json ContentType.

type CreateProductCustomFieldDefinitionResponse

type CreateProductCustomFieldDefinitionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data CustomFieldDefinition `json:"data"`
		Meta ResponseMeta          `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreateProductCustomFieldDefinitionResponse

func ParseCreateProductCustomFieldDefinitionResponse(rsp *http.Response) (*CreateProductCustomFieldDefinitionResponse, error)

ParseCreateProductCustomFieldDefinitionResponse parses an HTTP response from a CreateProductCustomFieldDefinitionWithResponse call

func (CreateProductCustomFieldDefinitionResponse) Status

Status returns HTTPResponse.Status

func (CreateProductCustomFieldDefinitionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateProductJSONRequestBody

type CreateProductJSONRequestBody = ProductCreateRequest

CreateProductJSONRequestBody defines body for CreateProduct for application/json ContentType.

type CreateProductResponse

type CreateProductResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data Product      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreateProductResponse

func ParseCreateProductResponse(rsp *http.Response) (*CreateProductResponse, error)

ParseCreateProductResponse parses an HTTP response from a CreateProductWithResponse call

func (CreateProductResponse) Status

func (r CreateProductResponse) Status() string

Status returns HTTPResponse.Status

func (CreateProductResponse) StatusCode

func (r CreateProductResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProductVersionJSONRequestBody

type CreateProductVersionJSONRequestBody = ProductVersionCreateRequest

CreateProductVersionJSONRequestBody defines body for CreateProductVersion for application/json ContentType.

type CreateProductVersionResponse

type CreateProductVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data ProductVersion `json:"data"`
		Meta ResponseMeta   `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreateProductVersionResponse

func ParseCreateProductVersionResponse(rsp *http.Response) (*CreateProductVersionResponse, error)

ParseCreateProductVersionResponse parses an HTTP response from a CreateProductVersionWithResponse call

func (CreateProductVersionResponse) Status

Status returns HTTPResponse.Status

func (CreateProductVersionResponse) StatusCode

func (r CreateProductVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateReportExportJSONRequestBody added in v1.0.0

type CreateReportExportJSONRequestBody = ReportExportCreateRequest

CreateReportExportJSONRequestBody defines body for CreateReportExport for application/json ContentType.

type CreateReportExportResponse added in v1.0.0

type CreateReportExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data ReportExportMetadata `json:"data"`
		Meta ResponseMeta         `json:"meta"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseCreateReportExportResponse added in v1.0.0

func ParseCreateReportExportResponse(rsp *http.Response) (*CreateReportExportResponse, error)

ParseCreateReportExportResponse parses an HTTP response from a CreateReportExportWithResponse call

func (CreateReportExportResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (CreateReportExportResponse) StatusCode added in v1.0.0

func (r CreateReportExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSubscriptionJSONRequestBody

type CreateSubscriptionJSONRequestBody = SubscriptionCreateRequest

CreateSubscriptionJSONRequestBody defines body for CreateSubscription for application/json ContentType.

type CreateSubscriptionResponse

type CreateSubscriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data Subscription `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreateSubscriptionResponse

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

ParseCreateSubscriptionResponse parses an HTTP response from a CreateSubscriptionWithResponse call

func (CreateSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (CreateSubscriptionResponse) StatusCode

func (r CreateSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWebhookEndpointJSONRequestBody

type CreateWebhookEndpointJSONRequestBody = WebhookEndpointCreateRequest

CreateWebhookEndpointJSONRequestBody defines body for CreateWebhookEndpoint for application/json ContentType.

type CreateWebhookEndpointResponse

type CreateWebhookEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Data WebhookEndpointWithSecret `json:"data"`
		Meta ResponseMeta              `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseCreateWebhookEndpointResponse

func ParseCreateWebhookEndpointResponse(rsp *http.Response) (*CreateWebhookEndpointResponse, error)

ParseCreateWebhookEndpointResponse parses an HTTP response from a CreateWebhookEndpointWithResponse call

func (CreateWebhookEndpointResponse) Status

Status returns HTTPResponse.Status

func (CreateWebhookEndpointResponse) StatusCode

func (r CreateWebhookEndpointResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CursorParam

type CursorParam = int64

CursorParam defines model for CursorParam.

type CustomFieldDefinition

type CustomFieldDefinition struct {
	Code         string                  `json:"code"`
	CreatedAt    time.Time               `json:"created_at"`
	EnumOptions  []string                `json:"enum_options"`
	Id           string                  `json:"id"`
	IsRequired   bool                    `json:"is_required"`
	Metadata     map[string]interface{}  `json:"metadata"`
	Name         string                  `json:"name"`
	ProductId    string                  `json:"product_id"`
	ResourceType CustomFieldResourceType `json:"resource_type"`
	UpdatedAt    time.Time               `json:"updated_at"`
	ValueType    CustomFieldValueType    `json:"value_type"`
}

CustomFieldDefinition defines model for CustomFieldDefinition.

type CustomFieldDefinitionCreateRequest

type CustomFieldDefinitionCreateRequest struct {
	Code         string                  `json:"code"`
	EnumOptions  *[]string               `json:"enum_options,omitempty"`
	IsRequired   *bool                   `json:"is_required,omitempty"`
	Metadata     *map[string]interface{} `json:"metadata,omitempty"`
	Name         string                  `json:"name"`
	ResourceType CustomFieldResourceType `json:"resource_type"`
	ValueType    CustomFieldValueType    `json:"value_type"`
}

CustomFieldDefinitionCreateRequest defines model for CustomFieldDefinitionCreateRequest.

type CustomFieldDefinitionUpdateRequest

type CustomFieldDefinitionUpdateRequest struct {
	Code        *string                 `json:"code,omitempty"`
	EnumOptions *[]string               `json:"enum_options,omitempty"`
	IsRequired  *bool                   `json:"is_required,omitempty"`
	Metadata    *map[string]interface{} `json:"metadata,omitempty"`
	Name        *string                 `json:"name,omitempty"`
}

CustomFieldDefinitionUpdateRequest defines model for CustomFieldDefinitionUpdateRequest.

type CustomFieldResourceType

type CustomFieldResourceType string

CustomFieldResourceType defines model for CustomFieldResourceType.

const (
	CustomFieldResourceTypeCustomer CustomFieldResourceType = "customer"
	CustomFieldResourceTypeLicense  CustomFieldResourceType = "license"
)

Defines values for CustomFieldResourceType.

func (CustomFieldResourceType) Valid

func (e CustomFieldResourceType) Valid() bool

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

type CustomFieldValue

type CustomFieldValue struct {
	BooleanValue  *bool                   `json:"boolean_value,omitempty"`
	Code          string                  `json:"code"`
	DatetimeValue *time.Time              `json:"datetime_value,omitempty"`
	DefinitionId  string                  `json:"definition_id"`
	EnumOptions   []string                `json:"enum_options"`
	EnumValue     *string                 `json:"enum_value,omitempty"`
	IntegerValue  *int64                  `json:"integer_value,omitempty"`
	IsRequired    bool                    `json:"is_required"`
	Metadata      map[string]interface{}  `json:"metadata"`
	Name          string                  `json:"name"`
	ProductId     string                  `json:"product_id"`
	ResourceId    string                  `json:"resource_id"`
	ResourceType  CustomFieldResourceType `json:"resource_type"`
	StringValue   *string                 `json:"string_value,omitempty"`
	UpdatedAt     time.Time               `json:"updated_at"`
	ValueType     CustomFieldValueType    `json:"value_type"`
}

CustomFieldValue defines model for CustomFieldValue.

type CustomFieldValueType

type CustomFieldValueType string

CustomFieldValueType defines model for CustomFieldValueType.

const (
	Boolean  CustomFieldValueType = "boolean"
	Datetime CustomFieldValueType = "datetime"
	Enum     CustomFieldValueType = "enum"
	Integer  CustomFieldValueType = "integer"
	String   CustomFieldValueType = "string"
)

Defines values for CustomFieldValueType.

func (CustomFieldValueType) Valid

func (e CustomFieldValueType) Valid() bool

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

type CustomFieldValueUpsertRequest

type CustomFieldValueUpsertRequest struct {
	BooleanValue  *bool      `json:"boolean_value,omitempty"`
	Clear         *bool      `json:"clear,omitempty"`
	DatetimeValue *time.Time `json:"datetime_value,omitempty"`
	EnumValue     *string    `json:"enum_value,omitempty"`
	IntegerValue  *int64     `json:"integer_value,omitempty"`
	StringValue   *string    `json:"string_value,omitempty"`
}

CustomFieldValueUpsertRequest Provide exactly one typed value, or set `clear` to true.

type Customer

type Customer struct {
	Code      string                 `json:"code"`
	CreatedAt time.Time              `json:"created_at"`
	Email     *string                `json:"email,omitempty"`
	Id        string                 `json:"id"`
	Metadata  map[string]interface{} `json:"metadata"`
	Name      string                 `json:"name"`
	UpdatedAt time.Time              `json:"updated_at"`
}

Customer defines model for Customer.

type CustomerCreateRequest

type CustomerCreateRequest struct {
	Code     string                  `json:"code"`
	Email    *string                 `json:"email,omitempty"`
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	Name     string                  `json:"name"`
}

CustomerCreateRequest defines model for CustomerCreateRequest.

type CustomerUpdateRequest

type CustomerUpdateRequest struct {
	Code     *string                 `json:"code,omitempty"`
	Email    *string                 `json:"email,omitempty"`
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	Name     *string                 `json:"name,omitempty"`
}

CustomerUpdateRequest defines model for CustomerUpdateRequest.

type DeactivateLicenseJSONRequestBody

type DeactivateLicenseJSONRequestBody = RuntimeBindingRequest

DeactivateLicenseJSONRequestBody defines body for DeactivateLicense for application/json ContentType.

type DeactivateLicenseParams

type DeactivateLicenseParams struct {
	IdempotencyKey IdempotencyKeyHeader `json:"Idempotency-Key"`
}

DeactivateLicenseParams defines parameters for DeactivateLicense.

type DeactivateLicenseResponse

type DeactivateLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignedRuntimeDeactivationEnvelope
	JSON400      *BadRequest
	JSON401      *UnauthorizedLicense
	JSON403      *ForbiddenRuntime
	JSON404      *NotFound
	JSON409      *Conflict
	JSON422      *ValidationError
}

func ParseDeactivateLicenseResponse

func ParseDeactivateLicenseResponse(rsp *http.Response) (*DeactivateLicenseResponse, error)

ParseDeactivateLicenseResponse parses an HTTP response from a DeactivateLicenseWithResponse call

func (DeactivateLicenseResponse) Status

func (r DeactivateLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (DeactivateLicenseResponse) StatusCode

func (r DeactivateLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeactivationResponseData

type DeactivationResponseData struct {
	DeviceId           string      `json:"device_id"`
	EntitlementVersion int64       `json:"entitlement_version"`
	ExpiresAt          *time.Time  `json:"expires_at,omitempty"`
	IssuedAt           time.Time   `json:"issued_at"`
	LicenseId          string      `json:"license_id"`
	LicenseType        LicenseType `json:"license_type"`
	Status             string      `json:"status"`
}

DeactivationResponseData defines model for DeactivationResponseData.

type DeleteCustomerResponse

type DeleteCustomerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *UnauthorizedManagement
	JSON403      *ForbiddenScope
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseDeleteCustomerResponse

func ParseDeleteCustomerResponse(rsp *http.Response) (*DeleteCustomerResponse, error)

ParseDeleteCustomerResponse parses an HTTP response from a DeleteCustomerWithResponse call

func (DeleteCustomerResponse) Status

func (r DeleteCustomerResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteCustomerResponse) StatusCode

func (r DeleteCustomerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePolicyResponse

type DeletePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *UnauthorizedManagement
	JSON403      *ForbiddenScope
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseDeletePolicyResponse

func ParseDeletePolicyResponse(rsp *http.Response) (*DeletePolicyResponse, error)

ParseDeletePolicyResponse parses an HTTP response from a DeletePolicyWithResponse call

func (DeletePolicyResponse) Status

func (r DeletePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePolicyResponse) StatusCode

func (r DeletePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProductCustomFieldDefinitionResponse

type DeleteProductCustomFieldDefinitionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *UnauthorizedManagement
	JSON403      *ForbiddenScope
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseDeleteProductCustomFieldDefinitionResponse

func ParseDeleteProductCustomFieldDefinitionResponse(rsp *http.Response) (*DeleteProductCustomFieldDefinitionResponse, error)

ParseDeleteProductCustomFieldDefinitionResponse parses an HTTP response from a DeleteProductCustomFieldDefinitionWithResponse call

func (DeleteProductCustomFieldDefinitionResponse) Status

Status returns HTTPResponse.Status

func (DeleteProductCustomFieldDefinitionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteProductResponse

type DeleteProductResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *UnauthorizedManagement
	JSON403      *ForbiddenScope
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseDeleteProductResponse

func ParseDeleteProductResponse(rsp *http.Response) (*DeleteProductResponse, error)

ParseDeleteProductResponse parses an HTTP response from a DeleteProductWithResponse call

func (DeleteProductResponse) Status

func (r DeleteProductResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProductResponse) StatusCode

func (r DeleteProductResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWebhookEndpointResponse

type DeleteWebhookEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *UnauthorizedManagement
	JSON403      *ForbiddenScope
	JSON404      *NotFound
}

func ParseDeleteWebhookEndpointResponse

func ParseDeleteWebhookEndpointResponse(rsp *http.Response) (*DeleteWebhookEndpointResponse, error)

ParseDeleteWebhookEndpointResponse parses an HTTP response from a DeleteWebhookEndpointWithResponse call

func (DeleteWebhookEndpointResponse) Status

Status returns HTTPResponse.Status

func (DeleteWebhookEndpointResponse) StatusCode

func (r DeleteWebhookEndpointResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Device

type Device struct {
	BindingKey      string                 `json:"binding_key"`
	BindingKind     DeviceBindingKind      `json:"binding_kind"`
	ClusterId       *string                `json:"cluster_id,omitempty"`
	ContainerId     *string                `json:"container_id,omitempty"`
	CreatedAt       time.Time              `json:"created_at"`
	Fingerprint     *string                `json:"fingerprint,omitempty"`
	FirstSeenAt     time.Time              `json:"first_seen_at"`
	Hostname        *string                `json:"hostname,omitempty"`
	Id              string                 `json:"id"`
	IpAddress       *string                `json:"ip_address,omitempty"`
	IsContainer     bool                   `json:"is_container"`
	IsVm            bool                   `json:"is_vm"`
	LastSeenAt      time.Time              `json:"last_seen_at"`
	LastValidatedAt *time.Time             `json:"last_validated_at,omitempty"`
	LicenseId       string                 `json:"license_id"`
	Metadata        map[string]interface{} `json:"metadata"`
	Namespace       *string                `json:"namespace,omitempty"`
	Os              *string                `json:"os,omitempty"`
	PodName         *string                `json:"pod_name,omitempty"`
	Status          DeviceStatus           `json:"status"`
	UpdatedAt       time.Time              `json:"updated_at"`
}

Device defines model for Device.

type DeviceBindingKind

type DeviceBindingKind string

DeviceBindingKind defines model for DeviceBindingKind.

const (
	Container DeviceBindingKind = "container"
	Hardware  DeviceBindingKind = "hardware"
)

Defines values for DeviceBindingKind.

func (DeviceBindingKind) Valid

func (e DeviceBindingKind) Valid() bool

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

type DeviceIDPath

type DeviceIDPath = string

DeviceIDPath defines model for DeviceIDPath.

type DeviceStatus

type DeviceStatus string

DeviceStatus defines model for DeviceStatus.

const (
	DeviceStatusActive      DeviceStatus = "active"
	DeviceStatusBlacklisted DeviceStatus = "blacklisted"
	DeviceStatusDeactivated DeviceStatus = "deactivated"
	DeviceStatusExpired     DeviceStatus = "expired"
	DeviceStatusReset       DeviceStatus = "reset"
)

Defines values for DeviceStatus.

func (DeviceStatus) Valid

func (e DeviceStatus) Valid() bool

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

type DownloadReportExportResponse added in v1.0.0

type DownloadReportExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON401      *UnauthorizedManagement
	JSON403      *ForbiddenScope
}

func ParseDownloadReportExportResponse added in v1.0.0

func ParseDownloadReportExportResponse(rsp *http.Response) (*DownloadReportExportResponse, error)

ParseDownloadReportExportResponse parses an HTTP response from a DownloadReportExportWithResponse call

func (DownloadReportExportResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (DownloadReportExportResponse) StatusCode added in v1.0.0

func (r DownloadReportExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ErrorEnvelope

type ErrorEnvelope struct {
	Error ErrorObject  `json:"error"`
	Meta  ResponseMeta `json:"meta"`
}

ErrorEnvelope defines model for ErrorEnvelope.

type ErrorObject

type ErrorObject struct {
	Code    string  `json:"code"`
	Detail  *string `json:"detail,omitempty"`
	Message string  `json:"message"`
}

ErrorObject defines model for ErrorObject.

type Event

type Event struct {
	ActorId   string         `json:"actor_id"`
	ActorType AuditActorType `json:"actor_type"`
	CreatedAt time.Time      `json:"created_at"`
	EventType string         `json:"event_type"`
	IpAddress *string        `json:"ip_address,omitempty"`

	// Metadata Audit metadata with sensitive runtime binding values redacted where applicable.
	Metadata     map[string]interface{} `json:"metadata"`
	ResourceId   *string                `json:"resource_id,omitempty"`
	ResourceType string                 `json:"resource_type"`
	Sequence     int64                  `json:"sequence"`
}

Event defines model for Event.

type EventPageInfo

type EventPageInfo struct {
	NextCursor *int64 `json:"next_cursor"`
}

EventPageInfo defines model for EventPageInfo.

type Feature

type Feature struct {
	Code      string                 `json:"code"`
	CreatedAt time.Time              `json:"created_at"`
	Id        string                 `json:"id"`
	Metadata  map[string]interface{} `json:"metadata"`
	Name      string                 `json:"name"`
	ProductId string                 `json:"product_id"`
}

Feature defines model for Feature.

type FeatureCreateRequest

type FeatureCreateRequest struct {
	Code     string                  `json:"code"`
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	Name     string                  `json:"name"`
}

FeatureCreateRequest defines model for FeatureCreateRequest.

type FeatureEntitlement

type FeatureEntitlement struct {
	Code      string `json:"code"`
	Consumed  *int64 `json:"consumed,omitempty"`
	Enabled   bool   `json:"enabled"`
	Quota     *int64 `json:"quota,omitempty"`
	Remaining *int64 `json:"remaining,omitempty"`
}

FeatureEntitlement defines model for FeatureEntitlement.

type FeatureIDPath

type FeatureIDPath = string

FeatureIDPath defines model for FeatureIDPath.

type FieldIDPath

type FieldIDPath = string

FieldIDPath defines model for FieldIDPath.

type FloatingCheckoutResponseData

type FloatingCheckoutResponseData struct {
	DeviceId           string               `json:"device_id"`
	EntitlementVersion int64                `json:"entitlement_version"`
	ExpiresAt          *time.Time           `json:"expires_at,omitempty"`
	Features           []FeatureEntitlement `json:"features"`
	IssuedAt           time.Time            `json:"issued_at"`
	LeaseExpiresAt     time.Time            `json:"lease_expires_at"`
	LeaseToken         string               `json:"lease_token"`
	LicenseId          string               `json:"license_id"`
	LicenseType        LicenseType          `json:"license_type"`
	Status             string               `json:"status"`
	VersionEligibility *VersionEligibility  `json:"version_eligibility,omitempty"`
}

FloatingCheckoutResponseData defines model for FloatingCheckoutResponseData.

type FloatingLeaseRequest

type FloatingLeaseRequest struct {
	LeaseToken string `json:"lease_token"`
}

FloatingLeaseRequest defines model for FloatingLeaseRequest.

type FloatingLeaseResponseData

type FloatingLeaseResponseData struct {
	DeviceId           string                `json:"device_id"`
	EntitlementVersion int64                 `json:"entitlement_version"`
	ExpiresAt          *time.Time            `json:"expires_at,omitempty"`
	Features           *[]FeatureEntitlement `json:"features,omitempty"`
	IssuedAt           time.Time             `json:"issued_at"`
	LeaseExpiresAt     time.Time             `json:"lease_expires_at"`
	LicenseId          string                `json:"license_id"`
	LicenseType        LicenseType           `json:"license_type"`
	Status             string                `json:"status"`
	VersionEligibility *VersionEligibility   `json:"version_eligibility,omitempty"`
}

FloatingLeaseResponseData defines model for FloatingLeaseResponseData.

type ForbiddenRuntime

type ForbiddenRuntime = ErrorEnvelope

ForbiddenRuntime defines model for ForbiddenRuntime.

type ForbiddenScope

type ForbiddenScope = ErrorEnvelope

ForbiddenScope defines model for ForbiddenScope.

type GetCustomerResponse

type GetCustomerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Customer     `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetCustomerResponse

func ParseGetCustomerResponse(rsp *http.Response) (*GetCustomerResponse, error)

ParseGetCustomerResponse parses an HTTP response from a GetCustomerWithResponse call

func (GetCustomerResponse) Status

func (r GetCustomerResponse) Status() string

Status returns HTTPResponse.Status

func (GetCustomerResponse) StatusCode

func (r GetCustomerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCustomerSummaryParams added in v1.0.0

type GetCustomerSummaryParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit      *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
	CustomerId string      `form:"customer_id" json:"customer_id"`
	From       *time.Time  `form:"from,omitempty" json:"from,omitempty"`
	To         *time.Time  `form:"to,omitempty" json:"to,omitempty"`
}

GetCustomerSummaryParams defines parameters for GetCustomerSummary.

type GetCustomerSummaryResponse added in v1.0.0

type GetCustomerSummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data map[string]interface{} `json:"data"`
		Meta ResponseMeta           `json:"meta"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseGetCustomerSummaryResponse added in v1.0.0

func ParseGetCustomerSummaryResponse(rsp *http.Response) (*GetCustomerSummaryResponse, error)

ParseGetCustomerSummaryResponse parses an HTTP response from a GetCustomerSummaryWithResponse call

func (GetCustomerSummaryResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetCustomerSummaryResponse) StatusCode added in v1.0.0

func (r GetCustomerSummaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFeatureResponse

type GetFeatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Feature      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetFeatureResponse

func ParseGetFeatureResponse(rsp *http.Response) (*GetFeatureResponse, error)

ParseGetFeatureResponse parses an HTTP response from a GetFeatureWithResponse call

func (GetFeatureResponse) Status

func (r GetFeatureResponse) Status() string

Status returns HTTPResponse.Status

func (GetFeatureResponse) StatusCode

func (r GetFeatureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLicenseAuditReportParams added in v1.0.0

type GetLicenseAuditReportParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit     *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
	LicenseId string      `form:"license_id" json:"license_id"`
	From      *time.Time  `form:"from,omitempty" json:"from,omitempty"`
	To        *time.Time  `form:"to,omitempty" json:"to,omitempty"`
}

GetLicenseAuditReportParams defines parameters for GetLicenseAuditReport.

type GetLicenseAuditReportResponse added in v1.0.0

type GetLicenseAuditReportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data map[string]interface{} `json:"data"`
		Meta ResponseMeta           `json:"meta"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseGetLicenseAuditReportResponse added in v1.0.0

func ParseGetLicenseAuditReportResponse(rsp *http.Response) (*GetLicenseAuditReportResponse, error)

ParseGetLicenseAuditReportResponse parses an HTTP response from a GetLicenseAuditReportWithResponse call

func (GetLicenseAuditReportResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetLicenseAuditReportResponse) StatusCode added in v1.0.0

func (r GetLicenseAuditReportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLicenseDeviceResponse

type GetLicenseDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Device       `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetLicenseDeviceResponse

func ParseGetLicenseDeviceResponse(rsp *http.Response) (*GetLicenseDeviceResponse, error)

ParseGetLicenseDeviceResponse parses an HTTP response from a GetLicenseDeviceWithResponse call

func (GetLicenseDeviceResponse) Status

func (r GetLicenseDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (GetLicenseDeviceResponse) StatusCode

func (r GetLicenseDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLicenseResponse

type GetLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data License      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetLicenseResponse

func ParseGetLicenseResponse(rsp *http.Response) (*GetLicenseResponse, error)

ParseGetLicenseResponse parses an HTTP response from a GetLicenseWithResponse call

func (GetLicenseResponse) Status

func (r GetLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (GetLicenseResponse) StatusCode

func (r GetLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMetricsResponse

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

func ParseGetMetricsResponse

func ParseGetMetricsResponse(rsp *http.Response) (*GetMetricsResponse, error)

ParseGetMetricsResponse parses an HTTP response from a GetMetricsWithResponse call

func (GetMetricsResponse) Status

func (r GetMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (GetMetricsResponse) StatusCode

func (r GetMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOpsSummaryParams added in v1.0.0

type GetOpsSummaryParams struct {
	From       *time.Time `form:"from,omitempty" json:"from,omitempty"`
	To         *time.Time `form:"to,omitempty" json:"to,omitempty"`
	ProductId  *string    `form:"product_id,omitempty" json:"product_id,omitempty"`
	CustomerId *string    `form:"customer_id,omitempty" json:"customer_id,omitempty"`
	LicenseId  *string    `form:"license_id,omitempty" json:"license_id,omitempty"`
}

GetOpsSummaryParams defines parameters for GetOpsSummary.

type GetOpsSummaryResponse added in v1.0.0

type GetOpsSummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data map[string]interface{} `json:"data"`
		Meta ResponseMeta           `json:"meta"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseGetOpsSummaryResponse added in v1.0.0

func ParseGetOpsSummaryResponse(rsp *http.Response) (*GetOpsSummaryResponse, error)

ParseGetOpsSummaryResponse parses an HTTP response from a GetOpsSummaryWithResponse call

func (GetOpsSummaryResponse) Status added in v1.0.0

func (r GetOpsSummaryResponse) Status() string

Status returns HTTPResponse.Status

func (GetOpsSummaryResponse) StatusCode added in v1.0.0

func (r GetOpsSummaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrderResponse

type GetOrderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Order        `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetOrderResponse

func ParseGetOrderResponse(rsp *http.Response) (*GetOrderResponse, error)

ParseGetOrderResponse parses an HTTP response from a GetOrderWithResponse call

func (GetOrderResponse) Status

func (r GetOrderResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrderResponse) StatusCode

func (r GetOrderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPolicyResponse

type GetPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Policy       `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetPolicyResponse

func ParseGetPolicyResponse(rsp *http.Response) (*GetPolicyResponse, error)

ParseGetPolicyResponse parses an HTTP response from a GetPolicyWithResponse call

func (GetPolicyResponse) Status

func (r GetPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (GetPolicyResponse) StatusCode

func (r GetPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProductCustomFieldDefinitionResponse

type GetProductCustomFieldDefinitionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data CustomFieldDefinition `json:"data"`
		Meta ResponseMeta          `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetProductCustomFieldDefinitionResponse

func ParseGetProductCustomFieldDefinitionResponse(rsp *http.Response) (*GetProductCustomFieldDefinitionResponse, error)

ParseGetProductCustomFieldDefinitionResponse parses an HTTP response from a GetProductCustomFieldDefinitionWithResponse call

func (GetProductCustomFieldDefinitionResponse) Status

Status returns HTTPResponse.Status

func (GetProductCustomFieldDefinitionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetProductResponse

type GetProductResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Product      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetProductResponse

func ParseGetProductResponse(rsp *http.Response) (*GetProductResponse, error)

ParseGetProductResponse parses an HTTP response from a GetProductWithResponse call

func (GetProductResponse) Status

func (r GetProductResponse) Status() string

Status returns HTTPResponse.Status

func (GetProductResponse) StatusCode

func (r GetProductResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReportExportResponse added in v1.0.0

type GetReportExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data ReportExportMetadata `json:"data"`
		Meta ResponseMeta         `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseGetReportExportResponse added in v1.0.0

func ParseGetReportExportResponse(rsp *http.Response) (*GetReportExportResponse, error)

ParseGetReportExportResponse parses an HTTP response from a GetReportExportWithResponse call

func (GetReportExportResponse) Status added in v1.0.0

func (r GetReportExportResponse) Status() string

Status returns HTTPResponse.Status

func (GetReportExportResponse) StatusCode added in v1.0.0

func (r GetReportExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSubscriptionResponse

type GetSubscriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Subscription `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetSubscriptionResponse

func ParseGetSubscriptionResponse(rsp *http.Response) (*GetSubscriptionResponse, error)

ParseGetSubscriptionResponse parses an HTTP response from a GetSubscriptionWithResponse call

func (GetSubscriptionResponse) Status

func (r GetSubscriptionResponse) Status() string

Status returns HTTPResponse.Status

func (GetSubscriptionResponse) StatusCode

func (r GetSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSubscriptionSettlementParams added in v1.0.0

type GetSubscriptionSettlementParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit          *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
	SubscriptionId *string     `form:"subscription_id,omitempty" json:"subscription_id,omitempty"`
	OrderId        *string     `form:"order_id,omitempty" json:"order_id,omitempty"`
	From           *time.Time  `form:"from,omitempty" json:"from,omitempty"`
	To             *time.Time  `form:"to,omitempty" json:"to,omitempty"`
	GroupBy        *string     `form:"group_by,omitempty" json:"group_by,omitempty"`
}

GetSubscriptionSettlementParams defines parameters for GetSubscriptionSettlement.

type GetSubscriptionSettlementResponse added in v1.0.0

type GetSubscriptionSettlementResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data map[string]interface{} `json:"data"`
		Meta ResponseMeta           `json:"meta"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseGetSubscriptionSettlementResponse added in v1.0.0

func ParseGetSubscriptionSettlementResponse(rsp *http.Response) (*GetSubscriptionSettlementResponse, error)

ParseGetSubscriptionSettlementResponse parses an HTTP response from a GetSubscriptionSettlementWithResponse call

func (GetSubscriptionSettlementResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (GetSubscriptionSettlementResponse) StatusCode added in v1.0.0

func (r GetSubscriptionSettlementResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsageSummaryParams added in v1.0.0

type GetUsageSummaryParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit          *LimitParam                  `form:"limit,omitempty" json:"limit,omitempty"`
	From           *time.Time                   `form:"from,omitempty" json:"from,omitempty"`
	To             *time.Time                   `form:"to,omitempty" json:"to,omitempty"`
	GroupBy        *string                      `form:"group_by,omitempty" json:"group_by,omitempty"`
	Bucket         *GetUsageSummaryParamsBucket `form:"bucket,omitempty" json:"bucket,omitempty"`
	ProductId      *string                      `form:"product_id,omitempty" json:"product_id,omitempty"`
	CustomerId     *string                      `form:"customer_id,omitempty" json:"customer_id,omitempty"`
	LicenseId      *string                      `form:"license_id,omitempty" json:"license_id,omitempty"`
	OrderId        *string                      `form:"order_id,omitempty" json:"order_id,omitempty"`
	SubscriptionId *string                      `form:"subscription_id,omitempty" json:"subscription_id,omitempty"`
	FeatureCode    *string                      `form:"feature_code,omitempty" json:"feature_code,omitempty"`
}

GetUsageSummaryParams defines parameters for GetUsageSummary.

type GetUsageSummaryParamsBucket added in v1.0.0

type GetUsageSummaryParamsBucket string

GetUsageSummaryParamsBucket defines parameters for GetUsageSummary.

const (
	GetUsageSummaryParamsBucketN1d GetUsageSummaryParamsBucket = "1d"
	GetUsageSummaryParamsBucketN1h GetUsageSummaryParamsBucket = "1h"
)

Defines values for GetUsageSummaryParamsBucket.

func (GetUsageSummaryParamsBucket) Valid added in v1.0.0

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

type GetUsageSummaryResponse added in v1.0.0

type GetUsageSummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data map[string]interface{} `json:"data"`
		Meta ResponseMeta           `json:"meta"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseGetUsageSummaryResponse added in v1.0.0

func ParseGetUsageSummaryResponse(rsp *http.Response) (*GetUsageSummaryResponse, error)

ParseGetUsageSummaryResponse parses an HTTP response from a GetUsageSummaryWithResponse call

func (GetUsageSummaryResponse) Status added in v1.0.0

func (r GetUsageSummaryResponse) Status() string

Status returns HTTPResponse.Status

func (GetUsageSummaryResponse) StatusCode added in v1.0.0

func (r GetUsageSummaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookEndpointResponse

type GetWebhookEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data WebhookEndpoint `json:"data"`
		Meta ResponseMeta    `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseGetWebhookEndpointResponse

func ParseGetWebhookEndpointResponse(rsp *http.Response) (*GetWebhookEndpointResponse, error)

ParseGetWebhookEndpointResponse parses an HTTP response from a GetWebhookEndpointWithResponse call

func (GetWebhookEndpointResponse) Status

Status returns HTTPResponse.Status

func (GetWebhookEndpointResponse) StatusCode

func (r GetWebhookEndpointResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookHealthParams added in v1.0.0

type GetWebhookHealthParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit      *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
	From       *time.Time  `form:"from,omitempty" json:"from,omitempty"`
	To         *time.Time  `form:"to,omitempty" json:"to,omitempty"`
	EndpointId *string     `form:"endpoint_id,omitempty" json:"endpoint_id,omitempty"`
}

GetWebhookHealthParams defines parameters for GetWebhookHealth.

type GetWebhookHealthResponse added in v1.0.0

type GetWebhookHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data map[string]interface{} `json:"data"`
		Meta ResponseMeta           `json:"meta"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseGetWebhookHealthResponse added in v1.0.0

func ParseGetWebhookHealthResponse(rsp *http.Response) (*GetWebhookHealthResponse, error)

ParseGetWebhookHealthResponse parses an HTTP response from a GetWebhookHealthWithResponse call

func (GetWebhookHealthResponse) Status added in v1.0.0

func (r GetWebhookHealthResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhookHealthResponse) StatusCode added in v1.0.0

func (r GetWebhookHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HealthData

type HealthData struct {
	Status HealthDataStatus `json:"status"`
}

HealthData defines model for HealthData.

type HealthDataStatus

type HealthDataStatus string

HealthDataStatus defines model for HealthData.Status.

const (
	Ok HealthDataStatus = "ok"
)

Defines values for HealthDataStatus.

func (HealthDataStatus) Valid

func (e HealthDataStatus) Valid() bool

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

type HealthResponse

type HealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data HealthData   `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
}

func ParseHealthResponse

func ParseHealthResponse(rsp *http.Response) (*HealthResponse, error)

ParseHealthResponse parses an HTTP response from a HealthWithResponse call

func (HealthResponse) Status

func (r HealthResponse) Status() string

Status returns HTTPResponse.Status

func (HealthResponse) StatusCode

func (r HealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HealthzResponse

type HealthzResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data HealthData   `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
}

func ParseHealthzResponse

func ParseHealthzResponse(rsp *http.Response) (*HealthzResponse, error)

ParseHealthzResponse parses an HTTP response from a HealthzWithResponse call

func (HealthzResponse) Status

func (r HealthzResponse) Status() string

Status returns HTTPResponse.Status

func (HealthzResponse) StatusCode

func (r HealthzResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HeartbeatFloatingLicenseJSONRequestBody

type HeartbeatFloatingLicenseJSONRequestBody = FloatingLeaseRequest

HeartbeatFloatingLicenseJSONRequestBody defines body for HeartbeatFloatingLicense for application/json ContentType.

type HeartbeatFloatingLicenseResponse

type HeartbeatFloatingLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignedRuntimeFloatingLeaseEnvelope
	JSON400      *InvalidJSON
	JSON401      *UnauthorizedLicense
	JSON403      *ForbiddenRuntime
	JSON404      *NotFound
	JSON422      *ValidationError
}

func ParseHeartbeatFloatingLicenseResponse

func ParseHeartbeatFloatingLicenseResponse(rsp *http.Response) (*HeartbeatFloatingLicenseResponse, error)

ParseHeartbeatFloatingLicenseResponse parses an HTTP response from a HeartbeatFloatingLicenseWithResponse call

func (HeartbeatFloatingLicenseResponse) Status

Status returns HTTPResponse.Status

func (HeartbeatFloatingLicenseResponse) StatusCode

func (r HeartbeatFloatingLicenseResponse) 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 IDPath

type IDPath = string

IDPath defines model for IDPath.

type IdempotencyKeyHeader

type IdempotencyKeyHeader = string

IdempotencyKeyHeader defines model for IdempotencyKeyHeader.

type InvalidJSON

type InvalidJSON = ErrorEnvelope

InvalidJSON defines model for InvalidJSON.

type InvalidQuery

type InvalidQuery = ErrorEnvelope

InvalidQuery defines model for InvalidQuery.

type IssueOfflineLicenseJSONRequestBody

type IssueOfflineLicenseJSONRequestBody = RuntimeBindingRequest

IssueOfflineLicenseJSONRequestBody defines body for IssueOfflineLicense for application/json ContentType.

type IssueOfflineLicenseResponse

type IssueOfflineLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data OfflineEnvelope `json:"data"`
		Meta ResponseMeta    `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedLicense
	JSON403 *ForbiddenRuntime
	JSON404 *NotFound
	JSON422 *ValidationError
}

func ParseIssueOfflineLicenseResponse

func ParseIssueOfflineLicenseResponse(rsp *http.Response) (*IssueOfflineLicenseResponse, error)

ParseIssueOfflineLicenseResponse parses an HTTP response from a IssueOfflineLicenseWithResponse call

func (IssueOfflineLicenseResponse) Status

Status returns HTTPResponse.Status

func (IssueOfflineLicenseResponse) StatusCode

func (r IssueOfflineLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type License

type License struct {
	ActiveDeviceCount  int        `json:"active_device_count"`
	CreatedAt          time.Time  `json:"created_at"`
	CustomerEmail      *string    `json:"customer_email,omitempty"`
	CustomerId         *string    `json:"customer_id,omitempty"`
	CustomerName       *string    `json:"customer_name,omitempty"`
	EntitlementVersion int64      `json:"entitlement_version"`
	ExpiresAt          *time.Time `json:"expires_at,omitempty"`
	Id                 string     `json:"id"`
	LicenseKeyLast4    string     `json:"license_key_last4"`
	LicenseKeyPrefix   string     `json:"license_key_prefix"`

	// MaintenanceExpiresAt Present only for perpetual licenses with a maintenance cutoff.
	MaintenanceExpiresAt *time.Time             `json:"maintenance_expires_at,omitempty"`
	Metadata             map[string]interface{} `json:"metadata"`
	OrderId              *string                `json:"order_id,omitempty"`
	PolicyId             string                 `json:"policy_id"`
	ProductId            string                 `json:"product_id"`
	StartsAt             *time.Time             `json:"starts_at,omitempty"`
	Status               LicenseStatus          `json:"status"`
	SubscriptionId       *string                `json:"subscription_id,omitempty"`
	TimesActivated       int                    `json:"times_activated"`
	TimesTransferred     int                    `json:"times_transferred"`
	TotalConsumptions    int64                  `json:"total_consumptions"`
	UpdatedAt            time.Time              `json:"updated_at"`
}

License defines model for License.

type LicenseCreateRequest

type LicenseCreateRequest struct {
	CustomerEmail *string    `json:"customer_email,omitempty"`
	CustomerId    *string    `json:"customer_id,omitempty"`
	CustomerName  *string    `json:"customer_name,omitempty"`
	ExpiresAt     *time.Time `json:"expires_at,omitempty"`

	// MaintenanceExpiresAt Supported only for perpetual licenses.
	MaintenanceExpiresAt *time.Time              `json:"maintenance_expires_at,omitempty"`
	Metadata             *map[string]interface{} `json:"metadata,omitempty"`

	// OrderId Optional origin order link. The order must belong to the same product.
	// If it is already linked to a subscription and `subscription_id` is omitted,
	// the subscription link is inferred and persisted on the license.
	OrderId   *string    `json:"order_id,omitempty"`
	PolicyId  string     `json:"policy_id"`
	ProductId string     `json:"product_id"`
	StartsAt  *time.Time `json:"starts_at,omitempty"`

	// SubscriptionId Optional origin subscription link. The subscription must belong to the same product.
	SubscriptionId *string `json:"subscription_id,omitempty"`
}

LicenseCreateRequest defines model for LicenseCreateRequest.

type LicenseCreateResponse

type LicenseCreateResponse struct {
	License    License `json:"license"`
	LicenseKey string  `json:"license_key"`
}

LicenseCreateResponse defines model for LicenseCreateResponse.

type LicenseFeature

type LicenseFeature struct {
	Enabled           bool                   `json:"enabled"`
	ExpiresAt         *time.Time             `json:"expires_at,omitempty"`
	FeatureCode       string                 `json:"feature_code"`
	FeatureId         string                 `json:"feature_id"`
	FeatureName       string                 `json:"feature_name"`
	LicenseId         string                 `json:"license_id"`
	MaxConsumptions   *int64                 `json:"max_consumptions,omitempty"`
	Metadata          map[string]interface{} `json:"metadata"`
	Remaining         *int64                 `json:"remaining,omitempty"`
	TotalConsumptions int64                  `json:"total_consumptions"`
}

LicenseFeature defines model for LicenseFeature.

type LicenseFeatureAssignRequest

type LicenseFeatureAssignRequest struct {
	Enabled         *bool                   `json:"enabled,omitempty"`
	ExpiresAt       *time.Time              `json:"expires_at,omitempty"`
	FeatureId       string                  `json:"feature_id"`
	MaxConsumptions *int64                  `json:"max_consumptions,omitempty"`
	Metadata        *map[string]interface{} `json:"metadata,omitempty"`
}

LicenseFeatureAssignRequest defines model for LicenseFeatureAssignRequest.

type LicenseFeatureUsageResetRequest

type LicenseFeatureUsageResetRequest struct {
	AddCredits        *int64  `json:"add_credits,omitempty"`
	FeatureCode       *string `json:"feature_code,omitempty"`
	FeatureId         *string `json:"feature_id,omitempty"`
	MaxConsumptions   *int64  `json:"max_consumptions,omitempty"`
	ResetConsumed     *bool   `json:"reset_consumed,omitempty"`
	TotalConsumptions *int64  `json:"total_consumptions,omitempty"`
}

LicenseFeatureUsageResetRequest Select the target assignment with exactly one of `feature_id` or `feature_code`. Then provide at least one usage mutation.

type LicenseRenewRequest

type LicenseRenewRequest struct {
	ExpiresAt    *time.Time `json:"expires_at,omitempty"`
	ExtendByDays *int       `json:"extend_by_days,omitempty"`

	// OrderId Optional renewal-source order. It is validated and recorded in audit metadata,
	// but does not rewrite the stored origin linkage on the license.
	OrderId *string `json:"order_id,omitempty"`

	// SubscriptionId Optional renewal-source subscription. It is validated and recorded in audit metadata,
	// but does not rewrite the stored origin linkage on the license.
	SubscriptionId *string `json:"subscription_id,omitempty"`
}

LicenseRenewRequest Provide exactly one of `expires_at` or `extend_by_days`. Renewal extends from the current stored expiry when the license is still active, otherwise it extends from the renewal time (`now`).

type LicenseStatus

type LicenseStatus string

LicenseStatus defines model for LicenseStatus.

const (
	LicenseStatusActive      LicenseStatus = "active"
	LicenseStatusExpired     LicenseStatus = "expired"
	LicenseStatusGracePeriod LicenseStatus = "grace_period"
	LicenseStatusRevoked     LicenseStatus = "revoked"
	LicenseStatusSuspended   LicenseStatus = "suspended"
)

Defines values for LicenseStatus.

func (LicenseStatus) Valid

func (e LicenseStatus) Valid() bool

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

type LicenseTransferRequest

type LicenseTransferRequest struct {
	CustomerEmail *string `json:"customer_email,omitempty"`

	// CustomerId Send an empty string to clear the current linked customer.
	CustomerId   *string `json:"customer_id,omitempty"`
	CustomerName *string `json:"customer_name,omitempty"`
	ResetDevices *bool   `json:"reset_devices,omitempty"`
}

LicenseTransferRequest Provide at least one ownership field or set `reset_devices` to true.

type LicenseType

type LicenseType string

LicenseType defines model for LicenseType.

const (
	LicenseTypeConsumption  LicenseType = "consumption"
	LicenseTypePerpetual    LicenseType = "perpetual"
	LicenseTypeSubscription LicenseType = "subscription"
	LicenseTypeTimeLimited  LicenseType = "time_limited"
	LicenseTypeTrial        LicenseType = "trial"
)

Defines values for LicenseType.

func (LicenseType) Valid

func (e LicenseType) Valid() bool

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

type LimitParam

type LimitParam = int

LimitParam defines model for LimitParam.

type ListAPIKeysParams

type ListAPIKeysParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListAPIKeysParams defines parameters for ListAPIKeys.

type ListAPIKeysResponse

type ListAPIKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []APIKey     `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListAPIKeysResponse

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

ParseListAPIKeysResponse parses an HTTP response from a ListAPIKeysWithResponse call

func (ListAPIKeysResponse) Status

func (r ListAPIKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListAPIKeysResponse) StatusCode

func (r ListAPIKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListActivitiesParams added in v1.0.0

type ListActivitiesParams struct {
	// Cursor Return events with sequence numbers lower than this cursor.
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Defaults to `50` and is clamped to `200`.
	Limit          *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
	From           *time.Time  `form:"from,omitempty" json:"from,omitempty"`
	To             *time.Time  `form:"to,omitempty" json:"to,omitempty"`
	Action         *string     `form:"action,omitempty" json:"action,omitempty"`
	Source         *string     `form:"source,omitempty" json:"source,omitempty"`
	ProductId      *string     `form:"product_id,omitempty" json:"product_id,omitempty"`
	CustomerId     *string     `form:"customer_id,omitempty" json:"customer_id,omitempty"`
	LicenseId      *string     `form:"license_id,omitempty" json:"license_id,omitempty"`
	OrderId        *string     `form:"order_id,omitempty" json:"order_id,omitempty"`
	SubscriptionId *string     `form:"subscription_id,omitempty" json:"subscription_id,omitempty"`
	FeatureCode    *string     `form:"feature_code,omitempty" json:"feature_code,omitempty"`
	RequestId      *string     `form:"request_id,omitempty" json:"request_id,omitempty"`
	ResultClass    *string     `form:"result_class,omitempty" json:"result_class,omitempty"`
	StatusCode     *int        `form:"status_code,omitempty" json:"status_code,omitempty"`
}

ListActivitiesParams defines parameters for ListActivities.

type ListActivitiesResponse added in v1.0.0

type ListActivitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     []map[string]interface{} `json:"data"`
		Meta     ResponseMeta             `json:"meta"`
		PageInfo EventPageInfo            `json:"page_info"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListActivitiesResponse added in v1.0.0

func ParseListActivitiesResponse(rsp *http.Response) (*ListActivitiesResponse, error)

ParseListActivitiesResponse parses an HTTP response from a ListActivitiesWithResponse call

func (ListActivitiesResponse) Status added in v1.0.0

func (r ListActivitiesResponse) Status() string

Status returns HTTPResponse.Status

func (ListActivitiesResponse) StatusCode added in v1.0.0

func (r ListActivitiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCustomerCustomFieldValuesParams

type ListCustomerCustomFieldValuesParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListCustomerCustomFieldValuesParams defines parameters for ListCustomerCustomFieldValues.

type ListCustomerCustomFieldValuesResponse

type ListCustomerCustomFieldValuesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []CustomFieldValue `json:"data"`
		Meta ResponseMeta       `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseListCustomerCustomFieldValuesResponse

func ParseListCustomerCustomFieldValuesResponse(rsp *http.Response) (*ListCustomerCustomFieldValuesResponse, error)

ParseListCustomerCustomFieldValuesResponse parses an HTTP response from a ListCustomerCustomFieldValuesWithResponse call

func (ListCustomerCustomFieldValuesResponse) Status

Status returns HTTPResponse.Status

func (ListCustomerCustomFieldValuesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListCustomersParams

type ListCustomersParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListCustomersParams defines parameters for ListCustomers.

type ListCustomersResponse

type ListCustomersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []Customer   `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListCustomersResponse

func ParseListCustomersResponse(rsp *http.Response) (*ListCustomersResponse, error)

ParseListCustomersResponse parses an HTTP response from a ListCustomersWithResponse call

func (ListCustomersResponse) Status

func (r ListCustomersResponse) Status() string

Status returns HTTPResponse.Status

func (ListCustomersResponse) StatusCode

func (r ListCustomersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEventsParams

type ListEventsParams struct {
	// Cursor Return events with sequence numbers lower than this cursor.
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Defaults to `50` and is clamped to `200`.
	Limit        *LimitParam     `form:"limit,omitempty" json:"limit,omitempty"`
	EventType    *string         `form:"event_type,omitempty" json:"event_type,omitempty"`
	ResourceType *string         `form:"resource_type,omitempty" json:"resource_type,omitempty"`
	ResourceId   *string         `form:"resource_id,omitempty" json:"resource_id,omitempty"`
	ActorType    *AuditActorType `form:"actor_type,omitempty" json:"actor_type,omitempty"`
}

ListEventsParams defines parameters for ListEvents.

type ListEventsResponse

type ListEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     []Event       `json:"data"`
		Meta     ResponseMeta  `json:"meta"`
		PageInfo EventPageInfo `json:"page_info"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListEventsResponse

func ParseListEventsResponse(rsp *http.Response) (*ListEventsResponse, error)

ParseListEventsResponse parses an HTTP response from a ListEventsWithResponse call

func (ListEventsResponse) Status

func (r ListEventsResponse) Status() string

Status returns HTTPResponse.Status

func (ListEventsResponse) StatusCode

func (r ListEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFeaturesByProductParams

type ListFeaturesByProductParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListFeaturesByProductParams defines parameters for ListFeaturesByProduct.

type ListFeaturesByProductResponse

type ListFeaturesByProductResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []Feature    `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListFeaturesByProductResponse

func ParseListFeaturesByProductResponse(rsp *http.Response) (*ListFeaturesByProductResponse, error)

ParseListFeaturesByProductResponse parses an HTTP response from a ListFeaturesByProductWithResponse call

func (ListFeaturesByProductResponse) Status

Status returns HTTPResponse.Status

func (ListFeaturesByProductResponse) StatusCode

func (r ListFeaturesByProductResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLicenseCustomFieldValuesParams

type ListLicenseCustomFieldValuesParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListLicenseCustomFieldValuesParams defines parameters for ListLicenseCustomFieldValues.

type ListLicenseCustomFieldValuesResponse

type ListLicenseCustomFieldValuesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []CustomFieldValue `json:"data"`
		Meta ResponseMeta       `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseListLicenseCustomFieldValuesResponse

func ParseListLicenseCustomFieldValuesResponse(rsp *http.Response) (*ListLicenseCustomFieldValuesResponse, error)

ParseListLicenseCustomFieldValuesResponse parses an HTTP response from a ListLicenseCustomFieldValuesWithResponse call

func (ListLicenseCustomFieldValuesResponse) Status

Status returns HTTPResponse.Status

func (ListLicenseCustomFieldValuesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListLicenseDevicesParams

type ListLicenseDevicesParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListLicenseDevicesParams defines parameters for ListLicenseDevices.

type ListLicenseDevicesResponse

type ListLicenseDevicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []Device     `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseListLicenseDevicesResponse

func ParseListLicenseDevicesResponse(rsp *http.Response) (*ListLicenseDevicesResponse, error)

ParseListLicenseDevicesResponse parses an HTTP response from a ListLicenseDevicesWithResponse call

func (ListLicenseDevicesResponse) Status

Status returns HTTPResponse.Status

func (ListLicenseDevicesResponse) StatusCode

func (r ListLicenseDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLicenseFeaturesParams

type ListLicenseFeaturesParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListLicenseFeaturesParams defines parameters for ListLicenseFeatures.

type ListLicenseFeaturesResponse

type ListLicenseFeaturesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []LicenseFeature `json:"data"`
		Meta ResponseMeta     `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListLicenseFeaturesResponse

func ParseListLicenseFeaturesResponse(rsp *http.Response) (*ListLicenseFeaturesResponse, error)

ParseListLicenseFeaturesResponse parses an HTTP response from a ListLicenseFeaturesWithResponse call

func (ListLicenseFeaturesResponse) Status

Status returns HTTPResponse.Status

func (ListLicenseFeaturesResponse) StatusCode

func (r ListLicenseFeaturesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLicensesParams

type ListLicensesParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit          *LimitParam    `form:"limit,omitempty" json:"limit,omitempty"`
	ProductId      *string        `form:"product_id,omitempty" json:"product_id,omitempty"`
	PolicyId       *string        `form:"policy_id,omitempty" json:"policy_id,omitempty"`
	CustomerId     *string        `form:"customer_id,omitempty" json:"customer_id,omitempty"`
	Status         *LicenseStatus `form:"status,omitempty" json:"status,omitempty"`
	OrderId        *string        `form:"order_id,omitempty" json:"order_id,omitempty"`
	SubscriptionId *string        `form:"subscription_id,omitempty" json:"subscription_id,omitempty"`
	ExpiresBefore  *time.Time     `form:"expires_before,omitempty" json:"expires_before,omitempty"`
	ExpiresAfter   *time.Time     `form:"expires_after,omitempty" json:"expires_after,omitempty"`
}

ListLicensesParams defines parameters for ListLicenses.

type ListLicensesResponse

type ListLicensesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []License    `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListLicensesResponse

func ParseListLicensesResponse(rsp *http.Response) (*ListLicensesResponse, error)

ParseListLicensesResponse parses an HTTP response from a ListLicensesWithResponse call

func (ListLicensesResponse) Status

func (r ListLicensesResponse) Status() string

Status returns HTTPResponse.Status

func (ListLicensesResponse) StatusCode

func (r ListLicensesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPoliciesByProductParams

type ListPoliciesByProductParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListPoliciesByProductParams defines parameters for ListPoliciesByProduct.

type ListPoliciesByProductResponse

type ListPoliciesByProductResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []Policy     `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListPoliciesByProductResponse

func ParseListPoliciesByProductResponse(rsp *http.Response) (*ListPoliciesByProductResponse, error)

ParseListPoliciesByProductResponse parses an HTTP response from a ListPoliciesByProductWithResponse call

func (ListPoliciesByProductResponse) Status

Status returns HTTPResponse.Status

func (ListPoliciesByProductResponse) StatusCode

func (r ListPoliciesByProductResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListProductCustomFieldDefinitionsParams

type ListProductCustomFieldDefinitionsParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListProductCustomFieldDefinitionsParams defines parameters for ListProductCustomFieldDefinitions.

type ListProductCustomFieldDefinitionsResponse

type ListProductCustomFieldDefinitionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []CustomFieldDefinition `json:"data"`
		Meta ResponseMeta            `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListProductCustomFieldDefinitionsResponse

func ParseListProductCustomFieldDefinitionsResponse(rsp *http.Response) (*ListProductCustomFieldDefinitionsResponse, error)

ParseListProductCustomFieldDefinitionsResponse parses an HTTP response from a ListProductCustomFieldDefinitionsWithResponse call

func (ListProductCustomFieldDefinitionsResponse) Status

Status returns HTTPResponse.Status

func (ListProductCustomFieldDefinitionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListProductOrdersParams

type ListProductOrdersParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListProductOrdersParams defines parameters for ListProductOrders.

type ListProductOrdersResponse

type ListProductOrdersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []Order      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListProductOrdersResponse

func ParseListProductOrdersResponse(rsp *http.Response) (*ListProductOrdersResponse, error)

ParseListProductOrdersResponse parses an HTTP response from a ListProductOrdersWithResponse call

func (ListProductOrdersResponse) Status

func (r ListProductOrdersResponse) Status() string

Status returns HTTPResponse.Status

func (ListProductOrdersResponse) StatusCode

func (r ListProductOrdersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListProductSubscriptionsParams

type ListProductSubscriptionsParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListProductSubscriptionsParams defines parameters for ListProductSubscriptions.

type ListProductSubscriptionsResponse

type ListProductSubscriptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []Subscription `json:"data"`
		Meta ResponseMeta   `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListProductSubscriptionsResponse

func ParseListProductSubscriptionsResponse(rsp *http.Response) (*ListProductSubscriptionsResponse, error)

ParseListProductSubscriptionsResponse parses an HTTP response from a ListProductSubscriptionsWithResponse call

func (ListProductSubscriptionsResponse) Status

Status returns HTTPResponse.Status

func (ListProductSubscriptionsResponse) StatusCode

func (r ListProductSubscriptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListProductVersionsParams

type ListProductVersionsParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListProductVersionsParams defines parameters for ListProductVersions.

type ListProductVersionsResponse

type ListProductVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []ProductVersion `json:"data"`
		Meta ResponseMeta     `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListProductVersionsResponse

func ParseListProductVersionsResponse(rsp *http.Response) (*ListProductVersionsResponse, error)

ParseListProductVersionsResponse parses an HTTP response from a ListProductVersionsWithResponse call

func (ListProductVersionsResponse) Status

Status returns HTTPResponse.Status

func (ListProductVersionsResponse) StatusCode

func (r ListProductVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListProductsParams

type ListProductsParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListProductsParams defines parameters for ListProducts.

type ListProductsResponse

type ListProductsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []Product    `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListProductsResponse

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

ParseListProductsResponse parses an HTTP response from a ListProductsWithResponse call

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 ListPublicKeysResponse

type ListPublicKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []PublicKey  `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
}

func ParseListPublicKeysResponse

func ParseListPublicKeysResponse(rsp *http.Response) (*ListPublicKeysResponse, error)

ParseListPublicKeysResponse parses an HTTP response from a ListPublicKeysWithResponse call

func (ListPublicKeysResponse) Status

func (r ListPublicKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListPublicKeysResponse) StatusCode

func (r ListPublicKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRuntimeErrorGroupsParams added in v1.0.0

type ListRuntimeErrorGroupsParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit      *LimitParam                           `form:"limit,omitempty" json:"limit,omitempty"`
	From       *time.Time                            `form:"from,omitempty" json:"from,omitempty"`
	To         *time.Time                            `form:"to,omitempty" json:"to,omitempty"`
	ProductId  *string                               `form:"product_id,omitempty" json:"product_id,omitempty"`
	CustomerId *string                               `form:"customer_id,omitempty" json:"customer_id,omitempty"`
	LicenseId  *string                               `form:"license_id,omitempty" json:"license_id,omitempty"`
	AppVersion *string                               `form:"app_version,omitempty" json:"app_version,omitempty"`
	Endpoint   *ListRuntimeErrorGroupsParamsEndpoint `form:"endpoint,omitempty" json:"endpoint,omitempty"`

	// GroupBy Comma-separated dimensions from `time`, `endpoint`, `reason_code`, `result_class`.
	GroupBy *string                             `form:"group_by,omitempty" json:"group_by,omitempty"`
	Bucket  *ListRuntimeErrorGroupsParamsBucket `form:"bucket,omitempty" json:"bucket,omitempty"`
}

ListRuntimeErrorGroupsParams defines parameters for ListRuntimeErrorGroups.

type ListRuntimeErrorGroupsParamsBucket added in v1.0.0

type ListRuntimeErrorGroupsParamsBucket string

ListRuntimeErrorGroupsParamsBucket defines parameters for ListRuntimeErrorGroups.

const (
	ListRuntimeErrorGroupsParamsBucketN15m ListRuntimeErrorGroupsParamsBucket = "15m"
	ListRuntimeErrorGroupsParamsBucketN1d  ListRuntimeErrorGroupsParamsBucket = "1d"
	ListRuntimeErrorGroupsParamsBucketN1h  ListRuntimeErrorGroupsParamsBucket = "1h"
	ListRuntimeErrorGroupsParamsBucketN5m  ListRuntimeErrorGroupsParamsBucket = "5m"
)

Defines values for ListRuntimeErrorGroupsParamsBucket.

func (ListRuntimeErrorGroupsParamsBucket) Valid added in v1.0.0

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

type ListRuntimeErrorGroupsParamsEndpoint added in v1.0.0

type ListRuntimeErrorGroupsParamsEndpoint string

ListRuntimeErrorGroupsParamsEndpoint defines parameters for ListRuntimeErrorGroups.

const (
	Activate          ListRuntimeErrorGroupsParamsEndpoint = "activate"
	Check             ListRuntimeErrorGroupsParamsEndpoint = "check"
	Consume           ListRuntimeErrorGroupsParamsEndpoint = "consume"
	Deactivate        ListRuntimeErrorGroupsParamsEndpoint = "deactivate"
	FloatingCheckin   ListRuntimeErrorGroupsParamsEndpoint = "floating_checkin"
	FloatingCheckout  ListRuntimeErrorGroupsParamsEndpoint = "floating_checkout"
	FloatingHeartbeat ListRuntimeErrorGroupsParamsEndpoint = "floating_heartbeat"
	Offline           ListRuntimeErrorGroupsParamsEndpoint = "offline"
	Validate          ListRuntimeErrorGroupsParamsEndpoint = "validate"
)

Defines values for ListRuntimeErrorGroupsParamsEndpoint.

func (ListRuntimeErrorGroupsParamsEndpoint) Valid added in v1.0.0

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

type ListRuntimeErrorGroupsResponse added in v1.0.0

type ListRuntimeErrorGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data map[string]interface{} `json:"data"`
		Meta ResponseMeta           `json:"meta"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListRuntimeErrorGroupsResponse added in v1.0.0

func ParseListRuntimeErrorGroupsResponse(rsp *http.Response) (*ListRuntimeErrorGroupsResponse, error)

ParseListRuntimeErrorGroupsResponse parses an HTTP response from a ListRuntimeErrorGroupsWithResponse call

func (ListRuntimeErrorGroupsResponse) Status added in v1.0.0

Status returns HTTPResponse.Status

func (ListRuntimeErrorGroupsResponse) StatusCode added in v1.0.0

func (r ListRuntimeErrorGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUsageLedgerParams added in v1.0.0

type ListUsageLedgerParams struct {
	// Cursor Return events with sequence numbers lower than this cursor.
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Defaults to `50` and is clamped to `200`.
	Limit          *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
	From           *time.Time  `form:"from,omitempty" json:"from,omitempty"`
	To             *time.Time  `form:"to,omitempty" json:"to,omitempty"`
	Action         *string     `form:"action,omitempty" json:"action,omitempty"`
	ProductId      *string     `form:"product_id,omitempty" json:"product_id,omitempty"`
	CustomerId     *string     `form:"customer_id,omitempty" json:"customer_id,omitempty"`
	LicenseId      *string     `form:"license_id,omitempty" json:"license_id,omitempty"`
	OrderId        *string     `form:"order_id,omitempty" json:"order_id,omitempty"`
	SubscriptionId *string     `form:"subscription_id,omitempty" json:"subscription_id,omitempty"`
	FeatureCode    *string     `form:"feature_code,omitempty" json:"feature_code,omitempty"`
}

ListUsageLedgerParams defines parameters for ListUsageLedger.

type ListUsageLedgerResponse added in v1.0.0

type ListUsageLedgerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     []map[string]interface{} `json:"data"`
		Meta     ResponseMeta             `json:"meta"`
		PageInfo EventPageInfo            `json:"page_info"`
	}
	JSON400 *InvalidQuery
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListUsageLedgerResponse added in v1.0.0

func ParseListUsageLedgerResponse(rsp *http.Response) (*ListUsageLedgerResponse, error)

ParseListUsageLedgerResponse parses an HTTP response from a ListUsageLedgerWithResponse call

func (ListUsageLedgerResponse) Status added in v1.0.0

func (r ListUsageLedgerResponse) Status() string

Status returns HTTPResponse.Status

func (ListUsageLedgerResponse) StatusCode added in v1.0.0

func (r ListUsageLedgerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhookEndpointsParams

type ListWebhookEndpointsParams struct {
	// Limit Defaults to `50` and is clamped to `200`.
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListWebhookEndpointsParams defines parameters for ListWebhookEndpoints.

type ListWebhookEndpointsResponse

type ListWebhookEndpointsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data []WebhookEndpoint `json:"data"`
		Meta ResponseMeta      `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
}

func ParseListWebhookEndpointsResponse

func ParseListWebhookEndpointsResponse(rsp *http.Response) (*ListWebhookEndpointsResponse, error)

ParseListWebhookEndpointsResponse parses an HTTP response from a ListWebhookEndpointsWithResponse call

func (ListWebhookEndpointsResponse) Status

Status returns HTTPResponse.Status

func (ListWebhookEndpointsResponse) StatusCode

func (r ListWebhookEndpointsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementScope

type ManagementScope string

ManagementScope defines model for ManagementScope.

const (
	Admin        ManagementScope = "admin"
	DeviceWrite  ManagementScope = "device:write"
	EventRead    ManagementScope = "event:read"
	LicenseRead  ManagementScope = "license:read"
	LicenseWrite ManagementScope = "license:write"
	OpsRead      ManagementScope = "ops:read"
	ProductRead  ManagementScope = "product:read"
	ProductWrite ManagementScope = "product:write"
	ReportExport ManagementScope = "report:export"
	ReportRead   ManagementScope = "report:read"
	WebhookWrite ManagementScope = "webhook:write"
)

Defines values for ManagementScope.

func (ManagementScope) Valid

func (e ManagementScope) Valid() bool

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

type NotFound

type NotFound = ErrorEnvelope

NotFound defines model for NotFound.

type OfflineEnvelope

type OfflineEnvelope struct {
	// Ciphertext Base64-encoded encrypted signed payload envelope.
	Ciphertext string `json:"ciphertext"`
	Kid        string `json:"kid"`

	// Nonce Base64-encoded AES-GCM nonce.
	Nonce string `json:"nonce"`

	// Salt Base64-encoded HKDF salt.
	Salt string `json:"salt"`
}

OfflineEnvelope defines model for OfflineEnvelope.

type Order

type Order struct {
	CreatedAt      time.Time              `json:"created_at"`
	CustomerId     *string                `json:"customer_id,omitempty"`
	ExternalId     string                 `json:"external_id"`
	ExternalSystem string                 `json:"external_system"`
	Id             string                 `json:"id"`
	Metadata       map[string]interface{} `json:"metadata"`
	PeriodEnd      *time.Time             `json:"period_end,omitempty"`
	PeriodStart    *time.Time             `json:"period_start,omitempty"`
	ProductId      string                 `json:"product_id"`
	Status         OrderStatus            `json:"status"`
	SubscriptionId *string                `json:"subscription_id,omitempty"`
	UpdatedAt      time.Time              `json:"updated_at"`
}

Order defines model for Order.

type OrderCreateRequest

type OrderCreateRequest struct {
	CustomerId     *string                 `json:"customer_id,omitempty"`
	ExternalId     string                  `json:"external_id"`
	ExternalSystem string                  `json:"external_system"`
	Metadata       *map[string]interface{} `json:"metadata,omitempty"`

	// PeriodEnd Must be provided together with `period_start`.
	PeriodEnd *time.Time `json:"period_end,omitempty"`

	// PeriodStart Must be provided together with `period_end`.
	PeriodStart    *time.Time  `json:"period_start,omitempty"`
	Status         OrderStatus `json:"status"`
	SubscriptionId *string     `json:"subscription_id,omitempty"`
}

OrderCreateRequest defines model for OrderCreateRequest.

type OrderStatus

type OrderStatus string

OrderStatus defines model for OrderStatus.

const (
	OrderStatusCanceled  OrderStatus = "canceled"
	OrderStatusFulfilled OrderStatus = "fulfilled"
	OrderStatusPaid      OrderStatus = "paid"
	OrderStatusPending   OrderStatus = "pending"
	OrderStatusRefunded  OrderStatus = "refunded"
)

Defines values for OrderStatus.

func (OrderStatus) Valid

func (e OrderStatus) Valid() bool

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

type OrderUpdateRequest

type OrderUpdateRequest struct {
	// CustomerId Send an empty string to clear the current link.
	CustomerId     *string                 `json:"customer_id,omitempty"`
	ExternalId     *string                 `json:"external_id,omitempty"`
	ExternalSystem *string                 `json:"external_system,omitempty"`
	Metadata       *map[string]interface{} `json:"metadata,omitempty"`
	PeriodEnd      *time.Time              `json:"period_end,omitempty"`
	PeriodStart    *time.Time              `json:"period_start,omitempty"`
	Status         *OrderStatus            `json:"status,omitempty"`

	// SubscriptionId Send an empty string to clear the current link.
	SubscriptionId *string `json:"subscription_id,omitempty"`
}

OrderUpdateRequest defines model for OrderUpdateRequest.

type Policy

type Policy struct {
	AllowContainer            bool                   `json:"allow_container"`
	AllowOfflineActivation    bool                   `json:"allow_offline_activation"`
	AllowVm                   bool                   `json:"allow_vm"`
	Code                      string                 `json:"code"`
	CreatedAt                 time.Time              `json:"created_at"`
	FloatingTimeoutMinutes    int                    `json:"floating_timeout_minutes"`
	GracePeriodDays           int                    `json:"grace_period_days"`
	Id                        string                 `json:"id"`
	LicenseType               LicenseType            `json:"license_type"`
	MaxActivations            int                    `json:"max_activations"`
	MaxContainerInstances     *int                   `json:"max_container_instances,omitempty"`
	MaxFloatingUsers          *int                   `json:"max_floating_users,omitempty"`
	MaxTransfers              int                    `json:"max_transfers"`
	Metadata                  map[string]interface{} `json:"metadata"`
	Name                      string                 `json:"name"`
	OfflineGraceDays          int                    `json:"offline_grace_days"`
	ProductId                 string                 `json:"product_id"`
	RequireHeartbeat          bool                   `json:"require_heartbeat"`
	UpdatedAt                 time.Time              `json:"updated_at"`
	ValidationIntervalMinutes int                    `json:"validation_interval_minutes"`
}

Policy defines model for Policy.

type PolicyCreateRequest

type PolicyCreateRequest struct {
	Code                   string                  `json:"code"`
	FloatingTimeoutMinutes *int                    `json:"floating_timeout_minutes,omitempty"`
	LicenseType            LicenseType             `json:"license_type"`
	MaxFloatingUsers       *int                    `json:"max_floating_users,omitempty"`
	Metadata               *map[string]interface{} `json:"metadata,omitempty"`
	Name                   string                  `json:"name"`
	RequireHeartbeat       *bool                   `json:"require_heartbeat,omitempty"`
}

PolicyCreateRequest defines model for PolicyCreateRequest.

type PolicyUpdateRequest

type PolicyUpdateRequest struct {
	Code                   *string                 `json:"code,omitempty"`
	FloatingTimeoutMinutes *int                    `json:"floating_timeout_minutes,omitempty"`
	LicenseType            *LicenseType            `json:"license_type,omitempty"`
	MaxFloatingUsers       *int                    `json:"max_floating_users,omitempty"`
	Metadata               *map[string]interface{} `json:"metadata,omitempty"`
	Name                   *string                 `json:"name,omitempty"`
	RequireHeartbeat       *bool                   `json:"require_heartbeat,omitempty"`
}

PolicyUpdateRequest defines model for PolicyUpdateRequest.

type Product

type Product struct {
	Code      string                 `json:"code"`
	CreatedAt time.Time              `json:"created_at"`
	Id        string                 `json:"id"`
	Metadata  map[string]interface{} `json:"metadata"`
	Name      string                 `json:"name"`
	UpdatedAt time.Time              `json:"updated_at"`
}

Product defines model for Product.

type ProductCreateRequest

type ProductCreateRequest struct {
	Code     string                  `json:"code"`
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	Name     string                  `json:"name"`
}

ProductCreateRequest defines model for ProductCreateRequest.

type ProductUpdateRequest

type ProductUpdateRequest struct {
	Code     *string                 `json:"code,omitempty"`
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	Name     *string                 `json:"name,omitempty"`
}

ProductUpdateRequest defines model for ProductUpdateRequest.

type ProductVersion

type ProductVersion struct {
	CreatedAt  time.Time              `json:"created_at"`
	Id         string                 `json:"id"`
	Metadata   map[string]interface{} `json:"metadata"`
	ProductId  string                 `json:"product_id"`
	ReleasedAt time.Time              `json:"released_at"`
	UpdatedAt  time.Time              `json:"updated_at"`
	Version    string                 `json:"version"`
}

ProductVersion defines model for ProductVersion.

type ProductVersionCreateRequest

type ProductVersionCreateRequest struct {
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// ReleasedAt Defaults to the current server time when omitted.
	ReleasedAt *time.Time `json:"released_at,omitempty"`
	Version    string     `json:"version"`
}

ProductVersionCreateRequest defines model for ProductVersionCreateRequest.

type PublicKey

type PublicKey struct {
	Algorithm string    `json:"algorithm"`
	CreatedAt time.Time `json:"created_at"`
	Kid       string    `json:"kid"`

	// PublicKey Base64-encoded Ed25519 public key bytes.
	PublicKey string          `json:"public_key"`
	Status    PublicKeyStatus `json:"status"`
}

PublicKey defines model for PublicKey.

type PublicKeyStatus

type PublicKeyStatus string

PublicKeyStatus defines model for PublicKey.Status.

const (
	Active  PublicKeyStatus = "active"
	Retired PublicKeyStatus = "retired"
)

Defines values for PublicKeyStatus.

func (PublicKeyStatus) Valid

func (e PublicKeyStatus) Valid() bool

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

type ReadyData

type ReadyData struct {
	Db     string          `json:"db"`
	Status ReadyDataStatus `json:"status"`
}

ReadyData defines model for ReadyData.

type ReadyDataStatus

type ReadyDataStatus string

ReadyDataStatus defines model for ReadyData.Status.

const (
	NotReady ReadyDataStatus = "not_ready"
	Ready    ReadyDataStatus = "ready"
)

Defines values for ReadyDataStatus.

func (ReadyDataStatus) Valid

func (e ReadyDataStatus) Valid() bool

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

type ReadyzResponse

type ReadyzResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data ReadyData    `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON503 *struct {
		Data ReadyData    `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
}

func ParseReadyzResponse

func ParseReadyzResponse(rsp *http.Response) (*ReadyzResponse, error)

ParseReadyzResponse parses an HTTP response from a ReadyzWithResponse call

func (ReadyzResponse) Status

func (r ReadyzResponse) Status() string

Status returns HTTPResponse.Status

func (ReadyzResponse) StatusCode

func (r ReadyzResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReinstateLicenseResponse

type ReinstateLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data License      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
}

func ParseReinstateLicenseResponse

func ParseReinstateLicenseResponse(rsp *http.Response) (*ReinstateLicenseResponse, error)

ParseReinstateLicenseResponse parses an HTTP response from a ReinstateLicenseWithResponse call

func (ReinstateLicenseResponse) Status

func (r ReinstateLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (ReinstateLicenseResponse) StatusCode

func (r ReinstateLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveLicenseFeatureResponse

type RemoveLicenseFeatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *UnauthorizedManagement
	JSON403      *ForbiddenScope
	JSON404      *NotFound
}

func ParseRemoveLicenseFeatureResponse

func ParseRemoveLicenseFeatureResponse(rsp *http.Response) (*RemoveLicenseFeatureResponse, error)

ParseRemoveLicenseFeatureResponse parses an HTTP response from a RemoveLicenseFeatureWithResponse call

func (RemoveLicenseFeatureResponse) Status

Status returns HTTPResponse.Status

func (RemoveLicenseFeatureResponse) StatusCode

func (r RemoveLicenseFeatureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RenewLicenseJSONRequestBody

type RenewLicenseJSONRequestBody = LicenseRenewRequest

RenewLicenseJSONRequestBody defines body for RenewLicense for application/json ContentType.

type RenewLicenseParams

type RenewLicenseParams struct {
	IdempotencyKey IdempotencyKeyHeader `json:"Idempotency-Key"`
}

RenewLicenseParams defines parameters for RenewLicense.

type RenewLicenseResponse

type RenewLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data License      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *BadRequest
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseRenewLicenseResponse

func ParseRenewLicenseResponse(rsp *http.Response) (*RenewLicenseResponse, error)

ParseRenewLicenseResponse parses an HTTP response from a RenewLicenseWithResponse call

func (RenewLicenseResponse) Status

func (r RenewLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (RenewLicenseResponse) StatusCode

func (r RenewLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReportExportCreateRequest added in v1.0.0

type ReportExportCreateRequest struct {
	Filters    *map[string]interface{} `json:"filters,omitempty"`
	Format     *ReportExportFormat     `json:"format,omitempty"`
	ReportKind ReportKind              `json:"report_kind"`
}

ReportExportCreateRequest defines model for ReportExportCreateRequest.

type ReportExportFormat added in v1.0.0

type ReportExportFormat string

ReportExportFormat defines model for ReportExportFormat.

const (
	Csv  ReportExportFormat = "csv"
	Json ReportExportFormat = "json"
	Pdf  ReportExportFormat = "pdf"
)

Defines values for ReportExportFormat.

func (ReportExportFormat) Valid added in v1.0.0

func (e ReportExportFormat) Valid() bool

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

type ReportExportMetadata added in v1.0.0

type ReportExportMetadata struct {
	ArtifactDigest string                 `json:"artifact_digest"`
	ContentType    string                 `json:"content_type"`
	CreatedAt      time.Time              `json:"created_at"`
	CreatedBy      string                 `json:"created_by"`
	Digest         string                 `json:"digest"`
	DownloadUrl    string                 `json:"download_url"`
	Filters        map[string]interface{} `json:"filters"`
	Format         ReportExportFormat     `json:"format"`
	Id             string                 `json:"id"`
	ReportKind     ReportKind             `json:"report_kind"`
	Status         string                 `json:"status"`
	UpdatedAt      time.Time              `json:"updated_at"`
}

ReportExportMetadata defines model for ReportExportMetadata.

type ReportKind added in v1.0.0

type ReportKind string

ReportKind defines model for ReportKind.

const (
	CustomerSummary        ReportKind = "customer-summary"
	LicenseAudit           ReportKind = "license-audit"
	SubscriptionSettlement ReportKind = "subscription-settlement"
	UsageLedger            ReportKind = "usage-ledger"
	UsageSummary           ReportKind = "usage-summary"
)

Defines values for ReportKind.

func (ReportKind) Valid added in v1.0.0

func (e ReportKind) Valid() bool

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

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type ResetLicenseDeviceResponse

type ResetLicenseDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Device       `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
}

func ParseResetLicenseDeviceResponse

func ParseResetLicenseDeviceResponse(rsp *http.Response) (*ResetLicenseDeviceResponse, error)

ParseResetLicenseDeviceResponse parses an HTTP response from a ResetLicenseDeviceWithResponse call

func (ResetLicenseDeviceResponse) Status

Status returns HTTPResponse.Status

func (ResetLicenseDeviceResponse) StatusCode

func (r ResetLicenseDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResetLicenseUsageJSONRequestBody

type ResetLicenseUsageJSONRequestBody = LicenseFeatureUsageResetRequest

ResetLicenseUsageJSONRequestBody defines body for ResetLicenseUsage for application/json ContentType.

type ResetLicenseUsageResponse

type ResetLicenseUsageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data LicenseFeature `json:"data"`
		Meta ResponseMeta   `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseResetLicenseUsageResponse

func ParseResetLicenseUsageResponse(rsp *http.Response) (*ResetLicenseUsageResponse, error)

ParseResetLicenseUsageResponse parses an HTTP response from a ResetLicenseUsageWithResponse call

func (ResetLicenseUsageResponse) Status

func (r ResetLicenseUsageResponse) Status() string

Status returns HTTPResponse.Status

func (ResetLicenseUsageResponse) StatusCode

func (r ResetLicenseUsageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResponseMeta

type ResponseMeta struct {
	RequestId string    `json:"request_id"`
	Timestamp time.Time `json:"timestamp"`
}

ResponseMeta defines model for ResponseMeta.

type RevokeLicenseResponse

type RevokeLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data License      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
}

func ParseRevokeLicenseResponse

func ParseRevokeLicenseResponse(rsp *http.Response) (*RevokeLicenseResponse, error)

ParseRevokeLicenseResponse parses an HTTP response from a RevokeLicenseWithResponse call

func (RevokeLicenseResponse) Status

func (r RevokeLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeLicenseResponse) StatusCode

func (r RevokeLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RuntimeBindingRequest

type RuntimeBindingRequest struct {
	AppVersion  *string `json:"app_version,omitempty"`
	ClusterId   *string `json:"cluster_id,omitempty"`
	ContainerId *string `json:"container_id,omitempty"`
	Fingerprint *string `json:"fingerprint,omitempty"`
	Hostname    *string `json:"hostname,omitempty"`
	IsContainer *bool   `json:"is_container,omitempty"`
	IsVm        *bool   `json:"is_vm,omitempty"`
	Namespace   *string `json:"namespace,omitempty"`
	Os          *string `json:"os,omitempty"`
	PodName     *string `json:"pod_name,omitempty"`
}

RuntimeBindingRequest Hardware requests use `fingerprint` and leave `is_container` false. Container requests set `is_container` to true and must supply at least one of `cluster_id`, `namespace`, `pod_name`, or `container_id`.

type RuntimeEntitlementResponseData

type RuntimeEntitlementResponseData struct {
	DeviceId           string               `json:"device_id"`
	EntitlementVersion int64                `json:"entitlement_version"`
	ExpiresAt          *time.Time           `json:"expires_at,omitempty"`
	Features           []FeatureEntitlement `json:"features"`
	IssuedAt           time.Time            `json:"issued_at"`
	LicenseId          string               `json:"license_id"`
	LicenseType        LicenseType          `json:"license_type"`
	NextCheckAt        time.Time            `json:"next_check_at"`
	Status             string               `json:"status"`
	VersionEligibility *VersionEligibility  `json:"version_eligibility,omitempty"`
}

RuntimeEntitlementResponseData defines model for RuntimeEntitlementResponseData.

type Signature

type Signature struct {
	Alg string `json:"alg"`
	Kid string `json:"kid"`

	// Value Base64-encoded signature over the JSON `data` payload.
	Value string `json:"value"`
}

Signature defines model for Signature.

type SignedRuntimeDeactivationEnvelope

type SignedRuntimeDeactivationEnvelope struct {
	Data      DeactivationResponseData `json:"data"`
	Meta      ResponseMeta             `json:"meta"`
	Signature Signature                `json:"signature"`
}

SignedRuntimeDeactivationEnvelope defines model for SignedRuntimeDeactivationEnvelope.

type SignedRuntimeEntitlementEnvelope

type SignedRuntimeEntitlementEnvelope struct {
	Data      RuntimeEntitlementResponseData `json:"data"`
	Meta      ResponseMeta                   `json:"meta"`
	Signature Signature                      `json:"signature"`
}

SignedRuntimeEntitlementEnvelope defines model for SignedRuntimeEntitlementEnvelope.

type SignedRuntimeFloatingCheckoutEnvelope

type SignedRuntimeFloatingCheckoutEnvelope struct {
	Data      FloatingCheckoutResponseData `json:"data"`
	Meta      ResponseMeta                 `json:"meta"`
	Signature Signature                    `json:"signature"`
}

SignedRuntimeFloatingCheckoutEnvelope defines model for SignedRuntimeFloatingCheckoutEnvelope.

type SignedRuntimeFloatingLeaseEnvelope

type SignedRuntimeFloatingLeaseEnvelope struct {
	Data      FloatingLeaseResponseData `json:"data"`
	Meta      ResponseMeta              `json:"meta"`
	Signature Signature                 `json:"signature"`
}

SignedRuntimeFloatingLeaseEnvelope defines model for SignedRuntimeFloatingLeaseEnvelope.

type Subscription

type Subscription struct {
	CancelAtPeriodEnd  bool                   `json:"cancel_at_period_end"`
	CanceledAt         *time.Time             `json:"canceled_at,omitempty"`
	CreatedAt          time.Time              `json:"created_at"`
	CurrentPeriodEnd   time.Time              `json:"current_period_end"`
	CurrentPeriodStart time.Time              `json:"current_period_start"`
	CustomerId         *string                `json:"customer_id,omitempty"`
	ExternalId         string                 `json:"external_id"`
	ExternalSystem     string                 `json:"external_system"`
	Id                 string                 `json:"id"`
	Metadata           map[string]interface{} `json:"metadata"`
	ProductId          string                 `json:"product_id"`
	Status             SubscriptionStatus     `json:"status"`
	UpdatedAt          time.Time              `json:"updated_at"`
}

Subscription defines model for Subscription.

type SubscriptionCreateRequest

type SubscriptionCreateRequest struct {
	// CancelAtPeriodEnd Defaults to `false`.
	CancelAtPeriodEnd *bool `json:"cancel_at_period_end,omitempty"`

	// CanceledAt Allowed only when `status` is `canceled`.
	CanceledAt         *time.Time              `json:"canceled_at,omitempty"`
	CurrentPeriodEnd   time.Time               `json:"current_period_end"`
	CurrentPeriodStart time.Time               `json:"current_period_start"`
	CustomerId         *string                 `json:"customer_id,omitempty"`
	ExternalId         string                  `json:"external_id"`
	ExternalSystem     string                  `json:"external_system"`
	Metadata           *map[string]interface{} `json:"metadata,omitempty"`
	Status             SubscriptionStatus      `json:"status"`
}

SubscriptionCreateRequest defines model for SubscriptionCreateRequest.

type SubscriptionStatus

type SubscriptionStatus string

SubscriptionStatus defines model for SubscriptionStatus.

const (
	SubscriptionStatusActive   SubscriptionStatus = "active"
	SubscriptionStatusCanceled SubscriptionStatus = "canceled"
	SubscriptionStatusPastDue  SubscriptionStatus = "past_due"
	SubscriptionStatusPaused   SubscriptionStatus = "paused"
	SubscriptionStatusTrialing SubscriptionStatus = "trialing"
)

Defines values for SubscriptionStatus.

func (SubscriptionStatus) Valid

func (e SubscriptionStatus) Valid() bool

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

type SubscriptionUpdateRequest

type SubscriptionUpdateRequest struct {
	CancelAtPeriodEnd  *bool      `json:"cancel_at_period_end,omitempty"`
	CanceledAt         *time.Time `json:"canceled_at,omitempty"`
	CurrentPeriodEnd   *time.Time `json:"current_period_end,omitempty"`
	CurrentPeriodStart *time.Time `json:"current_period_start,omitempty"`

	// CustomerId Send an empty string to clear the current link.
	CustomerId     *string                 `json:"customer_id,omitempty"`
	ExternalId     *string                 `json:"external_id,omitempty"`
	ExternalSystem *string                 `json:"external_system,omitempty"`
	Metadata       *map[string]interface{} `json:"metadata,omitempty"`
	Status         *SubscriptionStatus     `json:"status,omitempty"`
}

SubscriptionUpdateRequest defines model for SubscriptionUpdateRequest.

type SuspendLicenseResponse

type SuspendLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data License      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
}

func ParseSuspendLicenseResponse

func ParseSuspendLicenseResponse(rsp *http.Response) (*SuspendLicenseResponse, error)

ParseSuspendLicenseResponse parses an HTTP response from a SuspendLicenseWithResponse call

func (SuspendLicenseResponse) Status

func (r SuspendLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (SuspendLicenseResponse) StatusCode

func (r SuspendLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TransferLicenseJSONRequestBody

type TransferLicenseJSONRequestBody = LicenseTransferRequest

TransferLicenseJSONRequestBody defines body for TransferLicense for application/json ContentType.

type TransferLicenseParams

type TransferLicenseParams struct {
	IdempotencyKey IdempotencyKeyHeader `json:"Idempotency-Key"`
}

TransferLicenseParams defines parameters for TransferLicense.

type TransferLicenseResponse

type TransferLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data License      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *BadRequest
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseTransferLicenseResponse

func ParseTransferLicenseResponse(rsp *http.Response) (*TransferLicenseResponse, error)

ParseTransferLicenseResponse parses an HTTP response from a TransferLicenseWithResponse call

func (TransferLicenseResponse) Status

func (r TransferLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (TransferLicenseResponse) StatusCode

func (r TransferLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnauthorizedLicense

type UnauthorizedLicense = ErrorEnvelope

UnauthorizedLicense defines model for UnauthorizedLicense.

type UnauthorizedManagement

type UnauthorizedManagement = ErrorEnvelope

UnauthorizedManagement defines model for UnauthorizedManagement.

type UpdateCustomerJSONRequestBody

type UpdateCustomerJSONRequestBody = CustomerUpdateRequest

UpdateCustomerJSONRequestBody defines body for UpdateCustomer for application/json ContentType.

type UpdateCustomerResponse

type UpdateCustomerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Customer     `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseUpdateCustomerResponse

func ParseUpdateCustomerResponse(rsp *http.Response) (*UpdateCustomerResponse, error)

ParseUpdateCustomerResponse parses an HTTP response from a UpdateCustomerWithResponse call

func (UpdateCustomerResponse) Status

func (r UpdateCustomerResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateCustomerResponse) StatusCode

func (r UpdateCustomerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrderJSONRequestBody

type UpdateOrderJSONRequestBody = OrderUpdateRequest

UpdateOrderJSONRequestBody defines body for UpdateOrder for application/json ContentType.

type UpdateOrderResponse

type UpdateOrderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Order        `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseUpdateOrderResponse

func ParseUpdateOrderResponse(rsp *http.Response) (*UpdateOrderResponse, error)

ParseUpdateOrderResponse parses an HTTP response from a UpdateOrderWithResponse call

func (UpdateOrderResponse) Status

func (r UpdateOrderResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateOrderResponse) StatusCode

func (r UpdateOrderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePolicyJSONRequestBody

type UpdatePolicyJSONRequestBody = PolicyUpdateRequest

UpdatePolicyJSONRequestBody defines body for UpdatePolicy for application/json ContentType.

type UpdatePolicyResponse

type UpdatePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Policy       `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseUpdatePolicyResponse

func ParseUpdatePolicyResponse(rsp *http.Response) (*UpdatePolicyResponse, error)

ParseUpdatePolicyResponse parses an HTTP response from a UpdatePolicyWithResponse call

func (UpdatePolicyResponse) Status

func (r UpdatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePolicyResponse) StatusCode

func (r UpdatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateProductCustomFieldDefinitionJSONRequestBody

type UpdateProductCustomFieldDefinitionJSONRequestBody = CustomFieldDefinitionUpdateRequest

UpdateProductCustomFieldDefinitionJSONRequestBody defines body for UpdateProductCustomFieldDefinition for application/json ContentType.

type UpdateProductCustomFieldDefinitionResponse

type UpdateProductCustomFieldDefinitionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data CustomFieldDefinition `json:"data"`
		Meta ResponseMeta          `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseUpdateProductCustomFieldDefinitionResponse

func ParseUpdateProductCustomFieldDefinitionResponse(rsp *http.Response) (*UpdateProductCustomFieldDefinitionResponse, error)

ParseUpdateProductCustomFieldDefinitionResponse parses an HTTP response from a UpdateProductCustomFieldDefinitionWithResponse call

func (UpdateProductCustomFieldDefinitionResponse) Status

Status returns HTTPResponse.Status

func (UpdateProductCustomFieldDefinitionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateProductJSONRequestBody

type UpdateProductJSONRequestBody = ProductUpdateRequest

UpdateProductJSONRequestBody defines body for UpdateProduct for application/json ContentType.

type UpdateProductResponse

type UpdateProductResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Product      `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseUpdateProductResponse

func ParseUpdateProductResponse(rsp *http.Response) (*UpdateProductResponse, error)

ParseUpdateProductResponse parses an HTTP response from a UpdateProductWithResponse call

func (UpdateProductResponse) Status

func (r UpdateProductResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateProductResponse) StatusCode

func (r UpdateProductResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSubscriptionJSONRequestBody

type UpdateSubscriptionJSONRequestBody = SubscriptionUpdateRequest

UpdateSubscriptionJSONRequestBody defines body for UpdateSubscription for application/json ContentType.

type UpdateSubscriptionResponse

type UpdateSubscriptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data Subscription `json:"data"`
		Meta ResponseMeta `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseUpdateSubscriptionResponse

func ParseUpdateSubscriptionResponse(rsp *http.Response) (*UpdateSubscriptionResponse, error)

ParseUpdateSubscriptionResponse parses an HTTP response from a UpdateSubscriptionWithResponse call

func (UpdateSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (UpdateSubscriptionResponse) StatusCode

func (r UpdateSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWebhookEndpointJSONRequestBody

type UpdateWebhookEndpointJSONRequestBody = WebhookEndpointUpdateRequest

UpdateWebhookEndpointJSONRequestBody defines body for UpdateWebhookEndpoint for application/json ContentType.

type UpdateWebhookEndpointResponse

type UpdateWebhookEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data UpdateWebhookEndpoint_200_Data `json:"data"`
		Meta ResponseMeta                   `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseUpdateWebhookEndpointResponse

func ParseUpdateWebhookEndpointResponse(rsp *http.Response) (*UpdateWebhookEndpointResponse, error)

ParseUpdateWebhookEndpointResponse parses an HTTP response from a UpdateWebhookEndpointWithResponse call

func (UpdateWebhookEndpointResponse) Status

Status returns HTTPResponse.Status

func (UpdateWebhookEndpointResponse) StatusCode

func (r UpdateWebhookEndpointResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWebhookEndpoint_200_Data

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

type UpsertCustomerCustomFieldValueJSONRequestBody

type UpsertCustomerCustomFieldValueJSONRequestBody = CustomFieldValueUpsertRequest

UpsertCustomerCustomFieldValueJSONRequestBody defines body for UpsertCustomerCustomFieldValue for application/json ContentType.

type UpsertCustomerCustomFieldValueResponse

type UpsertCustomerCustomFieldValueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data CustomFieldValue `json:"data"`
		Meta ResponseMeta     `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseUpsertCustomerCustomFieldValueResponse

func ParseUpsertCustomerCustomFieldValueResponse(rsp *http.Response) (*UpsertCustomerCustomFieldValueResponse, error)

ParseUpsertCustomerCustomFieldValueResponse parses an HTTP response from a UpsertCustomerCustomFieldValueWithResponse call

func (UpsertCustomerCustomFieldValueResponse) Status

Status returns HTTPResponse.Status

func (UpsertCustomerCustomFieldValueResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpsertLicenseCustomFieldValueJSONRequestBody

type UpsertLicenseCustomFieldValueJSONRequestBody = CustomFieldValueUpsertRequest

UpsertLicenseCustomFieldValueJSONRequestBody defines body for UpsertLicenseCustomFieldValue for application/json ContentType.

type UpsertLicenseCustomFieldValueResponse

type UpsertLicenseCustomFieldValueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data CustomFieldValue `json:"data"`
		Meta ResponseMeta     `json:"meta"`
	}
	JSON400 *InvalidJSON
	JSON401 *UnauthorizedManagement
	JSON403 *ForbiddenScope
	JSON404 *NotFound
	JSON409 *Conflict
	JSON422 *ValidationError
}

func ParseUpsertLicenseCustomFieldValueResponse

func ParseUpsertLicenseCustomFieldValueResponse(rsp *http.Response) (*UpsertLicenseCustomFieldValueResponse, error)

ParseUpsertLicenseCustomFieldValueResponse parses an HTTP response from a UpsertLicenseCustomFieldValueWithResponse call

func (UpsertLicenseCustomFieldValueResponse) Status

Status returns HTTPResponse.Status

func (UpsertLicenseCustomFieldValueResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ValidateLicenseJSONRequestBody

type ValidateLicenseJSONRequestBody = RuntimeBindingRequest

ValidateLicenseJSONRequestBody defines body for ValidateLicense for application/json ContentType.

type ValidateLicenseResponse

type ValidateLicenseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SignedRuntimeEntitlementEnvelope
	JSON400      *InvalidJSON
	JSON401      *UnauthorizedLicense
	JSON403      *ForbiddenRuntime
	JSON404      *NotFound
	JSON422      *ValidationError
}

func ParseValidateLicenseResponse

func ParseValidateLicenseResponse(rsp *http.Response) (*ValidateLicenseResponse, error)

ParseValidateLicenseResponse parses an HTTP response from a ValidateLicenseWithResponse call

func (ValidateLicenseResponse) Status

func (r ValidateLicenseResponse) Status() string

Status returns HTTPResponse.Status

func (ValidateLicenseResponse) StatusCode

func (r ValidateLicenseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ValidationError

type ValidationError = ErrorEnvelope

ValidationError defines model for ValidationError.

type VersionEligibility

type VersionEligibility struct {
	AppVersion      string     `json:"app_version"`
	EligibleThrough *time.Time `json:"eligible_through,omitempty"`

	// Enforced False when the product has no version catalog yet, so version gating is not enforced.
	Enforced   bool       `json:"enforced"`
	IsEntitled bool       `json:"is_entitled"`
	ReleasedAt *time.Time `json:"released_at,omitempty"`
}

VersionEligibility defines model for VersionEligibility.

type WebhookEndpoint

type WebhookEndpoint struct {
	CreatedAt time.Time `json:"created_at"`

	// EventTypes Empty means the endpoint receives all events.
	EventTypes     []string   `json:"event_types"`
	Id             string     `json:"id"`
	IsActive       bool       `json:"is_active"`
	LastDeliveryAt *time.Time `json:"last_delivery_at,omitempty"`
	Name           string     `json:"name"`

	// SecretPrefix Prefix of the current shared secret. The full secret is returned only on create or rotation.
	SecretPrefix string    `json:"secret_prefix"`
	UpdatedAt    time.Time `json:"updated_at"`
	Url          string    `json:"url"`
}

WebhookEndpoint defines model for WebhookEndpoint.

type WebhookEndpointCreateRequest

type WebhookEndpointCreateRequest struct {
	EventTypes *[]string `json:"event_types,omitempty"`
	IsActive   *bool     `json:"is_active,omitempty"`
	Name       string    `json:"name"`

	// Secret Optional custom shared secret. When omitted, the server generates one.
	Secret *string `json:"secret,omitempty"`
	Url    string  `json:"url"`
}

WebhookEndpointCreateRequest defines model for WebhookEndpointCreateRequest.

type WebhookEndpointUpdateRequest

type WebhookEndpointUpdateRequest struct {
	// EventTypes Replaces the current allow-list. Send an empty array to subscribe to all events.
	EventTypes *[]string `json:"event_types,omitempty"`
	IsActive   *bool     `json:"is_active,omitempty"`
	Name       *string   `json:"name,omitempty"`

	// RotateSecret Generates and returns a new secret. Cannot be combined with `secret`.
	RotateSecret *bool `json:"rotate_secret,omitempty"`

	// Secret Replaces the current shared secret with the provided value.
	Secret *string `json:"secret,omitempty"`
	Url    *string `json:"url,omitempty"`
}

WebhookEndpointUpdateRequest defines model for WebhookEndpointUpdateRequest.

type WebhookEndpointWithSecret

type WebhookEndpointWithSecret struct {
	Secret  string          `json:"secret"`
	Webhook WebhookEndpoint `json:"webhook"`
}

WebhookEndpointWithSecret defines model for WebhookEndpointWithSecret.

Jump to

Keyboard shortcuts

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