operations

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SupportedOptionRetries              = "retries"
	SupportedOptionTimeout              = "timeout"
	SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride"
	SupportedOptionURLOverride          = "urlOverride"
)

Variables

View Source
var ErrUnsupportedOption = errors.New("unsupported option")

Functions

This section is empty.

Types

type AcceptHeaderEnum

type AcceptHeaderEnum string
const (
	AcceptHeaderEnumTextPlain       AcceptHeaderEnum = "text/plain"
	AcceptHeaderEnumApplicationJson AcceptHeaderEnum = "application/json"
)

func (AcceptHeaderEnum) ToPointer

func (e AcceptHeaderEnum) ToPointer() *AcceptHeaderEnum

type CreateTenantDestinationGlobals

type CreateTenantDestinationGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*CreateTenantDestinationGlobals) GetTenantID

func (o *CreateTenantDestinationGlobals) GetTenantID() *string

type CreateTenantDestinationRequest

type CreateTenantDestinationRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID          *string                      `pathParam:"style=simple,explode=false,name=tenant_id"`
	DestinationCreate components.DestinationCreate `request:"mediaType=application/json"`
}

func (*CreateTenantDestinationRequest) GetDestinationCreate

func (*CreateTenantDestinationRequest) GetDestinationCreateAwsKinesis

func (o *CreateTenantDestinationRequest) GetDestinationCreateAwsKinesis() *components.DestinationCreateAWSKinesis

func (*CreateTenantDestinationRequest) GetDestinationCreateAwsSqs

func (o *CreateTenantDestinationRequest) GetDestinationCreateAwsSqs() *components.DestinationCreateAWSSQS

func (*CreateTenantDestinationRequest) GetDestinationCreateHookdeck

func (o *CreateTenantDestinationRequest) GetDestinationCreateHookdeck() *components.DestinationCreateHookdeck

func (*CreateTenantDestinationRequest) GetDestinationCreateRabbitmq

func (o *CreateTenantDestinationRequest) GetDestinationCreateRabbitmq() *components.DestinationCreateRabbitMQ

func (*CreateTenantDestinationRequest) GetDestinationCreateWebhook

func (o *CreateTenantDestinationRequest) GetDestinationCreateWebhook() *components.DestinationCreateWebhook

func (*CreateTenantDestinationRequest) GetTenantID

func (o *CreateTenantDestinationRequest) GetTenantID() *string

type CreateTenantDestinationResponse

type CreateTenantDestinationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Destination created successfully.
	Destination *components.Destination
}

func (*CreateTenantDestinationResponse) GetDestination

func (*CreateTenantDestinationResponse) GetDestinationAwsKinesis

func (o *CreateTenantDestinationResponse) GetDestinationAwsKinesis() *components.DestinationAWSKinesis

func (*CreateTenantDestinationResponse) GetDestinationAwsSqs

func (*CreateTenantDestinationResponse) GetDestinationHookdeck

func (o *CreateTenantDestinationResponse) GetDestinationHookdeck() *components.DestinationHookdeck

func (*CreateTenantDestinationResponse) GetDestinationRabbitmq

func (o *CreateTenantDestinationResponse) GetDestinationRabbitmq() *components.DestinationRabbitMQ

func (*CreateTenantDestinationResponse) GetDestinationWebhook

func (*CreateTenantDestinationResponse) GetHTTPMeta

type DeleteTenantDestinationGlobals

type DeleteTenantDestinationGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*DeleteTenantDestinationGlobals) GetTenantID

func (o *DeleteTenantDestinationGlobals) GetTenantID() *string

type DeleteTenantDestinationRequest

type DeleteTenantDestinationRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the destination.
	DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"`
}

func (*DeleteTenantDestinationRequest) GetDestinationID

func (o *DeleteTenantDestinationRequest) GetDestinationID() string

func (*DeleteTenantDestinationRequest) GetTenantID

func (o *DeleteTenantDestinationRequest) GetTenantID() *string

type DeleteTenantDestinationResponse

type DeleteTenantDestinationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Success confirmation.
	SuccessResponse *components.SuccessResponse
}

func (*DeleteTenantDestinationResponse) GetHTTPMeta

func (*DeleteTenantDestinationResponse) GetSuccessResponse

type DeleteTenantGlobals

type DeleteTenantGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*DeleteTenantGlobals) GetTenantID

func (o *DeleteTenantGlobals) GetTenantID() *string

type DeleteTenantRequest

type DeleteTenantRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*DeleteTenantRequest) GetTenantID

func (o *DeleteTenantRequest) GetTenantID() *string

type DeleteTenantResponse

type DeleteTenantResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Success confirmation.
	SuccessResponse *components.SuccessResponse
}

func (*DeleteTenantResponse) GetHTTPMeta

func (o *DeleteTenantResponse) GetHTTPMeta() components.HTTPMetadata

func (*DeleteTenantResponse) GetSuccessResponse

func (o *DeleteTenantResponse) GetSuccessResponse() *components.SuccessResponse

type DestinationID

type DestinationID struct {
	Str        *string  `queryParam:"inline"`
	ArrayOfStr []string `queryParam:"inline"`

	Type DestinationIDType
}

DestinationID - Filter events by destination ID(s).

func CreateDestinationIDArrayOfStr

func CreateDestinationIDArrayOfStr(arrayOfStr []string) DestinationID

func CreateDestinationIDStr

func CreateDestinationIDStr(str string) DestinationID

func (DestinationID) MarshalJSON

func (u DestinationID) MarshalJSON() ([]byte, error)

func (*DestinationID) UnmarshalJSON

func (u *DestinationID) UnmarshalJSON(data []byte) error

type DestinationIDType

type DestinationIDType string
const (
	DestinationIDTypeStr        DestinationIDType = "str"
	DestinationIDTypeArrayOfStr DestinationIDType = "arrayOfStr"
)

type DisableTenantDestinationGlobals

type DisableTenantDestinationGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*DisableTenantDestinationGlobals) GetTenantID

func (o *DisableTenantDestinationGlobals) GetTenantID() *string

type DisableTenantDestinationRequest

type DisableTenantDestinationRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the destination.
	DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"`
}

func (*DisableTenantDestinationRequest) GetDestinationID

func (o *DisableTenantDestinationRequest) GetDestinationID() string

func (*DisableTenantDestinationRequest) GetTenantID

func (o *DisableTenantDestinationRequest) GetTenantID() *string

type DisableTenantDestinationResponse

type DisableTenantDestinationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Destination disabled successfully.
	Destination *components.Destination
}

func (*DisableTenantDestinationResponse) GetDestination

func (*DisableTenantDestinationResponse) GetDestinationAwsKinesis

func (o *DisableTenantDestinationResponse) GetDestinationAwsKinesis() *components.DestinationAWSKinesis

func (*DisableTenantDestinationResponse) GetDestinationAwsSqs

func (*DisableTenantDestinationResponse) GetDestinationHookdeck

func (*DisableTenantDestinationResponse) GetDestinationRabbitmq

func (*DisableTenantDestinationResponse) GetDestinationWebhook

func (*DisableTenantDestinationResponse) GetHTTPMeta

type EnableTenantDestinationGlobals

type EnableTenantDestinationGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*EnableTenantDestinationGlobals) GetTenantID

func (o *EnableTenantDestinationGlobals) GetTenantID() *string

type EnableTenantDestinationRequest

type EnableTenantDestinationRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the destination.
	DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"`
}

func (*EnableTenantDestinationRequest) GetDestinationID

func (o *EnableTenantDestinationRequest) GetDestinationID() string

func (*EnableTenantDestinationRequest) GetTenantID

func (o *EnableTenantDestinationRequest) GetTenantID() *string

type EnableTenantDestinationResponse

type EnableTenantDestinationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Destination enabled successfully.
	Destination *components.Destination
}

func (*EnableTenantDestinationResponse) GetDestination

func (*EnableTenantDestinationResponse) GetDestinationAwsKinesis

func (o *EnableTenantDestinationResponse) GetDestinationAwsKinesis() *components.DestinationAWSKinesis

func (*EnableTenantDestinationResponse) GetDestinationAwsSqs

func (*EnableTenantDestinationResponse) GetDestinationHookdeck

func (o *EnableTenantDestinationResponse) GetDestinationHookdeck() *components.DestinationHookdeck

func (*EnableTenantDestinationResponse) GetDestinationRabbitmq

func (o *EnableTenantDestinationResponse) GetDestinationRabbitmq() *components.DestinationRabbitMQ

func (*EnableTenantDestinationResponse) GetDestinationWebhook

func (*EnableTenantDestinationResponse) GetHTTPMeta

type GetDestinationTypeSchemaRequest

type GetDestinationTypeSchemaRequest struct {
	// The type of the destination.
	Type GetDestinationTypeSchemaType `pathParam:"style=simple,explode=false,name=type"`
}

func (*GetDestinationTypeSchemaRequest) GetType

type GetDestinationTypeSchemaResponse

type GetDestinationTypeSchemaResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// The schema for the specified destination type.
	DestinationTypeSchema *components.DestinationTypeSchema
}

func (*GetDestinationTypeSchemaResponse) GetDestinationTypeSchema

func (o *GetDestinationTypeSchemaResponse) GetDestinationTypeSchema() *components.DestinationTypeSchema

func (*GetDestinationTypeSchemaResponse) GetHTTPMeta

type GetDestinationTypeSchemaType

type GetDestinationTypeSchemaType string

GetDestinationTypeSchemaType - The type of the destination.

const (
	GetDestinationTypeSchemaTypeWebhook    GetDestinationTypeSchemaType = "webhook"
	GetDestinationTypeSchemaTypeAwsSqs     GetDestinationTypeSchemaType = "aws_sqs"
	GetDestinationTypeSchemaTypeRabbitmq   GetDestinationTypeSchemaType = "rabbitmq"
	GetDestinationTypeSchemaTypeHookdeck   GetDestinationTypeSchemaType = "hookdeck"
	GetDestinationTypeSchemaTypeAwsKinesis GetDestinationTypeSchemaType = "aws_kinesis"
)

func (GetDestinationTypeSchemaType) ToPointer

func (*GetDestinationTypeSchemaType) UnmarshalJSON

func (e *GetDestinationTypeSchemaType) UnmarshalJSON(data []byte) error

type GetTenantDestinationGlobals

type GetTenantDestinationGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*GetTenantDestinationGlobals) GetTenantID

func (o *GetTenantDestinationGlobals) GetTenantID() *string

type GetTenantDestinationRequest

type GetTenantDestinationRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the destination.
	DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"`
}

func (*GetTenantDestinationRequest) GetDestinationID

func (o *GetTenantDestinationRequest) GetDestinationID() string

func (*GetTenantDestinationRequest) GetTenantID

func (o *GetTenantDestinationRequest) GetTenantID() *string

type GetTenantDestinationResponse

type GetTenantDestinationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Destination details.
	Destination *components.Destination
}

func (*GetTenantDestinationResponse) GetDestination

func (*GetTenantDestinationResponse) GetDestinationAwsKinesis

func (o *GetTenantDestinationResponse) GetDestinationAwsKinesis() *components.DestinationAWSKinesis

func (*GetTenantDestinationResponse) GetDestinationAwsSqs

func (o *GetTenantDestinationResponse) GetDestinationAwsSqs() *components.DestinationAWSSQS

func (*GetTenantDestinationResponse) GetDestinationHookdeck

func (o *GetTenantDestinationResponse) GetDestinationHookdeck() *components.DestinationHookdeck

func (*GetTenantDestinationResponse) GetDestinationRabbitmq

func (o *GetTenantDestinationResponse) GetDestinationRabbitmq() *components.DestinationRabbitMQ

func (*GetTenantDestinationResponse) GetDestinationWebhook

func (o *GetTenantDestinationResponse) GetDestinationWebhook() *components.DestinationWebhook

func (*GetTenantDestinationResponse) GetHTTPMeta

type GetTenantDestinationTypeSchemaGlobals

type GetTenantDestinationTypeSchemaGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*GetTenantDestinationTypeSchemaGlobals) GetTenantID

type GetTenantDestinationTypeSchemaRequest

type GetTenantDestinationTypeSchemaRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The type of the destination.
	Type GetTenantDestinationTypeSchemaType `pathParam:"style=simple,explode=false,name=type"`
}

func (*GetTenantDestinationTypeSchemaRequest) GetTenantID

func (*GetTenantDestinationTypeSchemaRequest) GetType

type GetTenantDestinationTypeSchemaResponse

type GetTenantDestinationTypeSchemaResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// The schema for the specified destination type.
	DestinationTypeSchema *components.DestinationTypeSchema
}

func (*GetTenantDestinationTypeSchemaResponse) GetDestinationTypeSchema

func (*GetTenantDestinationTypeSchemaResponse) GetHTTPMeta

type GetTenantDestinationTypeSchemaType

type GetTenantDestinationTypeSchemaType string

GetTenantDestinationTypeSchemaType - The type of the destination.

const (
	GetTenantDestinationTypeSchemaTypeWebhook    GetTenantDestinationTypeSchemaType = "webhook"
	GetTenantDestinationTypeSchemaTypeAwsSqs     GetTenantDestinationTypeSchemaType = "aws_sqs"
	GetTenantDestinationTypeSchemaTypeRabbitmq   GetTenantDestinationTypeSchemaType = "rabbitmq"
	GetTenantDestinationTypeSchemaTypeHookdeck   GetTenantDestinationTypeSchemaType = "hookdeck"
	GetTenantDestinationTypeSchemaTypeAwsKinesis GetTenantDestinationTypeSchemaType = "aws_kinesis"
)

func (GetTenantDestinationTypeSchemaType) ToPointer

func (*GetTenantDestinationTypeSchemaType) UnmarshalJSON

func (e *GetTenantDestinationTypeSchemaType) UnmarshalJSON(data []byte) error

type GetTenantEventByDestinationGlobals

type GetTenantEventByDestinationGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*GetTenantEventByDestinationGlobals) GetTenantID

func (o *GetTenantEventByDestinationGlobals) GetTenantID() *string

type GetTenantEventByDestinationRequest

type GetTenantEventByDestinationRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the destination.
	DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"`
	// The ID of the event.
	EventID string `pathParam:"style=simple,explode=false,name=event_id"`
}

func (*GetTenantEventByDestinationRequest) GetDestinationID

func (o *GetTenantEventByDestinationRequest) GetDestinationID() string

func (*GetTenantEventByDestinationRequest) GetEventID

func (*GetTenantEventByDestinationRequest) GetTenantID

func (o *GetTenantEventByDestinationRequest) GetTenantID() *string

type GetTenantEventByDestinationResponse

type GetTenantEventByDestinationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Event details.
	Event *components.Event
}

func (*GetTenantEventByDestinationResponse) GetEvent

func (*GetTenantEventByDestinationResponse) GetHTTPMeta

type GetTenantEventGlobals

type GetTenantEventGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*GetTenantEventGlobals) GetTenantID

func (o *GetTenantEventGlobals) GetTenantID() *string

type GetTenantEventRequest

type GetTenantEventRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the event.
	EventID string `pathParam:"style=simple,explode=false,name=event_id"`
}

func (*GetTenantEventRequest) GetEventID

func (o *GetTenantEventRequest) GetEventID() string

func (*GetTenantEventRequest) GetTenantID

func (o *GetTenantEventRequest) GetTenantID() *string

type GetTenantEventResponse

type GetTenantEventResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Event details.
	Event *components.Event
}

func (*GetTenantEventResponse) GetEvent

func (o *GetTenantEventResponse) GetEvent() *components.Event

func (*GetTenantEventResponse) GetHTTPMeta

type GetTenantGlobals

type GetTenantGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*GetTenantGlobals) GetTenantID

func (o *GetTenantGlobals) GetTenantID() *string

type GetTenantPortalURLGlobals

type GetTenantPortalURLGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*GetTenantPortalURLGlobals) GetTenantID

func (o *GetTenantPortalURLGlobals) GetTenantID() *string

type GetTenantPortalURLRequest

type GetTenantPortalURLRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// Optional theme preference for the portal.
	Theme *Theme `queryParam:"style=form,explode=true,name=theme"`
}

func (*GetTenantPortalURLRequest) GetTenantID

func (o *GetTenantPortalURLRequest) GetTenantID() *string

func (*GetTenantPortalURLRequest) GetTheme

func (o *GetTenantPortalURLRequest) GetTheme() *Theme

type GetTenantPortalURLResponse

type GetTenantPortalURLResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Portal redirect URL.
	PortalRedirect *components.PortalRedirect
}

func (*GetTenantPortalURLResponse) GetHTTPMeta

func (*GetTenantPortalURLResponse) GetPortalRedirect

func (o *GetTenantPortalURLResponse) GetPortalRedirect() *components.PortalRedirect

type GetTenantRequest

type GetTenantRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*GetTenantRequest) GetTenantID

func (o *GetTenantRequest) GetTenantID() *string

type GetTenantResponse

type GetTenantResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Tenant details.
	Tenant *components.Tenant
}

func (*GetTenantResponse) GetHTTPMeta

func (o *GetTenantResponse) GetHTTPMeta() components.HTTPMetadata

func (*GetTenantResponse) GetTenant

func (o *GetTenantResponse) GetTenant() *components.Tenant

type GetTenantTokenGlobals

type GetTenantTokenGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*GetTenantTokenGlobals) GetTenantID

func (o *GetTenantTokenGlobals) GetTenantID() *string

type GetTenantTokenRequest

type GetTenantTokenRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*GetTenantTokenRequest) GetTenantID

func (o *GetTenantTokenRequest) GetTenantID() *string

type GetTenantTokenResponse

type GetTenantTokenResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Tenant JWT token.
	TenantToken *components.TenantToken
}

func (*GetTenantTokenResponse) GetHTTPMeta

func (*GetTenantTokenResponse) GetTenantToken

func (o *GetTenantTokenResponse) GetTenantToken() *components.TenantToken

type HealthCheckResponse

type HealthCheckResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Service is healthy.
	Res *string
}

func (*HealthCheckResponse) GetHTTPMeta

func (o *HealthCheckResponse) GetHTTPMeta() components.HTTPMetadata

func (*HealthCheckResponse) GetRes

func (o *HealthCheckResponse) GetRes() *string

type ListDestinationTypeSchemasJwtResponse

type ListDestinationTypeSchemasJwtResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// A list of destination type schemas.
	DestinationTypeSchemas []components.DestinationTypeSchema
}

func (*ListDestinationTypeSchemasJwtResponse) GetDestinationTypeSchemas

func (*ListDestinationTypeSchemasJwtResponse) GetHTTPMeta

type ListTenantDestinationTypeSchemasGlobals

type ListTenantDestinationTypeSchemasGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*ListTenantDestinationTypeSchemasGlobals) GetTenantID

type ListTenantDestinationTypeSchemasRequest

type ListTenantDestinationTypeSchemasRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*ListTenantDestinationTypeSchemasRequest) GetTenantID

type ListTenantDestinationTypeSchemasResponse

type ListTenantDestinationTypeSchemasResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// A list of destination type schemas.
	DestinationTypeSchemas []components.DestinationTypeSchema
}

func (*ListTenantDestinationTypeSchemasResponse) GetDestinationTypeSchemas

func (*ListTenantDestinationTypeSchemasResponse) GetHTTPMeta

type ListTenantDestinationsGlobals

type ListTenantDestinationsGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*ListTenantDestinationsGlobals) GetTenantID

func (o *ListTenantDestinationsGlobals) GetTenantID() *string

type ListTenantDestinationsRequest

type ListTenantDestinationsRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// Filter destinations by type(s).
	Type *Type `queryParam:"style=form,explode=true,name=type"`
	// Filter destinations by supported topic(s).
	Topics *Topics `queryParam:"style=form,explode=true,name=topics"`
}

func (*ListTenantDestinationsRequest) GetTenantID

func (o *ListTenantDestinationsRequest) GetTenantID() *string

func (*ListTenantDestinationsRequest) GetTopics

func (o *ListTenantDestinationsRequest) GetTopics() *Topics

func (*ListTenantDestinationsRequest) GetType

func (o *ListTenantDestinationsRequest) GetType() *Type

type ListTenantDestinationsResponse

type ListTenantDestinationsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// A list of destinations.
	Destinations []components.Destination
}

func (*ListTenantDestinationsResponse) GetDestinations

func (o *ListTenantDestinationsResponse) GetDestinations() []components.Destination

func (*ListTenantDestinationsResponse) GetHTTPMeta

type ListTenantDestinationsTypeEnum1

type ListTenantDestinationsTypeEnum1 string
const (
	ListTenantDestinationsTypeEnum1Webhook    ListTenantDestinationsTypeEnum1 = "webhook"
	ListTenantDestinationsTypeEnum1AwsSqs     ListTenantDestinationsTypeEnum1 = "aws_sqs"
	ListTenantDestinationsTypeEnum1Rabbitmq   ListTenantDestinationsTypeEnum1 = "rabbitmq"
	ListTenantDestinationsTypeEnum1Hookdeck   ListTenantDestinationsTypeEnum1 = "hookdeck"
	ListTenantDestinationsTypeEnum1AwsKinesis ListTenantDestinationsTypeEnum1 = "aws_kinesis"
)

func (ListTenantDestinationsTypeEnum1) ToPointer

func (*ListTenantDestinationsTypeEnum1) UnmarshalJSON

func (e *ListTenantDestinationsTypeEnum1) UnmarshalJSON(data []byte) error

type ListTenantDestinationsTypeEnum2

type ListTenantDestinationsTypeEnum2 string
const (
	ListTenantDestinationsTypeEnum2Webhook    ListTenantDestinationsTypeEnum2 = "webhook"
	ListTenantDestinationsTypeEnum2AwsSqs     ListTenantDestinationsTypeEnum2 = "aws_sqs"
	ListTenantDestinationsTypeEnum2Rabbitmq   ListTenantDestinationsTypeEnum2 = "rabbitmq"
	ListTenantDestinationsTypeEnum2Hookdeck   ListTenantDestinationsTypeEnum2 = "hookdeck"
	ListTenantDestinationsTypeEnum2AwsKinesis ListTenantDestinationsTypeEnum2 = "aws_kinesis"
)

func (ListTenantDestinationsTypeEnum2) ToPointer

func (*ListTenantDestinationsTypeEnum2) UnmarshalJSON

func (e *ListTenantDestinationsTypeEnum2) UnmarshalJSON(data []byte) error

type ListTenantEventDeliveriesGlobals

type ListTenantEventDeliveriesGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*ListTenantEventDeliveriesGlobals) GetTenantID

func (o *ListTenantEventDeliveriesGlobals) GetTenantID() *string

type ListTenantEventDeliveriesRequest

type ListTenantEventDeliveriesRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the event.
	EventID string `pathParam:"style=simple,explode=false,name=event_id"`
}

func (*ListTenantEventDeliveriesRequest) GetEventID

func (o *ListTenantEventDeliveriesRequest) GetEventID() string

func (*ListTenantEventDeliveriesRequest) GetTenantID

func (o *ListTenantEventDeliveriesRequest) GetTenantID() *string

type ListTenantEventDeliveriesResponse

type ListTenantEventDeliveriesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// A list of delivery attempts.
	DeliveryAttempts []components.DeliveryAttempt
}

func (*ListTenantEventDeliveriesResponse) GetDeliveryAttempts

func (*ListTenantEventDeliveriesResponse) GetHTTPMeta

type ListTenantEventsByDestinationGlobals

type ListTenantEventsByDestinationGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*ListTenantEventsByDestinationGlobals) GetTenantID

func (o *ListTenantEventsByDestinationGlobals) GetTenantID() *string

type ListTenantEventsByDestinationRequest

type ListTenantEventsByDestinationRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the destination.
	DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"`
	// Filter events by delivery status.
	Status *ListTenantEventsByDestinationStatus `queryParam:"style=form,explode=true,name=status"`
}

func (*ListTenantEventsByDestinationRequest) GetDestinationID

func (o *ListTenantEventsByDestinationRequest) GetDestinationID() string

func (*ListTenantEventsByDestinationRequest) GetStatus

func (*ListTenantEventsByDestinationRequest) GetTenantID

func (o *ListTenantEventsByDestinationRequest) GetTenantID() *string

type ListTenantEventsByDestinationResponse

type ListTenantEventsByDestinationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// A list of events for the destination.
	Events []components.Event
}

func (*ListTenantEventsByDestinationResponse) GetEvents

func (*ListTenantEventsByDestinationResponse) GetHTTPMeta

type ListTenantEventsByDestinationStatus

type ListTenantEventsByDestinationStatus string

ListTenantEventsByDestinationStatus - Filter events by delivery status.

const (
	ListTenantEventsByDestinationStatusSuccess ListTenantEventsByDestinationStatus = "success"
	ListTenantEventsByDestinationStatusFailed  ListTenantEventsByDestinationStatus = "failed"
)

func (ListTenantEventsByDestinationStatus) ToPointer

func (*ListTenantEventsByDestinationStatus) UnmarshalJSON

func (e *ListTenantEventsByDestinationStatus) UnmarshalJSON(data []byte) error

type ListTenantEventsGlobals

type ListTenantEventsGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*ListTenantEventsGlobals) GetTenantID

func (o *ListTenantEventsGlobals) GetTenantID() *string

type ListTenantEventsRequest

type ListTenantEventsRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// Filter events by destination ID(s).
	DestinationID *DestinationID `queryParam:"style=form,explode=true,name=destination_id"`
	// Filter events by delivery status.
	Status *ListTenantEventsStatus `queryParam:"style=form,explode=true,name=status"`
}

func (*ListTenantEventsRequest) GetDestinationID

func (o *ListTenantEventsRequest) GetDestinationID() *DestinationID

func (*ListTenantEventsRequest) GetStatus

func (*ListTenantEventsRequest) GetTenantID

func (o *ListTenantEventsRequest) GetTenantID() *string

type ListTenantEventsResponse

type ListTenantEventsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// A list of events.
	Events []components.Event
}

func (*ListTenantEventsResponse) GetEvents

func (o *ListTenantEventsResponse) GetEvents() []components.Event

func (*ListTenantEventsResponse) GetHTTPMeta

type ListTenantEventsStatus

type ListTenantEventsStatus string

ListTenantEventsStatus - Filter events by delivery status.

const (
	ListTenantEventsStatusSuccess ListTenantEventsStatus = "success"
	ListTenantEventsStatusFailed  ListTenantEventsStatus = "failed"
)

func (ListTenantEventsStatus) ToPointer

func (*ListTenantEventsStatus) UnmarshalJSON

func (e *ListTenantEventsStatus) UnmarshalJSON(data []byte) error

type ListTenantTopicsGlobals

type ListTenantTopicsGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*ListTenantTopicsGlobals) GetTenantID

func (o *ListTenantTopicsGlobals) GetTenantID() *string

type ListTenantTopicsRequest

type ListTenantTopicsRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*ListTenantTopicsRequest) GetTenantID

func (o *ListTenantTopicsRequest) GetTenantID() *string

type ListTenantTopicsResponse

type ListTenantTopicsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// A list of topic names.
	Strings []string
}

func (*ListTenantTopicsResponse) GetHTTPMeta

func (*ListTenantTopicsResponse) GetStrings

func (o *ListTenantTopicsResponse) GetStrings() []string

type ListTopicsResponse

type ListTopicsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// A list of topic names.
	Strings []string
}

func (*ListTopicsResponse) GetHTTPMeta

func (o *ListTopicsResponse) GetHTTPMeta() components.HTTPMetadata

func (*ListTopicsResponse) GetStrings

func (o *ListTopicsResponse) GetStrings() []string

type Option

type Option func(*Options, ...string) error

func WithAcceptHeaderOverride

func WithAcceptHeaderOverride(acceptHeaderOverride AcceptHeaderEnum) Option

func WithOperationTimeout

func WithOperationTimeout(timeout time.Duration) Option

WithOperationTimeout allows setting the request timeout applied for an operation.

func WithRetries

func WithRetries(config retry.Config) Option

WithRetries allows customizing the default retry configuration.

func WithServerURL

func WithServerURL(serverURL string) Option

WithServerURL allows providing an alternative server URL.

func WithSetHeaders

func WithSetHeaders(hdrs map[string]string) Option

WithSetHeaders takes a map of headers that will applied to a request. If the request contains headers that are in the map then they will be overwritten.

func WithTemplatedServerURL

func WithTemplatedServerURL(serverURL string, params map[string]string) Option

WithTemplatedServerURL allows providing an alternative server URL with templated parameters.

func WithURLOverride

func WithURLOverride(urlOverride string) Option

WithURLOverride allows overriding the URL.

type Options

type Options struct {
	ServerURL            *string
	Retries              *retry.Config
	Timeout              *time.Duration
	AcceptHeaderOverride *AcceptHeaderEnum
	URLOverride          *string
	SetHeaders           map[string]string
}

type PublishEventResponse

type PublishEventResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Event accepted for publishing. Returns the event ID.
	PublishResponse *components.PublishResponse
}

func (*PublishEventResponse) GetHTTPMeta

func (o *PublishEventResponse) GetHTTPMeta() components.HTTPMetadata

func (*PublishEventResponse) GetPublishResponse added in v0.2.1

func (o *PublishEventResponse) GetPublishResponse() *components.PublishResponse

type RetryTenantEventGlobals

type RetryTenantEventGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*RetryTenantEventGlobals) GetTenantID

func (o *RetryTenantEventGlobals) GetTenantID() *string

type RetryTenantEventRequest

type RetryTenantEventRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the destination.
	DestinationID string `pathParam:"style=simple,explode=false,name=destination_id"`
	// The ID of the event to retry.
	EventID string `pathParam:"style=simple,explode=false,name=event_id"`
}

func (*RetryTenantEventRequest) GetDestinationID

func (o *RetryTenantEventRequest) GetDestinationID() string

func (*RetryTenantEventRequest) GetEventID

func (o *RetryTenantEventRequest) GetEventID() string

func (*RetryTenantEventRequest) GetTenantID

func (o *RetryTenantEventRequest) GetTenantID() *string

type RetryTenantEventResponse

type RetryTenantEventResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
}

func (*RetryTenantEventResponse) GetHTTPMeta

type Theme

type Theme string

Theme - Optional theme preference for the portal.

const (
	ThemeLight Theme = "light"
	ThemeDark  Theme = "dark"
)

func (Theme) ToPointer

func (e Theme) ToPointer() *Theme

func (*Theme) UnmarshalJSON

func (e *Theme) UnmarshalJSON(data []byte) error

type Topics

type Topics struct {
	Str        *string  `queryParam:"inline"`
	ArrayOfStr []string `queryParam:"inline"`

	Type TopicsType
}

Topics - Filter destinations by supported topic(s).

func CreateTopicsArrayOfStr

func CreateTopicsArrayOfStr(arrayOfStr []string) Topics

func CreateTopicsStr

func CreateTopicsStr(str string) Topics

func (Topics) MarshalJSON

func (u Topics) MarshalJSON() ([]byte, error)

func (*Topics) UnmarshalJSON

func (u *Topics) UnmarshalJSON(data []byte) error

type TopicsType

type TopicsType string
const (
	TopicsTypeStr        TopicsType = "str"
	TopicsTypeArrayOfStr TopicsType = "arrayOfStr"
)

type Type

type Type struct {
	ListTenantDestinationsTypeEnum1        *ListTenantDestinationsTypeEnum1  `queryParam:"inline"`
	ArrayOfListTenantDestinationsTypeEnum2 []ListTenantDestinationsTypeEnum2 `queryParam:"inline"`

	Type TypeType
}

Type - Filter destinations by type(s).

func CreateTypeArrayOfListTenantDestinationsTypeEnum2

func CreateTypeArrayOfListTenantDestinationsTypeEnum2(arrayOfListTenantDestinationsTypeEnum2 []ListTenantDestinationsTypeEnum2) Type

func CreateTypeListTenantDestinationsTypeEnum1

func CreateTypeListTenantDestinationsTypeEnum1(listTenantDestinationsTypeEnum1 ListTenantDestinationsTypeEnum1) Type

func (Type) MarshalJSON

func (u Type) MarshalJSON() ([]byte, error)

func (*Type) UnmarshalJSON

func (u *Type) UnmarshalJSON(data []byte) error

type TypeType

type TypeType string
const (
	TypeTypeListTenantDestinationsTypeEnum1        TypeType = "listTenantDestinations_type_enum_1"
	TypeTypeArrayOfListTenantDestinationsTypeEnum2 TypeType = "arrayOfListTenantDestinationsTypeEnum2"
)

type UpdateTenantDestinationGlobals

type UpdateTenantDestinationGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*UpdateTenantDestinationGlobals) GetTenantID

func (o *UpdateTenantDestinationGlobals) GetTenantID() *string

type UpdateTenantDestinationRequest

type UpdateTenantDestinationRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
	// The ID of the destination.
	DestinationID     string                       `pathParam:"style=simple,explode=false,name=destination_id"`
	DestinationUpdate components.DestinationUpdate `request:"mediaType=application/json"`
}

func (*UpdateTenantDestinationRequest) GetDestinationID

func (o *UpdateTenantDestinationRequest) GetDestinationID() string

func (*UpdateTenantDestinationRequest) GetDestinationUpdate

func (*UpdateTenantDestinationRequest) GetTenantID

func (o *UpdateTenantDestinationRequest) GetTenantID() *string

type UpdateTenantDestinationResponse

type UpdateTenantDestinationResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Destination updated successfully or OAuth redirect needed.
	OneOf *UpdateTenantDestinationResponseBody
}

func (*UpdateTenantDestinationResponse) GetHTTPMeta

func (*UpdateTenantDestinationResponse) GetOneOf

type UpdateTenantDestinationResponseBody

type UpdateTenantDestinationResponseBody struct {
	Destination *components.Destination `queryParam:"inline"`

	Type UpdateTenantDestinationResponseBodyType
}

UpdateTenantDestinationResponseBody - Destination updated successfully or OAuth redirect needed.

func CreateUpdateTenantDestinationResponseBodyDestination

func CreateUpdateTenantDestinationResponseBodyDestination(destination components.Destination) UpdateTenantDestinationResponseBody

func (UpdateTenantDestinationResponseBody) MarshalJSON

func (u UpdateTenantDestinationResponseBody) MarshalJSON() ([]byte, error)

func (*UpdateTenantDestinationResponseBody) UnmarshalJSON

func (u *UpdateTenantDestinationResponseBody) UnmarshalJSON(data []byte) error

type UpdateTenantDestinationResponseBodyType

type UpdateTenantDestinationResponseBodyType string
const (
	UpdateTenantDestinationResponseBodyTypeDestination UpdateTenantDestinationResponseBodyType = "Destination"
)

type UpsertTenantGlobals

type UpsertTenantGlobals struct {
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*UpsertTenantGlobals) GetTenantID

func (o *UpsertTenantGlobals) GetTenantID() *string

type UpsertTenantRequest

type UpsertTenantRequest struct {
	// The ID of the tenant. Required when using AdminApiKey authentication.
	TenantID *string `pathParam:"style=simple,explode=false,name=tenant_id"`
}

func (*UpsertTenantRequest) GetTenantID

func (o *UpsertTenantRequest) GetTenantID() *string

type UpsertTenantResponse

type UpsertTenantResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Tenant updated details.
	Tenant *components.Tenant
}

func (*UpsertTenantResponse) GetHTTPMeta

func (o *UpsertTenantResponse) GetHTTPMeta() components.HTTPMetadata

func (*UpsertTenantResponse) GetTenant

func (o *UpsertTenantResponse) GetTenant() *components.Tenant

Jump to

Keyboard shortcuts

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