Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewActivateEndpointRequest(server string, projectID string, endpointID string) (*http.Request, error)
- func NewBatchReplayEventsRequest(server string, projectID string, params *BatchReplayEventsParams) (*http.Request, error)
- func NewBatchRetryEventDeliveryRequest(server string, projectID string, params *BatchRetryEventDeliveryParams) (*http.Request, error)
- func NewBulkCreateFiltersRequest(server string, projectID string, subscriptionID string, ...) (*http.Request, error)
- func NewBulkCreateFiltersRequestWithBody(server string, projectID string, subscriptionID string, contentType string, ...) (*http.Request, error)
- func NewBulkOnboardRequest(server string, projectID string, params *BulkOnboardParams, ...) (*http.Request, error)
- func NewBulkOnboardRequestWithBody(server string, projectID string, params *BulkOnboardParams, contentType string, ...) (*http.Request, error)
- func NewBulkUpdateFiltersRequest(server string, projectID string, subscriptionID string, ...) (*http.Request, error)
- func NewBulkUpdateFiltersRequestWithBody(server string, projectID string, subscriptionID string, contentType string, ...) (*http.Request, error)
- func NewCountAffectedEventsRequest(server string, projectID string, params *CountAffectedEventsParams) (*http.Request, error)
- func NewCreateBroadcastEventRequest(server string, projectID string, body CreateBroadcastEventJSONRequestBody) (*http.Request, error)
- func NewCreateBroadcastEventRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDynamicEventRequest(server string, projectID string, body CreateDynamicEventJSONRequestBody) (*http.Request, error)
- func NewCreateDynamicEventRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEndpointEventRequest(server string, projectID string, body CreateEndpointEventJSONRequestBody) (*http.Request, error)
- func NewCreateEndpointEventRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEndpointFanoutEventRequest(server string, projectID string, body CreateEndpointFanoutEventJSONRequestBody) (*http.Request, error)
- func NewCreateEndpointFanoutEventRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEndpointRequest(server string, projectID string, body CreateEndpointJSONRequestBody) (*http.Request, error)
- func NewCreateEndpointRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEventTypeRequest(server string, projectID string, body CreateEventTypeJSONRequestBody) (*http.Request, error)
- func NewCreateEventTypeRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFilterRequest(server string, projectID string, subscriptionID string, ...) (*http.Request, error)
- func NewCreateFilterRequestWithBody(server string, projectID string, subscriptionID string, contentType string, ...) (*http.Request, error)
- func NewCreatePortalLinkRequest(server string, projectID string, body CreatePortalLinkJSONRequestBody) (*http.Request, error)
- func NewCreatePortalLinkRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectRequest(server string, params *CreateProjectParams, body CreateProjectJSONRequestBody) (*http.Request, error)
- func NewCreateProjectRequestWithBody(server string, params *CreateProjectParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSourceRequest(server string, projectID string, body CreateSourceJSONRequestBody) (*http.Request, error)
- func NewCreateSourceRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSubscriptionRequest(server string, projectID string, body CreateSubscriptionJSONRequestBody) (*http.Request, error)
- func NewCreateSubscriptionRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteEndpointRequest(server string, projectID string, endpointID string) (*http.Request, error)
- func NewDeleteFilterRequest(server string, projectID string, subscriptionID string, filterID string) (*http.Request, error)
- func NewDeleteProjectRequest(server string, projectID string) (*http.Request, error)
- func NewDeleteSourceRequest(server string, projectID string, sourceID string) (*http.Request, error)
- func NewDeleteSubscriptionRequest(server string, projectID string, subscriptionID string) (*http.Request, error)
- func NewDeprecateEventTypeRequest(server string, projectID string, eventTypeId string) (*http.Request, error)
- func NewExpireSecretRequest(server string, projectID string, endpointID string, ...) (*http.Request, error)
- func NewExpireSecretRequestWithBody(server string, projectID string, endpointID string, contentType string, ...) (*http.Request, error)
- func NewForceResendEventDeliveriesRequest(server string, projectID string, ...) (*http.Request, error)
- func NewForceResendEventDeliveriesRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetDeliveryAttemptRequest(server string, projectID string, eventDeliveryID string, ...) (*http.Request, error)
- func NewGetDeliveryAttemptsRequest(server string, projectID string, eventDeliveryID string) (*http.Request, error)
- func NewGetEndpointEventRequest(server string, projectID string, eventID string) (*http.Request, error)
- func NewGetEndpointRequest(server string, projectID string, endpointID string) (*http.Request, error)
- func NewGetEndpointsRequest(server string, projectID string, params *GetEndpointsParams) (*http.Request, error)
- func NewGetEventDeliveriesPagedRequest(server string, projectID string, params *GetEventDeliveriesPagedParams) (*http.Request, error)
- func NewGetEventDeliveryRequest(server string, projectID string, eventDeliveryID string) (*http.Request, error)
- func NewGetEventTypesRequest(server string, projectID string) (*http.Request, error)
- func NewGetEventsPagedRequest(server string, projectID string, params *GetEventsPagedParams) (*http.Request, error)
- func NewGetFilterRequest(server string, projectID string, subscriptionID string, filterID string) (*http.Request, error)
- func NewGetFiltersRequest(server string, projectID string, subscriptionID string) (*http.Request, error)
- func NewGetMetaEventRequest(server string, projectID string, metaEventID string) (*http.Request, error)
- func NewGetMetaEventsPagedRequest(server string, projectID string, params *GetMetaEventsPagedParams) (*http.Request, error)
- func NewGetPortalLinkRequest(server string, projectID string, portalLinkID string) (*http.Request, error)
- func NewGetProjectRequest(server string, projectID string) (*http.Request, error)
- func NewGetProjectsRequest(server string, params *GetProjectsParams) (*http.Request, error)
- func NewGetSourceRequest(server string, projectID string, sourceID string) (*http.Request, error)
- func NewGetSubscriptionRequest(server string, projectID string, subscriptionID string) (*http.Request, error)
- func NewGetSubscriptionsRequest(server string, projectID string, params *GetSubscriptionsParams) (*http.Request, error)
- func NewImportOpenApiSpecRequest(server string, projectID string, body ImportOpenApiSpecJSONRequestBody) (*http.Request, error)
- func NewImportOpenApiSpecRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewLoadPortalLinksPagedRequest(server string, projectID string, params *LoadPortalLinksPagedParams) (*http.Request, error)
- func NewLoadSourcesPagedRequest(server string, projectID string, params *LoadSourcesPagedParams) (*http.Request, error)
- func NewPauseEndpointRequest(server string, projectID string, endpointID string) (*http.Request, error)
- func NewPostV1ProjectsProjectIDSourcesTestFunctionRequest(server string, projectID string, ...) (*http.Request, error)
- func NewPostV1ProjectsProjectIDSourcesTestFunctionRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewRefreshPortalLinkAuthTokenRequest(server string, projectID string, portalLinkID string) (*http.Request, error)
- func NewReplayEndpointEventRequest(server string, projectID string, eventID string) (*http.Request, error)
- func NewResendEventDeliveryRequest(server string, projectID string, eventDeliveryID string) (*http.Request, error)
- func NewResendMetaEventRequest(server string, projectID string, metaEventID string) (*http.Request, error)
- func NewRevokePortalLinkRequest(server string, projectID string, portalLinkID string) (*http.Request, error)
- func NewTestFilterRequest(server string, projectID string, subscriptionID string, eventType string, ...) (*http.Request, error)
- func NewTestFilterRequestWithBody(server string, projectID string, subscriptionID string, eventType string, ...) (*http.Request, error)
- func NewTestOAuth2ConnectionRequest(server string, projectID string, body TestOAuth2ConnectionJSONRequestBody) (*http.Request, error)
- func NewTestOAuth2ConnectionRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewTestSubscriptionFilterRequest(server string, projectID string, body TestSubscriptionFilterJSONRequestBody) (*http.Request, error)
- func NewTestSubscriptionFilterRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewTestSubscriptionFunctionRequest(server string, projectID string, body TestSubscriptionFunctionJSONRequestBody) (*http.Request, error)
- func NewTestSubscriptionFunctionRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewToggleSubscriptionStatusRequest(server string, projectID string, subscriptionID string) (*http.Request, error)
- func NewUpdateEndpointRequest(server string, projectID string, endpointID string, ...) (*http.Request, error)
- func NewUpdateEndpointRequestWithBody(server string, projectID string, endpointID string, contentType string, ...) (*http.Request, error)
- func NewUpdateEventTypeRequest(server string, projectID string, eventTypeId string, ...) (*http.Request, error)
- func NewUpdateEventTypeRequestWithBody(server string, projectID string, eventTypeId string, contentType string, ...) (*http.Request, error)
- func NewUpdateFilterRequest(server string, projectID string, subscriptionID string, filterID string, ...) (*http.Request, error)
- func NewUpdateFilterRequestWithBody(server string, projectID string, subscriptionID string, filterID string, ...) (*http.Request, error)
- func NewUpdatePortalLinkRequest(server string, projectID string, portalLinkID string, ...) (*http.Request, error)
- func NewUpdatePortalLinkRequestWithBody(server string, projectID string, portalLinkID string, contentType string, ...) (*http.Request, error)
- func NewUpdateProjectRequest(server string, projectID string, body UpdateProjectJSONRequestBody) (*http.Request, error)
- func NewUpdateProjectRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSourceRequest(server string, projectID string, sourceID string, ...) (*http.Request, error)
- func NewUpdateSourceRequestWithBody(server string, projectID string, sourceID string, contentType string, ...) (*http.Request, error)
- func NewUpdateSubscriptionRequest(server string, projectID string, subscriptionID string, ...) (*http.Request, error)
- func NewUpdateSubscriptionRequestWithBody(server string, projectID string, subscriptionID string, contentType string, ...) (*http.Request, error)
- type ActivateEndpointResponse
- func (r ActivateEndpointResponse) ContentType() string
- func (r ActivateEndpointResponse) GetBody() []byte
- func (r ActivateEndpointResponse) GetJSON202() ...
- func (r ActivateEndpointResponse) GetJSON400() ...
- func (r ActivateEndpointResponse) GetJSON401() ...
- func (r ActivateEndpointResponse) GetJSON404() ...
- func (r ActivateEndpointResponse) Status() string
- func (r ActivateEndpointResponse) StatusCode() int
- type AuthRoleType
- type BatchReplayEventsParams
- type BatchReplayEventsParamsDirection
- type BatchReplayEventsResponse
- func (r BatchReplayEventsResponse) ContentType() string
- func (r BatchReplayEventsResponse) GetBody() []byte
- func (r BatchReplayEventsResponse) GetJSON200() ...
- func (r BatchReplayEventsResponse) GetJSON400() ...
- func (r BatchReplayEventsResponse) GetJSON401() ...
- func (r BatchReplayEventsResponse) GetJSON404() ...
- func (r BatchReplayEventsResponse) Status() string
- func (r BatchReplayEventsResponse) StatusCode() int
- type BatchRetryEventDeliveryParams
- type BatchRetryEventDeliveryParamsDirection
- type BatchRetryEventDeliveryResponse
- func (r BatchRetryEventDeliveryResponse) ContentType() string
- func (r BatchRetryEventDeliveryResponse) GetBody() []byte
- func (r BatchRetryEventDeliveryResponse) GetJSON200() ...
- func (r BatchRetryEventDeliveryResponse) GetJSON400() ...
- func (r BatchRetryEventDeliveryResponse) GetJSON401() ...
- func (r BatchRetryEventDeliveryResponse) GetJSON404() ...
- func (r BatchRetryEventDeliveryResponse) Status() string
- func (r BatchRetryEventDeliveryResponse) StatusCode() int
- type BulkCreateFiltersJSONBody
- type BulkCreateFiltersJSONRequestBody
- type BulkCreateFiltersResponse
- func (r BulkCreateFiltersResponse) ContentType() string
- func (r BulkCreateFiltersResponse) GetBody() []byte
- func (r BulkCreateFiltersResponse) GetJSON201() ...
- func (r BulkCreateFiltersResponse) GetJSON400() ...
- func (r BulkCreateFiltersResponse) GetJSON401() ...
- func (r BulkCreateFiltersResponse) GetJSON404() ...
- func (r BulkCreateFiltersResponse) Status() string
- func (r BulkCreateFiltersResponse) StatusCode() int
- type BulkOnboardJSONRequestBody
- type BulkOnboardParams
- type BulkOnboardResponse
- func (r BulkOnboardResponse) ContentType() string
- func (r BulkOnboardResponse) GetBody() []byte
- func (r BulkOnboardResponse) GetJSON200() ...
- func (r BulkOnboardResponse) GetJSON202() ...
- func (r BulkOnboardResponse) GetJSON400() ...
- func (r BulkOnboardResponse) GetJSON401() ...
- func (r BulkOnboardResponse) GetJSON404() ...
- func (r BulkOnboardResponse) Status() string
- func (r BulkOnboardResponse) StatusCode() int
- type BulkUpdateFiltersJSONBody
- type BulkUpdateFiltersJSONRequestBody
- type BulkUpdateFiltersResponse
- func (r BulkUpdateFiltersResponse) ContentType() string
- func (r BulkUpdateFiltersResponse) GetBody() []byte
- func (r BulkUpdateFiltersResponse) GetJSON200() ...
- func (r BulkUpdateFiltersResponse) GetJSON400() ...
- func (r BulkUpdateFiltersResponse) GetJSON401() ...
- func (r BulkUpdateFiltersResponse) GetJSON404() ...
- func (r BulkUpdateFiltersResponse) Status() string
- func (r BulkUpdateFiltersResponse) StatusCode() int
- type Client
- func (c *Client) ActivateEndpoint(ctx context.Context, projectID string, endpointID string, ...) (*http.Response, error)
- func (c *Client) BatchReplayEvents(ctx context.Context, projectID string, params *BatchReplayEventsParams, ...) (*http.Response, error)
- func (c *Client) BatchRetryEventDelivery(ctx context.Context, projectID string, params *BatchRetryEventDeliveryParams, ...) (*http.Response, error)
- func (c *Client) BulkCreateFilters(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) BulkCreateFiltersWithBody(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) BulkOnboard(ctx context.Context, projectID string, params *BulkOnboardParams, ...) (*http.Response, error)
- func (c *Client) BulkOnboardWithBody(ctx context.Context, projectID string, params *BulkOnboardParams, ...) (*http.Response, error)
- func (c *Client) BulkUpdateFilters(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) BulkUpdateFiltersWithBody(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) CountAffectedEvents(ctx context.Context, projectID string, params *CountAffectedEventsParams, ...) (*http.Response, error)
- func (c *Client) CreateBroadcastEvent(ctx context.Context, projectID string, ...) (*http.Response, error)
- func (c *Client) CreateBroadcastEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDynamicEvent(ctx context.Context, projectID string, body CreateDynamicEventJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDynamicEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEndpoint(ctx context.Context, projectID string, body CreateEndpointJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEndpointEvent(ctx context.Context, projectID string, body CreateEndpointEventJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEndpointEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEndpointFanoutEvent(ctx context.Context, projectID string, ...) (*http.Response, error)
- func (c *Client) CreateEndpointFanoutEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEndpointWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEventType(ctx context.Context, projectID string, body CreateEventTypeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEventTypeWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFilter(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) CreateFilterWithBody(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) CreatePortalLink(ctx context.Context, projectID string, body CreatePortalLinkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePortalLinkWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProject(ctx context.Context, params *CreateProjectParams, ...) (*http.Response, error)
- func (c *Client) CreateProjectWithBody(ctx context.Context, params *CreateProjectParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSource(ctx context.Context, projectID string, body CreateSourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSourceWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSubscription(ctx context.Context, projectID string, body CreateSubscriptionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSubscriptionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteEndpoint(ctx context.Context, projectID string, endpointID string, ...) (*http.Response, error)
- func (c *Client) DeleteFilter(ctx context.Context, projectID string, subscriptionID string, filterID string, ...) (*http.Response, error)
- func (c *Client) DeleteProject(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSource(ctx context.Context, projectID string, sourceID string, ...) (*http.Response, error)
- func (c *Client) DeleteSubscription(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) DeprecateEventType(ctx context.Context, projectID string, eventTypeId string, ...) (*http.Response, error)
- func (c *Client) ExpireSecret(ctx context.Context, projectID string, endpointID string, ...) (*http.Response, error)
- func (c *Client) ExpireSecretWithBody(ctx context.Context, projectID string, endpointID string, contentType string, ...) (*http.Response, error)
- func (c *Client) ForceResendEventDeliveries(ctx context.Context, projectID string, ...) (*http.Response, error)
- func (c *Client) ForceResendEventDeliveriesWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetDeliveryAttempt(ctx context.Context, projectID string, eventDeliveryID string, ...) (*http.Response, error)
- func (c *Client) GetDeliveryAttempts(ctx context.Context, projectID string, eventDeliveryID string, ...) (*http.Response, error)
- func (c *Client) GetEndpoint(ctx context.Context, projectID string, endpointID string, ...) (*http.Response, error)
- func (c *Client) GetEndpointEvent(ctx context.Context, projectID string, eventID string, ...) (*http.Response, error)
- func (c *Client) GetEndpoints(ctx context.Context, projectID string, params *GetEndpointsParams, ...) (*http.Response, error)
- func (c *Client) GetEventDeliveriesPaged(ctx context.Context, projectID string, params *GetEventDeliveriesPagedParams, ...) (*http.Response, error)
- func (c *Client) GetEventDelivery(ctx context.Context, projectID string, eventDeliveryID string, ...) (*http.Response, error)
- func (c *Client) GetEventTypes(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEventsPaged(ctx context.Context, projectID string, params *GetEventsPagedParams, ...) (*http.Response, error)
- func (c *Client) GetFilter(ctx context.Context, projectID string, subscriptionID string, filterID string, ...) (*http.Response, error)
- func (c *Client) GetFilters(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) GetMetaEvent(ctx context.Context, projectID string, metaEventID string, ...) (*http.Response, error)
- func (c *Client) GetMetaEventsPaged(ctx context.Context, projectID string, params *GetMetaEventsPagedParams, ...) (*http.Response, error)
- func (c *Client) GetPortalLink(ctx context.Context, projectID string, portalLinkID string, ...) (*http.Response, error)
- func (c *Client) GetProject(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjects(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSource(ctx context.Context, projectID string, sourceID string, ...) (*http.Response, error)
- func (c *Client) GetSubscription(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) GetSubscriptions(ctx context.Context, projectID string, params *GetSubscriptionsParams, ...) (*http.Response, error)
- func (c *Client) ImportOpenApiSpec(ctx context.Context, projectID string, body ImportOpenApiSpecJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ImportOpenApiSpecWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LoadPortalLinksPaged(ctx context.Context, projectID string, params *LoadPortalLinksPagedParams, ...) (*http.Response, error)
- func (c *Client) LoadSourcesPaged(ctx context.Context, projectID string, params *LoadSourcesPagedParams, ...) (*http.Response, error)
- func (c *Client) PauseEndpoint(ctx context.Context, projectID string, endpointID string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsProjectIDSourcesTestFunction(ctx context.Context, projectID string, ...) (*http.Response, error)
- func (c *Client) PostV1ProjectsProjectIDSourcesTestFunctionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RefreshPortalLinkAuthToken(ctx context.Context, projectID string, portalLinkID string, ...) (*http.Response, error)
- func (c *Client) ReplayEndpointEvent(ctx context.Context, projectID string, eventID string, ...) (*http.Response, error)
- func (c *Client) ResendEventDelivery(ctx context.Context, projectID string, eventDeliveryID string, ...) (*http.Response, error)
- func (c *Client) ResendMetaEvent(ctx context.Context, projectID string, metaEventID string, ...) (*http.Response, error)
- func (c *Client) RevokePortalLink(ctx context.Context, projectID string, portalLinkID string, ...) (*http.Response, error)
- func (c *Client) TestFilter(ctx context.Context, projectID string, subscriptionID string, eventType string, ...) (*http.Response, error)
- func (c *Client) TestFilterWithBody(ctx context.Context, projectID string, subscriptionID string, eventType string, ...) (*http.Response, error)
- func (c *Client) TestOAuth2Connection(ctx context.Context, projectID string, ...) (*http.Response, error)
- func (c *Client) TestOAuth2ConnectionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TestSubscriptionFilter(ctx context.Context, projectID string, ...) (*http.Response, error)
- func (c *Client) TestSubscriptionFilterWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TestSubscriptionFunction(ctx context.Context, projectID string, ...) (*http.Response, error)
- func (c *Client) TestSubscriptionFunctionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ToggleSubscriptionStatus(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) UpdateEndpoint(ctx context.Context, projectID string, endpointID string, ...) (*http.Response, error)
- func (c *Client) UpdateEndpointWithBody(ctx context.Context, projectID string, endpointID string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateEventType(ctx context.Context, projectID string, eventTypeId string, ...) (*http.Response, error)
- func (c *Client) UpdateEventTypeWithBody(ctx context.Context, projectID string, eventTypeId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateFilter(ctx context.Context, projectID string, subscriptionID string, filterID string, ...) (*http.Response, error)
- func (c *Client) UpdateFilterWithBody(ctx context.Context, projectID string, subscriptionID string, filterID string, ...) (*http.Response, error)
- func (c *Client) UpdatePortalLink(ctx context.Context, projectID string, portalLinkID string, ...) (*http.Response, error)
- func (c *Client) UpdatePortalLinkWithBody(ctx context.Context, projectID string, portalLinkID string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateProject(ctx context.Context, projectID string, body UpdateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateProjectWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSource(ctx context.Context, projectID string, sourceID string, ...) (*http.Response, error)
- func (c *Client) UpdateSourceWithBody(ctx context.Context, projectID string, sourceID string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSubscription(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- func (c *Client) UpdateSubscriptionWithBody(ctx context.Context, projectID string, subscriptionID string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ActivateEndpointWithResponse(ctx context.Context, projectID string, endpointID string, ...) (*ActivateEndpointResponse, error)
- func (c *ClientWithResponses) BatchReplayEventsWithResponse(ctx context.Context, projectID string, params *BatchReplayEventsParams, ...) (*BatchReplayEventsResponse, error)
- func (c *ClientWithResponses) BatchRetryEventDeliveryWithResponse(ctx context.Context, projectID string, params *BatchRetryEventDeliveryParams, ...) (*BatchRetryEventDeliveryResponse, error)
- func (c *ClientWithResponses) BulkCreateFiltersWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*BulkCreateFiltersResponse, error)
- func (c *ClientWithResponses) BulkCreateFiltersWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*BulkCreateFiltersResponse, error)
- func (c *ClientWithResponses) BulkOnboardWithBodyWithResponse(ctx context.Context, projectID string, params *BulkOnboardParams, ...) (*BulkOnboardResponse, error)
- func (c *ClientWithResponses) BulkOnboardWithResponse(ctx context.Context, projectID string, params *BulkOnboardParams, ...) (*BulkOnboardResponse, error)
- func (c *ClientWithResponses) BulkUpdateFiltersWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*BulkUpdateFiltersResponse, error)
- func (c *ClientWithResponses) BulkUpdateFiltersWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*BulkUpdateFiltersResponse, error)
- func (c *ClientWithResponses) CountAffectedEventsWithResponse(ctx context.Context, projectID string, params *CountAffectedEventsParams, ...) (*CountAffectedEventsResponse, error)
- func (c *ClientWithResponses) CreateBroadcastEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateBroadcastEventResponse, error)
- func (c *ClientWithResponses) CreateBroadcastEventWithResponse(ctx context.Context, projectID string, ...) (*CreateBroadcastEventResponse, error)
- func (c *ClientWithResponses) CreateDynamicEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateDynamicEventResponse, error)
- func (c *ClientWithResponses) CreateDynamicEventWithResponse(ctx context.Context, projectID string, body CreateDynamicEventJSONRequestBody, ...) (*CreateDynamicEventResponse, error)
- func (c *ClientWithResponses) CreateEndpointEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateEndpointEventResponse, error)
- func (c *ClientWithResponses) CreateEndpointEventWithResponse(ctx context.Context, projectID string, body CreateEndpointEventJSONRequestBody, ...) (*CreateEndpointEventResponse, error)
- func (c *ClientWithResponses) CreateEndpointFanoutEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateEndpointFanoutEventResponse, error)
- func (c *ClientWithResponses) CreateEndpointFanoutEventWithResponse(ctx context.Context, projectID string, ...) (*CreateEndpointFanoutEventResponse, error)
- func (c *ClientWithResponses) CreateEndpointWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateEndpointResponse, error)
- func (c *ClientWithResponses) CreateEndpointWithResponse(ctx context.Context, projectID string, body CreateEndpointJSONRequestBody, ...) (*CreateEndpointResponse, error)
- func (c *ClientWithResponses) CreateEventTypeWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateEventTypeResponse, error)
- func (c *ClientWithResponses) CreateEventTypeWithResponse(ctx context.Context, projectID string, body CreateEventTypeJSONRequestBody, ...) (*CreateEventTypeResponse, error)
- func (c *ClientWithResponses) CreateFilterWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*CreateFilterResponse, error)
- func (c *ClientWithResponses) CreateFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*CreateFilterResponse, error)
- func (c *ClientWithResponses) CreatePortalLinkWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreatePortalLinkResponse, error)
- func (c *ClientWithResponses) CreatePortalLinkWithResponse(ctx context.Context, projectID string, body CreatePortalLinkJSONRequestBody, ...) (*CreatePortalLinkResponse, error)
- func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, params *CreateProjectParams, contentType string, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateSourceWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateSourceResponse, error)
- func (c *ClientWithResponses) CreateSourceWithResponse(ctx context.Context, projectID string, body CreateSourceJSONRequestBody, ...) (*CreateSourceResponse, error)
- func (c *ClientWithResponses) CreateSubscriptionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*CreateSubscriptionResponse, error)
- func (c *ClientWithResponses) CreateSubscriptionWithResponse(ctx context.Context, projectID string, body CreateSubscriptionJSONRequestBody, ...) (*CreateSubscriptionResponse, error)
- func (c *ClientWithResponses) DeleteEndpointWithResponse(ctx context.Context, projectID string, endpointID string, ...) (*DeleteEndpointResponse, error)
- func (c *ClientWithResponses) DeleteFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, ...) (*DeleteFilterResponse, error)
- func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
- func (c *ClientWithResponses) DeleteSourceWithResponse(ctx context.Context, projectID string, sourceID string, ...) (*DeleteSourceResponse, error)
- func (c *ClientWithResponses) DeleteSubscriptionWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*DeleteSubscriptionResponse, error)
- func (c *ClientWithResponses) DeprecateEventTypeWithResponse(ctx context.Context, projectID string, eventTypeId string, ...) (*DeprecateEventTypeResponse, error)
- func (c *ClientWithResponses) ExpireSecretWithBodyWithResponse(ctx context.Context, projectID string, endpointID string, contentType string, ...) (*ExpireSecretResponse, error)
- func (c *ClientWithResponses) ExpireSecretWithResponse(ctx context.Context, projectID string, endpointID string, ...) (*ExpireSecretResponse, error)
- func (c *ClientWithResponses) ForceResendEventDeliveriesWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*ForceResendEventDeliveriesResponse, error)
- func (c *ClientWithResponses) ForceResendEventDeliveriesWithResponse(ctx context.Context, projectID string, ...) (*ForceResendEventDeliveriesResponse, error)
- func (c *ClientWithResponses) GetDeliveryAttemptWithResponse(ctx context.Context, projectID string, eventDeliveryID string, ...) (*GetDeliveryAttemptResponse, error)
- func (c *ClientWithResponses) GetDeliveryAttemptsWithResponse(ctx context.Context, projectID string, eventDeliveryID string, ...) (*GetDeliveryAttemptsResponse, error)
- func (c *ClientWithResponses) GetEndpointEventWithResponse(ctx context.Context, projectID string, eventID string, ...) (*GetEndpointEventResponse, error)
- func (c *ClientWithResponses) GetEndpointWithResponse(ctx context.Context, projectID string, endpointID string, ...) (*GetEndpointResponse, error)
- func (c *ClientWithResponses) GetEndpointsWithResponse(ctx context.Context, projectID string, params *GetEndpointsParams, ...) (*GetEndpointsResponse, error)
- func (c *ClientWithResponses) GetEventDeliveriesPagedWithResponse(ctx context.Context, projectID string, params *GetEventDeliveriesPagedParams, ...) (*GetEventDeliveriesPagedResponse, error)
- func (c *ClientWithResponses) GetEventDeliveryWithResponse(ctx context.Context, projectID string, eventDeliveryID string, ...) (*GetEventDeliveryResponse, error)
- func (c *ClientWithResponses) GetEventTypesWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*GetEventTypesResponse, error)
- func (c *ClientWithResponses) GetEventsPagedWithResponse(ctx context.Context, projectID string, params *GetEventsPagedParams, ...) (*GetEventsPagedResponse, error)
- func (c *ClientWithResponses) GetFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, ...) (*GetFilterResponse, error)
- func (c *ClientWithResponses) GetFiltersWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*GetFiltersResponse, error)
- func (c *ClientWithResponses) GetMetaEventWithResponse(ctx context.Context, projectID string, metaEventID string, ...) (*GetMetaEventResponse, error)
- func (c *ClientWithResponses) GetMetaEventsPagedWithResponse(ctx context.Context, projectID string, params *GetMetaEventsPagedParams, ...) (*GetMetaEventsPagedResponse, error)
- func (c *ClientWithResponses) GetPortalLinkWithResponse(ctx context.Context, projectID string, portalLinkID string, ...) (*GetPortalLinkResponse, error)
- func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
- func (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)
- func (c *ClientWithResponses) GetSourceWithResponse(ctx context.Context, projectID string, sourceID string, ...) (*GetSourceResponse, error)
- func (c *ClientWithResponses) GetSubscriptionWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*GetSubscriptionResponse, error)
- func (c *ClientWithResponses) GetSubscriptionsWithResponse(ctx context.Context, projectID string, params *GetSubscriptionsParams, ...) (*GetSubscriptionsResponse, error)
- func (c *ClientWithResponses) ImportOpenApiSpecWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*ImportOpenApiSpecResponse, error)
- func (c *ClientWithResponses) ImportOpenApiSpecWithResponse(ctx context.Context, projectID string, body ImportOpenApiSpecJSONRequestBody, ...) (*ImportOpenApiSpecResponse, error)
- func (c *ClientWithResponses) LoadPortalLinksPagedWithResponse(ctx context.Context, projectID string, params *LoadPortalLinksPagedParams, ...) (*LoadPortalLinksPagedResponse, error)
- func (c *ClientWithResponses) LoadSourcesPagedWithResponse(ctx context.Context, projectID string, params *LoadSourcesPagedParams, ...) (*LoadSourcesPagedResponse, error)
- func (c *ClientWithResponses) PauseEndpointWithResponse(ctx context.Context, projectID string, endpointID string, ...) (*PauseEndpointResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsProjectIDSourcesTestFunctionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*PostV1ProjectsProjectIDSourcesTestFunctionResponse, error)
- func (c *ClientWithResponses) PostV1ProjectsProjectIDSourcesTestFunctionWithResponse(ctx context.Context, projectID string, ...) (*PostV1ProjectsProjectIDSourcesTestFunctionResponse, error)
- func (c *ClientWithResponses) RefreshPortalLinkAuthTokenWithResponse(ctx context.Context, projectID string, portalLinkID string, ...) (*RefreshPortalLinkAuthTokenResponse, error)
- func (c *ClientWithResponses) ReplayEndpointEventWithResponse(ctx context.Context, projectID string, eventID string, ...) (*ReplayEndpointEventResponse, error)
- func (c *ClientWithResponses) ResendEventDeliveryWithResponse(ctx context.Context, projectID string, eventDeliveryID string, ...) (*ResendEventDeliveryResponse, error)
- func (c *ClientWithResponses) ResendMetaEventWithResponse(ctx context.Context, projectID string, metaEventID string, ...) (*ResendMetaEventResponse, error)
- func (c *ClientWithResponses) RevokePortalLinkWithResponse(ctx context.Context, projectID string, portalLinkID string, ...) (*RevokePortalLinkResponse, error)
- func (c *ClientWithResponses) TestFilterWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, eventType string, ...) (*TestFilterResponse, error)
- func (c *ClientWithResponses) TestFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, eventType string, ...) (*TestFilterResponse, error)
- func (c *ClientWithResponses) TestOAuth2ConnectionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*TestOAuth2ConnectionResponse, error)
- func (c *ClientWithResponses) TestOAuth2ConnectionWithResponse(ctx context.Context, projectID string, ...) (*TestOAuth2ConnectionResponse, error)
- func (c *ClientWithResponses) TestSubscriptionFilterWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*TestSubscriptionFilterResponse, error)
- func (c *ClientWithResponses) TestSubscriptionFilterWithResponse(ctx context.Context, projectID string, ...) (*TestSubscriptionFilterResponse, error)
- func (c *ClientWithResponses) TestSubscriptionFunctionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*TestSubscriptionFunctionResponse, error)
- func (c *ClientWithResponses) TestSubscriptionFunctionWithResponse(ctx context.Context, projectID string, ...) (*TestSubscriptionFunctionResponse, error)
- func (c *ClientWithResponses) ToggleSubscriptionStatusWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*ToggleSubscriptionStatusResponse, error)
- func (c *ClientWithResponses) UpdateEndpointWithBodyWithResponse(ctx context.Context, projectID string, endpointID string, contentType string, ...) (*UpdateEndpointResponse, error)
- func (c *ClientWithResponses) UpdateEndpointWithResponse(ctx context.Context, projectID string, endpointID string, ...) (*UpdateEndpointResponse, error)
- func (c *ClientWithResponses) UpdateEventTypeWithBodyWithResponse(ctx context.Context, projectID string, eventTypeId string, contentType string, ...) (*UpdateEventTypeResponse, error)
- func (c *ClientWithResponses) UpdateEventTypeWithResponse(ctx context.Context, projectID string, eventTypeId string, ...) (*UpdateEventTypeResponse, error)
- func (c *ClientWithResponses) UpdateFilterWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, ...) (*UpdateFilterResponse, error)
- func (c *ClientWithResponses) UpdateFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, ...) (*UpdateFilterResponse, error)
- func (c *ClientWithResponses) UpdatePortalLinkWithBodyWithResponse(ctx context.Context, projectID string, portalLinkID string, contentType string, ...) (*UpdatePortalLinkResponse, error)
- func (c *ClientWithResponses) UpdatePortalLinkWithResponse(ctx context.Context, projectID string, portalLinkID string, ...) (*UpdatePortalLinkResponse, error)
- func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, ...) (*UpdateProjectResponse, error)
- func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, projectID string, body UpdateProjectJSONRequestBody, ...) (*UpdateProjectResponse, error)
- func (c *ClientWithResponses) UpdateSourceWithBodyWithResponse(ctx context.Context, projectID string, sourceID string, contentType string, ...) (*UpdateSourceResponse, error)
- func (c *ClientWithResponses) UpdateSourceWithResponse(ctx context.Context, projectID string, sourceID string, ...) (*UpdateSourceResponse, error)
- func (c *ClientWithResponses) UpdateSubscriptionWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*UpdateSubscriptionResponse, error)
- func (c *ClientWithResponses) UpdateSubscriptionWithResponse(ctx context.Context, projectID string, subscriptionID string, ...) (*UpdateSubscriptionResponse, error)
- type ClientWithResponsesInterface
- type ConfigRequestIDHeaderProvider
- type ConfigSignatureHeaderProvider
- type CountAffectedEventsParams
- type CountAffectedEventsParamsDirection
- type CountAffectedEventsResponse
- func (r CountAffectedEventsResponse) ContentType() string
- func (r CountAffectedEventsResponse) GetBody() []byte
- func (r CountAffectedEventsResponse) GetJSON200() ...
- func (r CountAffectedEventsResponse) GetJSON400() ...
- func (r CountAffectedEventsResponse) GetJSON401() ...
- func (r CountAffectedEventsResponse) GetJSON404() ...
- func (r CountAffectedEventsResponse) Status() string
- func (r CountAffectedEventsResponse) StatusCode() int
- type CreateBroadcastEventJSONRequestBody
- type CreateBroadcastEventResponse
- func (r CreateBroadcastEventResponse) ContentType() string
- func (r CreateBroadcastEventResponse) GetBody() []byte
- func (r CreateBroadcastEventResponse) GetJSON201() ...
- func (r CreateBroadcastEventResponse) GetJSON400() ...
- func (r CreateBroadcastEventResponse) GetJSON401() ...
- func (r CreateBroadcastEventResponse) GetJSON404() ...
- func (r CreateBroadcastEventResponse) Status() string
- func (r CreateBroadcastEventResponse) StatusCode() int
- type CreateDynamicEventJSONRequestBody
- type CreateDynamicEventResponse
- func (r CreateDynamicEventResponse) ContentType() string
- func (r CreateDynamicEventResponse) GetBody() []byte
- func (r CreateDynamicEventResponse) GetJSON201() ...
- func (r CreateDynamicEventResponse) GetJSON400() ...
- func (r CreateDynamicEventResponse) GetJSON401() ...
- func (r CreateDynamicEventResponse) GetJSON404() ...
- func (r CreateDynamicEventResponse) Status() string
- func (r CreateDynamicEventResponse) StatusCode() int
- type CreateEndpointEventJSONRequestBody
- type CreateEndpointEventResponse
- func (r CreateEndpointEventResponse) ContentType() string
- func (r CreateEndpointEventResponse) GetBody() []byte
- func (r CreateEndpointEventResponse) GetJSON201() ...
- func (r CreateEndpointEventResponse) GetJSON400() ...
- func (r CreateEndpointEventResponse) GetJSON401() ...
- func (r CreateEndpointEventResponse) GetJSON404() ...
- func (r CreateEndpointEventResponse) Status() string
- func (r CreateEndpointEventResponse) StatusCode() int
- type CreateEndpointFanoutEventJSONRequestBody
- type CreateEndpointFanoutEventResponse
- func (r CreateEndpointFanoutEventResponse) ContentType() string
- func (r CreateEndpointFanoutEventResponse) GetBody() []byte
- func (r CreateEndpointFanoutEventResponse) GetJSON201() ...
- func (r CreateEndpointFanoutEventResponse) GetJSON400() ...
- func (r CreateEndpointFanoutEventResponse) GetJSON401() ...
- func (r CreateEndpointFanoutEventResponse) GetJSON404() ...
- func (r CreateEndpointFanoutEventResponse) Status() string
- func (r CreateEndpointFanoutEventResponse) StatusCode() int
- type CreateEndpointJSONRequestBody
- type CreateEndpointResponse
- func (r CreateEndpointResponse) ContentType() string
- func (r CreateEndpointResponse) GetBody() []byte
- func (r CreateEndpointResponse) GetJSON201() ...
- func (r CreateEndpointResponse) GetJSON400() ...
- func (r CreateEndpointResponse) GetJSON401() ...
- func (r CreateEndpointResponse) GetJSON404() ...
- func (r CreateEndpointResponse) Status() string
- func (r CreateEndpointResponse) StatusCode() int
- type CreateEventTypeJSONRequestBody
- type CreateEventTypeResponse
- func (r CreateEventTypeResponse) ContentType() string
- func (r CreateEventTypeResponse) GetBody() []byte
- func (r CreateEventTypeResponse) GetJSON201() ...
- func (r CreateEventTypeResponse) GetJSON400() ...
- func (r CreateEventTypeResponse) GetJSON401() ...
- func (r CreateEventTypeResponse) GetJSON404() ...
- func (r CreateEventTypeResponse) Status() string
- func (r CreateEventTypeResponse) StatusCode() int
- type CreateFilterJSONRequestBody
- type CreateFilterResponse
- func (r CreateFilterResponse) ContentType() string
- func (r CreateFilterResponse) GetBody() []byte
- func (r CreateFilterResponse) GetJSON201() ...
- func (r CreateFilterResponse) GetJSON400() ...
- func (r CreateFilterResponse) GetJSON401() ...
- func (r CreateFilterResponse) GetJSON404() ...
- func (r CreateFilterResponse) Status() string
- func (r CreateFilterResponse) StatusCode() int
- type CreatePortalLinkJSONRequestBody
- type CreatePortalLinkResponse
- func (r CreatePortalLinkResponse) ContentType() string
- func (r CreatePortalLinkResponse) GetBody() []byte
- func (r CreatePortalLinkResponse) GetJSON201() ...
- func (r CreatePortalLinkResponse) GetJSON400() ...
- func (r CreatePortalLinkResponse) GetJSON401() ...
- func (r CreatePortalLinkResponse) GetJSON404() ...
- func (r CreatePortalLinkResponse) Status() string
- func (r CreatePortalLinkResponse) StatusCode() int
- type CreateProjectJSONRequestBody
- type CreateProjectParams
- type CreateProjectResponse
- func (r CreateProjectResponse) ContentType() string
- func (r CreateProjectResponse) GetBody() []byte
- func (r CreateProjectResponse) GetJSON201() ...
- func (r CreateProjectResponse) GetJSON400() ...
- func (r CreateProjectResponse) GetJSON401() ...
- func (r CreateProjectResponse) GetJSON402() ...
- func (r CreateProjectResponse) GetJSON403() ...
- func (r CreateProjectResponse) GetJSON404() ...
- func (r CreateProjectResponse) Status() string
- func (r CreateProjectResponse) StatusCode() int
- type CreateSourceJSONRequestBody
- type CreateSourceResponse
- func (r CreateSourceResponse) ContentType() string
- func (r CreateSourceResponse) GetBody() []byte
- func (r CreateSourceResponse) GetJSON201() ...
- func (r CreateSourceResponse) GetJSON400() ...
- func (r CreateSourceResponse) GetJSON401() ...
- func (r CreateSourceResponse) GetJSON404() ...
- func (r CreateSourceResponse) Status() string
- func (r CreateSourceResponse) StatusCode() int
- type CreateSubscriptionJSONRequestBody
- type CreateSubscriptionResponse
- func (r CreateSubscriptionResponse) ContentType() string
- func (r CreateSubscriptionResponse) GetBody() []byte
- func (r CreateSubscriptionResponse) GetJSON201() ...
- func (r CreateSubscriptionResponse) GetJSON400() ...
- func (r CreateSubscriptionResponse) GetJSON401() ...
- func (r CreateSubscriptionResponse) GetJSON404() ...
- func (r CreateSubscriptionResponse) Status() string
- func (r CreateSubscriptionResponse) StatusCode() int
- type DatastoreAPIKeyResponse
- type DatastoreAlertConfiguration
- type DatastoreAmqpCredentials
- type DatastoreAmqpPubSubConfig
- type DatastoreApiKey
- type DatastoreBasicAuth
- type DatastoreCLIMetadata
- type DatastoreCircuitBreakerConfiguration
- type DatastoreCreatePortalLinkRequest
- type DatastoreCustomResponse
- type DatastoreDeliveryAttempt
- type DatastoreDeliveryMode
- type DatastoreDevice
- type DatastoreDeviceStatus
- type DatastoreEncodingType
- type DatastoreEndpoint
- type DatastoreEndpointAuthentication
- type DatastoreEndpointAuthenticationType
- type DatastoreEndpointStatus
- type DatastoreEvent
- type DatastoreEventDeliveryStatus
- type DatastoreEventStatus
- type DatastoreFilterConfiguration
- type DatastoreFilterSchema
- type DatastoreGooglePubSubConfig
- type DatastoreHMac
- type DatastoreHttpHeader
- type DatastoreKafkaAuth
- type DatastoreKafkaPubSubConfig
- type DatastoreM
- type DatastoreMetaEventAttempt
- type DatastoreMetaEventConfiguration
- type DatastoreMetaEventType
- type DatastoreMetadata
- type DatastoreMtlsClientCert
- type DatastoreOAuth2
- type DatastoreOAuth2AuthenticationType
- type DatastoreOAuth2ExpiryTimeUnit
- type DatastoreOAuth2FieldMapping
- type DatastoreOAuth2SigningKey
- type DatastorePaginationData
- type DatastorePortalAuthType
- type DatastorePortalLinkResponse
- type DatastoreProjectConfig
- type DatastoreProjectStatistics
- type DatastoreProjectType
- type DatastoreProviderConfig
- type DatastorePubSubConfig
- type DatastorePubSubType
- type DatastoreRateLimitConfiguration
- type DatastoreRetryConfiguration
- type DatastoreRole
- type DatastoreSQSPubSubConfig
- type DatastoreSSLConfiguration
- type DatastoreSecret
- type DatastoreSignatureConfiguration
- type DatastoreSignatureVersion
- type DatastoreSource
- type DatastoreSourceProvider
- type DatastoreSourceType
- type DatastoreStrategyConfiguration
- type DatastoreStrategyProvider
- type DatastoreSubscriptionType
- type DatastoreTwitterProviderConfig
- type DatastoreUpdatePortalLinkRequest
- type DatastoreVerifierConfig
- type DatastoreVerifierType
- type DeleteEndpointResponse
- func (r DeleteEndpointResponse) ContentType() string
- func (r DeleteEndpointResponse) GetBody() []byte
- func (r DeleteEndpointResponse) GetJSON200() ...
- func (r DeleteEndpointResponse) GetJSON400() ...
- func (r DeleteEndpointResponse) GetJSON401() ...
- func (r DeleteEndpointResponse) GetJSON404() ...
- func (r DeleteEndpointResponse) Status() string
- func (r DeleteEndpointResponse) StatusCode() int
- type DeleteFilterResponse
- func (r DeleteFilterResponse) ContentType() string
- func (r DeleteFilterResponse) GetBody() []byte
- func (r DeleteFilterResponse) GetJSON200() ...
- func (r DeleteFilterResponse) GetJSON400() ...
- func (r DeleteFilterResponse) GetJSON401() ...
- func (r DeleteFilterResponse) GetJSON404() ...
- func (r DeleteFilterResponse) Status() string
- func (r DeleteFilterResponse) StatusCode() int
- type DeleteProjectResponse
- func (r DeleteProjectResponse) ContentType() string
- func (r DeleteProjectResponse) GetBody() []byte
- func (r DeleteProjectResponse) GetJSON200() ...
- func (r DeleteProjectResponse) GetJSON400() ...
- func (r DeleteProjectResponse) GetJSON401() ...
- func (r DeleteProjectResponse) GetJSON403() ...
- func (r DeleteProjectResponse) GetJSON404() ...
- func (r DeleteProjectResponse) Status() string
- func (r DeleteProjectResponse) StatusCode() int
- type DeleteSourceResponse
- func (r DeleteSourceResponse) ContentType() string
- func (r DeleteSourceResponse) GetBody() []byte
- func (r DeleteSourceResponse) GetJSON200() ...
- func (r DeleteSourceResponse) GetJSON400() ...
- func (r DeleteSourceResponse) GetJSON401() ...
- func (r DeleteSourceResponse) GetJSON404() ...
- func (r DeleteSourceResponse) Status() string
- func (r DeleteSourceResponse) StatusCode() int
- type DeleteSubscriptionResponse
- func (r DeleteSubscriptionResponse) ContentType() string
- func (r DeleteSubscriptionResponse) GetBody() []byte
- func (r DeleteSubscriptionResponse) GetJSON200() ...
- func (r DeleteSubscriptionResponse) GetJSON400() ...
- func (r DeleteSubscriptionResponse) GetJSON401() ...
- func (r DeleteSubscriptionResponse) GetJSON404() ...
- func (r DeleteSubscriptionResponse) Status() string
- func (r DeleteSubscriptionResponse) StatusCode() int
- type DeprecateEventTypeResponse
- func (r DeprecateEventTypeResponse) ContentType() string
- func (r DeprecateEventTypeResponse) GetBody() []byte
- func (r DeprecateEventTypeResponse) GetJSON201() ...
- func (r DeprecateEventTypeResponse) GetJSON400() ...
- func (r DeprecateEventTypeResponse) GetJSON401() ...
- func (r DeprecateEventTypeResponse) GetJSON404() ...
- func (r DeprecateEventTypeResponse) Status() string
- func (r DeprecateEventTypeResponse) StatusCode() int
- type ExpireSecretJSONRequestBody
- type ExpireSecretResponse
- func (r ExpireSecretResponse) ContentType() string
- func (r ExpireSecretResponse) GetBody() []byte
- func (r ExpireSecretResponse) GetJSON200() ...
- func (r ExpireSecretResponse) GetJSON400() ...
- func (r ExpireSecretResponse) GetJSON401() ...
- func (r ExpireSecretResponse) GetJSON404() ...
- func (r ExpireSecretResponse) Status() string
- func (r ExpireSecretResponse) StatusCode() int
- type ForceResendEventDeliveriesJSONRequestBody
- type ForceResendEventDeliveriesResponse
- func (r ForceResendEventDeliveriesResponse) ContentType() string
- func (r ForceResendEventDeliveriesResponse) GetBody() []byte
- func (r ForceResendEventDeliveriesResponse) GetJSON200() ...
- func (r ForceResendEventDeliveriesResponse) GetJSON400() ...
- func (r ForceResendEventDeliveriesResponse) GetJSON401() ...
- func (r ForceResendEventDeliveriesResponse) GetJSON404() ...
- func (r ForceResendEventDeliveriesResponse) Status() string
- func (r ForceResendEventDeliveriesResponse) StatusCode() int
- type GetDeliveryAttemptResponse
- func (r GetDeliveryAttemptResponse) ContentType() string
- func (r GetDeliveryAttemptResponse) GetBody() []byte
- func (r GetDeliveryAttemptResponse) GetJSON200() ...
- func (r GetDeliveryAttemptResponse) GetJSON400() ...
- func (r GetDeliveryAttemptResponse) GetJSON401() ...
- func (r GetDeliveryAttemptResponse) GetJSON404() ...
- func (r GetDeliveryAttemptResponse) Status() string
- func (r GetDeliveryAttemptResponse) StatusCode() int
- type GetDeliveryAttemptsResponse
- func (r GetDeliveryAttemptsResponse) ContentType() string
- func (r GetDeliveryAttemptsResponse) GetBody() []byte
- func (r GetDeliveryAttemptsResponse) GetJSON200() ...
- func (r GetDeliveryAttemptsResponse) GetJSON400() ...
- func (r GetDeliveryAttemptsResponse) GetJSON401() ...
- func (r GetDeliveryAttemptsResponse) GetJSON404() ...
- func (r GetDeliveryAttemptsResponse) Status() string
- func (r GetDeliveryAttemptsResponse) StatusCode() int
- type GetEndpointEventResponse
- func (r GetEndpointEventResponse) ContentType() string
- func (r GetEndpointEventResponse) GetBody() []byte
- func (r GetEndpointEventResponse) GetJSON200() ...
- func (r GetEndpointEventResponse) GetJSON400() ...
- func (r GetEndpointEventResponse) GetJSON401() ...
- func (r GetEndpointEventResponse) GetJSON404() ...
- func (r GetEndpointEventResponse) Status() string
- func (r GetEndpointEventResponse) StatusCode() int
- type GetEndpointResponse
- func (r GetEndpointResponse) ContentType() string
- func (r GetEndpointResponse) GetBody() []byte
- func (r GetEndpointResponse) GetJSON200() ...
- func (r GetEndpointResponse) GetJSON400() ...
- func (r GetEndpointResponse) GetJSON401() ...
- func (r GetEndpointResponse) GetJSON404() ...
- func (r GetEndpointResponse) Status() string
- func (r GetEndpointResponse) StatusCode() int
- type GetEndpointsParams
- type GetEndpointsParamsDirection
- type GetEndpointsResponse
- func (r GetEndpointsResponse) ContentType() string
- func (r GetEndpointsResponse) GetBody() []byte
- func (r GetEndpointsResponse) GetJSON200() ...
- func (r GetEndpointsResponse) GetJSON400() ...
- func (r GetEndpointsResponse) GetJSON401() ...
- func (r GetEndpointsResponse) GetJSON404() ...
- func (r GetEndpointsResponse) Status() string
- func (r GetEndpointsResponse) StatusCode() int
- type GetEventDeliveriesPagedParams
- type GetEventDeliveriesPagedParamsDirection
- type GetEventDeliveriesPagedResponse
- func (r GetEventDeliveriesPagedResponse) ContentType() string
- func (r GetEventDeliveriesPagedResponse) GetBody() []byte
- func (r GetEventDeliveriesPagedResponse) GetJSON200() ...
- func (r GetEventDeliveriesPagedResponse) GetJSON400() ...
- func (r GetEventDeliveriesPagedResponse) GetJSON401() ...
- func (r GetEventDeliveriesPagedResponse) GetJSON404() ...
- func (r GetEventDeliveriesPagedResponse) Status() string
- func (r GetEventDeliveriesPagedResponse) StatusCode() int
- type GetEventDeliveryResponse
- func (r GetEventDeliveryResponse) ContentType() string
- func (r GetEventDeliveryResponse) GetBody() []byte
- func (r GetEventDeliveryResponse) GetJSON200() ...
- func (r GetEventDeliveryResponse) GetJSON400() ...
- func (r GetEventDeliveryResponse) GetJSON401() ...
- func (r GetEventDeliveryResponse) GetJSON404() ...
- func (r GetEventDeliveryResponse) Status() string
- func (r GetEventDeliveryResponse) StatusCode() int
- type GetEventTypesResponse
- func (r GetEventTypesResponse) ContentType() string
- func (r GetEventTypesResponse) GetBody() []byte
- func (r GetEventTypesResponse) GetJSON200() ...
- func (r GetEventTypesResponse) GetJSON400() ...
- func (r GetEventTypesResponse) GetJSON401() ...
- func (r GetEventTypesResponse) GetJSON404() ...
- func (r GetEventTypesResponse) Status() string
- func (r GetEventTypesResponse) StatusCode() int
- type GetEventsPagedParams
- type GetEventsPagedParamsDirection
- type GetEventsPagedResponse
- func (r GetEventsPagedResponse) ContentType() string
- func (r GetEventsPagedResponse) GetBody() []byte
- func (r GetEventsPagedResponse) GetJSON200() ...
- func (r GetEventsPagedResponse) GetJSON400() ...
- func (r GetEventsPagedResponse) GetJSON401() ...
- func (r GetEventsPagedResponse) GetJSON404() ...
- func (r GetEventsPagedResponse) Status() string
- func (r GetEventsPagedResponse) StatusCode() int
- type GetFilterResponse
- func (r GetFilterResponse) ContentType() string
- func (r GetFilterResponse) GetBody() []byte
- func (r GetFilterResponse) GetJSON200() ...
- func (r GetFilterResponse) GetJSON400() ...
- func (r GetFilterResponse) GetJSON401() ...
- func (r GetFilterResponse) GetJSON404() ...
- func (r GetFilterResponse) Status() string
- func (r GetFilterResponse) StatusCode() int
- type GetFiltersResponse
- func (r GetFiltersResponse) ContentType() string
- func (r GetFiltersResponse) GetBody() []byte
- func (r GetFiltersResponse) GetJSON200() ...
- func (r GetFiltersResponse) GetJSON400() ...
- func (r GetFiltersResponse) GetJSON401() ...
- func (r GetFiltersResponse) GetJSON404() ...
- func (r GetFiltersResponse) Status() string
- func (r GetFiltersResponse) StatusCode() int
- type GetMetaEventResponse
- func (r GetMetaEventResponse) ContentType() string
- func (r GetMetaEventResponse) GetBody() []byte
- func (r GetMetaEventResponse) GetJSON200() ...
- func (r GetMetaEventResponse) GetJSON400() ...
- func (r GetMetaEventResponse) GetJSON401() ...
- func (r GetMetaEventResponse) GetJSON404() ...
- func (r GetMetaEventResponse) Status() string
- func (r GetMetaEventResponse) StatusCode() int
- type GetMetaEventsPagedParams
- type GetMetaEventsPagedParamsDirection
- type GetMetaEventsPagedResponse
- func (r GetMetaEventsPagedResponse) ContentType() string
- func (r GetMetaEventsPagedResponse) GetBody() []byte
- func (r GetMetaEventsPagedResponse) GetJSON200() ...
- func (r GetMetaEventsPagedResponse) GetJSON400() ...
- func (r GetMetaEventsPagedResponse) GetJSON401() ...
- func (r GetMetaEventsPagedResponse) GetJSON404() ...
- func (r GetMetaEventsPagedResponse) Status() string
- func (r GetMetaEventsPagedResponse) StatusCode() int
- type GetPortalLinkResponse
- func (r GetPortalLinkResponse) ContentType() string
- func (r GetPortalLinkResponse) GetBody() []byte
- func (r GetPortalLinkResponse) GetJSON200() ...
- func (r GetPortalLinkResponse) GetJSON400() ...
- func (r GetPortalLinkResponse) GetJSON401() ...
- func (r GetPortalLinkResponse) GetJSON404() ...
- func (r GetPortalLinkResponse) Status() string
- func (r GetPortalLinkResponse) StatusCode() int
- type GetProjectResponse
- func (r GetProjectResponse) ContentType() string
- func (r GetProjectResponse) GetBody() []byte
- func (r GetProjectResponse) GetJSON200() ...
- func (r GetProjectResponse) GetJSON400() ...
- func (r GetProjectResponse) GetJSON401() ...
- func (r GetProjectResponse) GetJSON404() ...
- func (r GetProjectResponse) Status() string
- func (r GetProjectResponse) StatusCode() int
- type GetProjectsParams
- type GetProjectsResponse
- func (r GetProjectsResponse) ContentType() string
- func (r GetProjectsResponse) GetBody() []byte
- func (r GetProjectsResponse) GetJSON200() ...
- func (r GetProjectsResponse) GetJSON400() ...
- func (r GetProjectsResponse) GetJSON401() ...
- func (r GetProjectsResponse) GetJSON404() ...
- func (r GetProjectsResponse) Status() string
- func (r GetProjectsResponse) StatusCode() int
- type GetSourceResponse
- func (r GetSourceResponse) ContentType() string
- func (r GetSourceResponse) GetBody() []byte
- func (r GetSourceResponse) GetJSON200() ...
- func (r GetSourceResponse) GetJSON400() ...
- func (r GetSourceResponse) GetJSON401() ...
- func (r GetSourceResponse) GetJSON404() ...
- func (r GetSourceResponse) Status() string
- func (r GetSourceResponse) StatusCode() int
- type GetSubscriptionResponse
- func (r GetSubscriptionResponse) ContentType() string
- func (r GetSubscriptionResponse) GetBody() []byte
- func (r GetSubscriptionResponse) GetJSON200() ...
- func (r GetSubscriptionResponse) GetJSON400() ...
- func (r GetSubscriptionResponse) GetJSON401() ...
- func (r GetSubscriptionResponse) GetJSON404() ...
- func (r GetSubscriptionResponse) Status() string
- func (r GetSubscriptionResponse) StatusCode() int
- type GetSubscriptionsParams
- type GetSubscriptionsParamsDirection
- type GetSubscriptionsResponse
- func (r GetSubscriptionsResponse) ContentType() string
- func (r GetSubscriptionsResponse) GetBody() []byte
- func (r GetSubscriptionsResponse) GetJSON200() ...
- func (r GetSubscriptionsResponse) GetJSON400() ...
- func (r GetSubscriptionsResponse) GetJSON401() ...
- func (r GetSubscriptionsResponse) GetJSON404() ...
- func (r GetSubscriptionsResponse) Status() string
- func (r GetSubscriptionsResponse) StatusCode() int
- type HandlersStub
- type HttpRequestDoer
- type HttpheaderHTTPHeader
- type ImportOpenApiSpecJSONRequestBody
- type ImportOpenApiSpecResponse
- func (r ImportOpenApiSpecResponse) ContentType() string
- func (r ImportOpenApiSpecResponse) GetBody() []byte
- func (r ImportOpenApiSpecResponse) GetJSON200() ...
- func (r ImportOpenApiSpecResponse) GetJSON400() ...
- func (r ImportOpenApiSpecResponse) GetJSON401() ...
- func (r ImportOpenApiSpecResponse) GetJSON404() ...
- func (r ImportOpenApiSpecResponse) Status() string
- func (r ImportOpenApiSpecResponse) StatusCode() int
- type LoadPortalLinksPagedParams
- type LoadPortalLinksPagedParamsDirection
- type LoadPortalLinksPagedResponse
- func (r LoadPortalLinksPagedResponse) ContentType() string
- func (r LoadPortalLinksPagedResponse) GetBody() []byte
- func (r LoadPortalLinksPagedResponse) GetJSON200() ...
- func (r LoadPortalLinksPagedResponse) GetJSON400() ...
- func (r LoadPortalLinksPagedResponse) GetJSON401() ...
- func (r LoadPortalLinksPagedResponse) GetJSON404() ...
- func (r LoadPortalLinksPagedResponse) Status() string
- func (r LoadPortalLinksPagedResponse) StatusCode() int
- type LoadSourcesPagedParams
- type LoadSourcesPagedParamsDirection
- type LoadSourcesPagedResponse
- func (r LoadSourcesPagedResponse) ContentType() string
- func (r LoadSourcesPagedResponse) GetBody() []byte
- func (r LoadSourcesPagedResponse) GetJSON200() ...
- func (r LoadSourcesPagedResponse) GetJSON400() ...
- func (r LoadSourcesPagedResponse) GetJSON401() ...
- func (r LoadSourcesPagedResponse) GetJSON404() ...
- func (r LoadSourcesPagedResponse) Status() string
- func (r LoadSourcesPagedResponse) StatusCode() int
- type ModelsAlertConfiguration
- type ModelsAmqpAuth
- type ModelsAmqpExchange
- type ModelsAmqpPubSubconfig
- type ModelsApiKey
- type ModelsBasicAuth
- type ModelsBroadcastEvent
- type ModelsBulkOnboardAcceptedResponse
- type ModelsBulkOnboardDryRunResponse
- type ModelsBulkOnboardRequest
- type ModelsBulkUpdateFilterRequest
- type ModelsCountResponse
- type ModelsCreateEndpoint
- type ModelsCreateEvent
- type ModelsCreateEventType
- type ModelsCreateFilterRequest
- type ModelsCreateProject
- type ModelsCreateProjectResponse
- type ModelsCreateSource
- type ModelsCreateSubscription
- type ModelsCustomResponse
- type ModelsDynamicEvent
- type ModelsEndpointAuthentication
- type ModelsEndpointResponse
- type ModelsEventDeliveryResponse
- type ModelsEventResponse
- type ModelsEventTypeResponse
- type ModelsExpireSecret
- type ModelsFS
- type ModelsFanoutEvent
- type ModelsFilterConfiguration
- type ModelsFilterResponse
- type ModelsFilterSchema
- type ModelsFunctionRequest
- type ModelsFunctionResponse
- type ModelsGooglePubSubConfig
- type ModelsHMac
- type ModelsIDs
- type ModelsImportOpenAPISpec
- type ModelsKafkaAuth
- type ModelsKafkaPubSubConfig
- type ModelsMetaEventConfiguration
- type ModelsMetaEventResponse
- type ModelsMtlsClientCert
- type ModelsOAuth2
- type ModelsOAuth2FieldMapping
- type ModelsOAuth2SigningKey
- type ModelsOnboardItem
- type ModelsOnboardValidationError
- type ModelsOptionalTime
- type ModelsPagedResponse
- type ModelsProjectConfig
- type ModelsProjectResponse
- type ModelsPubSubConfig
- type ModelsRateLimitConfiguration
- type ModelsRetryConfiguration
- type ModelsSQSPubSubConfig
- type ModelsSSLConfiguration
- type ModelsSignatureConfiguration
- type ModelsSignatureVersion
- type ModelsSourceResponse
- type ModelsStrategyConfiguration
- type ModelsSubscriptionResponse
- type ModelsTestFilter
- type ModelsTestFilterRequest
- type ModelsTestFilterRequestScopes
- type ModelsTestFilterResponse
- type ModelsTestOAuth2Request
- type ModelsTestOAuth2Response
- type ModelsUpdateCustomResponse
- type ModelsUpdateEndpoint
- type ModelsUpdateEventType
- type ModelsUpdateFilterRequest
- type ModelsUpdateProject
- type ModelsUpdateSource
- type ModelsUpdateSubscription
- type ModelsVerifierConfig
- type PauseEndpointResponse
- func (r PauseEndpointResponse) ContentType() string
- func (r PauseEndpointResponse) GetBody() []byte
- func (r PauseEndpointResponse) GetJSON202() ...
- func (r PauseEndpointResponse) GetJSON400() ...
- func (r PauseEndpointResponse) GetJSON401() ...
- func (r PauseEndpointResponse) GetJSON404() ...
- func (r PauseEndpointResponse) Status() string
- func (r PauseEndpointResponse) StatusCode() int
- type PostV1ProjectsProjectIDSourcesTestFunctionJSONRequestBody
- type PostV1ProjectsProjectIDSourcesTestFunctionResponse
- func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) ContentType() string
- func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetBody() []byte
- func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON200() ...
- func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON400() ...
- func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON401() ...
- func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON404() ...
- func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) Status() string
- func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) StatusCode() int
- type RefreshPortalLinkAuthTokenResponse
- func (r RefreshPortalLinkAuthTokenResponse) ContentType() string
- func (r RefreshPortalLinkAuthTokenResponse) GetBody() []byte
- func (r RefreshPortalLinkAuthTokenResponse) GetJSON200() ...
- func (r RefreshPortalLinkAuthTokenResponse) GetJSON400() ...
- func (r RefreshPortalLinkAuthTokenResponse) GetJSON401() ...
- func (r RefreshPortalLinkAuthTokenResponse) GetJSON404() ...
- func (r RefreshPortalLinkAuthTokenResponse) Status() string
- func (r RefreshPortalLinkAuthTokenResponse) StatusCode() int
- type ReplayEndpointEventResponse
- func (r ReplayEndpointEventResponse) ContentType() string
- func (r ReplayEndpointEventResponse) GetBody() []byte
- func (r ReplayEndpointEventResponse) GetJSON200() ...
- func (r ReplayEndpointEventResponse) GetJSON400() ...
- func (r ReplayEndpointEventResponse) GetJSON401() ...
- func (r ReplayEndpointEventResponse) GetJSON404() ...
- func (r ReplayEndpointEventResponse) Status() string
- func (r ReplayEndpointEventResponse) StatusCode() int
- type RequestEditorFn
- type ResendEventDeliveryResponse
- func (r ResendEventDeliveryResponse) ContentType() string
- func (r ResendEventDeliveryResponse) GetBody() []byte
- func (r ResendEventDeliveryResponse) GetJSON200() ...
- func (r ResendEventDeliveryResponse) GetJSON400() ...
- func (r ResendEventDeliveryResponse) GetJSON401() ...
- func (r ResendEventDeliveryResponse) GetJSON404() ...
- func (r ResendEventDeliveryResponse) Status() string
- func (r ResendEventDeliveryResponse) StatusCode() int
- type ResendMetaEventResponse
- func (r ResendMetaEventResponse) ContentType() string
- func (r ResendMetaEventResponse) GetBody() []byte
- func (r ResendMetaEventResponse) GetJSON200() ...
- func (r ResendMetaEventResponse) GetJSON400() ...
- func (r ResendMetaEventResponse) GetJSON401() ...
- func (r ResendMetaEventResponse) GetJSON404() ...
- func (r ResendMetaEventResponse) Status() string
- func (r ResendMetaEventResponse) StatusCode() int
- type RevokePortalLinkResponse
- func (r RevokePortalLinkResponse) ContentType() string
- func (r RevokePortalLinkResponse) GetBody() []byte
- func (r RevokePortalLinkResponse) GetJSON200() ...
- func (r RevokePortalLinkResponse) GetJSON400() ...
- func (r RevokePortalLinkResponse) GetJSON401() ...
- func (r RevokePortalLinkResponse) GetJSON404() ...
- func (r RevokePortalLinkResponse) Status() string
- func (r RevokePortalLinkResponse) StatusCode() int
- type TestFilterJSONRequestBody
- type TestFilterResponse
- func (r TestFilterResponse) ContentType() string
- func (r TestFilterResponse) GetBody() []byte
- func (r TestFilterResponse) GetJSON200() ...
- func (r TestFilterResponse) GetJSON400() ...
- func (r TestFilterResponse) GetJSON401() ...
- func (r TestFilterResponse) GetJSON404() ...
- func (r TestFilterResponse) Status() string
- func (r TestFilterResponse) StatusCode() int
- type TestOAuth2ConnectionJSONRequestBody
- type TestOAuth2ConnectionResponse
- func (r TestOAuth2ConnectionResponse) ContentType() string
- func (r TestOAuth2ConnectionResponse) GetBody() []byte
- func (r TestOAuth2ConnectionResponse) GetJSON200() ...
- func (r TestOAuth2ConnectionResponse) GetJSON400() ...
- func (r TestOAuth2ConnectionResponse) GetJSON401() ...
- func (r TestOAuth2ConnectionResponse) GetJSON404() ...
- func (r TestOAuth2ConnectionResponse) Status() string
- func (r TestOAuth2ConnectionResponse) StatusCode() int
- type TestSubscriptionFilterJSONRequestBody
- type TestSubscriptionFilterResponse
- func (r TestSubscriptionFilterResponse) ContentType() string
- func (r TestSubscriptionFilterResponse) GetBody() []byte
- func (r TestSubscriptionFilterResponse) GetJSON200() ...
- func (r TestSubscriptionFilterResponse) GetJSON400() ...
- func (r TestSubscriptionFilterResponse) GetJSON401() ...
- func (r TestSubscriptionFilterResponse) GetJSON404() ...
- func (r TestSubscriptionFilterResponse) Status() string
- func (r TestSubscriptionFilterResponse) StatusCode() int
- type TestSubscriptionFunctionJSONRequestBody
- type TestSubscriptionFunctionResponse
- func (r TestSubscriptionFunctionResponse) ContentType() string
- func (r TestSubscriptionFunctionResponse) GetBody() []byte
- func (r TestSubscriptionFunctionResponse) GetJSON200() ...
- func (r TestSubscriptionFunctionResponse) GetJSON400() ...
- func (r TestSubscriptionFunctionResponse) GetJSON401() ...
- func (r TestSubscriptionFunctionResponse) GetJSON404() ...
- func (r TestSubscriptionFunctionResponse) Status() string
- func (r TestSubscriptionFunctionResponse) StatusCode() int
- type ToggleSubscriptionStatusResponse
- func (r ToggleSubscriptionStatusResponse) ContentType() string
- func (r ToggleSubscriptionStatusResponse) GetBody() []byte
- func (r ToggleSubscriptionStatusResponse) GetJSON202() ...
- func (r ToggleSubscriptionStatusResponse) GetJSON400() ...
- func (r ToggleSubscriptionStatusResponse) GetJSON401() ...
- func (r ToggleSubscriptionStatusResponse) GetJSON404() ...
- func (r ToggleSubscriptionStatusResponse) Status() string
- func (r ToggleSubscriptionStatusResponse) StatusCode() int
- type UpdateEndpointJSONRequestBody
- type UpdateEndpointResponse
- func (r UpdateEndpointResponse) ContentType() string
- func (r UpdateEndpointResponse) GetBody() []byte
- func (r UpdateEndpointResponse) GetJSON202() ...
- func (r UpdateEndpointResponse) GetJSON400() ...
- func (r UpdateEndpointResponse) GetJSON401() ...
- func (r UpdateEndpointResponse) GetJSON404() ...
- func (r UpdateEndpointResponse) Status() string
- func (r UpdateEndpointResponse) StatusCode() int
- type UpdateEventTypeJSONRequestBody
- type UpdateEventTypeResponse
- func (r UpdateEventTypeResponse) ContentType() string
- func (r UpdateEventTypeResponse) GetBody() []byte
- func (r UpdateEventTypeResponse) GetJSON201() ...
- func (r UpdateEventTypeResponse) GetJSON400() ...
- func (r UpdateEventTypeResponse) GetJSON401() ...
- func (r UpdateEventTypeResponse) GetJSON404() ...
- func (r UpdateEventTypeResponse) Status() string
- func (r UpdateEventTypeResponse) StatusCode() int
- type UpdateFilterJSONRequestBody
- type UpdateFilterResponse
- func (r UpdateFilterResponse) ContentType() string
- func (r UpdateFilterResponse) GetBody() []byte
- func (r UpdateFilterResponse) GetJSON200() ...
- func (r UpdateFilterResponse) GetJSON400() ...
- func (r UpdateFilterResponse) GetJSON401() ...
- func (r UpdateFilterResponse) GetJSON404() ...
- func (r UpdateFilterResponse) Status() string
- func (r UpdateFilterResponse) StatusCode() int
- type UpdatePortalLinkJSONRequestBody
- type UpdatePortalLinkResponse
- func (r UpdatePortalLinkResponse) ContentType() string
- func (r UpdatePortalLinkResponse) GetBody() []byte
- func (r UpdatePortalLinkResponse) GetJSON202() ...
- func (r UpdatePortalLinkResponse) GetJSON400() ...
- func (r UpdatePortalLinkResponse) GetJSON401() ...
- func (r UpdatePortalLinkResponse) GetJSON404() ...
- func (r UpdatePortalLinkResponse) Status() string
- func (r UpdatePortalLinkResponse) StatusCode() int
- type UpdateProjectJSONRequestBody
- type UpdateProjectResponse
- func (r UpdateProjectResponse) ContentType() string
- func (r UpdateProjectResponse) GetBody() []byte
- func (r UpdateProjectResponse) GetJSON202() ...
- func (r UpdateProjectResponse) GetJSON400() ...
- func (r UpdateProjectResponse) GetJSON401() ...
- func (r UpdateProjectResponse) GetJSON403() ...
- func (r UpdateProjectResponse) GetJSON404() ...
- func (r UpdateProjectResponse) Status() string
- func (r UpdateProjectResponse) StatusCode() int
- type UpdateSourceJSONRequestBody
- type UpdateSourceResponse
- func (r UpdateSourceResponse) ContentType() string
- func (r UpdateSourceResponse) GetBody() []byte
- func (r UpdateSourceResponse) GetJSON202() ...
- func (r UpdateSourceResponse) GetJSON400() ...
- func (r UpdateSourceResponse) GetJSON401() ...
- func (r UpdateSourceResponse) GetJSON404() ...
- func (r UpdateSourceResponse) Status() string
- func (r UpdateSourceResponse) StatusCode() int
- type UpdateSubscriptionJSONRequestBody
- type UpdateSubscriptionResponse
- func (r UpdateSubscriptionResponse) ContentType() string
- func (r UpdateSubscriptionResponse) GetBody() []byte
- func (r UpdateSubscriptionResponse) GetJSON202() ...
- func (r UpdateSubscriptionResponse) GetJSON400() ...
- func (r UpdateSubscriptionResponse) GetJSON401() ...
- func (r UpdateSubscriptionResponse) GetJSON404() ...
- func (r UpdateSubscriptionResponse) Status() string
- func (r UpdateSubscriptionResponse) StatusCode() int
- type UtilServerResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActivateEndpointRequest ¶
func NewActivateEndpointRequest(server string, projectID string, endpointID string) (*http.Request, error)
NewActivateEndpointRequest constructs an http.Request for the ActivateEndpoint method
func NewBatchReplayEventsRequest ¶
func NewBatchReplayEventsRequest(server string, projectID string, params *BatchReplayEventsParams) (*http.Request, error)
NewBatchReplayEventsRequest constructs an http.Request for the BatchReplayEvents method
func NewBatchRetryEventDeliveryRequest ¶
func NewBatchRetryEventDeliveryRequest(server string, projectID string, params *BatchRetryEventDeliveryParams) (*http.Request, error)
NewBatchRetryEventDeliveryRequest constructs an http.Request for the BatchRetryEventDelivery method
func NewBulkCreateFiltersRequest ¶
func NewBulkCreateFiltersRequest(server string, projectID string, subscriptionID string, body BulkCreateFiltersJSONRequestBody) (*http.Request, error)
NewBulkCreateFiltersRequest calls the generic BulkCreateFilters builder with application/json body
func NewBulkCreateFiltersRequestWithBody ¶
func NewBulkCreateFiltersRequestWithBody(server string, projectID string, subscriptionID string, contentType string, body io.Reader) (*http.Request, error)
NewBulkCreateFiltersRequestWithBody constructs an http.Request for the BulkCreateFilters method, with any body, and a specified content type
func NewBulkOnboardRequest ¶
func NewBulkOnboardRequest(server string, projectID string, params *BulkOnboardParams, body BulkOnboardJSONRequestBody) (*http.Request, error)
NewBulkOnboardRequest calls the generic BulkOnboard builder with application/json body
func NewBulkOnboardRequestWithBody ¶
func NewBulkOnboardRequestWithBody(server string, projectID string, params *BulkOnboardParams, contentType string, body io.Reader) (*http.Request, error)
NewBulkOnboardRequestWithBody constructs an http.Request for the BulkOnboard method, with any body, and a specified content type
func NewBulkUpdateFiltersRequest ¶
func NewBulkUpdateFiltersRequest(server string, projectID string, subscriptionID string, body BulkUpdateFiltersJSONRequestBody) (*http.Request, error)
NewBulkUpdateFiltersRequest calls the generic BulkUpdateFilters builder with application/json body
func NewBulkUpdateFiltersRequestWithBody ¶
func NewBulkUpdateFiltersRequestWithBody(server string, projectID string, subscriptionID string, contentType string, body io.Reader) (*http.Request, error)
NewBulkUpdateFiltersRequestWithBody constructs an http.Request for the BulkUpdateFilters method, with any body, and a specified content type
func NewCountAffectedEventsRequest ¶
func NewCountAffectedEventsRequest(server string, projectID string, params *CountAffectedEventsParams) (*http.Request, error)
NewCountAffectedEventsRequest constructs an http.Request for the CountAffectedEvents method
func NewCreateBroadcastEventRequest ¶
func NewCreateBroadcastEventRequest(server string, projectID string, body CreateBroadcastEventJSONRequestBody) (*http.Request, error)
NewCreateBroadcastEventRequest calls the generic CreateBroadcastEvent builder with application/json body
func NewCreateBroadcastEventRequestWithBody ¶
func NewCreateBroadcastEventRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateBroadcastEventRequestWithBody constructs an http.Request for the CreateBroadcastEvent method, with any body, and a specified content type
func NewCreateDynamicEventRequest ¶
func NewCreateDynamicEventRequest(server string, projectID string, body CreateDynamicEventJSONRequestBody) (*http.Request, error)
NewCreateDynamicEventRequest calls the generic CreateDynamicEvent builder with application/json body
func NewCreateDynamicEventRequestWithBody ¶
func NewCreateDynamicEventRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDynamicEventRequestWithBody constructs an http.Request for the CreateDynamicEvent method, with any body, and a specified content type
func NewCreateEndpointEventRequest ¶
func NewCreateEndpointEventRequest(server string, projectID string, body CreateEndpointEventJSONRequestBody) (*http.Request, error)
NewCreateEndpointEventRequest calls the generic CreateEndpointEvent builder with application/json body
func NewCreateEndpointEventRequestWithBody ¶
func NewCreateEndpointEventRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEndpointEventRequestWithBody constructs an http.Request for the CreateEndpointEvent method, with any body, and a specified content type
func NewCreateEndpointFanoutEventRequest ¶
func NewCreateEndpointFanoutEventRequest(server string, projectID string, body CreateEndpointFanoutEventJSONRequestBody) (*http.Request, error)
NewCreateEndpointFanoutEventRequest calls the generic CreateEndpointFanoutEvent builder with application/json body
func NewCreateEndpointFanoutEventRequestWithBody ¶
func NewCreateEndpointFanoutEventRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEndpointFanoutEventRequestWithBody constructs an http.Request for the CreateEndpointFanoutEvent method, with any body, and a specified content type
func NewCreateEndpointRequest ¶
func NewCreateEndpointRequest(server string, projectID string, body CreateEndpointJSONRequestBody) (*http.Request, error)
NewCreateEndpointRequest calls the generic CreateEndpoint builder with application/json body
func NewCreateEndpointRequestWithBody ¶
func NewCreateEndpointRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEndpointRequestWithBody constructs an http.Request for the CreateEndpoint method, with any body, and a specified content type
func NewCreateEventTypeRequest ¶
func NewCreateEventTypeRequest(server string, projectID string, body CreateEventTypeJSONRequestBody) (*http.Request, error)
NewCreateEventTypeRequest calls the generic CreateEventType builder with application/json body
func NewCreateEventTypeRequestWithBody ¶
func NewCreateEventTypeRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEventTypeRequestWithBody constructs an http.Request for the CreateEventType method, with any body, and a specified content type
func NewCreateFilterRequest ¶
func NewCreateFilterRequest(server string, projectID string, subscriptionID string, body CreateFilterJSONRequestBody) (*http.Request, error)
NewCreateFilterRequest calls the generic CreateFilter builder with application/json body
func NewCreateFilterRequestWithBody ¶
func NewCreateFilterRequestWithBody(server string, projectID string, subscriptionID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFilterRequestWithBody constructs an http.Request for the CreateFilter method, with any body, and a specified content type
func NewCreatePortalLinkRequest ¶
func NewCreatePortalLinkRequest(server string, projectID string, body CreatePortalLinkJSONRequestBody) (*http.Request, error)
NewCreatePortalLinkRequest calls the generic CreatePortalLink builder with application/json body
func NewCreatePortalLinkRequestWithBody ¶
func NewCreatePortalLinkRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePortalLinkRequestWithBody constructs an http.Request for the CreatePortalLink method, with any body, and a specified content type
func NewCreateProjectRequest ¶
func NewCreateProjectRequest(server string, params *CreateProjectParams, body CreateProjectJSONRequestBody) (*http.Request, error)
NewCreateProjectRequest calls the generic CreateProject builder with application/json body
func NewCreateProjectRequestWithBody ¶
func NewCreateProjectRequestWithBody(server string, params *CreateProjectParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectRequestWithBody constructs an http.Request for the CreateProject method, with any body, and a specified content type
func NewCreateSourceRequest ¶
func NewCreateSourceRequest(server string, projectID string, body CreateSourceJSONRequestBody) (*http.Request, error)
NewCreateSourceRequest calls the generic CreateSource builder with application/json body
func NewCreateSourceRequestWithBody ¶
func NewCreateSourceRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSourceRequestWithBody constructs an http.Request for the CreateSource method, with any body, and a specified content type
func NewCreateSubscriptionRequest ¶
func NewCreateSubscriptionRequest(server string, projectID string, body CreateSubscriptionJSONRequestBody) (*http.Request, error)
NewCreateSubscriptionRequest calls the generic CreateSubscription builder with application/json body
func NewCreateSubscriptionRequestWithBody ¶
func NewCreateSubscriptionRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSubscriptionRequestWithBody constructs an http.Request for the CreateSubscription method, with any body, and a specified content type
func NewDeleteEndpointRequest ¶
func NewDeleteEndpointRequest(server string, projectID string, endpointID string) (*http.Request, error)
NewDeleteEndpointRequest constructs an http.Request for the DeleteEndpoint method
func NewDeleteFilterRequest ¶
func NewDeleteFilterRequest(server string, projectID string, subscriptionID string, filterID string) (*http.Request, error)
NewDeleteFilterRequest constructs an http.Request for the DeleteFilter method
func NewDeleteProjectRequest ¶
NewDeleteProjectRequest constructs an http.Request for the DeleteProject method
func NewDeleteSourceRequest ¶
func NewDeleteSourceRequest(server string, projectID string, sourceID string) (*http.Request, error)
NewDeleteSourceRequest constructs an http.Request for the DeleteSource method
func NewDeleteSubscriptionRequest ¶
func NewDeleteSubscriptionRequest(server string, projectID string, subscriptionID string) (*http.Request, error)
NewDeleteSubscriptionRequest constructs an http.Request for the DeleteSubscription method
func NewDeprecateEventTypeRequest ¶
func NewDeprecateEventTypeRequest(server string, projectID string, eventTypeId string) (*http.Request, error)
NewDeprecateEventTypeRequest constructs an http.Request for the DeprecateEventType method
func NewExpireSecretRequest ¶
func NewExpireSecretRequest(server string, projectID string, endpointID string, body ExpireSecretJSONRequestBody) (*http.Request, error)
NewExpireSecretRequest calls the generic ExpireSecret builder with application/json body
func NewExpireSecretRequestWithBody ¶
func NewExpireSecretRequestWithBody(server string, projectID string, endpointID string, contentType string, body io.Reader) (*http.Request, error)
NewExpireSecretRequestWithBody constructs an http.Request for the ExpireSecret method, with any body, and a specified content type
func NewForceResendEventDeliveriesRequest ¶
func NewForceResendEventDeliveriesRequest(server string, projectID string, body ForceResendEventDeliveriesJSONRequestBody) (*http.Request, error)
NewForceResendEventDeliveriesRequest calls the generic ForceResendEventDeliveries builder with application/json body
func NewForceResendEventDeliveriesRequestWithBody ¶
func NewForceResendEventDeliveriesRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewForceResendEventDeliveriesRequestWithBody constructs an http.Request for the ForceResendEventDeliveries method, with any body, and a specified content type
func NewGetDeliveryAttemptRequest ¶
func NewGetDeliveryAttemptRequest(server string, projectID string, eventDeliveryID string, deliveryAttemptID string) (*http.Request, error)
NewGetDeliveryAttemptRequest constructs an http.Request for the GetDeliveryAttempt method
func NewGetDeliveryAttemptsRequest ¶
func NewGetDeliveryAttemptsRequest(server string, projectID string, eventDeliveryID string) (*http.Request, error)
NewGetDeliveryAttemptsRequest constructs an http.Request for the GetDeliveryAttempts method
func NewGetEndpointEventRequest ¶
func NewGetEndpointEventRequest(server string, projectID string, eventID string) (*http.Request, error)
NewGetEndpointEventRequest constructs an http.Request for the GetEndpointEvent method
func NewGetEndpointRequest ¶
func NewGetEndpointRequest(server string, projectID string, endpointID string) (*http.Request, error)
NewGetEndpointRequest constructs an http.Request for the GetEndpoint method
func NewGetEndpointsRequest ¶
func NewGetEndpointsRequest(server string, projectID string, params *GetEndpointsParams) (*http.Request, error)
NewGetEndpointsRequest constructs an http.Request for the GetEndpoints method
func NewGetEventDeliveriesPagedRequest ¶
func NewGetEventDeliveriesPagedRequest(server string, projectID string, params *GetEventDeliveriesPagedParams) (*http.Request, error)
NewGetEventDeliveriesPagedRequest constructs an http.Request for the GetEventDeliveriesPaged method
func NewGetEventDeliveryRequest ¶
func NewGetEventDeliveryRequest(server string, projectID string, eventDeliveryID string) (*http.Request, error)
NewGetEventDeliveryRequest constructs an http.Request for the GetEventDelivery method
func NewGetEventTypesRequest ¶
NewGetEventTypesRequest constructs an http.Request for the GetEventTypes method
func NewGetEventsPagedRequest ¶
func NewGetEventsPagedRequest(server string, projectID string, params *GetEventsPagedParams) (*http.Request, error)
NewGetEventsPagedRequest constructs an http.Request for the GetEventsPaged method
func NewGetFilterRequest ¶
func NewGetFilterRequest(server string, projectID string, subscriptionID string, filterID string) (*http.Request, error)
NewGetFilterRequest constructs an http.Request for the GetFilter method
func NewGetFiltersRequest ¶
func NewGetFiltersRequest(server string, projectID string, subscriptionID string) (*http.Request, error)
NewGetFiltersRequest constructs an http.Request for the GetFilters method
func NewGetMetaEventRequest ¶
func NewGetMetaEventRequest(server string, projectID string, metaEventID string) (*http.Request, error)
NewGetMetaEventRequest constructs an http.Request for the GetMetaEvent method
func NewGetMetaEventsPagedRequest ¶
func NewGetMetaEventsPagedRequest(server string, projectID string, params *GetMetaEventsPagedParams) (*http.Request, error)
NewGetMetaEventsPagedRequest constructs an http.Request for the GetMetaEventsPaged method
func NewGetPortalLinkRequest ¶
func NewGetPortalLinkRequest(server string, projectID string, portalLinkID string) (*http.Request, error)
NewGetPortalLinkRequest constructs an http.Request for the GetPortalLink method
func NewGetProjectRequest ¶
NewGetProjectRequest constructs an http.Request for the GetProject method
func NewGetProjectsRequest ¶
func NewGetProjectsRequest(server string, params *GetProjectsParams) (*http.Request, error)
NewGetProjectsRequest constructs an http.Request for the GetProjects method
func NewGetSourceRequest ¶
NewGetSourceRequest constructs an http.Request for the GetSource method
func NewGetSubscriptionRequest ¶
func NewGetSubscriptionRequest(server string, projectID string, subscriptionID string) (*http.Request, error)
NewGetSubscriptionRequest constructs an http.Request for the GetSubscription method
func NewGetSubscriptionsRequest ¶
func NewGetSubscriptionsRequest(server string, projectID string, params *GetSubscriptionsParams) (*http.Request, error)
NewGetSubscriptionsRequest constructs an http.Request for the GetSubscriptions method
func NewImportOpenApiSpecRequest ¶
func NewImportOpenApiSpecRequest(server string, projectID string, body ImportOpenApiSpecJSONRequestBody) (*http.Request, error)
NewImportOpenApiSpecRequest calls the generic ImportOpenApiSpec builder with application/json body
func NewImportOpenApiSpecRequestWithBody ¶
func NewImportOpenApiSpecRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewImportOpenApiSpecRequestWithBody constructs an http.Request for the ImportOpenApiSpec method, with any body, and a specified content type
func NewLoadPortalLinksPagedRequest ¶
func NewLoadPortalLinksPagedRequest(server string, projectID string, params *LoadPortalLinksPagedParams) (*http.Request, error)
NewLoadPortalLinksPagedRequest constructs an http.Request for the LoadPortalLinksPaged method
func NewLoadSourcesPagedRequest ¶
func NewLoadSourcesPagedRequest(server string, projectID string, params *LoadSourcesPagedParams) (*http.Request, error)
NewLoadSourcesPagedRequest constructs an http.Request for the LoadSourcesPaged method
func NewPauseEndpointRequest ¶
func NewPauseEndpointRequest(server string, projectID string, endpointID string) (*http.Request, error)
NewPauseEndpointRequest constructs an http.Request for the PauseEndpoint method
func NewPostV1ProjectsProjectIDSourcesTestFunctionRequest ¶
func NewPostV1ProjectsProjectIDSourcesTestFunctionRequest(server string, projectID string, body PostV1ProjectsProjectIDSourcesTestFunctionJSONRequestBody) (*http.Request, error)
NewPostV1ProjectsProjectIDSourcesTestFunctionRequest calls the generic PostV1ProjectsProjectIDSourcesTestFunction builder with application/json body
func NewPostV1ProjectsProjectIDSourcesTestFunctionRequestWithBody ¶
func NewPostV1ProjectsProjectIDSourcesTestFunctionRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ProjectsProjectIDSourcesTestFunctionRequestWithBody constructs an http.Request for the PostV1ProjectsProjectIDSourcesTestFunction method, with any body, and a specified content type
func NewRefreshPortalLinkAuthTokenRequest ¶
func NewRefreshPortalLinkAuthTokenRequest(server string, projectID string, portalLinkID string) (*http.Request, error)
NewRefreshPortalLinkAuthTokenRequest constructs an http.Request for the RefreshPortalLinkAuthToken method
func NewReplayEndpointEventRequest ¶
func NewReplayEndpointEventRequest(server string, projectID string, eventID string) (*http.Request, error)
NewReplayEndpointEventRequest constructs an http.Request for the ReplayEndpointEvent method
func NewResendEventDeliveryRequest ¶
func NewResendEventDeliveryRequest(server string, projectID string, eventDeliveryID string) (*http.Request, error)
NewResendEventDeliveryRequest constructs an http.Request for the ResendEventDelivery method
func NewResendMetaEventRequest ¶
func NewResendMetaEventRequest(server string, projectID string, metaEventID string) (*http.Request, error)
NewResendMetaEventRequest constructs an http.Request for the ResendMetaEvent method
func NewRevokePortalLinkRequest ¶
func NewRevokePortalLinkRequest(server string, projectID string, portalLinkID string) (*http.Request, error)
NewRevokePortalLinkRequest constructs an http.Request for the RevokePortalLink method
func NewTestFilterRequest ¶
func NewTestFilterRequest(server string, projectID string, subscriptionID string, eventType string, body TestFilterJSONRequestBody) (*http.Request, error)
NewTestFilterRequest calls the generic TestFilter builder with application/json body
func NewTestFilterRequestWithBody ¶
func NewTestFilterRequestWithBody(server string, projectID string, subscriptionID string, eventType string, contentType string, body io.Reader) (*http.Request, error)
NewTestFilterRequestWithBody constructs an http.Request for the TestFilter method, with any body, and a specified content type
func NewTestOAuth2ConnectionRequest ¶
func NewTestOAuth2ConnectionRequest(server string, projectID string, body TestOAuth2ConnectionJSONRequestBody) (*http.Request, error)
NewTestOAuth2ConnectionRequest calls the generic TestOAuth2Connection builder with application/json body
func NewTestOAuth2ConnectionRequestWithBody ¶
func NewTestOAuth2ConnectionRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewTestOAuth2ConnectionRequestWithBody constructs an http.Request for the TestOAuth2Connection method, with any body, and a specified content type
func NewTestSubscriptionFilterRequest ¶
func NewTestSubscriptionFilterRequest(server string, projectID string, body TestSubscriptionFilterJSONRequestBody) (*http.Request, error)
NewTestSubscriptionFilterRequest calls the generic TestSubscriptionFilter builder with application/json body
func NewTestSubscriptionFilterRequestWithBody ¶
func NewTestSubscriptionFilterRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewTestSubscriptionFilterRequestWithBody constructs an http.Request for the TestSubscriptionFilter method, with any body, and a specified content type
func NewTestSubscriptionFunctionRequest ¶
func NewTestSubscriptionFunctionRequest(server string, projectID string, body TestSubscriptionFunctionJSONRequestBody) (*http.Request, error)
NewTestSubscriptionFunctionRequest calls the generic TestSubscriptionFunction builder with application/json body
func NewTestSubscriptionFunctionRequestWithBody ¶
func NewTestSubscriptionFunctionRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewTestSubscriptionFunctionRequestWithBody constructs an http.Request for the TestSubscriptionFunction method, with any body, and a specified content type
func NewToggleSubscriptionStatusRequest ¶
func NewToggleSubscriptionStatusRequest(server string, projectID string, subscriptionID string) (*http.Request, error)
NewToggleSubscriptionStatusRequest constructs an http.Request for the ToggleSubscriptionStatus method
func NewUpdateEndpointRequest ¶
func NewUpdateEndpointRequest(server string, projectID string, endpointID string, body UpdateEndpointJSONRequestBody) (*http.Request, error)
NewUpdateEndpointRequest calls the generic UpdateEndpoint builder with application/json body
func NewUpdateEndpointRequestWithBody ¶
func NewUpdateEndpointRequestWithBody(server string, projectID string, endpointID string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEndpointRequestWithBody constructs an http.Request for the UpdateEndpoint method, with any body, and a specified content type
func NewUpdateEventTypeRequest ¶
func NewUpdateEventTypeRequest(server string, projectID string, eventTypeId string, body UpdateEventTypeJSONRequestBody) (*http.Request, error)
NewUpdateEventTypeRequest calls the generic UpdateEventType builder with application/json body
func NewUpdateEventTypeRequestWithBody ¶
func NewUpdateEventTypeRequestWithBody(server string, projectID string, eventTypeId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEventTypeRequestWithBody constructs an http.Request for the UpdateEventType method, with any body, and a specified content type
func NewUpdateFilterRequest ¶
func NewUpdateFilterRequest(server string, projectID string, subscriptionID string, filterID string, body UpdateFilterJSONRequestBody) (*http.Request, error)
NewUpdateFilterRequest calls the generic UpdateFilter builder with application/json body
func NewUpdateFilterRequestWithBody ¶
func NewUpdateFilterRequestWithBody(server string, projectID string, subscriptionID string, filterID string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFilterRequestWithBody constructs an http.Request for the UpdateFilter method, with any body, and a specified content type
func NewUpdatePortalLinkRequest ¶
func NewUpdatePortalLinkRequest(server string, projectID string, portalLinkID string, body UpdatePortalLinkJSONRequestBody) (*http.Request, error)
NewUpdatePortalLinkRequest calls the generic UpdatePortalLink builder with application/json body
func NewUpdatePortalLinkRequestWithBody ¶
func NewUpdatePortalLinkRequestWithBody(server string, projectID string, portalLinkID string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePortalLinkRequestWithBody constructs an http.Request for the UpdatePortalLink method, with any body, and a specified content type
func NewUpdateProjectRequest ¶
func NewUpdateProjectRequest(server string, projectID string, body UpdateProjectJSONRequestBody) (*http.Request, error)
NewUpdateProjectRequest calls the generic UpdateProject builder with application/json body
func NewUpdateProjectRequestWithBody ¶
func NewUpdateProjectRequestWithBody(server string, projectID string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProjectRequestWithBody constructs an http.Request for the UpdateProject method, with any body, and a specified content type
func NewUpdateSourceRequest ¶
func NewUpdateSourceRequest(server string, projectID string, sourceID string, body UpdateSourceJSONRequestBody) (*http.Request, error)
NewUpdateSourceRequest calls the generic UpdateSource builder with application/json body
func NewUpdateSourceRequestWithBody ¶
func NewUpdateSourceRequestWithBody(server string, projectID string, sourceID string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSourceRequestWithBody constructs an http.Request for the UpdateSource method, with any body, and a specified content type
func NewUpdateSubscriptionRequest ¶
func NewUpdateSubscriptionRequest(server string, projectID string, subscriptionID string, body UpdateSubscriptionJSONRequestBody) (*http.Request, error)
NewUpdateSubscriptionRequest calls the generic UpdateSubscription builder with application/json body
func NewUpdateSubscriptionRequestWithBody ¶
func NewUpdateSubscriptionRequestWithBody(server string, projectID string, subscriptionID string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSubscriptionRequestWithBody constructs an http.Request for the UpdateSubscription method, with any body, and a specified content type
Types ¶
type ActivateEndpointResponse ¶
type ActivateEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *ModelsEndpointResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseActivateEndpointResponse ¶
func ParseActivateEndpointResponse(rsp *http.Response) (*ActivateEndpointResponse, error)
ParseActivateEndpointResponse parses an HTTP response from a ActivateEndpointWithResponse call
func (ActivateEndpointResponse) ContentType ¶
func (r ActivateEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ActivateEndpointResponse) GetBody ¶
func (r ActivateEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ActivateEndpointResponse) GetJSON202 ¶
func (r ActivateEndpointResponse) GetJSON202() *struct { Data *ModelsEndpointResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ActivateEndpointResponse) GetJSON400 ¶
func (r ActivateEndpointResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ActivateEndpointResponse) GetJSON401 ¶
func (r ActivateEndpointResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ActivateEndpointResponse) GetJSON404 ¶
func (r ActivateEndpointResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ActivateEndpointResponse) Status ¶
func (r ActivateEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (ActivateEndpointResponse) StatusCode ¶
func (r ActivateEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthRoleType ¶
type AuthRoleType string
AuthRoleType defines model for auth.RoleType.
const ( AuthRoleTypeEmpty AuthRoleType = "" AuthRoleTypeRoleAPI AuthRoleType = "api" AuthRoleTypeRoleBillingAdmin AuthRoleType = "billing_admin" AuthRoleTypeRoleInstanceAdmin AuthRoleType = "instance_admin" AuthRoleTypeRoleOrganisationAdmin AuthRoleType = "organisation_admin" AuthRoleTypeRoleProjectAdmin AuthRoleType = "project_admin" AuthRoleTypeRoleProjectViewer AuthRoleType = "project_viewer" )
Defines values for AuthRoleType.
func (AuthRoleType) Valid ¶
func (e AuthRoleType) Valid() bool
Valid indicates whether the value is a known member of the AuthRoleType enum.
type BatchReplayEventsParams ¶
type BatchReplayEventsParams struct {
Direction *BatchReplayEventsParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// EndDate The end date
EndDate *string `form:"endDate,omitempty" json:"endDate,omitempty"`
// EndpointId A list of endpoint ids to filter by
EndpointId *[]string `form:"endpointId,omitempty" json:"endpointId,omitempty"`
// IdempotencyKey IdempotencyKey to filter by
IdempotencyKey *string `form:"idempotencyKey,omitempty" json:"idempotencyKey,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Query Any arbitrary value to filter the events payload
Query *string `form:"query,omitempty" json:"query,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
// SourceId A list of Source IDs to filter the events by.
SourceId *[]string `form:"sourceId,omitempty" json:"sourceId,omitempty"`
// StartDate The start date
StartDate *string `form:"startDate,omitempty" json:"startDate,omitempty"`
}
BatchReplayEventsParams defines parameters for BatchReplayEvents.
type BatchReplayEventsParamsDirection ¶
type BatchReplayEventsParamsDirection string
BatchReplayEventsParamsDirection defines parameters for BatchReplayEvents.
const ( BatchReplayEventsParamsDirectionNext BatchReplayEventsParamsDirection = "next" BatchReplayEventsParamsDirectionPrev BatchReplayEventsParamsDirection = "prev" )
Defines values for BatchReplayEventsParamsDirection.
func (BatchReplayEventsParamsDirection) Valid ¶
func (e BatchReplayEventsParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the BatchReplayEventsParamsDirection enum.
type BatchReplayEventsResponse ¶
type BatchReplayEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *string `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseBatchReplayEventsResponse ¶
func ParseBatchReplayEventsResponse(rsp *http.Response) (*BatchReplayEventsResponse, error)
ParseBatchReplayEventsResponse parses an HTTP response from a BatchReplayEventsWithResponse call
func (BatchReplayEventsResponse) ContentType ¶
func (r BatchReplayEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchReplayEventsResponse) GetBody ¶
func (r BatchReplayEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchReplayEventsResponse) GetJSON200 ¶
func (r BatchReplayEventsResponse) GetJSON200() *struct { Data *string `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BatchReplayEventsResponse) GetJSON400 ¶
func (r BatchReplayEventsResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (BatchReplayEventsResponse) GetJSON401 ¶
func (r BatchReplayEventsResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (BatchReplayEventsResponse) GetJSON404 ¶
func (r BatchReplayEventsResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BatchReplayEventsResponse) Status ¶
func (r BatchReplayEventsResponse) Status() string
Status returns HTTPResponse.Status
func (BatchReplayEventsResponse) StatusCode ¶
func (r BatchReplayEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BatchRetryEventDeliveryParams ¶
type BatchRetryEventDeliveryParams struct {
Direction *BatchRetryEventDeliveryParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// EndDate The end date
EndDate *string `form:"endDate,omitempty" json:"endDate,omitempty"`
// EndpointId A list of endpoint IDs to filter by
EndpointId *[]string `form:"endpointId,omitempty" json:"endpointId,omitempty"`
// EventId Event ID to filter by
EventId *string `form:"eventId,omitempty" json:"eventId,omitempty"`
// EventType EventType to filter by
EventType *string `form:"event_type,omitempty" json:"event_type,omitempty"`
// IdempotencyKey IdempotencyKey to filter by
IdempotencyKey *string `form:"idempotencyKey,omitempty" json:"idempotencyKey,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
// StartDate The start date
StartDate *string `form:"startDate,omitempty" json:"startDate,omitempty"`
// Status A list of event delivery statuses to filter by
Status *[]string `form:"status,omitempty" json:"status,omitempty"`
// SubscriptionId SubscriptionID to filter by
SubscriptionId *string `form:"subscriptionId,omitempty" json:"subscriptionId,omitempty"`
}
BatchRetryEventDeliveryParams defines parameters for BatchRetryEventDelivery.
type BatchRetryEventDeliveryParamsDirection ¶
type BatchRetryEventDeliveryParamsDirection string
BatchRetryEventDeliveryParamsDirection defines parameters for BatchRetryEventDelivery.
const ( BatchRetryEventDeliveryParamsDirectionNext BatchRetryEventDeliveryParamsDirection = "next" BatchRetryEventDeliveryParamsDirectionPrev BatchRetryEventDeliveryParamsDirection = "prev" )
Defines values for BatchRetryEventDeliveryParamsDirection.
func (BatchRetryEventDeliveryParamsDirection) Valid ¶
func (e BatchRetryEventDeliveryParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the BatchRetryEventDeliveryParamsDirection enum.
type BatchRetryEventDeliveryResponse ¶
type BatchRetryEventDeliveryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseBatchRetryEventDeliveryResponse ¶
func ParseBatchRetryEventDeliveryResponse(rsp *http.Response) (*BatchRetryEventDeliveryResponse, error)
ParseBatchRetryEventDeliveryResponse parses an HTTP response from a BatchRetryEventDeliveryWithResponse call
func (BatchRetryEventDeliveryResponse) ContentType ¶
func (r BatchRetryEventDeliveryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchRetryEventDeliveryResponse) GetBody ¶
func (r BatchRetryEventDeliveryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchRetryEventDeliveryResponse) GetJSON200 ¶
func (r BatchRetryEventDeliveryResponse) GetJSON200() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BatchRetryEventDeliveryResponse) GetJSON400 ¶
func (r BatchRetryEventDeliveryResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (BatchRetryEventDeliveryResponse) GetJSON401 ¶
func (r BatchRetryEventDeliveryResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (BatchRetryEventDeliveryResponse) GetJSON404 ¶
func (r BatchRetryEventDeliveryResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BatchRetryEventDeliveryResponse) Status ¶
func (r BatchRetryEventDeliveryResponse) Status() string
Status returns HTTPResponse.Status
func (BatchRetryEventDeliveryResponse) StatusCode ¶
func (r BatchRetryEventDeliveryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkCreateFiltersJSONBody ¶
type BulkCreateFiltersJSONBody = []ModelsCreateFilterRequest
BulkCreateFiltersJSONBody defines parameters for BulkCreateFilters.
type BulkCreateFiltersJSONRequestBody ¶
type BulkCreateFiltersJSONRequestBody = BulkCreateFiltersJSONBody
BulkCreateFiltersJSONRequestBody defines body for BulkCreateFilters for application/json ContentType.
type BulkCreateFiltersResponse ¶
type BulkCreateFiltersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *[]ModelsFilterResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseBulkCreateFiltersResponse ¶
func ParseBulkCreateFiltersResponse(rsp *http.Response) (*BulkCreateFiltersResponse, error)
ParseBulkCreateFiltersResponse parses an HTTP response from a BulkCreateFiltersWithResponse call
func (BulkCreateFiltersResponse) ContentType ¶
func (r BulkCreateFiltersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkCreateFiltersResponse) GetBody ¶
func (r BulkCreateFiltersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BulkCreateFiltersResponse) GetJSON201 ¶
func (r BulkCreateFiltersResponse) GetJSON201() *struct { Data *[]ModelsFilterResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (BulkCreateFiltersResponse) GetJSON400 ¶
func (r BulkCreateFiltersResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (BulkCreateFiltersResponse) GetJSON401 ¶
func (r BulkCreateFiltersResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (BulkCreateFiltersResponse) GetJSON404 ¶
func (r BulkCreateFiltersResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BulkCreateFiltersResponse) Status ¶
func (r BulkCreateFiltersResponse) Status() string
Status returns HTTPResponse.Status
func (BulkCreateFiltersResponse) StatusCode ¶
func (r BulkCreateFiltersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkOnboardJSONRequestBody ¶
type BulkOnboardJSONRequestBody = ModelsBulkOnboardRequest
BulkOnboardJSONRequestBody defines body for BulkOnboard for application/json ContentType.
type BulkOnboardParams ¶
type BulkOnboardParams struct {
// DryRun Validate without creating
DryRun *bool `form:"dry_run,omitempty" json:"dry_run,omitempty"`
}
BulkOnboardParams defines parameters for BulkOnboard.
type BulkOnboardResponse ¶
type BulkOnboardResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsBulkOnboardDryRunResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *ModelsBulkOnboardAcceptedResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseBulkOnboardResponse ¶
func ParseBulkOnboardResponse(rsp *http.Response) (*BulkOnboardResponse, error)
ParseBulkOnboardResponse parses an HTTP response from a BulkOnboardWithResponse call
func (BulkOnboardResponse) ContentType ¶
func (r BulkOnboardResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkOnboardResponse) GetBody ¶
func (r BulkOnboardResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BulkOnboardResponse) GetJSON200 ¶
func (r BulkOnboardResponse) GetJSON200() *struct { Data *ModelsBulkOnboardDryRunResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BulkOnboardResponse) GetJSON202 ¶
func (r BulkOnboardResponse) GetJSON202() *struct { Data *ModelsBulkOnboardAcceptedResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (BulkOnboardResponse) GetJSON400 ¶
func (r BulkOnboardResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (BulkOnboardResponse) GetJSON401 ¶
func (r BulkOnboardResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (BulkOnboardResponse) GetJSON404 ¶
func (r BulkOnboardResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BulkOnboardResponse) Status ¶
func (r BulkOnboardResponse) Status() string
Status returns HTTPResponse.Status
func (BulkOnboardResponse) StatusCode ¶
func (r BulkOnboardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkUpdateFiltersJSONBody ¶
type BulkUpdateFiltersJSONBody = []ModelsBulkUpdateFilterRequest
BulkUpdateFiltersJSONBody defines parameters for BulkUpdateFilters.
type BulkUpdateFiltersJSONRequestBody ¶
type BulkUpdateFiltersJSONRequestBody = BulkUpdateFiltersJSONBody
BulkUpdateFiltersJSONRequestBody defines body for BulkUpdateFilters for application/json ContentType.
type BulkUpdateFiltersResponse ¶
type BulkUpdateFiltersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *[]ModelsFilterResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseBulkUpdateFiltersResponse ¶
func ParseBulkUpdateFiltersResponse(rsp *http.Response) (*BulkUpdateFiltersResponse, error)
ParseBulkUpdateFiltersResponse parses an HTTP response from a BulkUpdateFiltersWithResponse call
func (BulkUpdateFiltersResponse) ContentType ¶
func (r BulkUpdateFiltersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkUpdateFiltersResponse) GetBody ¶
func (r BulkUpdateFiltersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BulkUpdateFiltersResponse) GetJSON200 ¶
func (r BulkUpdateFiltersResponse) GetJSON200() *struct { Data *[]ModelsFilterResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BulkUpdateFiltersResponse) GetJSON400 ¶
func (r BulkUpdateFiltersResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (BulkUpdateFiltersResponse) GetJSON401 ¶
func (r BulkUpdateFiltersResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (BulkUpdateFiltersResponse) GetJSON404 ¶
func (r BulkUpdateFiltersResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BulkUpdateFiltersResponse) Status ¶
func (r BulkUpdateFiltersResponse) Status() string
Status returns HTTPResponse.Status
func (BulkUpdateFiltersResponse) StatusCode ¶
func (r BulkUpdateFiltersResponse) 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) ActivateEndpoint ¶
func (c *Client) ActivateEndpoint(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*http.Response, error)
ActivateEndpoint Activate endpoint
Activated an inactive endpoint.
Corresponds with POST /v1/projects/{projectID}/endpoints/{endpointID}/activate (the `ActivateEndpoint` operationId).
func (*Client) BatchReplayEvents ¶
func (c *Client) BatchReplayEvents(ctx context.Context, projectID string, params *BatchReplayEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchReplayEvents Batch replay events
This endpoint replays multiple events at once.
Corresponds with POST /v1/projects/{projectID}/events/batchreplay (the `BatchReplayEvents` operationId).
func (*Client) BatchRetryEventDelivery ¶
func (c *Client) BatchRetryEventDelivery(ctx context.Context, projectID string, params *BatchRetryEventDeliveryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchRetryEventDelivery Batch retry event delivery
This endpoint batch retries multiple event deliveries at once.
Corresponds with POST /v1/projects/{projectID}/eventdeliveries/batchretry (the `BatchRetryEventDelivery` operationId).
func (*Client) BulkCreateFilters ¶
func (c *Client) BulkCreateFilters(ctx context.Context, projectID string, subscriptionID string, body BulkCreateFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkCreateFilters Create multiple subscription filters
This endpoint creates multiple filters for a subscription.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk (the `BulkCreateFilters` operationId).
func (*Client) BulkCreateFiltersWithBody ¶
func (c *Client) BulkCreateFiltersWithBody(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkCreateFiltersWithBody Create multiple subscription filters
This endpoint creates multiple filters for a subscription.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk (the `BulkCreateFilters` operationId).
func (*Client) BulkOnboard ¶
func (c *Client) BulkOnboard(ctx context.Context, projectID string, params *BulkOnboardParams, body BulkOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkOnboard Bulk onboard endpoints with subscriptions
This endpoint bulk-creates endpoints with subscriptions from a JSON body. A CSV file upload is also accepted over raw HTTP as multipart/form-data with a "file" field; generated SDK clients only expose the JSON body.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/onboard (the `BulkOnboard` operationId).
func (*Client) BulkOnboardWithBody ¶
func (c *Client) BulkOnboardWithBody(ctx context.Context, projectID string, params *BulkOnboardParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkOnboardWithBody Bulk onboard endpoints with subscriptions
This endpoint bulk-creates endpoints with subscriptions from a JSON body. A CSV file upload is also accepted over raw HTTP as multipart/form-data with a "file" field; generated SDK clients only expose the JSON body.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/onboard (the `BulkOnboard` operationId).
func (*Client) BulkUpdateFilters ¶
func (c *Client) BulkUpdateFilters(ctx context.Context, projectID string, subscriptionID string, body BulkUpdateFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkUpdateFilters Update multiple subscription filters
This endpoint updates multiple filters for a subscription.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk_update (the `BulkUpdateFilters` operationId).
func (*Client) BulkUpdateFiltersWithBody ¶
func (c *Client) BulkUpdateFiltersWithBody(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkUpdateFiltersWithBody Update multiple subscription filters
This endpoint updates multiple filters for a subscription.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk_update (the `BulkUpdateFilters` operationId).
func (*Client) CountAffectedEvents ¶
func (c *Client) CountAffectedEvents(ctx context.Context, projectID string, params *CountAffectedEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CountAffectedEvents Count events matching batch replay filters
This endpoint returns how many events would be affected by a batch replay with the given filters.
Corresponds with GET /v1/projects/{projectID}/events/countbatchreplayevents (the `CountAffectedEvents` operationId).
func (*Client) CreateBroadcastEvent ¶
func (c *Client) CreateBroadcastEvent(ctx context.Context, projectID string, body CreateBroadcastEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBroadcastEvent Create a broadcast event
This endpoint creates a event that is broadcast to every endpoint whose subscription matches the given event type.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/events/broadcast (the `CreateBroadcastEvent` operationId).
func (*Client) CreateBroadcastEventWithBody ¶
func (c *Client) CreateBroadcastEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBroadcastEventWithBody Create a broadcast event
This endpoint creates a event that is broadcast to every endpoint whose subscription matches the given event type.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/events/broadcast (the `CreateBroadcastEvent` operationId).
func (*Client) CreateDynamicEvent ¶
func (c *Client) CreateDynamicEvent(ctx context.Context, projectID string, body CreateDynamicEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDynamicEvent Dynamic Events
This endpoint does not require creating endpoint and subscriptions ahead of time. Instead, you supply the endpoint and the payload, and Convoy delivers the events
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/events/dynamic (the `CreateDynamicEvent` operationId).
func (*Client) CreateDynamicEventWithBody ¶
func (c *Client) CreateDynamicEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDynamicEventWithBody Dynamic Events
This endpoint does not require creating endpoint and subscriptions ahead of time. Instead, you supply the endpoint and the payload, and Convoy delivers the events
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/events/dynamic (the `CreateDynamicEvent` operationId).
func (*Client) CreateEndpoint ¶
func (c *Client) CreateEndpoint(ctx context.Context, projectID string, body CreateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEndpoint Create an endpoint
This endpoint creates an endpoint.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/endpoints (the `CreateEndpoint` operationId).
func (*Client) CreateEndpointEvent ¶
func (c *Client) CreateEndpointEvent(ctx context.Context, projectID string, body CreateEndpointEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEndpointEvent Create an event
This endpoint creates an endpoint event.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/events (the `CreateEndpointEvent` operationId).
func (*Client) CreateEndpointEventWithBody ¶
func (c *Client) CreateEndpointEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEndpointEventWithBody Create an event
This endpoint creates an endpoint event.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/events (the `CreateEndpointEvent` operationId).
func (*Client) CreateEndpointFanoutEvent ¶
func (c *Client) CreateEndpointFanoutEvent(ctx context.Context, projectID string, body CreateEndpointFanoutEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEndpointFanoutEvent Fan out an event
This endpoint uses the owner_id to fan out an event to multiple endpoints.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/events/fanout (the `CreateEndpointFanoutEvent` operationId).
func (*Client) CreateEndpointFanoutEventWithBody ¶
func (c *Client) CreateEndpointFanoutEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEndpointFanoutEventWithBody Fan out an event
This endpoint uses the owner_id to fan out an event to multiple endpoints.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/events/fanout (the `CreateEndpointFanoutEvent` operationId).
func (*Client) CreateEndpointWithBody ¶
func (c *Client) CreateEndpointWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEndpointWithBody Create an endpoint
This endpoint creates an endpoint.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/endpoints (the `CreateEndpoint` operationId).
func (*Client) CreateEventType ¶
func (c *Client) CreateEventType(ctx context.Context, projectID string, body CreateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEventType Create an event type
This endpoint creates an event type.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/event-types (the `CreateEventType` operationId).
func (*Client) CreateEventTypeWithBody ¶
func (c *Client) CreateEventTypeWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEventTypeWithBody Create an event type
This endpoint creates an event type.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/event-types (the `CreateEventType` operationId).
func (*Client) CreateFilter ¶
func (c *Client) CreateFilter(ctx context.Context, projectID string, subscriptionID string, body CreateFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFilter Create a new filter
This endpoint creates a new filter for a subscription.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `CreateFilter` operationId).
func (*Client) CreateFilterWithBody ¶
func (c *Client) CreateFilterWithBody(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFilterWithBody Create a new filter
This endpoint creates a new filter for a subscription.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `CreateFilter` operationId).
func (*Client) CreatePortalLink ¶
func (c *Client) CreatePortalLink(ctx context.Context, projectID string, body CreatePortalLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePortalLink Create a portal link
This endpoint creates a portal link.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/portal-links (the `CreatePortalLink` operationId).
func (*Client) CreatePortalLinkWithBody ¶
func (c *Client) CreatePortalLinkWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePortalLinkWithBody Create a portal link
This endpoint creates a portal link.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/portal-links (the `CreatePortalLink` operationId).
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProject Create a project
This endpoint creates a project. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter. The response includes the project and a one-time project API key.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects (the `CreateProject` operationId).
func (*Client) CreateProjectWithBody ¶
func (c *Client) CreateProjectWithBody(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectWithBody Create a project
This endpoint creates a project. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter. The response includes the project and a one-time project API key.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects (the `CreateProject` operationId).
func (*Client) CreateSource ¶
func (c *Client) CreateSource(ctx context.Context, projectID string, body CreateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSource Create a source
This endpoint creates a source.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/sources (the `CreateSource` operationId).
func (*Client) CreateSourceWithBody ¶
func (c *Client) CreateSourceWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSourceWithBody Create a source
This endpoint creates a source.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/sources (the `CreateSource` operationId).
func (*Client) CreateSubscription ¶
func (c *Client) CreateSubscription(ctx context.Context, projectID string, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSubscription Create a subscription
This endpoint creates a subscriptions.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions (the `CreateSubscription` operationId).
func (*Client) CreateSubscriptionWithBody ¶
func (c *Client) CreateSubscriptionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSubscriptionWithBody Create a subscription
This endpoint creates a subscriptions.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions (the `CreateSubscription` operationId).
func (*Client) DeleteEndpoint ¶
func (c *Client) DeleteEndpoint(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEndpoint Delete endpoint
This endpoint deletes an endpoint.
Corresponds with DELETE /v1/projects/{projectID}/endpoints/{endpointID} (the `DeleteEndpoint` operationId).
func (*Client) DeleteFilter ¶
func (c *Client) DeleteFilter(ctx context.Context, projectID string, subscriptionID string, filterID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteFilter Delete a filter
This endpoint deletes a filter.
Corresponds with DELETE /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `DeleteFilter` operationId).
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteProject Delete a project
This endpoint deletes a project.
Corresponds with DELETE /v1/projects/{projectID} (the `DeleteProject` operationId).
func (*Client) DeleteSource ¶
func (c *Client) DeleteSource(ctx context.Context, projectID string, sourceID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSource Delete a source
This endpoint deletes a source.
Corresponds with DELETE /v1/projects/{projectID}/sources/{sourceID} (the `DeleteSource` operationId).
func (*Client) DeleteSubscription ¶
func (c *Client) DeleteSubscription(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSubscription Delete subscription
This endpoint deletes a subscription.
Corresponds with DELETE /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `DeleteSubscription` operationId).
func (*Client) DeprecateEventType ¶
func (c *Client) DeprecateEventType(ctx context.Context, projectID string, eventTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeprecateEventType Deprecates an event type
This endpoint deprecates an event type.
Corresponds with POST /v1/projects/{projectID}/event-types/{eventTypeId}/deprecate (the `DeprecateEventType` operationId).
func (*Client) ExpireSecret ¶
func (c *Client) ExpireSecret(ctx context.Context, projectID string, endpointID string, body ExpireSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExpireSecret Roll endpoint secret
This endpoint expires and re-generates the endpoint secret.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/expire_secret (the `ExpireSecret` operationId).
func (*Client) ExpireSecretWithBody ¶
func (c *Client) ExpireSecretWithBody(ctx context.Context, projectID string, endpointID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExpireSecretWithBody Roll endpoint secret
This endpoint expires and re-generates the endpoint secret.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/expire_secret (the `ExpireSecret` operationId).
func (*Client) ForceResendEventDeliveries ¶
func (c *Client) ForceResendEventDeliveries(ctx context.Context, projectID string, body ForceResendEventDeliveriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ForceResendEventDeliveries Force retry event delivery
This endpoint enables you retry a previously successful event delivery.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/eventdeliveries/forceresend (the `ForceResendEventDeliveries` operationId).
func (*Client) ForceResendEventDeliveriesWithBody ¶
func (c *Client) ForceResendEventDeliveriesWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ForceResendEventDeliveriesWithBody Force retry event delivery
This endpoint enables you retry a previously successful event delivery.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/eventdeliveries/forceresend (the `ForceResendEventDeliveries` operationId).
func (*Client) GetDeliveryAttempt ¶
func (c *Client) GetDeliveryAttempt(ctx context.Context, projectID string, eventDeliveryID string, deliveryAttemptID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeliveryAttempt Retrieve a delivery attempt
This endpoint fetches an app event delivery attempt.
Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/deliveryattempts/{deliveryAttemptID} (the `GetDeliveryAttempt` operationId).
func (*Client) GetDeliveryAttempts ¶
func (c *Client) GetDeliveryAttempts(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeliveryAttempts List delivery attempts
This endpoint fetches an app message's delivery attempts.
Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/deliveryattempts (the `GetDeliveryAttempts` operationId).
func (*Client) GetEndpoint ¶
func (c *Client) GetEndpoint(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEndpoint Retrieve endpoint
This endpoint fetches an endpoint.
Corresponds with GET /v1/projects/{projectID}/endpoints/{endpointID} (the `GetEndpoint` operationId).
func (*Client) GetEndpointEvent ¶
func (c *Client) GetEndpointEvent(ctx context.Context, projectID string, eventID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEndpointEvent Retrieve an event
This endpoint retrieves an event.
Corresponds with GET /v1/projects/{projectID}/events/{eventID} (the `GetEndpointEvent` operationId).
func (*Client) GetEndpoints ¶
func (c *Client) GetEndpoints(ctx context.Context, projectID string, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEndpoints List all endpoints
This endpoint fetches an endpoints.
Corresponds with GET /v1/projects/{projectID}/endpoints (the `GetEndpoints` operationId).
func (*Client) GetEventDeliveriesPaged ¶
func (c *Client) GetEventDeliveriesPaged(ctx context.Context, projectID string, params *GetEventDeliveriesPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventDeliveriesPaged List all event deliveries
This endpoint retrieves all event deliveries paginated.
Corresponds with GET /v1/projects/{projectID}/eventdeliveries (the `GetEventDeliveriesPaged` operationId).
func (*Client) GetEventDelivery ¶
func (c *Client) GetEventDelivery(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventDelivery Retrieve an event delivery
This endpoint fetches an event delivery.
Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID} (the `GetEventDelivery` operationId).
func (*Client) GetEventTypes ¶
func (c *Client) GetEventTypes(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventTypes Retrieves a project's event types
This endpoint fetches the project's event types.
Corresponds with GET /v1/projects/{projectID}/event-types (the `GetEventTypes` operationId).
func (*Client) GetEventsPaged ¶
func (c *Client) GetEventsPaged(ctx context.Context, projectID string, params *GetEventsPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEventsPaged List all events
This endpoint fetches app events with pagination.
Corresponds with GET /v1/projects/{projectID}/events (the `GetEventsPaged` operationId).
func (*Client) GetFilter ¶
func (c *Client) GetFilter(ctx context.Context, projectID string, subscriptionID string, filterID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFilter Get a filter
This endpoint retrieves a single filter.
Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `GetFilter` operationId).
func (*Client) GetFilters ¶
func (c *Client) GetFilters(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFilters List all filters
This endpoint fetches all filters for a subscription.
Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `GetFilters` operationId).
func (*Client) GetMetaEvent ¶
func (c *Client) GetMetaEvent(ctx context.Context, projectID string, metaEventID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMetaEvent Retrieve a meta event
This endpoint retrieves a meta event.
Corresponds with GET /v1/projects/{projectID}/meta-events/{metaEventID} (the `GetMetaEvent` operationId).
func (*Client) GetMetaEventsPaged ¶
func (c *Client) GetMetaEventsPaged(ctx context.Context, projectID string, params *GetMetaEventsPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMetaEventsPaged List all meta events
This endpoint fetches meta events with pagination.
Corresponds with GET /v1/projects/{projectID}/meta-events (the `GetMetaEventsPaged` operationId).
func (*Client) GetPortalLink ¶
func (c *Client) GetPortalLink(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPortalLink Retrieve a portal link
This endpoint retrieves a portal link by its id.
Corresponds with GET /v1/projects/{projectID}/portal-links/{portalLinkID} (the `GetPortalLink` operationId).
func (*Client) GetProject ¶
func (c *Client) GetProject(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProject Retrieve a project
This endpoint fetches a project by its id.
Corresponds with GET /v1/projects/{projectID} (the `GetProject` operationId).
func (*Client) GetProjects ¶
func (c *Client) GetProjects(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProjects List all projects
This endpoint fetches projects for an organisation. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter.
Corresponds with GET /v1/projects (the `GetProjects` operationId).
func (*Client) GetSource ¶
func (c *Client) GetSource(ctx context.Context, projectID string, sourceID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSource Retrieve a source
This endpoint retrieves a source by its id.
Corresponds with GET /v1/projects/{projectID}/sources/{sourceID} (the `GetSource` operationId).
func (*Client) GetSubscription ¶
func (c *Client) GetSubscription(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSubscription Retrieve a subscription
This endpoint retrieves a single subscription.
Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `GetSubscription` operationId).
func (*Client) GetSubscriptions ¶
func (c *Client) GetSubscriptions(ctx context.Context, projectID string, params *GetSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSubscriptions List all subscriptions
This endpoint fetches all the subscriptions.
Corresponds with GET /v1/projects/{projectID}/subscriptions (the `GetSubscriptions` operationId).
func (*Client) ImportOpenApiSpec ¶
func (c *Client) ImportOpenApiSpec(ctx context.Context, projectID string, body ImportOpenApiSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportOpenApiSpec Import event types from OpenAPI spec
This endpoint imports event types from an OpenAPI specification.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/event-types/import (the `ImportOpenApiSpec` operationId).
func (*Client) ImportOpenApiSpecWithBody ¶
func (c *Client) ImportOpenApiSpecWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportOpenApiSpecWithBody Import event types from OpenAPI spec
This endpoint imports event types from an OpenAPI specification.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/event-types/import (the `ImportOpenApiSpec` operationId).
func (*Client) LoadPortalLinksPaged ¶
func (c *Client) LoadPortalLinksPaged(ctx context.Context, projectID string, params *LoadPortalLinksPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadPortalLinksPaged List all portal links
This endpoint fetches multiple portal links.
Corresponds with GET /v1/projects/{projectID}/portal-links (the `LoadPortalLinksPaged` operationId).
func (*Client) LoadSourcesPaged ¶
func (c *Client) LoadSourcesPaged(ctx context.Context, projectID string, params *LoadSourcesPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadSourcesPaged List all sources
This endpoint fetches multiple sources.
Corresponds with GET /v1/projects/{projectID}/sources (the `LoadSourcesPaged` operationId).
func (*Client) PauseEndpoint ¶
func (c *Client) PauseEndpoint(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*http.Response, error)
PauseEndpoint Pause endpoint
Toggles an endpoint's status between active and paused states.
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/pause (the `PauseEndpoint` operationId).
func (*Client) PostV1ProjectsProjectIDSourcesTestFunction ¶
func (c *Client) PostV1ProjectsProjectIDSourcesTestFunction(ctx context.Context, projectID string, body PostV1ProjectsProjectIDSourcesTestFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsProjectIDSourcesTestFunction Validate source function
This endpoint validates that a filter will match a certain payload structure.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/sources/test_function (the `PostV1ProjectsProjectIDSourcesTestFunction` operationId).
func (*Client) PostV1ProjectsProjectIDSourcesTestFunctionWithBody ¶
func (c *Client) PostV1ProjectsProjectIDSourcesTestFunctionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1ProjectsProjectIDSourcesTestFunctionWithBody Validate source function
This endpoint validates that a filter will match a certain payload structure.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/sources/test_function (the `PostV1ProjectsProjectIDSourcesTestFunction` operationId).
func (*Client) RefreshPortalLinkAuthToken ¶
func (c *Client) RefreshPortalLinkAuthToken(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*http.Response, error)
RefreshPortalLinkAuthToken Get a portal link auth token
This endpoint retrieves a portal link auth token.
Corresponds with GET /v1/projects/{projectID}/portal-links/{portalLinkID}/refresh_token (the `RefreshPortalLinkAuthToken` operationId).
func (*Client) ReplayEndpointEvent ¶
func (c *Client) ReplayEndpointEvent(ctx context.Context, projectID string, eventID string, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplayEndpointEvent Replay event
This endpoint replays an event afresh assuming it is a new event.
Corresponds with PUT /v1/projects/{projectID}/events/{eventID}/replay (the `ReplayEndpointEvent` operationId).
func (*Client) ResendEventDelivery ¶
func (c *Client) ResendEventDelivery(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResendEventDelivery Retry event delivery
This endpoint retries an event delivery.
Corresponds with PUT /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/resend (the `ResendEventDelivery` operationId).
func (*Client) ResendMetaEvent ¶
func (c *Client) ResendMetaEvent(ctx context.Context, projectID string, metaEventID string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResendMetaEvent Retry meta event
This endpoint retries a meta event.
Corresponds with PUT /v1/projects/{projectID}/meta-events/{metaEventID}/resend (the `ResendMetaEvent` operationId).
func (*Client) RevokePortalLink ¶
func (c *Client) RevokePortalLink(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokePortalLink Revoke a portal link
This endpoint revokes a portal link.
Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID}/revoke (the `RevokePortalLink` operationId).
func (*Client) TestFilter ¶
func (c *Client) TestFilter(ctx context.Context, projectID string, subscriptionID string, eventType string, body TestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TestFilter Test a filter
This endpoint tests a filter against a payload.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/test/{eventType} (the `TestFilter` operationId).
func (*Client) TestFilterWithBody ¶
func (c *Client) TestFilterWithBody(ctx context.Context, projectID string, subscriptionID string, eventType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TestFilterWithBody Test a filter
This endpoint tests a filter against a payload.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/test/{eventType} (the `TestFilter` operationId).
func (*Client) TestOAuth2Connection ¶
func (c *Client) TestOAuth2Connection(ctx context.Context, projectID string, body TestOAuth2ConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TestOAuth2Connection Test OAuth2 connection
This endpoint tests the OAuth2 connection by attempting to exchange a token.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/endpoints/oauth2/test (the `TestOAuth2Connection` operationId).
func (*Client) TestOAuth2ConnectionWithBody ¶
func (c *Client) TestOAuth2ConnectionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TestOAuth2ConnectionWithBody Test OAuth2 connection
This endpoint tests the OAuth2 connection by attempting to exchange a token.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/endpoints/oauth2/test (the `TestOAuth2Connection` operationId).
func (*Client) TestSubscriptionFilter ¶
func (c *Client) TestSubscriptionFilter(ctx context.Context, projectID string, body TestSubscriptionFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TestSubscriptionFilter Validate subscription filter
This endpoint validates that a filter will match a certain payload structure.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/test_filter (the `TestSubscriptionFilter` operationId).
func (*Client) TestSubscriptionFilterWithBody ¶
func (c *Client) TestSubscriptionFilterWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TestSubscriptionFilterWithBody Validate subscription filter
This endpoint validates that a filter will match a certain payload structure.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/test_filter (the `TestSubscriptionFilter` operationId).
func (*Client) TestSubscriptionFunction ¶
func (c *Client) TestSubscriptionFunction(ctx context.Context, projectID string, body TestSubscriptionFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TestSubscriptionFunction Test a subscription function
This endpoint test runs a transform function against a payload.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/test_function (the `TestSubscriptionFunction` operationId).
func (*Client) TestSubscriptionFunctionWithBody ¶
func (c *Client) TestSubscriptionFunctionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TestSubscriptionFunctionWithBody Test a subscription function
This endpoint test runs a transform function against a payload.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{projectID}/subscriptions/test_function (the `TestSubscriptionFunction` operationId).
func (*Client) ToggleSubscriptionStatus ¶
func (c *Client) ToggleSubscriptionStatus(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
ToggleSubscriptionStatus Toggle subscription status
This endpoint toggles a subscription status. Retained for backward compatibility.
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/toggle_status (the `ToggleSubscriptionStatus` operationId).
func (*Client) UpdateEndpoint ¶
func (c *Client) UpdateEndpoint(ctx context.Context, projectID string, endpointID string, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEndpoint Update an endpoint
This endpoint updates an endpoint.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID} (the `UpdateEndpoint` operationId).
func (*Client) UpdateEndpointWithBody ¶
func (c *Client) UpdateEndpointWithBody(ctx context.Context, projectID string, endpointID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEndpointWithBody Update an endpoint
This endpoint updates an endpoint.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID} (the `UpdateEndpoint` operationId).
func (*Client) UpdateEventType ¶
func (c *Client) UpdateEventType(ctx context.Context, projectID string, eventTypeId string, body UpdateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEventType Updates an event type
This endpoint updates an event type.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{projectID}/event-types/{eventTypeId} (the `UpdateEventType` operationId).
func (*Client) UpdateEventTypeWithBody ¶
func (c *Client) UpdateEventTypeWithBody(ctx context.Context, projectID string, eventTypeId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEventTypeWithBody Updates an event type
This endpoint updates an event type.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{projectID}/event-types/{eventTypeId} (the `UpdateEventType` operationId).
func (*Client) UpdateFilter ¶
func (c *Client) UpdateFilter(ctx context.Context, projectID string, subscriptionID string, filterID string, body UpdateFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFilter Update a filter
This endpoint updates an existing filter.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `UpdateFilter` operationId).
func (*Client) UpdateFilterWithBody ¶
func (c *Client) UpdateFilterWithBody(ctx context.Context, projectID string, subscriptionID string, filterID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFilterWithBody Update a filter
This endpoint updates an existing filter.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `UpdateFilter` operationId).
func (*Client) UpdatePortalLink ¶
func (c *Client) UpdatePortalLink(ctx context.Context, projectID string, portalLinkID string, body UpdatePortalLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePortalLink Update a portal link
This endpoint updates a portal link.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID} (the `UpdatePortalLink` operationId).
func (*Client) UpdatePortalLinkWithBody ¶
func (c *Client) UpdatePortalLinkWithBody(ctx context.Context, projectID string, portalLinkID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePortalLinkWithBody Update a portal link
This endpoint updates a portal link.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID} (the `UpdatePortalLink` operationId).
func (*Client) UpdateProject ¶
func (c *Client) UpdateProject(ctx context.Context, projectID string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProject Update a project
This endpoint updates a project's name, logo, and config ¶
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{projectID} (the `UpdateProject` operationId).
func (*Client) UpdateProjectWithBody ¶
func (c *Client) UpdateProjectWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProjectWithBody Update a project
This endpoint updates a project's name, logo, and config ¶
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{projectID} (the `UpdateProject` operationId).
func (*Client) UpdateSource ¶
func (c *Client) UpdateSource(ctx context.Context, projectID string, sourceID string, body UpdateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSource Update a source
This endpoint updates a source.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{projectID}/sources/{sourceID} (the `UpdateSource` operationId).
func (*Client) UpdateSourceWithBody ¶
func (c *Client) UpdateSourceWithBody(ctx context.Context, projectID string, sourceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSourceWithBody Update a source
This endpoint updates a source.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{projectID}/sources/{sourceID} (the `UpdateSource` operationId).
func (*Client) UpdateSubscription ¶
func (c *Client) UpdateSubscription(ctx context.Context, projectID string, subscriptionID string, body UpdateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSubscription Update a subscription
This endpoint updates a subscription.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `UpdateSubscription` operationId).
func (*Client) UpdateSubscriptionWithBody ¶
func (c *Client) UpdateSubscriptionWithBody(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSubscriptionWithBody Update a subscription
This endpoint updates a subscription.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `UpdateSubscription` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetProjects List all projects
//
// This endpoint fetches projects for an organisation. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter.
//
// Corresponds with GET /v1/projects (the `GetProjects` operationId).
GetProjects(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectWithBody Create a project
//
// This endpoint creates a project. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter. The response includes the project and a one-time project API key.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects (the `CreateProject` operationId).
CreateProjectWithBody(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProject Create a project
//
// This endpoint creates a project. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter. The response includes the project and a one-time project API key.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects (the `CreateProject` operationId).
CreateProject(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProject Delete a project
//
// This endpoint deletes a project.
//
// Corresponds with DELETE /v1/projects/{projectID} (the `DeleteProject` operationId).
DeleteProject(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProject Retrieve a project
//
// This endpoint fetches a project by its id.
//
// Corresponds with GET /v1/projects/{projectID} (the `GetProject` operationId).
GetProject(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProjectWithBody Update a project
//
// This endpoint updates a project's name, logo, and config
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{projectID} (the `UpdateProject` operationId).
UpdateProjectWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProject Update a project
//
// This endpoint updates a project's name, logo, and config
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{projectID} (the `UpdateProject` operationId).
UpdateProject(ctx context.Context, projectID string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpoints List all endpoints
//
// This endpoint fetches an endpoints.
//
// Corresponds with GET /v1/projects/{projectID}/endpoints (the `GetEndpoints` operationId).
GetEndpoints(ctx context.Context, projectID string, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEndpointWithBody Create an endpoint
//
// This endpoint creates an endpoint.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/endpoints (the `CreateEndpoint` operationId).
CreateEndpointWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEndpoint Create an endpoint
//
// This endpoint creates an endpoint.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/endpoints (the `CreateEndpoint` operationId).
CreateEndpoint(ctx context.Context, projectID string, body CreateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestOAuth2ConnectionWithBody Test OAuth2 connection
//
// This endpoint tests the OAuth2 connection by attempting to exchange a token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/endpoints/oauth2/test (the `TestOAuth2Connection` operationId).
TestOAuth2ConnectionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestOAuth2Connection Test OAuth2 connection
//
// This endpoint tests the OAuth2 connection by attempting to exchange a token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/endpoints/oauth2/test (the `TestOAuth2Connection` operationId).
TestOAuth2Connection(ctx context.Context, projectID string, body TestOAuth2ConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEndpoint Delete endpoint
//
// This endpoint deletes an endpoint.
//
// Corresponds with DELETE /v1/projects/{projectID}/endpoints/{endpointID} (the `DeleteEndpoint` operationId).
DeleteEndpoint(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpoint Retrieve endpoint
//
// This endpoint fetches an endpoint.
//
// Corresponds with GET /v1/projects/{projectID}/endpoints/{endpointID} (the `GetEndpoint` operationId).
GetEndpoint(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEndpointWithBody Update an endpoint
//
// This endpoint updates an endpoint.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID} (the `UpdateEndpoint` operationId).
UpdateEndpointWithBody(ctx context.Context, projectID string, endpointID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEndpoint Update an endpoint
//
// This endpoint updates an endpoint.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID} (the `UpdateEndpoint` operationId).
UpdateEndpoint(ctx context.Context, projectID string, endpointID string, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActivateEndpoint Activate endpoint
//
// Activated an inactive endpoint.
//
// Corresponds with POST /v1/projects/{projectID}/endpoints/{endpointID}/activate (the `ActivateEndpoint` operationId).
ActivateEndpoint(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExpireSecretWithBody Roll endpoint secret
//
// This endpoint expires and re-generates the endpoint secret.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/expire_secret (the `ExpireSecret` operationId).
ExpireSecretWithBody(ctx context.Context, projectID string, endpointID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExpireSecret Roll endpoint secret
//
// This endpoint expires and re-generates the endpoint secret.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/expire_secret (the `ExpireSecret` operationId).
ExpireSecret(ctx context.Context, projectID string, endpointID string, body ExpireSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PauseEndpoint Pause endpoint
//
// Toggles an endpoint's status between active and paused states.
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/pause (the `PauseEndpoint` operationId).
PauseEndpoint(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventTypes Retrieves a project's event types
//
// This endpoint fetches the project's event types.
//
// Corresponds with GET /v1/projects/{projectID}/event-types (the `GetEventTypes` operationId).
GetEventTypes(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEventTypeWithBody Create an event type
//
// This endpoint creates an event type.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/event-types (the `CreateEventType` operationId).
CreateEventTypeWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEventType Create an event type
//
// This endpoint creates an event type.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/event-types (the `CreateEventType` operationId).
CreateEventType(ctx context.Context, projectID string, body CreateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportOpenApiSpecWithBody Import event types from OpenAPI spec
//
// This endpoint imports event types from an OpenAPI specification.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/event-types/import (the `ImportOpenApiSpec` operationId).
ImportOpenApiSpecWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportOpenApiSpec Import event types from OpenAPI spec
//
// This endpoint imports event types from an OpenAPI specification.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/event-types/import (the `ImportOpenApiSpec` operationId).
ImportOpenApiSpec(ctx context.Context, projectID string, body ImportOpenApiSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEventTypeWithBody Updates an event type
//
// This endpoint updates an event type.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{projectID}/event-types/{eventTypeId} (the `UpdateEventType` operationId).
UpdateEventTypeWithBody(ctx context.Context, projectID string, eventTypeId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEventType Updates an event type
//
// This endpoint updates an event type.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{projectID}/event-types/{eventTypeId} (the `UpdateEventType` operationId).
UpdateEventType(ctx context.Context, projectID string, eventTypeId string, body UpdateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeprecateEventType Deprecates an event type
//
// This endpoint deprecates an event type.
//
// Corresponds with POST /v1/projects/{projectID}/event-types/{eventTypeId}/deprecate (the `DeprecateEventType` operationId).
DeprecateEventType(ctx context.Context, projectID string, eventTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventDeliveriesPaged List all event deliveries
//
// This endpoint retrieves all event deliveries paginated.
//
// Corresponds with GET /v1/projects/{projectID}/eventdeliveries (the `GetEventDeliveriesPaged` operationId).
GetEventDeliveriesPaged(ctx context.Context, projectID string, params *GetEventDeliveriesPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchRetryEventDelivery Batch retry event delivery
//
// This endpoint batch retries multiple event deliveries at once.
//
// Corresponds with POST /v1/projects/{projectID}/eventdeliveries/batchretry (the `BatchRetryEventDelivery` operationId).
BatchRetryEventDelivery(ctx context.Context, projectID string, params *BatchRetryEventDeliveryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForceResendEventDeliveriesWithBody Force retry event delivery
//
// This endpoint enables you retry a previously successful event delivery.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/eventdeliveries/forceresend (the `ForceResendEventDeliveries` operationId).
ForceResendEventDeliveriesWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForceResendEventDeliveries Force retry event delivery
//
// This endpoint enables you retry a previously successful event delivery.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/eventdeliveries/forceresend (the `ForceResendEventDeliveries` operationId).
ForceResendEventDeliveries(ctx context.Context, projectID string, body ForceResendEventDeliveriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventDelivery Retrieve an event delivery
//
// This endpoint fetches an event delivery.
//
// Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID} (the `GetEventDelivery` operationId).
GetEventDelivery(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeliveryAttempts List delivery attempts
//
// This endpoint fetches an app message's delivery attempts.
//
// Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/deliveryattempts (the `GetDeliveryAttempts` operationId).
GetDeliveryAttempts(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeliveryAttempt Retrieve a delivery attempt
//
// This endpoint fetches an app event delivery attempt.
//
// Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/deliveryattempts/{deliveryAttemptID} (the `GetDeliveryAttempt` operationId).
GetDeliveryAttempt(ctx context.Context, projectID string, eventDeliveryID string, deliveryAttemptID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResendEventDelivery Retry event delivery
//
// This endpoint retries an event delivery.
//
// Corresponds with PUT /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/resend (the `ResendEventDelivery` operationId).
ResendEventDelivery(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventsPaged List all events
//
// This endpoint fetches app events with pagination.
//
// Corresponds with GET /v1/projects/{projectID}/events (the `GetEventsPaged` operationId).
GetEventsPaged(ctx context.Context, projectID string, params *GetEventsPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEndpointEventWithBody Create an event
//
// This endpoint creates an endpoint event.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/events (the `CreateEndpointEvent` operationId).
CreateEndpointEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEndpointEvent Create an event
//
// This endpoint creates an endpoint event.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/events (the `CreateEndpointEvent` operationId).
CreateEndpointEvent(ctx context.Context, projectID string, body CreateEndpointEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchReplayEvents Batch replay events
//
// This endpoint replays multiple events at once.
//
// Corresponds with POST /v1/projects/{projectID}/events/batchreplay (the `BatchReplayEvents` operationId).
BatchReplayEvents(ctx context.Context, projectID string, params *BatchReplayEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBroadcastEventWithBody Create a broadcast event
//
// This endpoint creates a event that is broadcast to every endpoint whose subscription matches the given event type.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/events/broadcast (the `CreateBroadcastEvent` operationId).
CreateBroadcastEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBroadcastEvent Create a broadcast event
//
// This endpoint creates a event that is broadcast to every endpoint whose subscription matches the given event type.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/events/broadcast (the `CreateBroadcastEvent` operationId).
CreateBroadcastEvent(ctx context.Context, projectID string, body CreateBroadcastEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CountAffectedEvents Count events matching batch replay filters
//
// This endpoint returns how many events would be affected by a batch replay with the given filters.
//
// Corresponds with GET /v1/projects/{projectID}/events/countbatchreplayevents (the `CountAffectedEvents` operationId).
CountAffectedEvents(ctx context.Context, projectID string, params *CountAffectedEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDynamicEventWithBody Dynamic Events
//
// This endpoint does not require creating endpoint and subscriptions ahead of time. Instead, you supply the endpoint and the payload, and Convoy delivers the events
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/events/dynamic (the `CreateDynamicEvent` operationId).
CreateDynamicEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDynamicEvent Dynamic Events
//
// This endpoint does not require creating endpoint and subscriptions ahead of time. Instead, you supply the endpoint and the payload, and Convoy delivers the events
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/events/dynamic (the `CreateDynamicEvent` operationId).
CreateDynamicEvent(ctx context.Context, projectID string, body CreateDynamicEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEndpointFanoutEventWithBody Fan out an event
//
// This endpoint uses the owner_id to fan out an event to multiple endpoints.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/events/fanout (the `CreateEndpointFanoutEvent` operationId).
CreateEndpointFanoutEventWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEndpointFanoutEvent Fan out an event
//
// This endpoint uses the owner_id to fan out an event to multiple endpoints.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/events/fanout (the `CreateEndpointFanoutEvent` operationId).
CreateEndpointFanoutEvent(ctx context.Context, projectID string, body CreateEndpointFanoutEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpointEvent Retrieve an event
//
// This endpoint retrieves an event.
//
// Corresponds with GET /v1/projects/{projectID}/events/{eventID} (the `GetEndpointEvent` operationId).
GetEndpointEvent(ctx context.Context, projectID string, eventID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplayEndpointEvent Replay event
//
// This endpoint replays an event afresh assuming it is a new event.
//
// Corresponds with PUT /v1/projects/{projectID}/events/{eventID}/replay (the `ReplayEndpointEvent` operationId).
ReplayEndpointEvent(ctx context.Context, projectID string, eventID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMetaEventsPaged List all meta events
//
// This endpoint fetches meta events with pagination.
//
// Corresponds with GET /v1/projects/{projectID}/meta-events (the `GetMetaEventsPaged` operationId).
GetMetaEventsPaged(ctx context.Context, projectID string, params *GetMetaEventsPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMetaEvent Retrieve a meta event
//
// This endpoint retrieves a meta event.
//
// Corresponds with GET /v1/projects/{projectID}/meta-events/{metaEventID} (the `GetMetaEvent` operationId).
GetMetaEvent(ctx context.Context, projectID string, metaEventID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResendMetaEvent Retry meta event
//
// This endpoint retries a meta event.
//
// Corresponds with PUT /v1/projects/{projectID}/meta-events/{metaEventID}/resend (the `ResendMetaEvent` operationId).
ResendMetaEvent(ctx context.Context, projectID string, metaEventID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkOnboardWithBody Bulk onboard endpoints with subscriptions
//
// This endpoint bulk-creates endpoints with subscriptions from a JSON body. A CSV file upload is also accepted over raw HTTP as multipart/form-data with a "file" field; generated SDK clients only expose the JSON body.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/onboard (the `BulkOnboard` operationId).
BulkOnboardWithBody(ctx context.Context, projectID string, params *BulkOnboardParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkOnboard Bulk onboard endpoints with subscriptions
//
// This endpoint bulk-creates endpoints with subscriptions from a JSON body. A CSV file upload is also accepted over raw HTTP as multipart/form-data with a "file" field; generated SDK clients only expose the JSON body.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/onboard (the `BulkOnboard` operationId).
BulkOnboard(ctx context.Context, projectID string, params *BulkOnboardParams, body BulkOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadPortalLinksPaged List all portal links
//
// This endpoint fetches multiple portal links.
//
// Corresponds with GET /v1/projects/{projectID}/portal-links (the `LoadPortalLinksPaged` operationId).
LoadPortalLinksPaged(ctx context.Context, projectID string, params *LoadPortalLinksPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePortalLinkWithBody Create a portal link
//
// This endpoint creates a portal link.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/portal-links (the `CreatePortalLink` operationId).
CreatePortalLinkWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePortalLink Create a portal link
//
// This endpoint creates a portal link.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/portal-links (the `CreatePortalLink` operationId).
CreatePortalLink(ctx context.Context, projectID string, body CreatePortalLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPortalLink Retrieve a portal link
//
// This endpoint retrieves a portal link by its id.
//
// Corresponds with GET /v1/projects/{projectID}/portal-links/{portalLinkID} (the `GetPortalLink` operationId).
GetPortalLink(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePortalLinkWithBody Update a portal link
//
// This endpoint updates a portal link.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID} (the `UpdatePortalLink` operationId).
UpdatePortalLinkWithBody(ctx context.Context, projectID string, portalLinkID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePortalLink Update a portal link
//
// This endpoint updates a portal link.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID} (the `UpdatePortalLink` operationId).
UpdatePortalLink(ctx context.Context, projectID string, portalLinkID string, body UpdatePortalLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefreshPortalLinkAuthToken Get a portal link auth token
//
// This endpoint retrieves a portal link auth token.
//
// Corresponds with GET /v1/projects/{projectID}/portal-links/{portalLinkID}/refresh_token (the `RefreshPortalLinkAuthToken` operationId).
RefreshPortalLinkAuthToken(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokePortalLink Revoke a portal link
//
// This endpoint revokes a portal link.
//
// Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID}/revoke (the `RevokePortalLink` operationId).
RevokePortalLink(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadSourcesPaged List all sources
//
// This endpoint fetches multiple sources.
//
// Corresponds with GET /v1/projects/{projectID}/sources (the `LoadSourcesPaged` operationId).
LoadSourcesPaged(ctx context.Context, projectID string, params *LoadSourcesPagedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSourceWithBody Create a source
//
// This endpoint creates a source.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/sources (the `CreateSource` operationId).
CreateSourceWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSource Create a source
//
// This endpoint creates a source.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/sources (the `CreateSource` operationId).
CreateSource(ctx context.Context, projectID string, body CreateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsProjectIDSourcesTestFunctionWithBody Validate source function
//
// This endpoint validates that a filter will match a certain payload structure.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/sources/test_function (the `PostV1ProjectsProjectIDSourcesTestFunction` operationId).
PostV1ProjectsProjectIDSourcesTestFunctionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ProjectsProjectIDSourcesTestFunction Validate source function
//
// This endpoint validates that a filter will match a certain payload structure.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/sources/test_function (the `PostV1ProjectsProjectIDSourcesTestFunction` operationId).
PostV1ProjectsProjectIDSourcesTestFunction(ctx context.Context, projectID string, body PostV1ProjectsProjectIDSourcesTestFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSource Delete a source
//
// This endpoint deletes a source.
//
// Corresponds with DELETE /v1/projects/{projectID}/sources/{sourceID} (the `DeleteSource` operationId).
DeleteSource(ctx context.Context, projectID string, sourceID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSource Retrieve a source
//
// This endpoint retrieves a source by its id.
//
// Corresponds with GET /v1/projects/{projectID}/sources/{sourceID} (the `GetSource` operationId).
GetSource(ctx context.Context, projectID string, sourceID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSourceWithBody Update a source
//
// This endpoint updates a source.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{projectID}/sources/{sourceID} (the `UpdateSource` operationId).
UpdateSourceWithBody(ctx context.Context, projectID string, sourceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSource Update a source
//
// This endpoint updates a source.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{projectID}/sources/{sourceID} (the `UpdateSource` operationId).
UpdateSource(ctx context.Context, projectID string, sourceID string, body UpdateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSubscriptions List all subscriptions
//
// This endpoint fetches all the subscriptions.
//
// Corresponds with GET /v1/projects/{projectID}/subscriptions (the `GetSubscriptions` operationId).
GetSubscriptions(ctx context.Context, projectID string, params *GetSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSubscriptionWithBody Create a subscription
//
// This endpoint creates a subscriptions.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions (the `CreateSubscription` operationId).
CreateSubscriptionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSubscription Create a subscription
//
// This endpoint creates a subscriptions.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions (the `CreateSubscription` operationId).
CreateSubscription(ctx context.Context, projectID string, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestSubscriptionFilterWithBody Validate subscription filter
//
// This endpoint validates that a filter will match a certain payload structure.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/test_filter (the `TestSubscriptionFilter` operationId).
TestSubscriptionFilterWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestSubscriptionFilter Validate subscription filter
//
// This endpoint validates that a filter will match a certain payload structure.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/test_filter (the `TestSubscriptionFilter` operationId).
TestSubscriptionFilter(ctx context.Context, projectID string, body TestSubscriptionFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestSubscriptionFunctionWithBody Test a subscription function
//
// This endpoint test runs a transform function against a payload.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/test_function (the `TestSubscriptionFunction` operationId).
TestSubscriptionFunctionWithBody(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestSubscriptionFunction Test a subscription function
//
// This endpoint test runs a transform function against a payload.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/test_function (the `TestSubscriptionFunction` operationId).
TestSubscriptionFunction(ctx context.Context, projectID string, body TestSubscriptionFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSubscription Delete subscription
//
// This endpoint deletes a subscription.
//
// Corresponds with DELETE /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `DeleteSubscription` operationId).
DeleteSubscription(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSubscription Retrieve a subscription
//
// This endpoint retrieves a single subscription.
//
// Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `GetSubscription` operationId).
GetSubscription(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSubscriptionWithBody Update a subscription
//
// This endpoint updates a subscription.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `UpdateSubscription` operationId).
UpdateSubscriptionWithBody(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSubscription Update a subscription
//
// This endpoint updates a subscription.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `UpdateSubscription` operationId).
UpdateSubscription(ctx context.Context, projectID string, subscriptionID string, body UpdateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFilters List all filters
//
// This endpoint fetches all filters for a subscription.
//
// Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `GetFilters` operationId).
GetFilters(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFilterWithBody Create a new filter
//
// This endpoint creates a new filter for a subscription.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `CreateFilter` operationId).
CreateFilterWithBody(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFilter Create a new filter
//
// This endpoint creates a new filter for a subscription.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `CreateFilter` operationId).
CreateFilter(ctx context.Context, projectID string, subscriptionID string, body CreateFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkCreateFiltersWithBody Create multiple subscription filters
//
// This endpoint creates multiple filters for a subscription.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk (the `BulkCreateFilters` operationId).
BulkCreateFiltersWithBody(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkCreateFilters Create multiple subscription filters
//
// This endpoint creates multiple filters for a subscription.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk (the `BulkCreateFilters` operationId).
BulkCreateFilters(ctx context.Context, projectID string, subscriptionID string, body BulkCreateFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkUpdateFiltersWithBody Update multiple subscription filters
//
// This endpoint updates multiple filters for a subscription.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk_update (the `BulkUpdateFilters` operationId).
BulkUpdateFiltersWithBody(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkUpdateFilters Update multiple subscription filters
//
// This endpoint updates multiple filters for a subscription.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk_update (the `BulkUpdateFilters` operationId).
BulkUpdateFilters(ctx context.Context, projectID string, subscriptionID string, body BulkUpdateFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestFilterWithBody Test a filter
//
// This endpoint tests a filter against a payload.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/test/{eventType} (the `TestFilter` operationId).
TestFilterWithBody(ctx context.Context, projectID string, subscriptionID string, eventType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestFilter Test a filter
//
// This endpoint tests a filter against a payload.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/test/{eventType} (the `TestFilter` operationId).
TestFilter(ctx context.Context, projectID string, subscriptionID string, eventType string, body TestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFilter Delete a filter
//
// This endpoint deletes a filter.
//
// Corresponds with DELETE /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `DeleteFilter` operationId).
DeleteFilter(ctx context.Context, projectID string, subscriptionID string, filterID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFilter Get a filter
//
// This endpoint retrieves a single filter.
//
// Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `GetFilter` operationId).
GetFilter(ctx context.Context, projectID string, subscriptionID string, filterID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFilterWithBody Update a filter
//
// This endpoint updates an existing filter.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `UpdateFilter` operationId).
UpdateFilterWithBody(ctx context.Context, projectID string, subscriptionID string, filterID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFilter Update a filter
//
// This endpoint updates an existing filter.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `UpdateFilter` operationId).
UpdateFilter(ctx context.Context, projectID string, subscriptionID string, filterID string, body UpdateFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ToggleSubscriptionStatus Toggle subscription status
//
// This endpoint toggles a subscription status. Retained for backward compatibility.
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/toggle_status (the `ToggleSubscriptionStatus` operationId).
ToggleSubscriptionStatus(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) ActivateEndpointWithResponse ¶
func (c *ClientWithResponses) ActivateEndpointWithResponse(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*ActivateEndpointResponse, error)
ActivateEndpointWithResponse Activate endpoint
Activated an inactive endpoint.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/endpoints/{endpointID}/activate (the `ActivateEndpoint` operationId).
func (*ClientWithResponses) BatchReplayEventsWithResponse ¶
func (c *ClientWithResponses) BatchReplayEventsWithResponse(ctx context.Context, projectID string, params *BatchReplayEventsParams, reqEditors ...RequestEditorFn) (*BatchReplayEventsResponse, error)
BatchReplayEventsWithResponse Batch replay events
This endpoint replays multiple events at once.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/events/batchreplay (the `BatchReplayEvents` operationId).
func (*ClientWithResponses) BatchRetryEventDeliveryWithResponse ¶
func (c *ClientWithResponses) BatchRetryEventDeliveryWithResponse(ctx context.Context, projectID string, params *BatchRetryEventDeliveryParams, reqEditors ...RequestEditorFn) (*BatchRetryEventDeliveryResponse, error)
BatchRetryEventDeliveryWithResponse Batch retry event delivery
This endpoint batch retries multiple event deliveries at once.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/eventdeliveries/batchretry (the `BatchRetryEventDelivery` operationId).
func (*ClientWithResponses) BulkCreateFiltersWithBodyWithResponse ¶
func (c *ClientWithResponses) BulkCreateFiltersWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCreateFiltersResponse, error)
BulkCreateFiltersWithBodyWithResponse Create multiple subscription filters
This endpoint creates multiple filters for a subscription.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk (the `BulkCreateFilters` operationId).
func (*ClientWithResponses) BulkCreateFiltersWithResponse ¶
func (c *ClientWithResponses) BulkCreateFiltersWithResponse(ctx context.Context, projectID string, subscriptionID string, body BulkCreateFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCreateFiltersResponse, error)
BulkCreateFiltersWithResponse Create multiple subscription filters
This endpoint creates multiple filters for a subscription.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk (the `BulkCreateFilters` operationId).
func (*ClientWithResponses) BulkOnboardWithBodyWithResponse ¶
func (c *ClientWithResponses) BulkOnboardWithBodyWithResponse(ctx context.Context, projectID string, params *BulkOnboardParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkOnboardResponse, error)
BulkOnboardWithBodyWithResponse Bulk onboard endpoints with subscriptions
This endpoint bulk-creates endpoints with subscriptions from a JSON body. A CSV file upload is also accepted over raw HTTP as multipart/form-data with a "file" field; generated SDK clients only expose the JSON body.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/onboard (the `BulkOnboard` operationId).
func (*ClientWithResponses) BulkOnboardWithResponse ¶
func (c *ClientWithResponses) BulkOnboardWithResponse(ctx context.Context, projectID string, params *BulkOnboardParams, body BulkOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkOnboardResponse, error)
BulkOnboardWithResponse Bulk onboard endpoints with subscriptions
This endpoint bulk-creates endpoints with subscriptions from a JSON body. A CSV file upload is also accepted over raw HTTP as multipart/form-data with a "file" field; generated SDK clients only expose the JSON body.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/onboard (the `BulkOnboard` operationId).
func (*ClientWithResponses) BulkUpdateFiltersWithBodyWithResponse ¶
func (c *ClientWithResponses) BulkUpdateFiltersWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateFiltersResponse, error)
BulkUpdateFiltersWithBodyWithResponse Update multiple subscription filters
This endpoint updates multiple filters for a subscription.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk_update (the `BulkUpdateFilters` operationId).
func (*ClientWithResponses) BulkUpdateFiltersWithResponse ¶
func (c *ClientWithResponses) BulkUpdateFiltersWithResponse(ctx context.Context, projectID string, subscriptionID string, body BulkUpdateFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateFiltersResponse, error)
BulkUpdateFiltersWithResponse Update multiple subscription filters
This endpoint updates multiple filters for a subscription.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk_update (the `BulkUpdateFilters` operationId).
func (*ClientWithResponses) CountAffectedEventsWithResponse ¶
func (c *ClientWithResponses) CountAffectedEventsWithResponse(ctx context.Context, projectID string, params *CountAffectedEventsParams, reqEditors ...RequestEditorFn) (*CountAffectedEventsResponse, error)
CountAffectedEventsWithResponse Count events matching batch replay filters
This endpoint returns how many events would be affected by a batch replay with the given filters.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/events/countbatchreplayevents (the `CountAffectedEvents` operationId).
func (*ClientWithResponses) CreateBroadcastEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBroadcastEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBroadcastEventResponse, error)
CreateBroadcastEventWithBodyWithResponse Create a broadcast event
This endpoint creates a event that is broadcast to every endpoint whose subscription matches the given event type.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/events/broadcast (the `CreateBroadcastEvent` operationId).
func (*ClientWithResponses) CreateBroadcastEventWithResponse ¶
func (c *ClientWithResponses) CreateBroadcastEventWithResponse(ctx context.Context, projectID string, body CreateBroadcastEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBroadcastEventResponse, error)
CreateBroadcastEventWithResponse Create a broadcast event
This endpoint creates a event that is broadcast to every endpoint whose subscription matches the given event type.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/events/broadcast (the `CreateBroadcastEvent` operationId).
func (*ClientWithResponses) CreateDynamicEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDynamicEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDynamicEventResponse, error)
CreateDynamicEventWithBodyWithResponse Dynamic Events
This endpoint does not require creating endpoint and subscriptions ahead of time. Instead, you supply the endpoint and the payload, and Convoy delivers the events
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/events/dynamic (the `CreateDynamicEvent` operationId).
func (*ClientWithResponses) CreateDynamicEventWithResponse ¶
func (c *ClientWithResponses) CreateDynamicEventWithResponse(ctx context.Context, projectID string, body CreateDynamicEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDynamicEventResponse, error)
CreateDynamicEventWithResponse Dynamic Events
This endpoint does not require creating endpoint and subscriptions ahead of time. Instead, you supply the endpoint and the payload, and Convoy delivers the events
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/events/dynamic (the `CreateDynamicEvent` operationId).
func (*ClientWithResponses) CreateEndpointEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEndpointEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndpointEventResponse, error)
CreateEndpointEventWithBodyWithResponse Create an event
This endpoint creates an endpoint event.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/events (the `CreateEndpointEvent` operationId).
func (*ClientWithResponses) CreateEndpointEventWithResponse ¶
func (c *ClientWithResponses) CreateEndpointEventWithResponse(ctx context.Context, projectID string, body CreateEndpointEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndpointEventResponse, error)
CreateEndpointEventWithResponse Create an event
This endpoint creates an endpoint event.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/events (the `CreateEndpointEvent` operationId).
func (*ClientWithResponses) CreateEndpointFanoutEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEndpointFanoutEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndpointFanoutEventResponse, error)
CreateEndpointFanoutEventWithBodyWithResponse Fan out an event
This endpoint uses the owner_id to fan out an event to multiple endpoints.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/events/fanout (the `CreateEndpointFanoutEvent` operationId).
func (*ClientWithResponses) CreateEndpointFanoutEventWithResponse ¶
func (c *ClientWithResponses) CreateEndpointFanoutEventWithResponse(ctx context.Context, projectID string, body CreateEndpointFanoutEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndpointFanoutEventResponse, error)
CreateEndpointFanoutEventWithResponse Fan out an event
This endpoint uses the owner_id to fan out an event to multiple endpoints.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/events/fanout (the `CreateEndpointFanoutEvent` operationId).
func (*ClientWithResponses) CreateEndpointWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEndpointWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndpointResponse, error)
CreateEndpointWithBodyWithResponse Create an endpoint
This endpoint creates an endpoint.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/endpoints (the `CreateEndpoint` operationId).
func (*ClientWithResponses) CreateEndpointWithResponse ¶
func (c *ClientWithResponses) CreateEndpointWithResponse(ctx context.Context, projectID string, body CreateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndpointResponse, error)
CreateEndpointWithResponse Create an endpoint
This endpoint creates an endpoint.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/endpoints (the `CreateEndpoint` operationId).
func (*ClientWithResponses) CreateEventTypeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEventTypeWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventTypeResponse, error)
CreateEventTypeWithBodyWithResponse Create an event type
This endpoint creates an event type.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/event-types (the `CreateEventType` operationId).
func (*ClientWithResponses) CreateEventTypeWithResponse ¶
func (c *ClientWithResponses) CreateEventTypeWithResponse(ctx context.Context, projectID string, body CreateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventTypeResponse, error)
CreateEventTypeWithResponse Create an event type
This endpoint creates an event type.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/event-types (the `CreateEventType` operationId).
func (*ClientWithResponses) CreateFilterWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateFilterWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFilterResponse, error)
CreateFilterWithBodyWithResponse Create a new filter
This endpoint creates a new filter for a subscription.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `CreateFilter` operationId).
func (*ClientWithResponses) CreateFilterWithResponse ¶
func (c *ClientWithResponses) CreateFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, body CreateFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFilterResponse, error)
CreateFilterWithResponse Create a new filter
This endpoint creates a new filter for a subscription.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `CreateFilter` operationId).
func (*ClientWithResponses) CreatePortalLinkWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePortalLinkWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePortalLinkResponse, error)
CreatePortalLinkWithBodyWithResponse Create a portal link
This endpoint creates a portal link.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/portal-links (the `CreatePortalLink` operationId).
func (*ClientWithResponses) CreatePortalLinkWithResponse ¶
func (c *ClientWithResponses) CreatePortalLinkWithResponse(ctx context.Context, projectID string, body CreatePortalLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePortalLinkResponse, error)
CreatePortalLinkWithResponse Create a portal link
This endpoint creates a portal link.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/portal-links (the `CreatePortalLink` operationId).
func (*ClientWithResponses) CreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithBodyWithResponse Create a project
This endpoint creates a project. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter. The response includes the project and a one-time project API key.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects (the `CreateProject` operationId).
func (*ClientWithResponses) CreateProjectWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithResponse Create a project
This endpoint creates a project. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter. The response includes the project and a one-time project API key.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects (the `CreateProject` operationId).
func (*ClientWithResponses) CreateSourceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSourceWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSourceResponse, error)
CreateSourceWithBodyWithResponse Create a source
This endpoint creates a source.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/sources (the `CreateSource` operationId).
func (*ClientWithResponses) CreateSourceWithResponse ¶
func (c *ClientWithResponses) CreateSourceWithResponse(ctx context.Context, projectID string, body CreateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSourceResponse, error)
CreateSourceWithResponse Create a source
This endpoint creates a source.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/sources (the `CreateSource` operationId).
func (*ClientWithResponses) CreateSubscriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSubscriptionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)
CreateSubscriptionWithBodyWithResponse Create a subscription
This endpoint creates a subscriptions.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions (the `CreateSubscription` operationId).
func (*ClientWithResponses) CreateSubscriptionWithResponse ¶
func (c *ClientWithResponses) CreateSubscriptionWithResponse(ctx context.Context, projectID string, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)
CreateSubscriptionWithResponse Create a subscription
This endpoint creates a subscriptions.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions (the `CreateSubscription` operationId).
func (*ClientWithResponses) DeleteEndpointWithResponse ¶
func (c *ClientWithResponses) DeleteEndpointWithResponse(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*DeleteEndpointResponse, error)
DeleteEndpointWithResponse Delete endpoint
This endpoint deletes an endpoint.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{projectID}/endpoints/{endpointID} (the `DeleteEndpoint` operationId).
func (*ClientWithResponses) DeleteFilterWithResponse ¶
func (c *ClientWithResponses) DeleteFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, reqEditors ...RequestEditorFn) (*DeleteFilterResponse, error)
DeleteFilterWithResponse Delete a filter
This endpoint deletes a filter.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `DeleteFilter` operationId).
func (*ClientWithResponses) DeleteProjectWithResponse ¶
func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
DeleteProjectWithResponse Delete a project
This endpoint deletes a project.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{projectID} (the `DeleteProject` operationId).
func (*ClientWithResponses) DeleteSourceWithResponse ¶
func (c *ClientWithResponses) DeleteSourceWithResponse(ctx context.Context, projectID string, sourceID string, reqEditors ...RequestEditorFn) (*DeleteSourceResponse, error)
DeleteSourceWithResponse Delete a source
This endpoint deletes a source.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{projectID}/sources/{sourceID} (the `DeleteSource` operationId).
func (*ClientWithResponses) DeleteSubscriptionWithResponse ¶
func (c *ClientWithResponses) DeleteSubscriptionWithResponse(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*DeleteSubscriptionResponse, error)
DeleteSubscriptionWithResponse Delete subscription
This endpoint deletes a subscription.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `DeleteSubscription` operationId).
func (*ClientWithResponses) DeprecateEventTypeWithResponse ¶
func (c *ClientWithResponses) DeprecateEventTypeWithResponse(ctx context.Context, projectID string, eventTypeId string, reqEditors ...RequestEditorFn) (*DeprecateEventTypeResponse, error)
DeprecateEventTypeWithResponse Deprecates an event type
This endpoint deprecates an event type.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/event-types/{eventTypeId}/deprecate (the `DeprecateEventType` operationId).
func (*ClientWithResponses) ExpireSecretWithBodyWithResponse ¶
func (c *ClientWithResponses) ExpireSecretWithBodyWithResponse(ctx context.Context, projectID string, endpointID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExpireSecretResponse, error)
ExpireSecretWithBodyWithResponse Roll endpoint secret
This endpoint expires and re-generates the endpoint secret.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/expire_secret (the `ExpireSecret` operationId).
func (*ClientWithResponses) ExpireSecretWithResponse ¶
func (c *ClientWithResponses) ExpireSecretWithResponse(ctx context.Context, projectID string, endpointID string, body ExpireSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*ExpireSecretResponse, error)
ExpireSecretWithResponse Roll endpoint secret
This endpoint expires and re-generates the endpoint secret.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/expire_secret (the `ExpireSecret` operationId).
func (*ClientWithResponses) ForceResendEventDeliveriesWithBodyWithResponse ¶
func (c *ClientWithResponses) ForceResendEventDeliveriesWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForceResendEventDeliveriesResponse, error)
ForceResendEventDeliveriesWithBodyWithResponse Force retry event delivery
This endpoint enables you retry a previously successful event delivery.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/eventdeliveries/forceresend (the `ForceResendEventDeliveries` operationId).
func (*ClientWithResponses) ForceResendEventDeliveriesWithResponse ¶
func (c *ClientWithResponses) ForceResendEventDeliveriesWithResponse(ctx context.Context, projectID string, body ForceResendEventDeliveriesJSONRequestBody, reqEditors ...RequestEditorFn) (*ForceResendEventDeliveriesResponse, error)
ForceResendEventDeliveriesWithResponse Force retry event delivery
This endpoint enables you retry a previously successful event delivery.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/eventdeliveries/forceresend (the `ForceResendEventDeliveries` operationId).
func (*ClientWithResponses) GetDeliveryAttemptWithResponse ¶
func (c *ClientWithResponses) GetDeliveryAttemptWithResponse(ctx context.Context, projectID string, eventDeliveryID string, deliveryAttemptID string, reqEditors ...RequestEditorFn) (*GetDeliveryAttemptResponse, error)
GetDeliveryAttemptWithResponse Retrieve a delivery attempt
This endpoint fetches an app event delivery attempt.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/deliveryattempts/{deliveryAttemptID} (the `GetDeliveryAttempt` operationId).
func (*ClientWithResponses) GetDeliveryAttemptsWithResponse ¶
func (c *ClientWithResponses) GetDeliveryAttemptsWithResponse(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*GetDeliveryAttemptsResponse, error)
GetDeliveryAttemptsWithResponse List delivery attempts
This endpoint fetches an app message's delivery attempts.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/deliveryattempts (the `GetDeliveryAttempts` operationId).
func (*ClientWithResponses) GetEndpointEventWithResponse ¶
func (c *ClientWithResponses) GetEndpointEventWithResponse(ctx context.Context, projectID string, eventID string, reqEditors ...RequestEditorFn) (*GetEndpointEventResponse, error)
GetEndpointEventWithResponse Retrieve an event
This endpoint retrieves an event.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/events/{eventID} (the `GetEndpointEvent` operationId).
func (*ClientWithResponses) GetEndpointWithResponse ¶
func (c *ClientWithResponses) GetEndpointWithResponse(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*GetEndpointResponse, error)
GetEndpointWithResponse Retrieve endpoint
This endpoint fetches an endpoint.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/endpoints/{endpointID} (the `GetEndpoint` operationId).
func (*ClientWithResponses) GetEndpointsWithResponse ¶
func (c *ClientWithResponses) GetEndpointsWithResponse(ctx context.Context, projectID string, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*GetEndpointsResponse, error)
GetEndpointsWithResponse List all endpoints
This endpoint fetches an endpoints.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/endpoints (the `GetEndpoints` operationId).
func (*ClientWithResponses) GetEventDeliveriesPagedWithResponse ¶
func (c *ClientWithResponses) GetEventDeliveriesPagedWithResponse(ctx context.Context, projectID string, params *GetEventDeliveriesPagedParams, reqEditors ...RequestEditorFn) (*GetEventDeliveriesPagedResponse, error)
GetEventDeliveriesPagedWithResponse List all event deliveries
This endpoint retrieves all event deliveries paginated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/eventdeliveries (the `GetEventDeliveriesPaged` operationId).
func (*ClientWithResponses) GetEventDeliveryWithResponse ¶
func (c *ClientWithResponses) GetEventDeliveryWithResponse(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*GetEventDeliveryResponse, error)
GetEventDeliveryWithResponse Retrieve an event delivery
This endpoint fetches an event delivery.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID} (the `GetEventDelivery` operationId).
func (*ClientWithResponses) GetEventTypesWithResponse ¶
func (c *ClientWithResponses) GetEventTypesWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*GetEventTypesResponse, error)
GetEventTypesWithResponse Retrieves a project's event types
This endpoint fetches the project's event types.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/event-types (the `GetEventTypes` operationId).
func (*ClientWithResponses) GetEventsPagedWithResponse ¶
func (c *ClientWithResponses) GetEventsPagedWithResponse(ctx context.Context, projectID string, params *GetEventsPagedParams, reqEditors ...RequestEditorFn) (*GetEventsPagedResponse, error)
GetEventsPagedWithResponse List all events
This endpoint fetches app events with pagination.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/events (the `GetEventsPaged` operationId).
func (*ClientWithResponses) GetFilterWithResponse ¶
func (c *ClientWithResponses) GetFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, reqEditors ...RequestEditorFn) (*GetFilterResponse, error)
GetFilterWithResponse Get a filter
This endpoint retrieves a single filter.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `GetFilter` operationId).
func (*ClientWithResponses) GetFiltersWithResponse ¶
func (c *ClientWithResponses) GetFiltersWithResponse(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*GetFiltersResponse, error)
GetFiltersWithResponse List all filters
This endpoint fetches all filters for a subscription.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `GetFilters` operationId).
func (*ClientWithResponses) GetMetaEventWithResponse ¶
func (c *ClientWithResponses) GetMetaEventWithResponse(ctx context.Context, projectID string, metaEventID string, reqEditors ...RequestEditorFn) (*GetMetaEventResponse, error)
GetMetaEventWithResponse Retrieve a meta event
This endpoint retrieves a meta event.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/meta-events/{metaEventID} (the `GetMetaEvent` operationId).
func (*ClientWithResponses) GetMetaEventsPagedWithResponse ¶
func (c *ClientWithResponses) GetMetaEventsPagedWithResponse(ctx context.Context, projectID string, params *GetMetaEventsPagedParams, reqEditors ...RequestEditorFn) (*GetMetaEventsPagedResponse, error)
GetMetaEventsPagedWithResponse List all meta events
This endpoint fetches meta events with pagination.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/meta-events (the `GetMetaEventsPaged` operationId).
func (*ClientWithResponses) GetPortalLinkWithResponse ¶
func (c *ClientWithResponses) GetPortalLinkWithResponse(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*GetPortalLinkResponse, error)
GetPortalLinkWithResponse Retrieve a portal link
This endpoint retrieves a portal link by its id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/portal-links/{portalLinkID} (the `GetPortalLink` operationId).
func (*ClientWithResponses) GetProjectWithResponse ¶
func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
GetProjectWithResponse Retrieve a project
This endpoint fetches a project by its id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID} (the `GetProject` operationId).
func (*ClientWithResponses) GetProjectsWithResponse ¶
func (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)
GetProjectsWithResponse List all projects
This endpoint fetches projects for an organisation. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects (the `GetProjects` operationId).
func (*ClientWithResponses) GetSourceWithResponse ¶
func (c *ClientWithResponses) GetSourceWithResponse(ctx context.Context, projectID string, sourceID string, reqEditors ...RequestEditorFn) (*GetSourceResponse, error)
GetSourceWithResponse Retrieve a source
This endpoint retrieves a source by its id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/sources/{sourceID} (the `GetSource` operationId).
func (*ClientWithResponses) GetSubscriptionWithResponse ¶
func (c *ClientWithResponses) GetSubscriptionWithResponse(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*GetSubscriptionResponse, error)
GetSubscriptionWithResponse Retrieve a subscription
This endpoint retrieves a single subscription.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `GetSubscription` operationId).
func (*ClientWithResponses) GetSubscriptionsWithResponse ¶
func (c *ClientWithResponses) GetSubscriptionsWithResponse(ctx context.Context, projectID string, params *GetSubscriptionsParams, reqEditors ...RequestEditorFn) (*GetSubscriptionsResponse, error)
GetSubscriptionsWithResponse List all subscriptions
This endpoint fetches all the subscriptions.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/subscriptions (the `GetSubscriptions` operationId).
func (*ClientWithResponses) ImportOpenApiSpecWithBodyWithResponse ¶
func (c *ClientWithResponses) ImportOpenApiSpecWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportOpenApiSpecResponse, error)
ImportOpenApiSpecWithBodyWithResponse Import event types from OpenAPI spec
This endpoint imports event types from an OpenAPI specification.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/event-types/import (the `ImportOpenApiSpec` operationId).
func (*ClientWithResponses) ImportOpenApiSpecWithResponse ¶
func (c *ClientWithResponses) ImportOpenApiSpecWithResponse(ctx context.Context, projectID string, body ImportOpenApiSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportOpenApiSpecResponse, error)
ImportOpenApiSpecWithResponse Import event types from OpenAPI spec
This endpoint imports event types from an OpenAPI specification.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/event-types/import (the `ImportOpenApiSpec` operationId).
func (*ClientWithResponses) LoadPortalLinksPagedWithResponse ¶
func (c *ClientWithResponses) LoadPortalLinksPagedWithResponse(ctx context.Context, projectID string, params *LoadPortalLinksPagedParams, reqEditors ...RequestEditorFn) (*LoadPortalLinksPagedResponse, error)
LoadPortalLinksPagedWithResponse List all portal links
This endpoint fetches multiple portal links.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/portal-links (the `LoadPortalLinksPaged` operationId).
func (*ClientWithResponses) LoadSourcesPagedWithResponse ¶
func (c *ClientWithResponses) LoadSourcesPagedWithResponse(ctx context.Context, projectID string, params *LoadSourcesPagedParams, reqEditors ...RequestEditorFn) (*LoadSourcesPagedResponse, error)
LoadSourcesPagedWithResponse List all sources
This endpoint fetches multiple sources.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/sources (the `LoadSourcesPaged` operationId).
func (*ClientWithResponses) PauseEndpointWithResponse ¶
func (c *ClientWithResponses) PauseEndpointWithResponse(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*PauseEndpointResponse, error)
PauseEndpointWithResponse Pause endpoint
Toggles an endpoint's status between active and paused states.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/pause (the `PauseEndpoint` operationId).
func (*ClientWithResponses) PostV1ProjectsProjectIDSourcesTestFunctionWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsProjectIDSourcesTestFunctionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIDSourcesTestFunctionResponse, error)
PostV1ProjectsProjectIDSourcesTestFunctionWithBodyWithResponse Validate source function
This endpoint validates that a filter will match a certain payload structure.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/sources/test_function (the `PostV1ProjectsProjectIDSourcesTestFunction` operationId).
func (*ClientWithResponses) PostV1ProjectsProjectIDSourcesTestFunctionWithResponse ¶
func (c *ClientWithResponses) PostV1ProjectsProjectIDSourcesTestFunctionWithResponse(ctx context.Context, projectID string, body PostV1ProjectsProjectIDSourcesTestFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIDSourcesTestFunctionResponse, error)
PostV1ProjectsProjectIDSourcesTestFunctionWithResponse Validate source function
This endpoint validates that a filter will match a certain payload structure.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/sources/test_function (the `PostV1ProjectsProjectIDSourcesTestFunction` operationId).
func (*ClientWithResponses) RefreshPortalLinkAuthTokenWithResponse ¶
func (c *ClientWithResponses) RefreshPortalLinkAuthTokenWithResponse(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*RefreshPortalLinkAuthTokenResponse, error)
RefreshPortalLinkAuthTokenWithResponse Get a portal link auth token
This endpoint retrieves a portal link auth token.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{projectID}/portal-links/{portalLinkID}/refresh_token (the `RefreshPortalLinkAuthToken` operationId).
func (*ClientWithResponses) ReplayEndpointEventWithResponse ¶
func (c *ClientWithResponses) ReplayEndpointEventWithResponse(ctx context.Context, projectID string, eventID string, reqEditors ...RequestEditorFn) (*ReplayEndpointEventResponse, error)
ReplayEndpointEventWithResponse Replay event
This endpoint replays an event afresh assuming it is a new event.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/events/{eventID}/replay (the `ReplayEndpointEvent` operationId).
func (*ClientWithResponses) ResendEventDeliveryWithResponse ¶
func (c *ClientWithResponses) ResendEventDeliveryWithResponse(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*ResendEventDeliveryResponse, error)
ResendEventDeliveryWithResponse Retry event delivery
This endpoint retries an event delivery.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/resend (the `ResendEventDelivery` operationId).
func (*ClientWithResponses) ResendMetaEventWithResponse ¶
func (c *ClientWithResponses) ResendMetaEventWithResponse(ctx context.Context, projectID string, metaEventID string, reqEditors ...RequestEditorFn) (*ResendMetaEventResponse, error)
ResendMetaEventWithResponse Retry meta event
This endpoint retries a meta event.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/meta-events/{metaEventID}/resend (the `ResendMetaEvent` operationId).
func (*ClientWithResponses) RevokePortalLinkWithResponse ¶
func (c *ClientWithResponses) RevokePortalLinkWithResponse(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*RevokePortalLinkResponse, error)
RevokePortalLinkWithResponse Revoke a portal link
This endpoint revokes a portal link.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID}/revoke (the `RevokePortalLink` operationId).
func (*ClientWithResponses) TestFilterWithBodyWithResponse ¶
func (c *ClientWithResponses) TestFilterWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, eventType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestFilterResponse, error)
TestFilterWithBodyWithResponse Test a filter
This endpoint tests a filter against a payload.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/test/{eventType} (the `TestFilter` operationId).
func (*ClientWithResponses) TestFilterWithResponse ¶
func (c *ClientWithResponses) TestFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, eventType string, body TestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*TestFilterResponse, error)
TestFilterWithResponse Test a filter
This endpoint tests a filter against a payload.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/test/{eventType} (the `TestFilter` operationId).
func (*ClientWithResponses) TestOAuth2ConnectionWithBodyWithResponse ¶
func (c *ClientWithResponses) TestOAuth2ConnectionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestOAuth2ConnectionResponse, error)
TestOAuth2ConnectionWithBodyWithResponse Test OAuth2 connection
This endpoint tests the OAuth2 connection by attempting to exchange a token.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/endpoints/oauth2/test (the `TestOAuth2Connection` operationId).
func (*ClientWithResponses) TestOAuth2ConnectionWithResponse ¶
func (c *ClientWithResponses) TestOAuth2ConnectionWithResponse(ctx context.Context, projectID string, body TestOAuth2ConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TestOAuth2ConnectionResponse, error)
TestOAuth2ConnectionWithResponse Test OAuth2 connection
This endpoint tests the OAuth2 connection by attempting to exchange a token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/endpoints/oauth2/test (the `TestOAuth2Connection` operationId).
func (*ClientWithResponses) TestSubscriptionFilterWithBodyWithResponse ¶
func (c *ClientWithResponses) TestSubscriptionFilterWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestSubscriptionFilterResponse, error)
TestSubscriptionFilterWithBodyWithResponse Validate subscription filter
This endpoint validates that a filter will match a certain payload structure.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/test_filter (the `TestSubscriptionFilter` operationId).
func (*ClientWithResponses) TestSubscriptionFilterWithResponse ¶
func (c *ClientWithResponses) TestSubscriptionFilterWithResponse(ctx context.Context, projectID string, body TestSubscriptionFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*TestSubscriptionFilterResponse, error)
TestSubscriptionFilterWithResponse Validate subscription filter
This endpoint validates that a filter will match a certain payload structure.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/test_filter (the `TestSubscriptionFilter` operationId).
func (*ClientWithResponses) TestSubscriptionFunctionWithBodyWithResponse ¶
func (c *ClientWithResponses) TestSubscriptionFunctionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestSubscriptionFunctionResponse, error)
TestSubscriptionFunctionWithBodyWithResponse Test a subscription function
This endpoint test runs a transform function against a payload.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/test_function (the `TestSubscriptionFunction` operationId).
func (*ClientWithResponses) TestSubscriptionFunctionWithResponse ¶
func (c *ClientWithResponses) TestSubscriptionFunctionWithResponse(ctx context.Context, projectID string, body TestSubscriptionFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*TestSubscriptionFunctionResponse, error)
TestSubscriptionFunctionWithResponse Test a subscription function
This endpoint test runs a transform function against a payload.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{projectID}/subscriptions/test_function (the `TestSubscriptionFunction` operationId).
func (*ClientWithResponses) ToggleSubscriptionStatusWithResponse ¶
func (c *ClientWithResponses) ToggleSubscriptionStatusWithResponse(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*ToggleSubscriptionStatusResponse, error)
ToggleSubscriptionStatusWithResponse Toggle subscription status
This endpoint toggles a subscription status. Retained for backward compatibility.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/toggle_status (the `ToggleSubscriptionStatus` operationId).
func (*ClientWithResponses) UpdateEndpointWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEndpointWithBodyWithResponse(ctx context.Context, projectID string, endpointID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
UpdateEndpointWithBodyWithResponse Update an endpoint
This endpoint updates an endpoint.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID} (the `UpdateEndpoint` operationId).
func (*ClientWithResponses) UpdateEndpointWithResponse ¶
func (c *ClientWithResponses) UpdateEndpointWithResponse(ctx context.Context, projectID string, endpointID string, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
UpdateEndpointWithResponse Update an endpoint
This endpoint updates an endpoint.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID} (the `UpdateEndpoint` operationId).
func (*ClientWithResponses) UpdateEventTypeWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEventTypeWithBodyWithResponse(ctx context.Context, projectID string, eventTypeId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEventTypeResponse, error)
UpdateEventTypeWithBodyWithResponse Updates an event type
This endpoint updates an event type.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/event-types/{eventTypeId} (the `UpdateEventType` operationId).
func (*ClientWithResponses) UpdateEventTypeWithResponse ¶
func (c *ClientWithResponses) UpdateEventTypeWithResponse(ctx context.Context, projectID string, eventTypeId string, body UpdateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEventTypeResponse, error)
UpdateEventTypeWithResponse Updates an event type
This endpoint updates an event type.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/event-types/{eventTypeId} (the `UpdateEventType` operationId).
func (*ClientWithResponses) UpdateFilterWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateFilterWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFilterResponse, error)
UpdateFilterWithBodyWithResponse Update a filter
This endpoint updates an existing filter.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `UpdateFilter` operationId).
func (*ClientWithResponses) UpdateFilterWithResponse ¶
func (c *ClientWithResponses) UpdateFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, body UpdateFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFilterResponse, error)
UpdateFilterWithResponse Update a filter
This endpoint updates an existing filter.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `UpdateFilter` operationId).
func (*ClientWithResponses) UpdatePortalLinkWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePortalLinkWithBodyWithResponse(ctx context.Context, projectID string, portalLinkID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePortalLinkResponse, error)
UpdatePortalLinkWithBodyWithResponse Update a portal link
This endpoint updates a portal link.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID} (the `UpdatePortalLink` operationId).
func (*ClientWithResponses) UpdatePortalLinkWithResponse ¶
func (c *ClientWithResponses) UpdatePortalLinkWithResponse(ctx context.Context, projectID string, portalLinkID string, body UpdatePortalLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePortalLinkResponse, error)
UpdatePortalLinkWithResponse Update a portal link
This endpoint updates a portal link.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID} (the `UpdatePortalLink` operationId).
func (*ClientWithResponses) UpdateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
UpdateProjectWithBodyWithResponse Update a project
This endpoint updates a project's name, logo, and config ¶
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID} (the `UpdateProject` operationId).
func (*ClientWithResponses) UpdateProjectWithResponse ¶
func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, projectID string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
UpdateProjectWithResponse Update a project
This endpoint updates a project's name, logo, and config ¶
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID} (the `UpdateProject` operationId).
func (*ClientWithResponses) UpdateSourceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSourceWithBodyWithResponse(ctx context.Context, projectID string, sourceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSourceResponse, error)
UpdateSourceWithBodyWithResponse Update a source
This endpoint updates a source.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/sources/{sourceID} (the `UpdateSource` operationId).
func (*ClientWithResponses) UpdateSourceWithResponse ¶
func (c *ClientWithResponses) UpdateSourceWithResponse(ctx context.Context, projectID string, sourceID string, body UpdateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSourceResponse, error)
UpdateSourceWithResponse Update a source
This endpoint updates a source.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/sources/{sourceID} (the `UpdateSource` operationId).
func (*ClientWithResponses) UpdateSubscriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSubscriptionWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSubscriptionResponse, error)
UpdateSubscriptionWithBodyWithResponse Update a subscription
This endpoint updates a subscription.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `UpdateSubscription` operationId).
func (*ClientWithResponses) UpdateSubscriptionWithResponse ¶
func (c *ClientWithResponses) UpdateSubscriptionWithResponse(ctx context.Context, projectID string, subscriptionID string, body UpdateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSubscriptionResponse, error)
UpdateSubscriptionWithResponse Update a subscription
This endpoint updates a subscription.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `UpdateSubscription` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetProjectsWithResponse List all projects
//
// This endpoint fetches projects for an organisation. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects (the `GetProjects` operationId).
GetProjectsWithResponse(ctx context.Context, params *GetProjectsParams, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)
// CreateProjectWithBodyWithResponse Create a project
//
// This endpoint creates a project. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter. The response includes the project and a one-time project API key.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects (the `CreateProject` operationId).
CreateProjectWithBodyWithResponse(ctx context.Context, params *CreateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
// CreateProjectWithResponse Create a project
//
// This endpoint creates a project. Authenticate with a personal API key or JWT and pass the organisation id as the orgID query parameter. The response includes the project and a one-time project API key.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects (the `CreateProject` operationId).
CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
// DeleteProjectWithResponse Delete a project
//
// This endpoint deletes a project.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{projectID} (the `DeleteProject` operationId).
DeleteProjectWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
// GetProjectWithResponse Retrieve a project
//
// This endpoint fetches a project by its id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID} (the `GetProject` operationId).
GetProjectWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
// UpdateProjectWithBodyWithResponse Update a project
//
// This endpoint updates a project's name, logo, and config
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID} (the `UpdateProject` operationId).
UpdateProjectWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
// UpdateProjectWithResponse Update a project
//
// This endpoint updates a project's name, logo, and config
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID} (the `UpdateProject` operationId).
UpdateProjectWithResponse(ctx context.Context, projectID string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
// GetEndpointsWithResponse List all endpoints
//
// This endpoint fetches an endpoints.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/endpoints (the `GetEndpoints` operationId).
GetEndpointsWithResponse(ctx context.Context, projectID string, params *GetEndpointsParams, reqEditors ...RequestEditorFn) (*GetEndpointsResponse, error)
// CreateEndpointWithBodyWithResponse Create an endpoint
//
// This endpoint creates an endpoint.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/endpoints (the `CreateEndpoint` operationId).
CreateEndpointWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndpointResponse, error)
// CreateEndpointWithResponse Create an endpoint
//
// This endpoint creates an endpoint.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/endpoints (the `CreateEndpoint` operationId).
CreateEndpointWithResponse(ctx context.Context, projectID string, body CreateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndpointResponse, error)
// TestOAuth2ConnectionWithBodyWithResponse Test OAuth2 connection
//
// This endpoint tests the OAuth2 connection by attempting to exchange a token.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/endpoints/oauth2/test (the `TestOAuth2Connection` operationId).
TestOAuth2ConnectionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestOAuth2ConnectionResponse, error)
// TestOAuth2ConnectionWithResponse Test OAuth2 connection
//
// This endpoint tests the OAuth2 connection by attempting to exchange a token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/endpoints/oauth2/test (the `TestOAuth2Connection` operationId).
TestOAuth2ConnectionWithResponse(ctx context.Context, projectID string, body TestOAuth2ConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TestOAuth2ConnectionResponse, error)
// DeleteEndpointWithResponse Delete endpoint
//
// This endpoint deletes an endpoint.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{projectID}/endpoints/{endpointID} (the `DeleteEndpoint` operationId).
DeleteEndpointWithResponse(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*DeleteEndpointResponse, error)
// GetEndpointWithResponse Retrieve endpoint
//
// This endpoint fetches an endpoint.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/endpoints/{endpointID} (the `GetEndpoint` operationId).
GetEndpointWithResponse(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*GetEndpointResponse, error)
// UpdateEndpointWithBodyWithResponse Update an endpoint
//
// This endpoint updates an endpoint.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID} (the `UpdateEndpoint` operationId).
UpdateEndpointWithBodyWithResponse(ctx context.Context, projectID string, endpointID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
// UpdateEndpointWithResponse Update an endpoint
//
// This endpoint updates an endpoint.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID} (the `UpdateEndpoint` operationId).
UpdateEndpointWithResponse(ctx context.Context, projectID string, endpointID string, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
// ActivateEndpointWithResponse Activate endpoint
//
// Activated an inactive endpoint.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/endpoints/{endpointID}/activate (the `ActivateEndpoint` operationId).
ActivateEndpointWithResponse(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*ActivateEndpointResponse, error)
// ExpireSecretWithBodyWithResponse Roll endpoint secret
//
// This endpoint expires and re-generates the endpoint secret.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/expire_secret (the `ExpireSecret` operationId).
ExpireSecretWithBodyWithResponse(ctx context.Context, projectID string, endpointID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExpireSecretResponse, error)
// ExpireSecretWithResponse Roll endpoint secret
//
// This endpoint expires and re-generates the endpoint secret.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/expire_secret (the `ExpireSecret` operationId).
ExpireSecretWithResponse(ctx context.Context, projectID string, endpointID string, body ExpireSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*ExpireSecretResponse, error)
// PauseEndpointWithResponse Pause endpoint
//
// Toggles an endpoint's status between active and paused states.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/endpoints/{endpointID}/pause (the `PauseEndpoint` operationId).
PauseEndpointWithResponse(ctx context.Context, projectID string, endpointID string, reqEditors ...RequestEditorFn) (*PauseEndpointResponse, error)
// GetEventTypesWithResponse Retrieves a project's event types
//
// This endpoint fetches the project's event types.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/event-types (the `GetEventTypes` operationId).
GetEventTypesWithResponse(ctx context.Context, projectID string, reqEditors ...RequestEditorFn) (*GetEventTypesResponse, error)
// CreateEventTypeWithBodyWithResponse Create an event type
//
// This endpoint creates an event type.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/event-types (the `CreateEventType` operationId).
CreateEventTypeWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventTypeResponse, error)
// CreateEventTypeWithResponse Create an event type
//
// This endpoint creates an event type.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/event-types (the `CreateEventType` operationId).
CreateEventTypeWithResponse(ctx context.Context, projectID string, body CreateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventTypeResponse, error)
// ImportOpenApiSpecWithBodyWithResponse Import event types from OpenAPI spec
//
// This endpoint imports event types from an OpenAPI specification.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/event-types/import (the `ImportOpenApiSpec` operationId).
ImportOpenApiSpecWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportOpenApiSpecResponse, error)
// ImportOpenApiSpecWithResponse Import event types from OpenAPI spec
//
// This endpoint imports event types from an OpenAPI specification.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/event-types/import (the `ImportOpenApiSpec` operationId).
ImportOpenApiSpecWithResponse(ctx context.Context, projectID string, body ImportOpenApiSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportOpenApiSpecResponse, error)
// UpdateEventTypeWithBodyWithResponse Updates an event type
//
// This endpoint updates an event type.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/event-types/{eventTypeId} (the `UpdateEventType` operationId).
UpdateEventTypeWithBodyWithResponse(ctx context.Context, projectID string, eventTypeId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEventTypeResponse, error)
// UpdateEventTypeWithResponse Updates an event type
//
// This endpoint updates an event type.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/event-types/{eventTypeId} (the `UpdateEventType` operationId).
UpdateEventTypeWithResponse(ctx context.Context, projectID string, eventTypeId string, body UpdateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEventTypeResponse, error)
// DeprecateEventTypeWithResponse Deprecates an event type
//
// This endpoint deprecates an event type.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/event-types/{eventTypeId}/deprecate (the `DeprecateEventType` operationId).
DeprecateEventTypeWithResponse(ctx context.Context, projectID string, eventTypeId string, reqEditors ...RequestEditorFn) (*DeprecateEventTypeResponse, error)
// GetEventDeliveriesPagedWithResponse List all event deliveries
//
// This endpoint retrieves all event deliveries paginated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/eventdeliveries (the `GetEventDeliveriesPaged` operationId).
GetEventDeliveriesPagedWithResponse(ctx context.Context, projectID string, params *GetEventDeliveriesPagedParams, reqEditors ...RequestEditorFn) (*GetEventDeliveriesPagedResponse, error)
// BatchRetryEventDeliveryWithResponse Batch retry event delivery
//
// This endpoint batch retries multiple event deliveries at once.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/eventdeliveries/batchretry (the `BatchRetryEventDelivery` operationId).
BatchRetryEventDeliveryWithResponse(ctx context.Context, projectID string, params *BatchRetryEventDeliveryParams, reqEditors ...RequestEditorFn) (*BatchRetryEventDeliveryResponse, error)
// ForceResendEventDeliveriesWithBodyWithResponse Force retry event delivery
//
// This endpoint enables you retry a previously successful event delivery.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/eventdeliveries/forceresend (the `ForceResendEventDeliveries` operationId).
ForceResendEventDeliveriesWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForceResendEventDeliveriesResponse, error)
// ForceResendEventDeliveriesWithResponse Force retry event delivery
//
// This endpoint enables you retry a previously successful event delivery.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/eventdeliveries/forceresend (the `ForceResendEventDeliveries` operationId).
ForceResendEventDeliveriesWithResponse(ctx context.Context, projectID string, body ForceResendEventDeliveriesJSONRequestBody, reqEditors ...RequestEditorFn) (*ForceResendEventDeliveriesResponse, error)
// GetEventDeliveryWithResponse Retrieve an event delivery
//
// This endpoint fetches an event delivery.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID} (the `GetEventDelivery` operationId).
GetEventDeliveryWithResponse(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*GetEventDeliveryResponse, error)
// GetDeliveryAttemptsWithResponse List delivery attempts
//
// This endpoint fetches an app message's delivery attempts.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/deliveryattempts (the `GetDeliveryAttempts` operationId).
GetDeliveryAttemptsWithResponse(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*GetDeliveryAttemptsResponse, error)
// GetDeliveryAttemptWithResponse Retrieve a delivery attempt
//
// This endpoint fetches an app event delivery attempt.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/deliveryattempts/{deliveryAttemptID} (the `GetDeliveryAttempt` operationId).
GetDeliveryAttemptWithResponse(ctx context.Context, projectID string, eventDeliveryID string, deliveryAttemptID string, reqEditors ...RequestEditorFn) (*GetDeliveryAttemptResponse, error)
// ResendEventDeliveryWithResponse Retry event delivery
//
// This endpoint retries an event delivery.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/eventdeliveries/{eventDeliveryID}/resend (the `ResendEventDelivery` operationId).
ResendEventDeliveryWithResponse(ctx context.Context, projectID string, eventDeliveryID string, reqEditors ...RequestEditorFn) (*ResendEventDeliveryResponse, error)
// GetEventsPagedWithResponse List all events
//
// This endpoint fetches app events with pagination.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/events (the `GetEventsPaged` operationId).
GetEventsPagedWithResponse(ctx context.Context, projectID string, params *GetEventsPagedParams, reqEditors ...RequestEditorFn) (*GetEventsPagedResponse, error)
// CreateEndpointEventWithBodyWithResponse Create an event
//
// This endpoint creates an endpoint event.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/events (the `CreateEndpointEvent` operationId).
CreateEndpointEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndpointEventResponse, error)
// CreateEndpointEventWithResponse Create an event
//
// This endpoint creates an endpoint event.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/events (the `CreateEndpointEvent` operationId).
CreateEndpointEventWithResponse(ctx context.Context, projectID string, body CreateEndpointEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndpointEventResponse, error)
// BatchReplayEventsWithResponse Batch replay events
//
// This endpoint replays multiple events at once.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/events/batchreplay (the `BatchReplayEvents` operationId).
BatchReplayEventsWithResponse(ctx context.Context, projectID string, params *BatchReplayEventsParams, reqEditors ...RequestEditorFn) (*BatchReplayEventsResponse, error)
// CreateBroadcastEventWithBodyWithResponse Create a broadcast event
//
// This endpoint creates a event that is broadcast to every endpoint whose subscription matches the given event type.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/events/broadcast (the `CreateBroadcastEvent` operationId).
CreateBroadcastEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBroadcastEventResponse, error)
// CreateBroadcastEventWithResponse Create a broadcast event
//
// This endpoint creates a event that is broadcast to every endpoint whose subscription matches the given event type.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/events/broadcast (the `CreateBroadcastEvent` operationId).
CreateBroadcastEventWithResponse(ctx context.Context, projectID string, body CreateBroadcastEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBroadcastEventResponse, error)
// CountAffectedEventsWithResponse Count events matching batch replay filters
//
// This endpoint returns how many events would be affected by a batch replay with the given filters.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/events/countbatchreplayevents (the `CountAffectedEvents` operationId).
CountAffectedEventsWithResponse(ctx context.Context, projectID string, params *CountAffectedEventsParams, reqEditors ...RequestEditorFn) (*CountAffectedEventsResponse, error)
// CreateDynamicEventWithBodyWithResponse Dynamic Events
//
// This endpoint does not require creating endpoint and subscriptions ahead of time. Instead, you supply the endpoint and the payload, and Convoy delivers the events
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/events/dynamic (the `CreateDynamicEvent` operationId).
CreateDynamicEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDynamicEventResponse, error)
// CreateDynamicEventWithResponse Dynamic Events
//
// This endpoint does not require creating endpoint and subscriptions ahead of time. Instead, you supply the endpoint and the payload, and Convoy delivers the events
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/events/dynamic (the `CreateDynamicEvent` operationId).
CreateDynamicEventWithResponse(ctx context.Context, projectID string, body CreateDynamicEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDynamicEventResponse, error)
// CreateEndpointFanoutEventWithBodyWithResponse Fan out an event
//
// This endpoint uses the owner_id to fan out an event to multiple endpoints.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/events/fanout (the `CreateEndpointFanoutEvent` operationId).
CreateEndpointFanoutEventWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndpointFanoutEventResponse, error)
// CreateEndpointFanoutEventWithResponse Fan out an event
//
// This endpoint uses the owner_id to fan out an event to multiple endpoints.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/events/fanout (the `CreateEndpointFanoutEvent` operationId).
CreateEndpointFanoutEventWithResponse(ctx context.Context, projectID string, body CreateEndpointFanoutEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndpointFanoutEventResponse, error)
// GetEndpointEventWithResponse Retrieve an event
//
// This endpoint retrieves an event.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/events/{eventID} (the `GetEndpointEvent` operationId).
GetEndpointEventWithResponse(ctx context.Context, projectID string, eventID string, reqEditors ...RequestEditorFn) (*GetEndpointEventResponse, error)
// ReplayEndpointEventWithResponse Replay event
//
// This endpoint replays an event afresh assuming it is a new event.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/events/{eventID}/replay (the `ReplayEndpointEvent` operationId).
ReplayEndpointEventWithResponse(ctx context.Context, projectID string, eventID string, reqEditors ...RequestEditorFn) (*ReplayEndpointEventResponse, error)
// GetMetaEventsPagedWithResponse List all meta events
//
// This endpoint fetches meta events with pagination.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/meta-events (the `GetMetaEventsPaged` operationId).
GetMetaEventsPagedWithResponse(ctx context.Context, projectID string, params *GetMetaEventsPagedParams, reqEditors ...RequestEditorFn) (*GetMetaEventsPagedResponse, error)
// GetMetaEventWithResponse Retrieve a meta event
//
// This endpoint retrieves a meta event.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/meta-events/{metaEventID} (the `GetMetaEvent` operationId).
GetMetaEventWithResponse(ctx context.Context, projectID string, metaEventID string, reqEditors ...RequestEditorFn) (*GetMetaEventResponse, error)
// ResendMetaEventWithResponse Retry meta event
//
// This endpoint retries a meta event.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/meta-events/{metaEventID}/resend (the `ResendMetaEvent` operationId).
ResendMetaEventWithResponse(ctx context.Context, projectID string, metaEventID string, reqEditors ...RequestEditorFn) (*ResendMetaEventResponse, error)
// BulkOnboardWithBodyWithResponse Bulk onboard endpoints with subscriptions
//
// This endpoint bulk-creates endpoints with subscriptions from a JSON body. A CSV file upload is also accepted over raw HTTP as multipart/form-data with a "file" field; generated SDK clients only expose the JSON body.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/onboard (the `BulkOnboard` operationId).
BulkOnboardWithBodyWithResponse(ctx context.Context, projectID string, params *BulkOnboardParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkOnboardResponse, error)
// BulkOnboardWithResponse Bulk onboard endpoints with subscriptions
//
// This endpoint bulk-creates endpoints with subscriptions from a JSON body. A CSV file upload is also accepted over raw HTTP as multipart/form-data with a "file" field; generated SDK clients only expose the JSON body.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/onboard (the `BulkOnboard` operationId).
BulkOnboardWithResponse(ctx context.Context, projectID string, params *BulkOnboardParams, body BulkOnboardJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkOnboardResponse, error)
// LoadPortalLinksPagedWithResponse List all portal links
//
// This endpoint fetches multiple portal links.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/portal-links (the `LoadPortalLinksPaged` operationId).
LoadPortalLinksPagedWithResponse(ctx context.Context, projectID string, params *LoadPortalLinksPagedParams, reqEditors ...RequestEditorFn) (*LoadPortalLinksPagedResponse, error)
// CreatePortalLinkWithBodyWithResponse Create a portal link
//
// This endpoint creates a portal link.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/portal-links (the `CreatePortalLink` operationId).
CreatePortalLinkWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePortalLinkResponse, error)
// CreatePortalLinkWithResponse Create a portal link
//
// This endpoint creates a portal link.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/portal-links (the `CreatePortalLink` operationId).
CreatePortalLinkWithResponse(ctx context.Context, projectID string, body CreatePortalLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePortalLinkResponse, error)
// GetPortalLinkWithResponse Retrieve a portal link
//
// This endpoint retrieves a portal link by its id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/portal-links/{portalLinkID} (the `GetPortalLink` operationId).
GetPortalLinkWithResponse(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*GetPortalLinkResponse, error)
// UpdatePortalLinkWithBodyWithResponse Update a portal link
//
// This endpoint updates a portal link.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID} (the `UpdatePortalLink` operationId).
UpdatePortalLinkWithBodyWithResponse(ctx context.Context, projectID string, portalLinkID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePortalLinkResponse, error)
// UpdatePortalLinkWithResponse Update a portal link
//
// This endpoint updates a portal link.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID} (the `UpdatePortalLink` operationId).
UpdatePortalLinkWithResponse(ctx context.Context, projectID string, portalLinkID string, body UpdatePortalLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePortalLinkResponse, error)
// RefreshPortalLinkAuthTokenWithResponse Get a portal link auth token
//
// This endpoint retrieves a portal link auth token.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/portal-links/{portalLinkID}/refresh_token (the `RefreshPortalLinkAuthToken` operationId).
RefreshPortalLinkAuthTokenWithResponse(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*RefreshPortalLinkAuthTokenResponse, error)
// RevokePortalLinkWithResponse Revoke a portal link
//
// This endpoint revokes a portal link.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/portal-links/{portalLinkID}/revoke (the `RevokePortalLink` operationId).
RevokePortalLinkWithResponse(ctx context.Context, projectID string, portalLinkID string, reqEditors ...RequestEditorFn) (*RevokePortalLinkResponse, error)
// LoadSourcesPagedWithResponse List all sources
//
// This endpoint fetches multiple sources.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/sources (the `LoadSourcesPaged` operationId).
LoadSourcesPagedWithResponse(ctx context.Context, projectID string, params *LoadSourcesPagedParams, reqEditors ...RequestEditorFn) (*LoadSourcesPagedResponse, error)
// CreateSourceWithBodyWithResponse Create a source
//
// This endpoint creates a source.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/sources (the `CreateSource` operationId).
CreateSourceWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSourceResponse, error)
// CreateSourceWithResponse Create a source
//
// This endpoint creates a source.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/sources (the `CreateSource` operationId).
CreateSourceWithResponse(ctx context.Context, projectID string, body CreateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSourceResponse, error)
// PostV1ProjectsProjectIDSourcesTestFunctionWithBodyWithResponse Validate source function
//
// This endpoint validates that a filter will match a certain payload structure.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/sources/test_function (the `PostV1ProjectsProjectIDSourcesTestFunction` operationId).
PostV1ProjectsProjectIDSourcesTestFunctionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIDSourcesTestFunctionResponse, error)
// PostV1ProjectsProjectIDSourcesTestFunctionWithResponse Validate source function
//
// This endpoint validates that a filter will match a certain payload structure.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/sources/test_function (the `PostV1ProjectsProjectIDSourcesTestFunction` operationId).
PostV1ProjectsProjectIDSourcesTestFunctionWithResponse(ctx context.Context, projectID string, body PostV1ProjectsProjectIDSourcesTestFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIDSourcesTestFunctionResponse, error)
// DeleteSourceWithResponse Delete a source
//
// This endpoint deletes a source.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{projectID}/sources/{sourceID} (the `DeleteSource` operationId).
DeleteSourceWithResponse(ctx context.Context, projectID string, sourceID string, reqEditors ...RequestEditorFn) (*DeleteSourceResponse, error)
// GetSourceWithResponse Retrieve a source
//
// This endpoint retrieves a source by its id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/sources/{sourceID} (the `GetSource` operationId).
GetSourceWithResponse(ctx context.Context, projectID string, sourceID string, reqEditors ...RequestEditorFn) (*GetSourceResponse, error)
// UpdateSourceWithBodyWithResponse Update a source
//
// This endpoint updates a source.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/sources/{sourceID} (the `UpdateSource` operationId).
UpdateSourceWithBodyWithResponse(ctx context.Context, projectID string, sourceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSourceResponse, error)
// UpdateSourceWithResponse Update a source
//
// This endpoint updates a source.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/sources/{sourceID} (the `UpdateSource` operationId).
UpdateSourceWithResponse(ctx context.Context, projectID string, sourceID string, body UpdateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSourceResponse, error)
// GetSubscriptionsWithResponse List all subscriptions
//
// This endpoint fetches all the subscriptions.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/subscriptions (the `GetSubscriptions` operationId).
GetSubscriptionsWithResponse(ctx context.Context, projectID string, params *GetSubscriptionsParams, reqEditors ...RequestEditorFn) (*GetSubscriptionsResponse, error)
// CreateSubscriptionWithBodyWithResponse Create a subscription
//
// This endpoint creates a subscriptions.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions (the `CreateSubscription` operationId).
CreateSubscriptionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)
// CreateSubscriptionWithResponse Create a subscription
//
// This endpoint creates a subscriptions.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions (the `CreateSubscription` operationId).
CreateSubscriptionWithResponse(ctx context.Context, projectID string, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)
// TestSubscriptionFilterWithBodyWithResponse Validate subscription filter
//
// This endpoint validates that a filter will match a certain payload structure.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/test_filter (the `TestSubscriptionFilter` operationId).
TestSubscriptionFilterWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestSubscriptionFilterResponse, error)
// TestSubscriptionFilterWithResponse Validate subscription filter
//
// This endpoint validates that a filter will match a certain payload structure.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/test_filter (the `TestSubscriptionFilter` operationId).
TestSubscriptionFilterWithResponse(ctx context.Context, projectID string, body TestSubscriptionFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*TestSubscriptionFilterResponse, error)
// TestSubscriptionFunctionWithBodyWithResponse Test a subscription function
//
// This endpoint test runs a transform function against a payload.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/test_function (the `TestSubscriptionFunction` operationId).
TestSubscriptionFunctionWithBodyWithResponse(ctx context.Context, projectID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestSubscriptionFunctionResponse, error)
// TestSubscriptionFunctionWithResponse Test a subscription function
//
// This endpoint test runs a transform function against a payload.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/test_function (the `TestSubscriptionFunction` operationId).
TestSubscriptionFunctionWithResponse(ctx context.Context, projectID string, body TestSubscriptionFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*TestSubscriptionFunctionResponse, error)
// DeleteSubscriptionWithResponse Delete subscription
//
// This endpoint deletes a subscription.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `DeleteSubscription` operationId).
DeleteSubscriptionWithResponse(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*DeleteSubscriptionResponse, error)
// GetSubscriptionWithResponse Retrieve a subscription
//
// This endpoint retrieves a single subscription.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `GetSubscription` operationId).
GetSubscriptionWithResponse(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*GetSubscriptionResponse, error)
// UpdateSubscriptionWithBodyWithResponse Update a subscription
//
// This endpoint updates a subscription.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `UpdateSubscription` operationId).
UpdateSubscriptionWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSubscriptionResponse, error)
// UpdateSubscriptionWithResponse Update a subscription
//
// This endpoint updates a subscription.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID} (the `UpdateSubscription` operationId).
UpdateSubscriptionWithResponse(ctx context.Context, projectID string, subscriptionID string, body UpdateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSubscriptionResponse, error)
// GetFiltersWithResponse List all filters
//
// This endpoint fetches all filters for a subscription.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `GetFilters` operationId).
GetFiltersWithResponse(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*GetFiltersResponse, error)
// CreateFilterWithBodyWithResponse Create a new filter
//
// This endpoint creates a new filter for a subscription.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `CreateFilter` operationId).
CreateFilterWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFilterResponse, error)
// CreateFilterWithResponse Create a new filter
//
// This endpoint creates a new filter for a subscription.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters (the `CreateFilter` operationId).
CreateFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, body CreateFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFilterResponse, error)
// BulkCreateFiltersWithBodyWithResponse Create multiple subscription filters
//
// This endpoint creates multiple filters for a subscription.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk (the `BulkCreateFilters` operationId).
BulkCreateFiltersWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCreateFiltersResponse, error)
// BulkCreateFiltersWithResponse Create multiple subscription filters
//
// This endpoint creates multiple filters for a subscription.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk (the `BulkCreateFilters` operationId).
BulkCreateFiltersWithResponse(ctx context.Context, projectID string, subscriptionID string, body BulkCreateFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCreateFiltersResponse, error)
// BulkUpdateFiltersWithBodyWithResponse Update multiple subscription filters
//
// This endpoint updates multiple filters for a subscription.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk_update (the `BulkUpdateFilters` operationId).
BulkUpdateFiltersWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateFiltersResponse, error)
// BulkUpdateFiltersWithResponse Update multiple subscription filters
//
// This endpoint updates multiple filters for a subscription.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk_update (the `BulkUpdateFilters` operationId).
BulkUpdateFiltersWithResponse(ctx context.Context, projectID string, subscriptionID string, body BulkUpdateFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateFiltersResponse, error)
// TestFilterWithBodyWithResponse Test a filter
//
// This endpoint tests a filter against a payload.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/test/{eventType} (the `TestFilter` operationId).
TestFilterWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, eventType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestFilterResponse, error)
// TestFilterWithResponse Test a filter
//
// This endpoint tests a filter against a payload.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/test/{eventType} (the `TestFilter` operationId).
TestFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, eventType string, body TestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*TestFilterResponse, error)
// DeleteFilterWithResponse Delete a filter
//
// This endpoint deletes a filter.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `DeleteFilter` operationId).
DeleteFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, reqEditors ...RequestEditorFn) (*DeleteFilterResponse, error)
// GetFilterWithResponse Get a filter
//
// This endpoint retrieves a single filter.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `GetFilter` operationId).
GetFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, reqEditors ...RequestEditorFn) (*GetFilterResponse, error)
// UpdateFilterWithBodyWithResponse Update a filter
//
// This endpoint updates an existing filter.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `UpdateFilter` operationId).
UpdateFilterWithBodyWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFilterResponse, error)
// UpdateFilterWithResponse Update a filter
//
// This endpoint updates an existing filter.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} (the `UpdateFilter` operationId).
UpdateFilterWithResponse(ctx context.Context, projectID string, subscriptionID string, filterID string, body UpdateFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFilterResponse, error)
// ToggleSubscriptionStatusWithResponse Toggle subscription status
//
// This endpoint toggles a subscription status. Retained for backward compatibility.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{projectID}/subscriptions/{subscriptionID}/toggle_status (the `ToggleSubscriptionStatus` operationId).
ToggleSubscriptionStatusWithResponse(ctx context.Context, projectID string, subscriptionID string, reqEditors ...RequestEditorFn) (*ToggleSubscriptionStatusResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConfigRequestIDHeaderProvider ¶
type ConfigRequestIDHeaderProvider string
ConfigRequestIDHeaderProvider defines model for config.RequestIDHeaderProvider.
const ( ConfigRequestIDHeaderProviderDefaultRequestIDHeader ConfigRequestIDHeaderProvider = "X-Convoy-Idempotency-Key" ConfigRequestIDHeaderProviderEmpty ConfigRequestIDHeaderProvider = "" )
Defines values for ConfigRequestIDHeaderProvider.
func (ConfigRequestIDHeaderProvider) Valid ¶
func (e ConfigRequestIDHeaderProvider) Valid() bool
Valid indicates whether the value is a known member of the ConfigRequestIDHeaderProvider enum.
type ConfigSignatureHeaderProvider ¶
type ConfigSignatureHeaderProvider string
ConfigSignatureHeaderProvider defines model for config.SignatureHeaderProvider.
const ( ConfigSignatureHeaderProviderDefaultSignatureHeader ConfigSignatureHeaderProvider = "X-Convoy-Signature" ConfigSignatureHeaderProviderEmpty ConfigSignatureHeaderProvider = "" )
Defines values for ConfigSignatureHeaderProvider.
func (ConfigSignatureHeaderProvider) Valid ¶
func (e ConfigSignatureHeaderProvider) Valid() bool
Valid indicates whether the value is a known member of the ConfigSignatureHeaderProvider enum.
type CountAffectedEventsParams ¶
type CountAffectedEventsParams struct {
Direction *CountAffectedEventsParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// EndDate The end date
EndDate *string `form:"endDate,omitempty" json:"endDate,omitempty"`
// EndpointId A list of endpoint ids to filter by
EndpointId *[]string `form:"endpointId,omitempty" json:"endpointId,omitempty"`
// IdempotencyKey IdempotencyKey to filter by
IdempotencyKey *string `form:"idempotencyKey,omitempty" json:"idempotencyKey,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Query Any arbitrary value to filter the events payload
Query *string `form:"query,omitempty" json:"query,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
// SourceId A list of Source IDs to filter the events by.
SourceId *[]string `form:"sourceId,omitempty" json:"sourceId,omitempty"`
// StartDate The start date
StartDate *string `form:"startDate,omitempty" json:"startDate,omitempty"`
}
CountAffectedEventsParams defines parameters for CountAffectedEvents.
type CountAffectedEventsParamsDirection ¶
type CountAffectedEventsParamsDirection string
CountAffectedEventsParamsDirection defines parameters for CountAffectedEvents.
const ( CountAffectedEventsParamsDirectionNext CountAffectedEventsParamsDirection = "next" CountAffectedEventsParamsDirectionPrev CountAffectedEventsParamsDirection = "prev" )
Defines values for CountAffectedEventsParamsDirection.
func (CountAffectedEventsParamsDirection) Valid ¶
func (e CountAffectedEventsParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the CountAffectedEventsParamsDirection enum.
type CountAffectedEventsResponse ¶
type CountAffectedEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsCountResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCountAffectedEventsResponse ¶
func ParseCountAffectedEventsResponse(rsp *http.Response) (*CountAffectedEventsResponse, error)
ParseCountAffectedEventsResponse parses an HTTP response from a CountAffectedEventsWithResponse call
func (CountAffectedEventsResponse) ContentType ¶
func (r CountAffectedEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CountAffectedEventsResponse) GetBody ¶
func (r CountAffectedEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CountAffectedEventsResponse) GetJSON200 ¶
func (r CountAffectedEventsResponse) GetJSON200() *struct { Data *ModelsCountResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CountAffectedEventsResponse) GetJSON400 ¶
func (r CountAffectedEventsResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CountAffectedEventsResponse) GetJSON401 ¶
func (r CountAffectedEventsResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CountAffectedEventsResponse) GetJSON404 ¶
func (r CountAffectedEventsResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CountAffectedEventsResponse) Status ¶
func (r CountAffectedEventsResponse) Status() string
Status returns HTTPResponse.Status
func (CountAffectedEventsResponse) StatusCode ¶
func (r CountAffectedEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBroadcastEventJSONRequestBody ¶
type CreateBroadcastEventJSONRequestBody = ModelsBroadcastEvent
CreateBroadcastEventJSONRequestBody defines body for CreateBroadcastEvent for application/json ContentType.
type CreateBroadcastEventResponse ¶
type CreateBroadcastEventResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *ModelsEventResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateBroadcastEventResponse ¶
func ParseCreateBroadcastEventResponse(rsp *http.Response) (*CreateBroadcastEventResponse, error)
ParseCreateBroadcastEventResponse parses an HTTP response from a CreateBroadcastEventWithResponse call
func (CreateBroadcastEventResponse) ContentType ¶
func (r CreateBroadcastEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateBroadcastEventResponse) GetBody ¶
func (r CreateBroadcastEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateBroadcastEventResponse) GetJSON201 ¶
func (r CreateBroadcastEventResponse) GetJSON201() *struct { Data *ModelsEventResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateBroadcastEventResponse) GetJSON400 ¶
func (r CreateBroadcastEventResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateBroadcastEventResponse) GetJSON401 ¶
func (r CreateBroadcastEventResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateBroadcastEventResponse) GetJSON404 ¶
func (r CreateBroadcastEventResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateBroadcastEventResponse) Status ¶
func (r CreateBroadcastEventResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBroadcastEventResponse) StatusCode ¶
func (r CreateBroadcastEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDynamicEventJSONRequestBody ¶
type CreateDynamicEventJSONRequestBody = ModelsDynamicEvent
CreateDynamicEventJSONRequestBody defines body for CreateDynamicEvent for application/json ContentType.
type CreateDynamicEventResponse ¶
type CreateDynamicEventResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateDynamicEventResponse ¶
func ParseCreateDynamicEventResponse(rsp *http.Response) (*CreateDynamicEventResponse, error)
ParseCreateDynamicEventResponse parses an HTTP response from a CreateDynamicEventWithResponse call
func (CreateDynamicEventResponse) ContentType ¶
func (r CreateDynamicEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDynamicEventResponse) GetBody ¶
func (r CreateDynamicEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDynamicEventResponse) GetJSON201 ¶
func (r CreateDynamicEventResponse) GetJSON201() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDynamicEventResponse) GetJSON400 ¶
func (r CreateDynamicEventResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateDynamicEventResponse) GetJSON401 ¶
func (r CreateDynamicEventResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateDynamicEventResponse) GetJSON404 ¶
func (r CreateDynamicEventResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateDynamicEventResponse) Status ¶
func (r CreateDynamicEventResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDynamicEventResponse) StatusCode ¶
func (r CreateDynamicEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEndpointEventJSONRequestBody ¶
type CreateEndpointEventJSONRequestBody = ModelsCreateEvent
CreateEndpointEventJSONRequestBody defines body for CreateEndpointEvent for application/json ContentType.
type CreateEndpointEventResponse ¶
type CreateEndpointEventResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateEndpointEventResponse ¶
func ParseCreateEndpointEventResponse(rsp *http.Response) (*CreateEndpointEventResponse, error)
ParseCreateEndpointEventResponse parses an HTTP response from a CreateEndpointEventWithResponse call
func (CreateEndpointEventResponse) ContentType ¶
func (r CreateEndpointEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateEndpointEventResponse) GetBody ¶
func (r CreateEndpointEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateEndpointEventResponse) GetJSON201 ¶
func (r CreateEndpointEventResponse) GetJSON201() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateEndpointEventResponse) GetJSON400 ¶
func (r CreateEndpointEventResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateEndpointEventResponse) GetJSON401 ¶
func (r CreateEndpointEventResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateEndpointEventResponse) GetJSON404 ¶
func (r CreateEndpointEventResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateEndpointEventResponse) Status ¶
func (r CreateEndpointEventResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEndpointEventResponse) StatusCode ¶
func (r CreateEndpointEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEndpointFanoutEventJSONRequestBody ¶
type CreateEndpointFanoutEventJSONRequestBody = ModelsFanoutEvent
CreateEndpointFanoutEventJSONRequestBody defines body for CreateEndpointFanoutEvent for application/json ContentType.
type CreateEndpointFanoutEventResponse ¶
type CreateEndpointFanoutEventResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateEndpointFanoutEventResponse ¶
func ParseCreateEndpointFanoutEventResponse(rsp *http.Response) (*CreateEndpointFanoutEventResponse, error)
ParseCreateEndpointFanoutEventResponse parses an HTTP response from a CreateEndpointFanoutEventWithResponse call
func (CreateEndpointFanoutEventResponse) ContentType ¶
func (r CreateEndpointFanoutEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateEndpointFanoutEventResponse) GetBody ¶
func (r CreateEndpointFanoutEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateEndpointFanoutEventResponse) GetJSON201 ¶
func (r CreateEndpointFanoutEventResponse) GetJSON201() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateEndpointFanoutEventResponse) GetJSON400 ¶
func (r CreateEndpointFanoutEventResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateEndpointFanoutEventResponse) GetJSON401 ¶
func (r CreateEndpointFanoutEventResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateEndpointFanoutEventResponse) GetJSON404 ¶
func (r CreateEndpointFanoutEventResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateEndpointFanoutEventResponse) Status ¶
func (r CreateEndpointFanoutEventResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEndpointFanoutEventResponse) StatusCode ¶
func (r CreateEndpointFanoutEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEndpointJSONRequestBody ¶
type CreateEndpointJSONRequestBody = ModelsCreateEndpoint
CreateEndpointJSONRequestBody defines body for CreateEndpoint for application/json ContentType.
type CreateEndpointResponse ¶
type CreateEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *ModelsEndpointResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateEndpointResponse ¶
func ParseCreateEndpointResponse(rsp *http.Response) (*CreateEndpointResponse, error)
ParseCreateEndpointResponse parses an HTTP response from a CreateEndpointWithResponse call
func (CreateEndpointResponse) ContentType ¶
func (r CreateEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateEndpointResponse) GetBody ¶
func (r CreateEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateEndpointResponse) GetJSON201 ¶
func (r CreateEndpointResponse) GetJSON201() *struct { Data *ModelsEndpointResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateEndpointResponse) GetJSON400 ¶
func (r CreateEndpointResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateEndpointResponse) GetJSON401 ¶
func (r CreateEndpointResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateEndpointResponse) GetJSON404 ¶
func (r CreateEndpointResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateEndpointResponse) Status ¶
func (r CreateEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEndpointResponse) StatusCode ¶
func (r CreateEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEventTypeJSONRequestBody ¶
type CreateEventTypeJSONRequestBody = ModelsCreateEventType
CreateEventTypeJSONRequestBody defines body for CreateEventType for application/json ContentType.
type CreateEventTypeResponse ¶
type CreateEventTypeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *ModelsEventTypeResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateEventTypeResponse ¶
func ParseCreateEventTypeResponse(rsp *http.Response) (*CreateEventTypeResponse, error)
ParseCreateEventTypeResponse parses an HTTP response from a CreateEventTypeWithResponse call
func (CreateEventTypeResponse) ContentType ¶
func (r CreateEventTypeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateEventTypeResponse) GetBody ¶
func (r CreateEventTypeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateEventTypeResponse) GetJSON201 ¶
func (r CreateEventTypeResponse) GetJSON201() *struct { Data *ModelsEventTypeResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateEventTypeResponse) GetJSON400 ¶
func (r CreateEventTypeResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateEventTypeResponse) GetJSON401 ¶
func (r CreateEventTypeResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateEventTypeResponse) GetJSON404 ¶
func (r CreateEventTypeResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateEventTypeResponse) Status ¶
func (r CreateEventTypeResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEventTypeResponse) StatusCode ¶
func (r CreateEventTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFilterJSONRequestBody ¶
type CreateFilterJSONRequestBody = ModelsCreateFilterRequest
CreateFilterJSONRequestBody defines body for CreateFilter for application/json ContentType.
type CreateFilterResponse ¶
type CreateFilterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *ModelsFilterResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateFilterResponse ¶
func ParseCreateFilterResponse(rsp *http.Response) (*CreateFilterResponse, error)
ParseCreateFilterResponse parses an HTTP response from a CreateFilterWithResponse call
func (CreateFilterResponse) ContentType ¶
func (r CreateFilterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateFilterResponse) GetBody ¶
func (r CreateFilterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateFilterResponse) GetJSON201 ¶
func (r CreateFilterResponse) GetJSON201() *struct { Data *ModelsFilterResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateFilterResponse) GetJSON400 ¶
func (r CreateFilterResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateFilterResponse) GetJSON401 ¶
func (r CreateFilterResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateFilterResponse) GetJSON404 ¶
func (r CreateFilterResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateFilterResponse) Status ¶
func (r CreateFilterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFilterResponse) StatusCode ¶
func (r CreateFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePortalLinkJSONRequestBody ¶
type CreatePortalLinkJSONRequestBody = DatastoreCreatePortalLinkRequest
CreatePortalLinkJSONRequestBody defines body for CreatePortalLink for application/json ContentType.
type CreatePortalLinkResponse ¶
type CreatePortalLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *DatastorePortalLinkResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreatePortalLinkResponse ¶
func ParseCreatePortalLinkResponse(rsp *http.Response) (*CreatePortalLinkResponse, error)
ParseCreatePortalLinkResponse parses an HTTP response from a CreatePortalLinkWithResponse call
func (CreatePortalLinkResponse) ContentType ¶
func (r CreatePortalLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePortalLinkResponse) GetBody ¶
func (r CreatePortalLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePortalLinkResponse) GetJSON201 ¶
func (r CreatePortalLinkResponse) GetJSON201() *struct { Data *DatastorePortalLinkResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreatePortalLinkResponse) GetJSON400 ¶
func (r CreatePortalLinkResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreatePortalLinkResponse) GetJSON401 ¶
func (r CreatePortalLinkResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreatePortalLinkResponse) GetJSON404 ¶
func (r CreatePortalLinkResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreatePortalLinkResponse) Status ¶
func (r CreatePortalLinkResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePortalLinkResponse) StatusCode ¶
func (r CreatePortalLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectJSONRequestBody ¶
type CreateProjectJSONRequestBody = ModelsCreateProject
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
type CreateProjectParams ¶
type CreateProjectParams struct {
// OrgID Organisation ID
OrgID string `form:"orgID" json:"orgID"`
}
CreateProjectParams defines parameters for CreateProject.
type CreateProjectResponse ¶
type CreateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *ModelsCreateProjectResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON402 the response for an HTTP 402 `application/json` response
JSON402 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateProjectResponse ¶
func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)
ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call
func (CreateProjectResponse) ContentType ¶
func (r CreateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProjectResponse) GetBody ¶
func (r CreateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateProjectResponse) GetJSON201 ¶
func (r CreateProjectResponse) GetJSON201() *struct { Data *ModelsCreateProjectResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateProjectResponse) GetJSON400 ¶
func (r CreateProjectResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateProjectResponse) GetJSON401 ¶
func (r CreateProjectResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateProjectResponse) GetJSON402 ¶
func (r CreateProjectResponse) GetJSON402() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON402 returns the response for an HTTP 402 `application/json` response
func (CreateProjectResponse) GetJSON403 ¶
func (r CreateProjectResponse) GetJSON403() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateProjectResponse) GetJSON404 ¶
func (r CreateProjectResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateProjectResponse) Status ¶
func (r CreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectResponse) StatusCode ¶
func (r CreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSourceJSONRequestBody ¶
type CreateSourceJSONRequestBody = ModelsCreateSource
CreateSourceJSONRequestBody defines body for CreateSource for application/json ContentType.
type CreateSourceResponse ¶
type CreateSourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *ModelsSourceResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateSourceResponse ¶
func ParseCreateSourceResponse(rsp *http.Response) (*CreateSourceResponse, error)
ParseCreateSourceResponse parses an HTTP response from a CreateSourceWithResponse call
func (CreateSourceResponse) ContentType ¶
func (r CreateSourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSourceResponse) GetBody ¶
func (r CreateSourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSourceResponse) GetJSON201 ¶
func (r CreateSourceResponse) GetJSON201() *struct { Data *ModelsSourceResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSourceResponse) GetJSON400 ¶
func (r CreateSourceResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateSourceResponse) GetJSON401 ¶
func (r CreateSourceResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateSourceResponse) GetJSON404 ¶
func (r CreateSourceResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateSourceResponse) Status ¶
func (r CreateSourceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSourceResponse) StatusCode ¶
func (r CreateSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSubscriptionJSONRequestBody ¶
type CreateSubscriptionJSONRequestBody = ModelsCreateSubscription
CreateSubscriptionJSONRequestBody defines body for CreateSubscription for application/json ContentType.
type CreateSubscriptionResponse ¶
type CreateSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *ModelsSubscriptionResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseCreateSubscriptionResponse ¶
func ParseCreateSubscriptionResponse(rsp *http.Response) (*CreateSubscriptionResponse, error)
ParseCreateSubscriptionResponse parses an HTTP response from a CreateSubscriptionWithResponse call
func (CreateSubscriptionResponse) ContentType ¶
func (r CreateSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSubscriptionResponse) GetBody ¶
func (r CreateSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSubscriptionResponse) GetJSON201 ¶
func (r CreateSubscriptionResponse) GetJSON201() *struct { Data *ModelsSubscriptionResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSubscriptionResponse) GetJSON400 ¶
func (r CreateSubscriptionResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateSubscriptionResponse) GetJSON401 ¶
func (r CreateSubscriptionResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateSubscriptionResponse) GetJSON404 ¶
func (r CreateSubscriptionResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateSubscriptionResponse) Status ¶
func (r CreateSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSubscriptionResponse) StatusCode ¶
func (r CreateSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatastoreAPIKeyResponse ¶
type DatastoreAPIKeyResponse struct {
CreatedAt *string `json:"created_at,omitempty"`
ExpiresAt *string `json:"expires_at,omitempty"`
Key *string `json:"key,omitempty"`
KeyType *string `json:"key_type,omitempty"`
Name *string `json:"name,omitempty"`
Role *DatastoreRole `json:"role,omitempty"`
Uid *string `json:"uid,omitempty"`
UserId *string `json:"user_id,omitempty"`
}
DatastoreAPIKeyResponse defines model for datastore.APIKeyResponse.
type DatastoreAlertConfiguration ¶
type DatastoreAlertConfiguration struct {
Count *int `json:"count,omitempty"`
Threshold *string `json:"threshold,omitempty"`
}
DatastoreAlertConfiguration defines model for datastore.AlertConfiguration.
type DatastoreAmqpCredentials ¶
type DatastoreAmqpCredentials struct {
Password *string `json:"password,omitempty"`
User *string `json:"user,omitempty"`
}
DatastoreAmqpCredentials defines model for datastore.AmqpCredentials.
type DatastoreAmqpPubSubConfig ¶
type DatastoreAmqpPubSubConfig struct {
Auth *DatastoreAmqpCredentials `json:"auth,omitempty"`
BindedExchange *string `json:"bindedExchange,omitempty"`
DeadLetterExchange *string `json:"deadLetterExchange,omitempty"`
Host *string `json:"host,omitempty"`
Port *string `json:"port,omitempty"`
Queue *string `json:"queue,omitempty"`
RoutingKey *string `json:"routingKey,omitempty"`
Schema *string `json:"schema,omitempty"`
Vhost *string `json:"vhost,omitempty"`
}
DatastoreAmqpPubSubConfig defines model for datastore.AmqpPubSubConfig.
type DatastoreApiKey ¶
type DatastoreApiKey struct {
HeaderName *string `json:"header_name,omitempty"`
HeaderValue *string `json:"header_value,omitempty"`
}
DatastoreApiKey defines model for datastore.ApiKey.
type DatastoreBasicAuth ¶
type DatastoreBasicAuth struct {
Password *string `json:"password,omitempty"`
Username *string `json:"username,omitempty"`
}
DatastoreBasicAuth defines model for datastore.BasicAuth.
type DatastoreCLIMetadata ¶
type DatastoreCLIMetadata struct {
EventType *string `json:"event_type,omitempty"`
SourceId *string `json:"source_id,omitempty"`
}
DatastoreCLIMetadata defines model for datastore.CLIMetadata.
type DatastoreCircuitBreakerConfiguration ¶
type DatastoreCircuitBreakerConfiguration struct {
ConsecutiveFailureThreshold *int `json:"consecutive_failure_threshold,omitempty"`
ErrorTimeout *int `json:"error_timeout,omitempty"`
FailureThreshold *int `json:"failure_threshold,omitempty"`
MinimumRequestCount *int `json:"minimum_request_count,omitempty"`
ObservabilityWindow *int `json:"observability_window,omitempty"`
SampleRate *int `json:"sample_rate,omitempty"`
SuccessThreshold *int `json:"success_threshold,omitempty"`
}
DatastoreCircuitBreakerConfiguration defines model for datastore.CircuitBreakerConfiguration.
type DatastoreCreatePortalLinkRequest ¶
type DatastoreCreatePortalLinkRequest struct {
AuthType *string `json:"auth_type,omitempty"`
// CanManageEndpoint Specify whether endpoint management can be done through the Portal Link UI
CanManageEndpoint *bool `json:"can_manage_endpoint,omitempty"`
// Endpoints Deprecated
// IDs of endpoints in this portal link
Endpoints *[]string `json:"endpoints,omitempty"`
// Name Portal Link Name
Name *string `json:"name,omitempty"`
// OwnerId OwnerID, the portal link will inherit all the endpoints with this owner ID
OwnerId *string `json:"owner_id,omitempty"`
}
DatastoreCreatePortalLinkRequest defines model for datastore.CreatePortalLinkRequest.
type DatastoreCustomResponse ¶
type DatastoreCustomResponse struct {
Body *string `json:"body,omitempty"`
ContentType *string `json:"content_type,omitempty"`
}
DatastoreCustomResponse defines model for datastore.CustomResponse.
type DatastoreDeliveryAttempt ¶
type DatastoreDeliveryAttempt struct {
ApiVersion *string `json:"api_version,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
EndpointId *string `json:"endpoint_id,omitempty"`
Error *string `json:"error,omitempty"`
HttpStatus *string `json:"http_status,omitempty"`
IpAddress *string `json:"ip_address,omitempty"`
Method *string `json:"method,omitempty"`
MsgId *string `json:"msg_id,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
RequestHttpHeader *DatastoreHttpHeader `json:"request_http_header,omitempty"`
RequestedAt *string `json:"requested_at,omitempty"`
RespondedAt *string `json:"responded_at,omitempty"`
ResponseData *string `json:"response_data,omitempty"`
ResponseHttpHeader *DatastoreHttpHeader `json:"response_http_header,omitempty"`
Status *bool `json:"status,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Url *string `json:"url,omitempty"`
}
DatastoreDeliveryAttempt defines model for datastore.DeliveryAttempt.
type DatastoreDeliveryMode ¶
type DatastoreDeliveryMode string
DatastoreDeliveryMode defines model for datastore.DeliveryMode.
const ( DatastoreDeliveryModeAtLeastOnceDeliveryMode DatastoreDeliveryMode = "at_least_once" DatastoreDeliveryModeAtMostOnceDeliveryMode DatastoreDeliveryMode = "at_most_once" DatastoreDeliveryModeEmpty DatastoreDeliveryMode = "" )
Defines values for DatastoreDeliveryMode.
func (DatastoreDeliveryMode) Valid ¶
func (e DatastoreDeliveryMode) Valid() bool
Valid indicates whether the value is a known member of the DatastoreDeliveryMode enum.
type DatastoreDevice ¶
type DatastoreDevice struct {
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
EndpointId *string `json:"endpoint_id,omitempty"`
HostName *string `json:"host_name,omitempty"`
LastSeenAt *string `json:"last_seen_at,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
Status *DatastoreDeviceStatus `json:"status,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
}
DatastoreDevice defines model for datastore.Device.
type DatastoreDeviceStatus ¶
type DatastoreDeviceStatus string
DatastoreDeviceStatus defines model for datastore.DeviceStatus.
const ( DatastoreDeviceStatusDeviceStatusDisabled DatastoreDeviceStatus = "disabled" DatastoreDeviceStatusDeviceStatusOffline DatastoreDeviceStatus = "offline" DatastoreDeviceStatusDeviceStatusOnline DatastoreDeviceStatus = "online" DatastoreDeviceStatusEmpty DatastoreDeviceStatus = "" )
Defines values for DatastoreDeviceStatus.
func (DatastoreDeviceStatus) Valid ¶
func (e DatastoreDeviceStatus) Valid() bool
Valid indicates whether the value is a known member of the DatastoreDeviceStatus enum.
type DatastoreEncodingType ¶
type DatastoreEncodingType string
DatastoreEncodingType defines model for datastore.EncodingType.
const ( DatastoreEncodingTypeBase64Encoding DatastoreEncodingType = "base64" DatastoreEncodingTypeEmpty DatastoreEncodingType = "" DatastoreEncodingTypeHexEncoding DatastoreEncodingType = "hex" )
Defines values for DatastoreEncodingType.
func (DatastoreEncodingType) Valid ¶
func (e DatastoreEncodingType) Valid() bool
Valid indicates whether the value is a known member of the DatastoreEncodingType enum.
type DatastoreEndpoint ¶
type DatastoreEndpoint struct {
AdvancedSignatures *bool `json:"advanced_signatures,omitempty"`
Authentication *DatastoreEndpointAuthentication `json:"authentication,omitempty"`
// CbState CBState is the circuit breaker state ("open", "half-open", "closed") so the UI
// can reflect a tripped breaker on the endpoint status. Nil when CB is
// off/unlicensed or has no sample for this endpoint.
CbState *string `json:"cb_state,omitempty"`
ContentType *string `json:"content_type,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
Description *string `json:"description,omitempty"`
Events *int `json:"events,omitempty"`
FailureCount *int `json:"failure_count,omitempty"`
// FailureRate FailureRate is the circuit breaker's rolling failure rate for this endpoint.
// It is a pointer so the API can return null when no rate was computed (circuit
// breaker feature off, or sampler not running), distinct from a genuine 0%.
FailureRate *float32 `json:"failure_rate,omitempty"`
HttpTimeout *int `json:"http_timeout,omitempty"`
// MtlsClientCert mTLS client certificate configuration
MtlsClientCert *DatastoreMtlsClientCert `json:"mtls_client_cert,omitempty"`
Name *string `json:"name,omitempty"`
OwnerId *string `json:"owner_id,omitempty"`
// PeriodFailureRate PeriodFailureRate is the period failure rate from event_deliveries,
// (Failure+Retry)/(Success+Failure+Retry). Retry counts as failed-so-far.
// Nil when the range has no counted deliveries; sibling counts are transient.
PeriodFailureRate *float32 `json:"period_failure_rate,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
RateLimit *int `json:"rate_limit,omitempty"`
RateLimitDuration *int `json:"rate_limit_duration,omitempty"`
RetryCount *int `json:"retry_count,omitempty"`
Secrets *[]DatastoreSecret `json:"secrets,omitempty"`
SlackWebhookUrl *string `json:"slack_webhook_url,omitempty"`
Status *DatastoreEndpointStatus `json:"status,omitempty"`
SuccessCount *int `json:"success_count,omitempty"`
SupportEmail *string `json:"support_email,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Url *string `json:"url,omitempty"`
}
DatastoreEndpoint defines model for datastore.Endpoint.
type DatastoreEndpointAuthentication ¶
type DatastoreEndpointAuthentication struct {
ApiKey *DatastoreApiKey `json:"api_key,omitempty"`
BasicAuth *DatastoreBasicAuth `json:"basic_auth,omitempty"`
Oauth2 *DatastoreOAuth2 `json:"oauth2,omitempty"`
Type *DatastoreEndpointAuthenticationType `json:"type,omitempty"`
}
DatastoreEndpointAuthentication defines model for datastore.EndpointAuthentication.
type DatastoreEndpointAuthenticationType ¶
type DatastoreEndpointAuthenticationType string
DatastoreEndpointAuthenticationType defines model for datastore.EndpointAuthenticationType.
const ( DatastoreEndpointAuthenticationTypeAPIKeyAuthentication DatastoreEndpointAuthenticationType = "api_key" DatastoreEndpointAuthenticationTypeBasicAuthentication DatastoreEndpointAuthenticationType = "basic_auth" DatastoreEndpointAuthenticationTypeEmpty DatastoreEndpointAuthenticationType = "" DatastoreEndpointAuthenticationTypeOAuth2Authentication DatastoreEndpointAuthenticationType = "oauth2" )
Defines values for DatastoreEndpointAuthenticationType.
func (DatastoreEndpointAuthenticationType) Valid ¶
func (e DatastoreEndpointAuthenticationType) Valid() bool
Valid indicates whether the value is a known member of the DatastoreEndpointAuthenticationType enum.
type DatastoreEndpointStatus ¶
type DatastoreEndpointStatus string
DatastoreEndpointStatus defines model for datastore.EndpointStatus.
const ( DatastoreEndpointStatusActiveEndpointStatus DatastoreEndpointStatus = "active" DatastoreEndpointStatusEmpty DatastoreEndpointStatus = "" DatastoreEndpointStatusInactiveEndpointStatus DatastoreEndpointStatus = "inactive" DatastoreEndpointStatusPausedEndpointStatus DatastoreEndpointStatus = "paused" )
Defines values for DatastoreEndpointStatus.
func (DatastoreEndpointStatus) Valid ¶
func (e DatastoreEndpointStatus) Valid() bool
Valid indicates whether the value is a known member of the DatastoreEndpointStatus enum.
type DatastoreEvent ¶
type DatastoreEvent struct {
AcknowledgedAt *string `json:"acknowledged_at,omitempty"`
// AppId Deprecated
AppId *string `json:"app_id,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
// Data Data is an arbitrary JSON value that gets sent as the body of the
// webhook to the endpoints
Data *map[string]interface{} `json:"data,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
EndpointMetadata *[]DatastoreEndpoint `json:"endpoint_metadata,omitempty"`
Endpoints *[]string `json:"endpoints,omitempty"`
EventType *string `json:"event_type,omitempty"`
Headers *HttpheaderHTTPHeader `json:"headers,omitempty"`
IdempotencyKey *string `json:"idempotency_key,omitempty"`
IsDuplicateEvent *bool `json:"is_duplicate_event,omitempty"`
Metadata *string `json:"metadata,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
Raw *string `json:"raw,omitempty"`
SourceId *string `json:"source_id,omitempty"`
SourceMetadata *DatastoreSource `json:"source_metadata,omitempty"`
Status *DatastoreEventStatus `json:"status,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
UrlPath *string `json:"url_path,omitempty"`
UrlQueryParams *string `json:"url_query_params,omitempty"`
}
DatastoreEvent defines model for datastore.Event.
type DatastoreEventDeliveryStatus ¶
type DatastoreEventDeliveryStatus string
DatastoreEventDeliveryStatus defines model for datastore.EventDeliveryStatus.
const ( DatastoreEventDeliveryStatusDiscardedEventStatus DatastoreEventDeliveryStatus = "Discarded" DatastoreEventDeliveryStatusEmpty DatastoreEventDeliveryStatus = "" DatastoreEventDeliveryStatusFailureEventStatus DatastoreEventDeliveryStatus = "Failure" DatastoreEventDeliveryStatusProcessingEventStatus DatastoreEventDeliveryStatus = "Processing" DatastoreEventDeliveryStatusRetryEventStatus DatastoreEventDeliveryStatus = "Retry" DatastoreEventDeliveryStatusScheduledEventStatus DatastoreEventDeliveryStatus = "Scheduled" DatastoreEventDeliveryStatusSuccessEventStatus DatastoreEventDeliveryStatus = "Success" )
Defines values for DatastoreEventDeliveryStatus.
func (DatastoreEventDeliveryStatus) Valid ¶
func (e DatastoreEventDeliveryStatus) Valid() bool
Valid indicates whether the value is a known member of the DatastoreEventDeliveryStatus enum.
type DatastoreEventStatus ¶
type DatastoreEventStatus string
DatastoreEventStatus defines model for datastore.EventStatus.
const ( DatastoreEventStatusEmpty DatastoreEventStatus = "" DatastoreEventStatusFailureStatus DatastoreEventStatus = "Failure" DatastoreEventStatusPendingStatus DatastoreEventStatus = "Pending" DatastoreEventStatusProcessingStatus DatastoreEventStatus = "Processing" DatastoreEventStatusRetryStatus DatastoreEventStatus = "Retry" DatastoreEventStatusSuccessStatus DatastoreEventStatus = "Success" )
Defines values for DatastoreEventStatus.
func (DatastoreEventStatus) Valid ¶
func (e DatastoreEventStatus) Valid() bool
Valid indicates whether the value is a known member of the DatastoreEventStatus enum.
type DatastoreFilterConfiguration ¶
type DatastoreFilterConfiguration struct {
EventTypes *[]string `json:"event_types,omitempty"`
Filter *DatastoreFilterSchema `json:"filter,omitempty"`
}
DatastoreFilterConfiguration defines model for datastore.FilterConfiguration.
type DatastoreFilterSchema ¶
type DatastoreFilterSchema struct {
Body *DatastoreM `json:"body,omitempty"`
Headers *DatastoreM `json:"headers,omitempty"`
IsFlattened *bool `json:"is_flattened,omitempty"`
Path *DatastoreM `json:"path,omitempty"`
Query *DatastoreM `json:"query,omitempty"`
}
DatastoreFilterSchema defines model for datastore.FilterSchema.
type DatastoreGooglePubSubConfig ¶
type DatastoreGooglePubSubConfig struct {
ProjectId *string `json:"project_id,omitempty"`
// ServiceAccount encoding/json marshals []byte as a base64 string on the wire.
ServiceAccount *[]byte `json:"service_account,omitempty"`
SubscriptionId *string `json:"subscription_id,omitempty"`
}
DatastoreGooglePubSubConfig defines model for datastore.GooglePubSubConfig.
type DatastoreHMac ¶
type DatastoreHMac struct {
Encoding *DatastoreEncodingType `json:"encoding,omitempty"`
Hash *string `json:"hash,omitempty"`
Header *string `json:"header,omitempty"`
Secret *string `json:"secret,omitempty"`
}
DatastoreHMac defines model for datastore.HMac.
type DatastoreHttpHeader ¶
DatastoreHttpHeader defines model for datastore.HttpHeader.
type DatastoreKafkaAuth ¶
type DatastoreKafkaAuth struct {
Hash *string `json:"hash,omitempty"`
Password *string `json:"password,omitempty"`
Tls *bool `json:"tls,omitempty"`
Type *string `json:"type,omitempty"`
Username *string `json:"username,omitempty"`
}
DatastoreKafkaAuth defines model for datastore.KafkaAuth.
type DatastoreKafkaPubSubConfig ¶
type DatastoreKafkaPubSubConfig struct {
Auth *DatastoreKafkaAuth `json:"auth,omitempty"`
Brokers *[]string `json:"brokers,omitempty"`
ConsumerGroupId *string `json:"consumer_group_id,omitempty"`
TopicName *string `json:"topic_name,omitempty"`
}
DatastoreKafkaPubSubConfig defines model for datastore.KafkaPubSubConfig.
type DatastoreMetaEventAttempt ¶
type DatastoreMetaEventAttempt struct {
RequestHttpHeader *DatastoreHttpHeader `json:"request_http_header,omitempty"`
ResponseData *string `json:"response_data,omitempty"`
ResponseHttpHeader *DatastoreHttpHeader `json:"response_http_header,omitempty"`
}
DatastoreMetaEventAttempt defines model for datastore.MetaEventAttempt.
type DatastoreMetaEventConfiguration ¶
type DatastoreMetaEventConfiguration struct {
EventType *[]string `json:"event_type,omitempty"`
IsEnabled *bool `json:"is_enabled,omitempty"`
PubSub *DatastorePubSubConfig `json:"pub_sub,omitempty"`
Secret *string `json:"secret,omitempty"`
Type *DatastoreMetaEventType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
}
DatastoreMetaEventConfiguration defines model for datastore.MetaEventConfiguration.
type DatastoreMetaEventType ¶
type DatastoreMetaEventType string
DatastoreMetaEventType defines model for datastore.MetaEventType.
const ( DatastoreMetaEventTypeEmpty DatastoreMetaEventType = "" DatastoreMetaEventTypeHTTPMetaEvent DatastoreMetaEventType = "http" DatastoreMetaEventTypePubSubMetaEvent DatastoreMetaEventType = "pub_sub" )
Defines values for DatastoreMetaEventType.
func (DatastoreMetaEventType) Valid ¶
func (e DatastoreMetaEventType) Valid() bool
Valid indicates whether the value is a known member of the DatastoreMetaEventType enum.
type DatastoreMetadata ¶
type DatastoreMetadata struct {
// Data Data to be sent to endpoint.
Data *map[string]interface{} `json:"data,omitempty"`
IntervalSeconds *int `json:"interval_seconds,omitempty"`
MaxRetrySeconds *int `json:"max_retry_seconds,omitempty"`
NextSendTime *string `json:"next_send_time,omitempty"`
// NumTrials NumTrials: number of times we have tried to deliver this Event to
// an application
NumTrials *int `json:"num_trials,omitempty"`
Raw *string `json:"raw,omitempty"`
RetryLimit *int `json:"retry_limit,omitempty"`
Strategy *DatastoreStrategyProvider `json:"strategy,omitempty"`
}
DatastoreMetadata defines model for datastore.Metadata.
type DatastoreMtlsClientCert ¶
type DatastoreMtlsClientCert struct {
// ClientCert ClientCert is the client certificate PEM string
ClientCert *string `json:"client_cert,omitempty"`
// ClientKey ClientKey is the client private key PEM string
ClientKey *string `json:"client_key,omitempty"`
}
DatastoreMtlsClientCert defines model for datastore.MtlsClientCert.
type DatastoreOAuth2 ¶
type DatastoreOAuth2 struct {
Audience *string `json:"audience,omitempty"`
AuthenticationType *DatastoreOAuth2AuthenticationType `json:"authentication_type,omitempty"`
ClientId *string `json:"client_id,omitempty"`
// ClientSecret Encrypted at rest
ClientSecret *string `json:"client_secret,omitempty"`
// ExpiryTimeUnit Expiry time unit (seconds, milliseconds, minutes, hours)
ExpiryTimeUnit *DatastoreOAuth2ExpiryTimeUnit `json:"expiry_time_unit,omitempty"`
// FieldMapping Field mapping for flexible token response parsing
FieldMapping *DatastoreOAuth2FieldMapping `json:"field_mapping,omitempty"`
GrantType *string `json:"grant_type,omitempty"`
Issuer *string `json:"issuer,omitempty"`
Scope *string `json:"scope,omitempty"`
SigningAlgorithm *string `json:"signing_algorithm,omitempty"`
// SigningKey Encrypted at rest
SigningKey *DatastoreOAuth2SigningKey `json:"signing_key,omitempty"`
Subject *string `json:"subject,omitempty"`
Url *string `json:"url,omitempty"`
}
DatastoreOAuth2 defines model for datastore.OAuth2.
type DatastoreOAuth2AuthenticationType ¶
type DatastoreOAuth2AuthenticationType string
DatastoreOAuth2AuthenticationType defines model for datastore.OAuth2AuthenticationType.
const ( DatastoreOAuth2AuthenticationTypeClientAssertionAuth DatastoreOAuth2AuthenticationType = "client_assertion" DatastoreOAuth2AuthenticationTypeEmpty DatastoreOAuth2AuthenticationType = "" )
Defines values for DatastoreOAuth2AuthenticationType.
func (DatastoreOAuth2AuthenticationType) Valid ¶
func (e DatastoreOAuth2AuthenticationType) Valid() bool
Valid indicates whether the value is a known member of the DatastoreOAuth2AuthenticationType enum.
type DatastoreOAuth2ExpiryTimeUnit ¶
type DatastoreOAuth2ExpiryTimeUnit string
DatastoreOAuth2ExpiryTimeUnit defines model for datastore.OAuth2ExpiryTimeUnit.
const ( DatastoreOAuth2ExpiryTimeUnitEmpty DatastoreOAuth2ExpiryTimeUnit = "" DatastoreOAuth2ExpiryTimeUnitExpiryTimeUnitHours DatastoreOAuth2ExpiryTimeUnit = "hours" DatastoreOAuth2ExpiryTimeUnitExpiryTimeUnitMilliseconds DatastoreOAuth2ExpiryTimeUnit = "milliseconds" DatastoreOAuth2ExpiryTimeUnitExpiryTimeUnitMinutes DatastoreOAuth2ExpiryTimeUnit = "minutes" DatastoreOAuth2ExpiryTimeUnitExpiryTimeUnitSeconds DatastoreOAuth2ExpiryTimeUnit = "seconds" )
Defines values for DatastoreOAuth2ExpiryTimeUnit.
func (DatastoreOAuth2ExpiryTimeUnit) Valid ¶
func (e DatastoreOAuth2ExpiryTimeUnit) Valid() bool
Valid indicates whether the value is a known member of the DatastoreOAuth2ExpiryTimeUnit enum.
type DatastoreOAuth2FieldMapping ¶
type DatastoreOAuth2FieldMapping struct {
// AccessToken Field name for access token (e.g., "accessToken", "access_token", "token")
AccessToken *string `json:"access_token,omitempty"`
// ExpiresIn Field name for expiry time (e.g., "expiresIn", "expires_in", "expiresAt")
ExpiresIn *string `json:"expires_in,omitempty"`
// TokenType Field name for token type (e.g., "tokenType", "token_type")
TokenType *string `json:"token_type,omitempty"`
}
DatastoreOAuth2FieldMapping defines model for datastore.OAuth2FieldMapping.
type DatastoreOAuth2SigningKey ¶
type DatastoreOAuth2SigningKey struct {
// Crv EC (Elliptic Curve) key fields
Crv *string `json:"crv,omitempty"`
// D Private key (EC only)
D *string `json:"d,omitempty"`
// Dp RSA first factor CRT exponent (RSA private key only)
Dp *string `json:"dp,omitempty"`
// Dq RSA second factor CRT exponent (RSA private key only)
Dq *string `json:"dq,omitempty"`
// E RSA public exponent (RSA only)
E *string `json:"e,omitempty"`
// Kid Key ID
Kid *string `json:"kid,omitempty"`
// Kty Key type: "EC" or "RSA"
Kty *string `json:"kty,omitempty"`
// N RSA key fields
N *string `json:"n,omitempty"`
// P RSA first prime factor (RSA private key only)
P *string `json:"p,omitempty"`
// Q RSA second prime factor (RSA private key only)
Q *string `json:"q,omitempty"`
// Qi RSA first CRT coefficient (RSA private key only)
Qi *string `json:"qi,omitempty"`
// X X coordinate (EC only)
X *string `json:"x,omitempty"`
// Y Y coordinate (EC only)
Y *string `json:"y,omitempty"`
}
DatastoreOAuth2SigningKey defines model for datastore.OAuth2SigningKey.
type DatastorePaginationData ¶
type DatastorePaginationData struct {
HasNextPage *bool `json:"has_next_page,omitempty"`
HasPrevPage *bool `json:"has_prev_page,omitempty"`
NextPageCursor *string `json:"next_page_cursor,omitempty"`
PerPage *int `json:"per_page,omitempty"`
PrevPageCursor *string `json:"prev_page_cursor,omitempty"`
Total *int `json:"total,omitempty"`
}
DatastorePaginationData defines model for datastore.PaginationData.
type DatastorePortalAuthType ¶
type DatastorePortalAuthType string
DatastorePortalAuthType defines model for datastore.PortalAuthType.
const ( DatastorePortalAuthTypeEmpty DatastorePortalAuthType = "" DatastorePortalAuthTypePortalAuthTypeRefreshToken DatastorePortalAuthType = "refresh_token" DatastorePortalAuthTypePortalAuthTypeStaticToken DatastorePortalAuthType = "static_token" )
Defines values for DatastorePortalAuthType.
func (DatastorePortalAuthType) Valid ¶
func (e DatastorePortalAuthType) Valid() bool
Valid indicates whether the value is a known member of the DatastorePortalAuthType enum.
type DatastorePortalLinkResponse ¶
type DatastorePortalLinkResponse struct {
AuthKey *string `json:"auth_key,omitempty"`
AuthType *DatastorePortalAuthType `json:"auth_type,omitempty"`
CanManageEndpoint *bool `json:"can_manage_endpoint,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
EndpointCount *int `json:"endpoint_count,omitempty"`
Endpoints *[]string `json:"endpoints,omitempty"`
EndpointsMetadata *[]*DatastoreEndpoint `json:"endpoints_metadata,omitempty"`
Name *string `json:"name,omitempty"`
OwnerId *string `json:"owner_id,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
Token *string `json:"token,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Url *string `json:"url,omitempty"`
}
DatastorePortalLinkResponse defines model for datastore.PortalLinkResponse.
type DatastoreProjectConfig ¶
type DatastoreProjectConfig struct {
AddEventIdTraceHeaders *bool `json:"add_event_id_trace_headers,omitempty"`
CircuitBreaker *DatastoreCircuitBreakerConfiguration `json:"circuit_breaker,omitempty"`
DisableEndpoint *bool `json:"disable_endpoint,omitempty"`
MaxPayloadReadSize *int `json:"max_payload_read_size,omitempty"`
MetaEvent *DatastoreMetaEventConfiguration `json:"meta_event,omitempty"`
MultipleEndpointSubscriptions *bool `json:"multiple_endpoint_subscriptions,omitempty"`
Ratelimit *DatastoreRateLimitConfiguration `json:"ratelimit,omitempty"`
ReplayAttacksPreventionEnabled *bool `json:"replay_attacks_prevention_enabled,omitempty"`
RequestIdHeader *ConfigRequestIDHeaderProvider `json:"request_id_header,omitempty"`
SearchPolicy *string `json:"search_policy,omitempty"`
Signature *DatastoreSignatureConfiguration `json:"signature,omitempty"`
Ssl *DatastoreSSLConfiguration `json:"ssl,omitempty"`
Strategy *DatastoreStrategyConfiguration `json:"strategy,omitempty"`
}
DatastoreProjectConfig defines model for datastore.ProjectConfig.
type DatastoreProjectStatistics ¶
type DatastoreProjectStatistics struct {
EndpointsExist *bool `json:"endpoints_exist,omitempty"`
EventsExist *bool `json:"events_exist,omitempty"`
SourcesExist *bool `json:"sources_exist,omitempty"`
SubscriptionsExist *bool `json:"subscriptions_exist,omitempty"`
}
DatastoreProjectStatistics defines model for datastore.ProjectStatistics.
type DatastoreProjectType ¶
type DatastoreProjectType string
DatastoreProjectType defines model for datastore.ProjectType.
const ( DatastoreProjectTypeEmpty DatastoreProjectType = "" DatastoreProjectTypeIncomingProject DatastoreProjectType = "incoming" DatastoreProjectTypeOutgoingProject DatastoreProjectType = "outgoing" )
Defines values for DatastoreProjectType.
func (DatastoreProjectType) Valid ¶
func (e DatastoreProjectType) Valid() bool
Valid indicates whether the value is a known member of the DatastoreProjectType enum.
type DatastoreProviderConfig ¶
type DatastoreProviderConfig struct {
Twitter *DatastoreTwitterProviderConfig `json:"twitter,omitempty"`
}
DatastoreProviderConfig defines model for datastore.ProviderConfig.
type DatastorePubSubConfig ¶
type DatastorePubSubConfig struct {
Amqp *DatastoreAmqpPubSubConfig `json:"amqp,omitempty"`
Google *DatastoreGooglePubSubConfig `json:"google,omitempty"`
Kafka *DatastoreKafkaPubSubConfig `json:"kafka,omitempty"`
Sqs *DatastoreSQSPubSubConfig `json:"sqs,omitempty"`
Type *DatastorePubSubType `json:"type,omitempty"`
Workers *int `json:"workers,omitempty"`
}
DatastorePubSubConfig defines model for datastore.PubSubConfig.
type DatastorePubSubType ¶
type DatastorePubSubType string
DatastorePubSubType defines model for datastore.PubSubType.
const ( DatastorePubSubTypeAmqpPubSub DatastorePubSubType = "amqp" DatastorePubSubTypeEmpty DatastorePubSubType = "" DatastorePubSubTypeGooglePubSub DatastorePubSubType = "google" DatastorePubSubTypeKafkaPubSub DatastorePubSubType = "kafka" DatastorePubSubTypeSqsPubSub DatastorePubSubType = "sqs" )
Defines values for DatastorePubSubType.
func (DatastorePubSubType) Valid ¶
func (e DatastorePubSubType) Valid() bool
Valid indicates whether the value is a known member of the DatastorePubSubType enum.
type DatastoreRateLimitConfiguration ¶
type DatastoreRateLimitConfiguration struct {
Count *int `json:"count,omitempty"`
Duration *int `json:"duration,omitempty"`
}
DatastoreRateLimitConfiguration defines model for datastore.RateLimitConfiguration.
type DatastoreRetryConfiguration ¶
type DatastoreRetryConfiguration struct {
Duration *int `json:"duration,omitempty"`
RetryCount *int `json:"retry_count,omitempty"`
Type *DatastoreStrategyProvider `json:"type,omitempty"`
}
DatastoreRetryConfiguration defines model for datastore.RetryConfiguration.
type DatastoreRole ¶
type DatastoreRole struct {
App *string `json:"app,omitempty"`
Project *string `json:"project,omitempty"`
Type *AuthRoleType `json:"type,omitempty"`
}
DatastoreRole defines model for datastore.Role.
type DatastoreSQSPubSubConfig ¶
type DatastoreSQSPubSubConfig struct {
AccessKeyId *string `json:"access_key_id,omitempty"`
DefaultRegion *string `json:"default_region,omitempty"`
// Endpoint Optional: for LocalStack testing
Endpoint *string `json:"endpoint,omitempty"`
QueueName *string `json:"queue_name,omitempty"`
SecretKey *string `json:"secret_key,omitempty"`
}
DatastoreSQSPubSubConfig defines model for datastore.SQSPubSubConfig.
type DatastoreSSLConfiguration ¶
type DatastoreSSLConfiguration struct {
EnforceSecureEndpoints *bool `json:"enforce_secure_endpoints,omitempty"`
}
DatastoreSSLConfiguration defines model for datastore.SSLConfiguration.
type DatastoreSecret ¶
type DatastoreSecret struct {
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
ExpiresAt *string `json:"expires_at,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Value *string `json:"value,omitempty"`
}
DatastoreSecret defines model for datastore.Secret.
type DatastoreSignatureConfiguration ¶
type DatastoreSignatureConfiguration struct {
Header *ConfigSignatureHeaderProvider `json:"header,omitempty"`
Versions *[]DatastoreSignatureVersion `json:"versions,omitempty"`
}
DatastoreSignatureConfiguration defines model for datastore.SignatureConfiguration.
type DatastoreSignatureVersion ¶
type DatastoreSignatureVersion struct {
CreatedAt *string `json:"created_at,omitempty"`
Encoding *DatastoreEncodingType `json:"encoding,omitempty"`
Hash *string `json:"hash,omitempty"`
Uid *string `json:"uid,omitempty"`
}
DatastoreSignatureVersion defines model for datastore.SignatureVersion.
type DatastoreSource ¶
type DatastoreSource struct {
BodyFunction *string `json:"body_function,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
CustomResponse *DatastoreCustomResponse `json:"custom_response,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
EventTypeLocation *string `json:"event_type_location,omitempty"`
ForwardHeaders *[]string `json:"forward_headers,omitempty"`
HeaderFunction *string `json:"header_function,omitempty"`
IdempotencyKeys *[]string `json:"idempotency_keys,omitempty"`
IsDisabled *bool `json:"is_disabled,omitempty"`
MaskId *string `json:"mask_id,omitempty"`
Name *string `json:"name,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
Provider *DatastoreSourceProvider `json:"provider,omitempty"`
ProviderConfig *DatastoreProviderConfig `json:"provider_config,omitempty"`
PubSub *DatastorePubSubConfig `json:"pub_sub,omitempty"`
Type *DatastoreSourceType `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Url *string `json:"url,omitempty"`
Verifier *DatastoreVerifierConfig `json:"verifier,omitempty"`
}
DatastoreSource defines model for datastore.Source.
type DatastoreSourceProvider ¶
type DatastoreSourceProvider string
DatastoreSourceProvider defines model for datastore.SourceProvider.
const ( DatastoreSourceProviderEmpty DatastoreSourceProvider = "" DatastoreSourceProviderGithubSourceProvider DatastoreSourceProvider = "github" DatastoreSourceProviderShopifySourceProvider DatastoreSourceProvider = "shopify" DatastoreSourceProviderTwitterSourceProvider DatastoreSourceProvider = "twitter" )
Defines values for DatastoreSourceProvider.
func (DatastoreSourceProvider) Valid ¶
func (e DatastoreSourceProvider) Valid() bool
Valid indicates whether the value is a known member of the DatastoreSourceProvider enum.
type DatastoreSourceType ¶
type DatastoreSourceType string
DatastoreSourceType defines model for datastore.SourceType.
const ( DatastoreSourceTypeDBChangeStream DatastoreSourceType = "db_change_stream" DatastoreSourceTypeEmpty DatastoreSourceType = "" DatastoreSourceTypeHTTPSource DatastoreSourceType = "http" DatastoreSourceTypePubSubSource DatastoreSourceType = "pub_sub" DatastoreSourceTypeRestApiSource DatastoreSourceType = "rest_api" )
Defines values for DatastoreSourceType.
func (DatastoreSourceType) Valid ¶
func (e DatastoreSourceType) Valid() bool
Valid indicates whether the value is a known member of the DatastoreSourceType enum.
type DatastoreStrategyConfiguration ¶
type DatastoreStrategyConfiguration struct {
Duration *int `json:"duration,omitempty"`
RetryCount *int `json:"retry_count,omitempty"`
Type *DatastoreStrategyProvider `json:"type,omitempty"`
}
DatastoreStrategyConfiguration defines model for datastore.StrategyConfiguration.
type DatastoreStrategyProvider ¶
type DatastoreStrategyProvider string
DatastoreStrategyProvider defines model for datastore.StrategyProvider.
const ( DatastoreStrategyProviderEmpty DatastoreStrategyProvider = "" DatastoreStrategyProviderExponentialStrategyProvider DatastoreStrategyProvider = "exponential" DatastoreStrategyProviderLinearStrategyProvider DatastoreStrategyProvider = "linear" )
Defines values for DatastoreStrategyProvider.
func (DatastoreStrategyProvider) Valid ¶
func (e DatastoreStrategyProvider) Valid() bool
Valid indicates whether the value is a known member of the DatastoreStrategyProvider enum.
type DatastoreSubscriptionType ¶
type DatastoreSubscriptionType string
DatastoreSubscriptionType defines model for datastore.SubscriptionType.
const ( DatastoreSubscriptionTypeEmpty DatastoreSubscriptionType = "" DatastoreSubscriptionTypeSubscriptionTypeAPI DatastoreSubscriptionType = "api" DatastoreSubscriptionTypeSubscriptionTypeCLI DatastoreSubscriptionType = "cli" )
Defines values for DatastoreSubscriptionType.
func (DatastoreSubscriptionType) Valid ¶
func (e DatastoreSubscriptionType) Valid() bool
Valid indicates whether the value is a known member of the DatastoreSubscriptionType enum.
type DatastoreTwitterProviderConfig ¶
type DatastoreTwitterProviderConfig struct {
CrcVerifiedAt *string `json:"crc_verified_at,omitempty"`
}
DatastoreTwitterProviderConfig defines model for datastore.TwitterProviderConfig.
type DatastoreUpdatePortalLinkRequest ¶
type DatastoreUpdatePortalLinkRequest struct {
AuthType *string `json:"auth_type,omitempty"`
// CanManageEndpoint Specify whether endpoint management can be done through the Portal Link UI
CanManageEndpoint *bool `json:"can_manage_endpoint,omitempty"`
// Endpoints Deprecated
// IDs of endpoints in this portal link
Endpoints *[]string `json:"endpoints,omitempty"`
// Name Portal Link Name
Name *string `json:"name,omitempty"`
// OwnerId OwnerID, the portal link will inherit all the endpoints with this owner ID
OwnerId *string `json:"owner_id,omitempty"`
}
DatastoreUpdatePortalLinkRequest defines model for datastore.UpdatePortalLinkRequest.
type DatastoreVerifierConfig ¶
type DatastoreVerifierConfig struct {
ApiKey *DatastoreApiKey `json:"api_key,omitempty"`
BasicAuth *DatastoreBasicAuth `json:"basic_auth,omitempty"`
Hmac *DatastoreHMac `json:"hmac,omitempty"`
Type *DatastoreVerifierType `json:"type,omitempty"`
}
DatastoreVerifierConfig defines model for datastore.VerifierConfig.
type DatastoreVerifierType ¶
type DatastoreVerifierType string
DatastoreVerifierType defines model for datastore.VerifierType.
const ( DatastoreVerifierTypeAPIKeyVerifier DatastoreVerifierType = "api_key" DatastoreVerifierTypeBasicAuthVerifier DatastoreVerifierType = "basic_auth" DatastoreVerifierTypeEmpty DatastoreVerifierType = "" DatastoreVerifierTypeHMacVerifier DatastoreVerifierType = "hmac" DatastoreVerifierTypeNoopVerifier DatastoreVerifierType = "noop" )
Defines values for DatastoreVerifierType.
func (DatastoreVerifierType) Valid ¶
func (e DatastoreVerifierType) Valid() bool
Valid indicates whether the value is a known member of the DatastoreVerifierType enum.
type DeleteEndpointResponse ¶
type DeleteEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseDeleteEndpointResponse ¶
func ParseDeleteEndpointResponse(rsp *http.Response) (*DeleteEndpointResponse, error)
ParseDeleteEndpointResponse parses an HTTP response from a DeleteEndpointWithResponse call
func (DeleteEndpointResponse) ContentType ¶
func (r DeleteEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEndpointResponse) GetBody ¶
func (r DeleteEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteEndpointResponse) GetJSON200 ¶
func (r DeleteEndpointResponse) GetJSON200() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteEndpointResponse) GetJSON400 ¶
func (r DeleteEndpointResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteEndpointResponse) GetJSON401 ¶
func (r DeleteEndpointResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteEndpointResponse) GetJSON404 ¶
func (r DeleteEndpointResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteEndpointResponse) Status ¶
func (r DeleteEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEndpointResponse) StatusCode ¶
func (r DeleteEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFilterResponse ¶
type DeleteFilterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseDeleteFilterResponse ¶
func ParseDeleteFilterResponse(rsp *http.Response) (*DeleteFilterResponse, error)
ParseDeleteFilterResponse parses an HTTP response from a DeleteFilterWithResponse call
func (DeleteFilterResponse) ContentType ¶
func (r DeleteFilterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteFilterResponse) GetBody ¶
func (r DeleteFilterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteFilterResponse) GetJSON200 ¶
func (r DeleteFilterResponse) GetJSON200() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteFilterResponse) GetJSON400 ¶
func (r DeleteFilterResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteFilterResponse) GetJSON401 ¶
func (r DeleteFilterResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteFilterResponse) GetJSON404 ¶
func (r DeleteFilterResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteFilterResponse) Status ¶
func (r DeleteFilterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFilterResponse) StatusCode ¶
func (r DeleteFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectResponse ¶
type DeleteProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseDeleteProjectResponse ¶
func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)
ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call
func (DeleteProjectResponse) ContentType ¶
func (r DeleteProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteProjectResponse) GetBody ¶
func (r DeleteProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteProjectResponse) GetJSON200 ¶
func (r DeleteProjectResponse) GetJSON200() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteProjectResponse) GetJSON400 ¶
func (r DeleteProjectResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteProjectResponse) GetJSON401 ¶
func (r DeleteProjectResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteProjectResponse) GetJSON403 ¶
func (r DeleteProjectResponse) GetJSON403() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteProjectResponse) GetJSON404 ¶
func (r DeleteProjectResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteProjectResponse) Status ¶
func (r DeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectResponse) StatusCode ¶
func (r DeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSourceResponse ¶
type DeleteSourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseDeleteSourceResponse ¶
func ParseDeleteSourceResponse(rsp *http.Response) (*DeleteSourceResponse, error)
ParseDeleteSourceResponse parses an HTTP response from a DeleteSourceWithResponse call
func (DeleteSourceResponse) ContentType ¶
func (r DeleteSourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSourceResponse) GetBody ¶
func (r DeleteSourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSourceResponse) GetJSON200 ¶
func (r DeleteSourceResponse) GetJSON200() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteSourceResponse) GetJSON400 ¶
func (r DeleteSourceResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteSourceResponse) GetJSON401 ¶
func (r DeleteSourceResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteSourceResponse) GetJSON404 ¶
func (r DeleteSourceResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSourceResponse) Status ¶
func (r DeleteSourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSourceResponse) StatusCode ¶
func (r DeleteSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSubscriptionResponse ¶
type DeleteSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseDeleteSubscriptionResponse ¶
func ParseDeleteSubscriptionResponse(rsp *http.Response) (*DeleteSubscriptionResponse, error)
ParseDeleteSubscriptionResponse parses an HTTP response from a DeleteSubscriptionWithResponse call
func (DeleteSubscriptionResponse) ContentType ¶
func (r DeleteSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSubscriptionResponse) GetBody ¶
func (r DeleteSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSubscriptionResponse) GetJSON200 ¶
func (r DeleteSubscriptionResponse) GetJSON200() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteSubscriptionResponse) GetJSON400 ¶
func (r DeleteSubscriptionResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteSubscriptionResponse) GetJSON401 ¶
func (r DeleteSubscriptionResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteSubscriptionResponse) GetJSON404 ¶
func (r DeleteSubscriptionResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSubscriptionResponse) Status ¶
func (r DeleteSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSubscriptionResponse) StatusCode ¶
func (r DeleteSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeprecateEventTypeResponse ¶
type DeprecateEventTypeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *ModelsEventTypeResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseDeprecateEventTypeResponse ¶
func ParseDeprecateEventTypeResponse(rsp *http.Response) (*DeprecateEventTypeResponse, error)
ParseDeprecateEventTypeResponse parses an HTTP response from a DeprecateEventTypeWithResponse call
func (DeprecateEventTypeResponse) ContentType ¶
func (r DeprecateEventTypeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeprecateEventTypeResponse) GetBody ¶
func (r DeprecateEventTypeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeprecateEventTypeResponse) GetJSON201 ¶
func (r DeprecateEventTypeResponse) GetJSON201() *struct { Data *ModelsEventTypeResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (DeprecateEventTypeResponse) GetJSON400 ¶
func (r DeprecateEventTypeResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeprecateEventTypeResponse) GetJSON401 ¶
func (r DeprecateEventTypeResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeprecateEventTypeResponse) GetJSON404 ¶
func (r DeprecateEventTypeResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeprecateEventTypeResponse) Status ¶
func (r DeprecateEventTypeResponse) Status() string
Status returns HTTPResponse.Status
func (DeprecateEventTypeResponse) StatusCode ¶
func (r DeprecateEventTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExpireSecretJSONRequestBody ¶
type ExpireSecretJSONRequestBody = ModelsExpireSecret
ExpireSecretJSONRequestBody defines body for ExpireSecret for application/json ContentType.
type ExpireSecretResponse ¶
type ExpireSecretResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsEndpointResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseExpireSecretResponse ¶
func ParseExpireSecretResponse(rsp *http.Response) (*ExpireSecretResponse, error)
ParseExpireSecretResponse parses an HTTP response from a ExpireSecretWithResponse call
func (ExpireSecretResponse) ContentType ¶
func (r ExpireSecretResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExpireSecretResponse) GetBody ¶
func (r ExpireSecretResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExpireSecretResponse) GetJSON200 ¶
func (r ExpireSecretResponse) GetJSON200() *struct { Data *ModelsEndpointResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ExpireSecretResponse) GetJSON400 ¶
func (r ExpireSecretResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ExpireSecretResponse) GetJSON401 ¶
func (r ExpireSecretResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ExpireSecretResponse) GetJSON404 ¶
func (r ExpireSecretResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ExpireSecretResponse) Status ¶
func (r ExpireSecretResponse) Status() string
Status returns HTTPResponse.Status
func (ExpireSecretResponse) StatusCode ¶
func (r ExpireSecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ForceResendEventDeliveriesJSONRequestBody ¶
type ForceResendEventDeliveriesJSONRequestBody = ModelsIDs
ForceResendEventDeliveriesJSONRequestBody defines body for ForceResendEventDeliveries for application/json ContentType.
type ForceResendEventDeliveriesResponse ¶
type ForceResendEventDeliveriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseForceResendEventDeliveriesResponse ¶
func ParseForceResendEventDeliveriesResponse(rsp *http.Response) (*ForceResendEventDeliveriesResponse, error)
ParseForceResendEventDeliveriesResponse parses an HTTP response from a ForceResendEventDeliveriesWithResponse call
func (ForceResendEventDeliveriesResponse) ContentType ¶
func (r ForceResendEventDeliveriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ForceResendEventDeliveriesResponse) GetBody ¶
func (r ForceResendEventDeliveriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ForceResendEventDeliveriesResponse) GetJSON200 ¶
func (r ForceResendEventDeliveriesResponse) GetJSON200() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ForceResendEventDeliveriesResponse) GetJSON400 ¶
func (r ForceResendEventDeliveriesResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ForceResendEventDeliveriesResponse) GetJSON401 ¶
func (r ForceResendEventDeliveriesResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ForceResendEventDeliveriesResponse) GetJSON404 ¶
func (r ForceResendEventDeliveriesResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ForceResendEventDeliveriesResponse) Status ¶
func (r ForceResendEventDeliveriesResponse) Status() string
Status returns HTTPResponse.Status
func (ForceResendEventDeliveriesResponse) StatusCode ¶
func (r ForceResendEventDeliveriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeliveryAttemptResponse ¶
type GetDeliveryAttemptResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *DatastoreDeliveryAttempt `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetDeliveryAttemptResponse ¶
func ParseGetDeliveryAttemptResponse(rsp *http.Response) (*GetDeliveryAttemptResponse, error)
ParseGetDeliveryAttemptResponse parses an HTTP response from a GetDeliveryAttemptWithResponse call
func (GetDeliveryAttemptResponse) ContentType ¶
func (r GetDeliveryAttemptResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeliveryAttemptResponse) GetBody ¶
func (r GetDeliveryAttemptResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeliveryAttemptResponse) GetJSON200 ¶
func (r GetDeliveryAttemptResponse) GetJSON200() *struct { Data *DatastoreDeliveryAttempt `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeliveryAttemptResponse) GetJSON400 ¶
func (r GetDeliveryAttemptResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDeliveryAttemptResponse) GetJSON401 ¶
func (r GetDeliveryAttemptResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDeliveryAttemptResponse) GetJSON404 ¶
func (r GetDeliveryAttemptResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDeliveryAttemptResponse) Status ¶
func (r GetDeliveryAttemptResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeliveryAttemptResponse) StatusCode ¶
func (r GetDeliveryAttemptResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeliveryAttemptsResponse ¶
type GetDeliveryAttemptsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *[]DatastoreDeliveryAttempt `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetDeliveryAttemptsResponse ¶
func ParseGetDeliveryAttemptsResponse(rsp *http.Response) (*GetDeliveryAttemptsResponse, error)
ParseGetDeliveryAttemptsResponse parses an HTTP response from a GetDeliveryAttemptsWithResponse call
func (GetDeliveryAttemptsResponse) ContentType ¶
func (r GetDeliveryAttemptsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeliveryAttemptsResponse) GetBody ¶
func (r GetDeliveryAttemptsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeliveryAttemptsResponse) GetJSON200 ¶
func (r GetDeliveryAttemptsResponse) GetJSON200() *struct { Data *[]DatastoreDeliveryAttempt `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeliveryAttemptsResponse) GetJSON400 ¶
func (r GetDeliveryAttemptsResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDeliveryAttemptsResponse) GetJSON401 ¶
func (r GetDeliveryAttemptsResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDeliveryAttemptsResponse) GetJSON404 ¶
func (r GetDeliveryAttemptsResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDeliveryAttemptsResponse) Status ¶
func (r GetDeliveryAttemptsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeliveryAttemptsResponse) StatusCode ¶
func (r GetDeliveryAttemptsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpointEventResponse ¶
type GetEndpointEventResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsEventResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetEndpointEventResponse ¶
func ParseGetEndpointEventResponse(rsp *http.Response) (*GetEndpointEventResponse, error)
ParseGetEndpointEventResponse parses an HTTP response from a GetEndpointEventWithResponse call
func (GetEndpointEventResponse) ContentType ¶
func (r GetEndpointEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEndpointEventResponse) GetBody ¶
func (r GetEndpointEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEndpointEventResponse) GetJSON200 ¶
func (r GetEndpointEventResponse) GetJSON200() *struct { Data *ModelsEventResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEndpointEventResponse) GetJSON400 ¶
func (r GetEndpointEventResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEndpointEventResponse) GetJSON401 ¶
func (r GetEndpointEventResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEndpointEventResponse) GetJSON404 ¶
func (r GetEndpointEventResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEndpointEventResponse) Status ¶
func (r GetEndpointEventResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointEventResponse) StatusCode ¶
func (r GetEndpointEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpointResponse ¶
type GetEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsEndpointResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetEndpointResponse ¶
func ParseGetEndpointResponse(rsp *http.Response) (*GetEndpointResponse, error)
ParseGetEndpointResponse parses an HTTP response from a GetEndpointWithResponse call
func (GetEndpointResponse) ContentType ¶
func (r GetEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEndpointResponse) GetBody ¶
func (r GetEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEndpointResponse) GetJSON200 ¶
func (r GetEndpointResponse) GetJSON200() *struct { Data *ModelsEndpointResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEndpointResponse) GetJSON400 ¶
func (r GetEndpointResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEndpointResponse) GetJSON401 ¶
func (r GetEndpointResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEndpointResponse) GetJSON404 ¶
func (r GetEndpointResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEndpointResponse) Status ¶
func (r GetEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointResponse) StatusCode ¶
func (r GetEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpointsParams ¶
type GetEndpointsParams struct {
Direction *GetEndpointsParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// OwnerId The owner ID of the endpoint
OwnerId *string `form:"ownerId,omitempty" json:"ownerId,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Q The name of the endpoint
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
GetEndpointsParams defines parameters for GetEndpoints.
type GetEndpointsParamsDirection ¶
type GetEndpointsParamsDirection string
GetEndpointsParamsDirection defines parameters for GetEndpoints.
const ( GetEndpointsParamsDirectionNext GetEndpointsParamsDirection = "next" GetEndpointsParamsDirectionPrev GetEndpointsParamsDirection = "prev" )
Defines values for GetEndpointsParamsDirection.
func (GetEndpointsParamsDirection) Valid ¶
func (e GetEndpointsParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the GetEndpointsParamsDirection enum.
type GetEndpointsResponse ¶
type GetEndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *struct {
Content *[]ModelsEndpointResponse `json:"content,omitempty"`
Pagination *DatastorePaginationData `json:"pagination,omitempty"`
} `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetEndpointsResponse ¶
func ParseGetEndpointsResponse(rsp *http.Response) (*GetEndpointsResponse, error)
ParseGetEndpointsResponse parses an HTTP response from a GetEndpointsWithResponse call
func (GetEndpointsResponse) ContentType ¶
func (r GetEndpointsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEndpointsResponse) GetBody ¶
func (r GetEndpointsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEndpointsResponse) GetJSON200 ¶
func (r GetEndpointsResponse) GetJSON200() *struct { Data *struct { Content *[]ModelsEndpointResponse `json:"content,omitempty"` Pagination *DatastorePaginationData `json:"pagination,omitempty"` } `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEndpointsResponse) GetJSON400 ¶
func (r GetEndpointsResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEndpointsResponse) GetJSON401 ¶
func (r GetEndpointsResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEndpointsResponse) GetJSON404 ¶
func (r GetEndpointsResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEndpointsResponse) Status ¶
func (r GetEndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointsResponse) StatusCode ¶
func (r GetEndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventDeliveriesPagedParams ¶
type GetEventDeliveriesPagedParams struct {
Direction *GetEventDeliveriesPagedParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// EndDate The end date
EndDate *string `form:"endDate,omitempty" json:"endDate,omitempty"`
// EndpointId A list of endpoint IDs to filter by
EndpointId *[]string `form:"endpointId,omitempty" json:"endpointId,omitempty"`
// EventId Event ID to filter by
EventId *string `form:"eventId,omitempty" json:"eventId,omitempty"`
// EventType EventType to filter by
EventType *string `form:"event_type,omitempty" json:"event_type,omitempty"`
// IdempotencyKey IdempotencyKey to filter by
IdempotencyKey *string `form:"idempotencyKey,omitempty" json:"idempotencyKey,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
// StartDate The start date
StartDate *string `form:"startDate,omitempty" json:"startDate,omitempty"`
// Status A list of event delivery statuses to filter by
Status *[]string `form:"status,omitempty" json:"status,omitempty"`
// SubscriptionId SubscriptionID to filter by
SubscriptionId *string `form:"subscriptionId,omitempty" json:"subscriptionId,omitempty"`
}
GetEventDeliveriesPagedParams defines parameters for GetEventDeliveriesPaged.
type GetEventDeliveriesPagedParamsDirection ¶
type GetEventDeliveriesPagedParamsDirection string
GetEventDeliveriesPagedParamsDirection defines parameters for GetEventDeliveriesPaged.
const ( GetEventDeliveriesPagedParamsDirectionNext GetEventDeliveriesPagedParamsDirection = "next" GetEventDeliveriesPagedParamsDirectionPrev GetEventDeliveriesPagedParamsDirection = "prev" )
Defines values for GetEventDeliveriesPagedParamsDirection.
func (GetEventDeliveriesPagedParamsDirection) Valid ¶
func (e GetEventDeliveriesPagedParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the GetEventDeliveriesPagedParamsDirection enum.
type GetEventDeliveriesPagedResponse ¶
type GetEventDeliveriesPagedResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *struct {
Content *[]ModelsEventDeliveryResponse `json:"content,omitempty"`
Pagination *DatastorePaginationData `json:"pagination,omitempty"`
} `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetEventDeliveriesPagedResponse ¶
func ParseGetEventDeliveriesPagedResponse(rsp *http.Response) (*GetEventDeliveriesPagedResponse, error)
ParseGetEventDeliveriesPagedResponse parses an HTTP response from a GetEventDeliveriesPagedWithResponse call
func (GetEventDeliveriesPagedResponse) ContentType ¶
func (r GetEventDeliveriesPagedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventDeliveriesPagedResponse) GetBody ¶
func (r GetEventDeliveriesPagedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventDeliveriesPagedResponse) GetJSON200 ¶
func (r GetEventDeliveriesPagedResponse) GetJSON200() *struct { Data *struct { Content *[]ModelsEventDeliveryResponse `json:"content,omitempty"` Pagination *DatastorePaginationData `json:"pagination,omitempty"` } `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventDeliveriesPagedResponse) GetJSON400 ¶
func (r GetEventDeliveriesPagedResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEventDeliveriesPagedResponse) GetJSON401 ¶
func (r GetEventDeliveriesPagedResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventDeliveriesPagedResponse) GetJSON404 ¶
func (r GetEventDeliveriesPagedResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventDeliveriesPagedResponse) Status ¶
func (r GetEventDeliveriesPagedResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventDeliveriesPagedResponse) StatusCode ¶
func (r GetEventDeliveriesPagedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventDeliveryResponse ¶
type GetEventDeliveryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsEventDeliveryResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetEventDeliveryResponse ¶
func ParseGetEventDeliveryResponse(rsp *http.Response) (*GetEventDeliveryResponse, error)
ParseGetEventDeliveryResponse parses an HTTP response from a GetEventDeliveryWithResponse call
func (GetEventDeliveryResponse) ContentType ¶
func (r GetEventDeliveryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventDeliveryResponse) GetBody ¶
func (r GetEventDeliveryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventDeliveryResponse) GetJSON200 ¶
func (r GetEventDeliveryResponse) GetJSON200() *struct { Data *ModelsEventDeliveryResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventDeliveryResponse) GetJSON400 ¶
func (r GetEventDeliveryResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEventDeliveryResponse) GetJSON401 ¶
func (r GetEventDeliveryResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventDeliveryResponse) GetJSON404 ¶
func (r GetEventDeliveryResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventDeliveryResponse) Status ¶
func (r GetEventDeliveryResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventDeliveryResponse) StatusCode ¶
func (r GetEventDeliveryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventTypesResponse ¶
type GetEventTypesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *[]ModelsEventTypeResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetEventTypesResponse ¶
func ParseGetEventTypesResponse(rsp *http.Response) (*GetEventTypesResponse, error)
ParseGetEventTypesResponse parses an HTTP response from a GetEventTypesWithResponse call
func (GetEventTypesResponse) ContentType ¶
func (r GetEventTypesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventTypesResponse) GetBody ¶
func (r GetEventTypesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventTypesResponse) GetJSON200 ¶
func (r GetEventTypesResponse) GetJSON200() *struct { Data *[]ModelsEventTypeResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventTypesResponse) GetJSON400 ¶
func (r GetEventTypesResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEventTypesResponse) GetJSON401 ¶
func (r GetEventTypesResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventTypesResponse) GetJSON404 ¶
func (r GetEventTypesResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventTypesResponse) Status ¶
func (r GetEventTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventTypesResponse) StatusCode ¶
func (r GetEventTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEventsPagedParams ¶
type GetEventsPagedParams struct {
Direction *GetEventsPagedParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// EndDate The end date
EndDate *string `form:"endDate,omitempty" json:"endDate,omitempty"`
// EndpointId A list of endpoint ids to filter by
EndpointId *[]string `form:"endpointId,omitempty" json:"endpointId,omitempty"`
// IdempotencyKey IdempotencyKey to filter by
IdempotencyKey *string `form:"idempotencyKey,omitempty" json:"idempotencyKey,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Query Any arbitrary value to filter the events payload
Query *string `form:"query,omitempty" json:"query,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
// SourceId A list of Source IDs to filter the events by.
SourceId *[]string `form:"sourceId,omitempty" json:"sourceId,omitempty"`
// StartDate The start date
StartDate *string `form:"startDate,omitempty" json:"startDate,omitempty"`
}
GetEventsPagedParams defines parameters for GetEventsPaged.
type GetEventsPagedParamsDirection ¶
type GetEventsPagedParamsDirection string
GetEventsPagedParamsDirection defines parameters for GetEventsPaged.
const ( GetEventsPagedParamsDirectionNext GetEventsPagedParamsDirection = "next" GetEventsPagedParamsDirectionPrev GetEventsPagedParamsDirection = "prev" )
Defines values for GetEventsPagedParamsDirection.
func (GetEventsPagedParamsDirection) Valid ¶
func (e GetEventsPagedParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the GetEventsPagedParamsDirection enum.
type GetEventsPagedResponse ¶
type GetEventsPagedResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *struct {
Content *[]ModelsEventResponse `json:"content,omitempty"`
Pagination *DatastorePaginationData `json:"pagination,omitempty"`
} `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetEventsPagedResponse ¶
func ParseGetEventsPagedResponse(rsp *http.Response) (*GetEventsPagedResponse, error)
ParseGetEventsPagedResponse parses an HTTP response from a GetEventsPagedWithResponse call
func (GetEventsPagedResponse) ContentType ¶
func (r GetEventsPagedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEventsPagedResponse) GetBody ¶
func (r GetEventsPagedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEventsPagedResponse) GetJSON200 ¶
func (r GetEventsPagedResponse) GetJSON200() *struct { Data *struct { Content *[]ModelsEventResponse `json:"content,omitempty"` Pagination *DatastorePaginationData `json:"pagination,omitempty"` } `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEventsPagedResponse) GetJSON400 ¶
func (r GetEventsPagedResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetEventsPagedResponse) GetJSON401 ¶
func (r GetEventsPagedResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEventsPagedResponse) GetJSON404 ¶
func (r GetEventsPagedResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEventsPagedResponse) Status ¶
func (r GetEventsPagedResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventsPagedResponse) StatusCode ¶
func (r GetEventsPagedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFilterResponse ¶
type GetFilterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsFilterResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetFilterResponse ¶
func ParseGetFilterResponse(rsp *http.Response) (*GetFilterResponse, error)
ParseGetFilterResponse parses an HTTP response from a GetFilterWithResponse call
func (GetFilterResponse) ContentType ¶
func (r GetFilterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFilterResponse) GetBody ¶
func (r GetFilterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFilterResponse) GetJSON200 ¶
func (r GetFilterResponse) GetJSON200() *struct { Data *ModelsFilterResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFilterResponse) GetJSON400 ¶
func (r GetFilterResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetFilterResponse) GetJSON401 ¶
func (r GetFilterResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFilterResponse) GetJSON404 ¶
func (r GetFilterResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetFilterResponse) Status ¶
func (r GetFilterResponse) Status() string
Status returns HTTPResponse.Status
func (GetFilterResponse) StatusCode ¶
func (r GetFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFiltersResponse ¶
type GetFiltersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *[]ModelsFilterResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetFiltersResponse ¶
func ParseGetFiltersResponse(rsp *http.Response) (*GetFiltersResponse, error)
ParseGetFiltersResponse parses an HTTP response from a GetFiltersWithResponse call
func (GetFiltersResponse) ContentType ¶
func (r GetFiltersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFiltersResponse) GetBody ¶
func (r GetFiltersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFiltersResponse) GetJSON200 ¶
func (r GetFiltersResponse) GetJSON200() *struct { Data *[]ModelsFilterResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFiltersResponse) GetJSON400 ¶
func (r GetFiltersResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetFiltersResponse) GetJSON401 ¶
func (r GetFiltersResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFiltersResponse) GetJSON404 ¶
func (r GetFiltersResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetFiltersResponse) Status ¶
func (r GetFiltersResponse) Status() string
Status returns HTTPResponse.Status
func (GetFiltersResponse) StatusCode ¶
func (r GetFiltersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMetaEventResponse ¶
type GetMetaEventResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsMetaEventResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetMetaEventResponse ¶
func ParseGetMetaEventResponse(rsp *http.Response) (*GetMetaEventResponse, error)
ParseGetMetaEventResponse parses an HTTP response from a GetMetaEventWithResponse call
func (GetMetaEventResponse) ContentType ¶
func (r GetMetaEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMetaEventResponse) GetBody ¶
func (r GetMetaEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMetaEventResponse) GetJSON200 ¶
func (r GetMetaEventResponse) GetJSON200() *struct { Data *ModelsMetaEventResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMetaEventResponse) GetJSON400 ¶
func (r GetMetaEventResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMetaEventResponse) GetJSON401 ¶
func (r GetMetaEventResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetMetaEventResponse) GetJSON404 ¶
func (r GetMetaEventResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMetaEventResponse) Status ¶
func (r GetMetaEventResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetaEventResponse) StatusCode ¶
func (r GetMetaEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMetaEventsPagedParams ¶
type GetMetaEventsPagedParams struct {
Direction *GetMetaEventsPagedParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// EndDate The end date
EndDate *string `form:"endDate,omitempty" json:"endDate,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
// StartDate The start date
StartDate *string `form:"startDate,omitempty" json:"startDate,omitempty"`
}
GetMetaEventsPagedParams defines parameters for GetMetaEventsPaged.
type GetMetaEventsPagedParamsDirection ¶
type GetMetaEventsPagedParamsDirection string
GetMetaEventsPagedParamsDirection defines parameters for GetMetaEventsPaged.
const ( GetMetaEventsPagedParamsDirectionNext GetMetaEventsPagedParamsDirection = "next" GetMetaEventsPagedParamsDirectionPrev GetMetaEventsPagedParamsDirection = "prev" )
Defines values for GetMetaEventsPagedParamsDirection.
func (GetMetaEventsPagedParamsDirection) Valid ¶
func (e GetMetaEventsPagedParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the GetMetaEventsPagedParamsDirection enum.
type GetMetaEventsPagedResponse ¶
type GetMetaEventsPagedResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *struct {
Content *[]ModelsMetaEventResponse `json:"content,omitempty"`
Pagination *DatastorePaginationData `json:"pagination,omitempty"`
} `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetMetaEventsPagedResponse ¶
func ParseGetMetaEventsPagedResponse(rsp *http.Response) (*GetMetaEventsPagedResponse, error)
ParseGetMetaEventsPagedResponse parses an HTTP response from a GetMetaEventsPagedWithResponse call
func (GetMetaEventsPagedResponse) ContentType ¶
func (r GetMetaEventsPagedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMetaEventsPagedResponse) GetBody ¶
func (r GetMetaEventsPagedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMetaEventsPagedResponse) GetJSON200 ¶
func (r GetMetaEventsPagedResponse) GetJSON200() *struct { Data *struct { Content *[]ModelsMetaEventResponse `json:"content,omitempty"` Pagination *DatastorePaginationData `json:"pagination,omitempty"` } `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMetaEventsPagedResponse) GetJSON400 ¶
func (r GetMetaEventsPagedResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetMetaEventsPagedResponse) GetJSON401 ¶
func (r GetMetaEventsPagedResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetMetaEventsPagedResponse) GetJSON404 ¶
func (r GetMetaEventsPagedResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMetaEventsPagedResponse) Status ¶
func (r GetMetaEventsPagedResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetaEventsPagedResponse) StatusCode ¶
func (r GetMetaEventsPagedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPortalLinkResponse ¶
type GetPortalLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *DatastorePortalLinkResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetPortalLinkResponse ¶
func ParseGetPortalLinkResponse(rsp *http.Response) (*GetPortalLinkResponse, error)
ParseGetPortalLinkResponse parses an HTTP response from a GetPortalLinkWithResponse call
func (GetPortalLinkResponse) ContentType ¶
func (r GetPortalLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPortalLinkResponse) GetBody ¶
func (r GetPortalLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPortalLinkResponse) GetJSON200 ¶
func (r GetPortalLinkResponse) GetJSON200() *struct { Data *DatastorePortalLinkResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPortalLinkResponse) GetJSON400 ¶
func (r GetPortalLinkResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetPortalLinkResponse) GetJSON401 ¶
func (r GetPortalLinkResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetPortalLinkResponse) GetJSON404 ¶
func (r GetPortalLinkResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetPortalLinkResponse) Status ¶
func (r GetPortalLinkResponse) Status() string
Status returns HTTPResponse.Status
func (GetPortalLinkResponse) StatusCode ¶
func (r GetPortalLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectResponse ¶
type GetProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsProjectResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetProjectResponse ¶
func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)
ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call
func (GetProjectResponse) ContentType ¶
func (r GetProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectResponse) GetBody ¶
func (r GetProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectResponse) GetJSON200 ¶
func (r GetProjectResponse) GetJSON200() *struct { Data *ModelsProjectResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectResponse) GetJSON400 ¶
func (r GetProjectResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetProjectResponse) GetJSON401 ¶
func (r GetProjectResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetProjectResponse) GetJSON404 ¶
func (r GetProjectResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetProjectResponse) Status ¶
func (r GetProjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectResponse) StatusCode ¶
func (r GetProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectsParams ¶
type GetProjectsParams struct {
// OrgID Organisation ID
OrgID string `form:"orgID" json:"orgID"`
}
GetProjectsParams defines parameters for GetProjects.
type GetProjectsResponse ¶
type GetProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *[]ModelsProjectResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetProjectsResponse ¶
func ParseGetProjectsResponse(rsp *http.Response) (*GetProjectsResponse, error)
ParseGetProjectsResponse parses an HTTP response from a GetProjectsWithResponse call
func (GetProjectsResponse) ContentType ¶
func (r GetProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectsResponse) GetBody ¶
func (r GetProjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectsResponse) GetJSON200 ¶
func (r GetProjectsResponse) GetJSON200() *struct { Data *[]ModelsProjectResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectsResponse) GetJSON400 ¶
func (r GetProjectsResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetProjectsResponse) GetJSON401 ¶
func (r GetProjectsResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetProjectsResponse) GetJSON404 ¶
func (r GetProjectsResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetProjectsResponse) Status ¶
func (r GetProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectsResponse) StatusCode ¶
func (r GetProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSourceResponse ¶
type GetSourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsSourceResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetSourceResponse ¶
func ParseGetSourceResponse(rsp *http.Response) (*GetSourceResponse, error)
ParseGetSourceResponse parses an HTTP response from a GetSourceWithResponse call
func (GetSourceResponse) ContentType ¶
func (r GetSourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSourceResponse) GetBody ¶
func (r GetSourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSourceResponse) GetJSON200 ¶
func (r GetSourceResponse) GetJSON200() *struct { Data *ModelsSourceResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSourceResponse) GetJSON400 ¶
func (r GetSourceResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSourceResponse) GetJSON401 ¶
func (r GetSourceResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSourceResponse) GetJSON404 ¶
func (r GetSourceResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSourceResponse) Status ¶
func (r GetSourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSourceResponse) StatusCode ¶
func (r GetSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSubscriptionResponse ¶
type GetSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsSubscriptionResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetSubscriptionResponse ¶
func ParseGetSubscriptionResponse(rsp *http.Response) (*GetSubscriptionResponse, error)
ParseGetSubscriptionResponse parses an HTTP response from a GetSubscriptionWithResponse call
func (GetSubscriptionResponse) ContentType ¶
func (r GetSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSubscriptionResponse) GetBody ¶
func (r GetSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSubscriptionResponse) GetJSON200 ¶
func (r GetSubscriptionResponse) GetJSON200() *struct { Data *ModelsSubscriptionResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSubscriptionResponse) GetJSON400 ¶
func (r GetSubscriptionResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSubscriptionResponse) GetJSON401 ¶
func (r GetSubscriptionResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSubscriptionResponse) GetJSON404 ¶
func (r GetSubscriptionResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
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 GetSubscriptionsParams ¶
type GetSubscriptionsParams struct {
Direction *GetSubscriptionsParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// EndpointId A list of endpointIDs to filter by
EndpointId *[]string `form:"endpointId,omitempty" json:"endpointId,omitempty"`
// Name Subscription name to filter by
Name *string `form:"name,omitempty" json:"name,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
GetSubscriptionsParams defines parameters for GetSubscriptions.
type GetSubscriptionsParamsDirection ¶
type GetSubscriptionsParamsDirection string
GetSubscriptionsParamsDirection defines parameters for GetSubscriptions.
const ( GetSubscriptionsParamsDirectionNext GetSubscriptionsParamsDirection = "next" GetSubscriptionsParamsDirectionPrev GetSubscriptionsParamsDirection = "prev" )
Defines values for GetSubscriptionsParamsDirection.
func (GetSubscriptionsParamsDirection) Valid ¶
func (e GetSubscriptionsParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the GetSubscriptionsParamsDirection enum.
type GetSubscriptionsResponse ¶
type GetSubscriptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *struct {
Content *[]ModelsSubscriptionResponse `json:"content,omitempty"`
Pagination *DatastorePaginationData `json:"pagination,omitempty"`
} `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseGetSubscriptionsResponse ¶
func ParseGetSubscriptionsResponse(rsp *http.Response) (*GetSubscriptionsResponse, error)
ParseGetSubscriptionsResponse parses an HTTP response from a GetSubscriptionsWithResponse call
func (GetSubscriptionsResponse) ContentType ¶
func (r GetSubscriptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSubscriptionsResponse) GetBody ¶
func (r GetSubscriptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSubscriptionsResponse) GetJSON200 ¶
func (r GetSubscriptionsResponse) GetJSON200() *struct { Data *struct { Content *[]ModelsSubscriptionResponse `json:"content,omitempty"` Pagination *DatastorePaginationData `json:"pagination,omitempty"` } `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSubscriptionsResponse) GetJSON400 ¶
func (r GetSubscriptionsResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSubscriptionsResponse) GetJSON401 ¶
func (r GetSubscriptionsResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSubscriptionsResponse) GetJSON404 ¶
func (r GetSubscriptionsResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSubscriptionsResponse) Status ¶
func (r GetSubscriptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSubscriptionsResponse) StatusCode ¶
func (r GetSubscriptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HandlersStub ¶
type HandlersStub map[string]interface{}
HandlersStub defines model for handlers.Stub.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type HttpheaderHTTPHeader ¶
HttpheaderHTTPHeader defines model for httpheader.HTTPHeader.
type ImportOpenApiSpecJSONRequestBody ¶
type ImportOpenApiSpecJSONRequestBody = ModelsImportOpenAPISpec
ImportOpenApiSpecJSONRequestBody defines body for ImportOpenApiSpec for application/json ContentType.
type ImportOpenApiSpecResponse ¶
type ImportOpenApiSpecResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *[]ModelsEventTypeResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseImportOpenApiSpecResponse ¶
func ParseImportOpenApiSpecResponse(rsp *http.Response) (*ImportOpenApiSpecResponse, error)
ParseImportOpenApiSpecResponse parses an HTTP response from a ImportOpenApiSpecWithResponse call
func (ImportOpenApiSpecResponse) ContentType ¶
func (r ImportOpenApiSpecResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ImportOpenApiSpecResponse) GetBody ¶
func (r ImportOpenApiSpecResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ImportOpenApiSpecResponse) GetJSON200 ¶
func (r ImportOpenApiSpecResponse) GetJSON200() *struct { Data *[]ModelsEventTypeResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ImportOpenApiSpecResponse) GetJSON400 ¶
func (r ImportOpenApiSpecResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ImportOpenApiSpecResponse) GetJSON401 ¶
func (r ImportOpenApiSpecResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ImportOpenApiSpecResponse) GetJSON404 ¶
func (r ImportOpenApiSpecResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ImportOpenApiSpecResponse) Status ¶
func (r ImportOpenApiSpecResponse) Status() string
Status returns HTTPResponse.Status
func (ImportOpenApiSpecResponse) StatusCode ¶
func (r ImportOpenApiSpecResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadPortalLinksPagedParams ¶
type LoadPortalLinksPagedParams struct {
Direction *LoadPortalLinksPagedParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// OwnerId The owner ID of the endpoint
OwnerId *string `form:"ownerId,omitempty" json:"ownerId,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Q The name of the endpoint
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
}
LoadPortalLinksPagedParams defines parameters for LoadPortalLinksPaged.
type LoadPortalLinksPagedParamsDirection ¶
type LoadPortalLinksPagedParamsDirection string
LoadPortalLinksPagedParamsDirection defines parameters for LoadPortalLinksPaged.
const ( LoadPortalLinksPagedParamsDirectionNext LoadPortalLinksPagedParamsDirection = "next" LoadPortalLinksPagedParamsDirectionPrev LoadPortalLinksPagedParamsDirection = "prev" )
Defines values for LoadPortalLinksPagedParamsDirection.
func (LoadPortalLinksPagedParamsDirection) Valid ¶
func (e LoadPortalLinksPagedParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the LoadPortalLinksPagedParamsDirection enum.
type LoadPortalLinksPagedResponse ¶
type LoadPortalLinksPagedResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *struct {
Content *[]DatastorePortalLinkResponse `json:"content,omitempty"`
Pagination *DatastorePaginationData `json:"pagination,omitempty"`
} `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseLoadPortalLinksPagedResponse ¶
func ParseLoadPortalLinksPagedResponse(rsp *http.Response) (*LoadPortalLinksPagedResponse, error)
ParseLoadPortalLinksPagedResponse parses an HTTP response from a LoadPortalLinksPagedWithResponse call
func (LoadPortalLinksPagedResponse) ContentType ¶
func (r LoadPortalLinksPagedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadPortalLinksPagedResponse) GetBody ¶
func (r LoadPortalLinksPagedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadPortalLinksPagedResponse) GetJSON200 ¶
func (r LoadPortalLinksPagedResponse) GetJSON200() *struct { Data *struct { Content *[]DatastorePortalLinkResponse `json:"content,omitempty"` Pagination *DatastorePaginationData `json:"pagination,omitempty"` } `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LoadPortalLinksPagedResponse) GetJSON400 ¶
func (r LoadPortalLinksPagedResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (LoadPortalLinksPagedResponse) GetJSON401 ¶
func (r LoadPortalLinksPagedResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (LoadPortalLinksPagedResponse) GetJSON404 ¶
func (r LoadPortalLinksPagedResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (LoadPortalLinksPagedResponse) Status ¶
func (r LoadPortalLinksPagedResponse) Status() string
Status returns HTTPResponse.Status
func (LoadPortalLinksPagedResponse) StatusCode ¶
func (r LoadPortalLinksPagedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadSourcesPagedParams ¶
type LoadSourcesPagedParams struct {
Direction *LoadSourcesPagedParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// NextPageCursor A pagination cursor to fetch the next page of a list
NextPageCursor *string `form:"next_page_cursor,omitempty" json:"next_page_cursor,omitempty"`
// PerPage The number of items to return per page
PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"`
// PrevPageCursor A pagination cursor to fetch the previous page of a list
PrevPageCursor *string `form:"prev_page_cursor,omitempty" json:"prev_page_cursor,omitempty"`
// Provider The custom source provider e.g. twitter, shopify
Provider *string `form:"provider,omitempty" json:"provider,omitempty"`
// Sort Sort order, values are `ASC` or `DESC`, defaults to `DESC`
Sort *string `form:"sort,omitempty" json:"sort,omitempty"`
// Type The source type e.g. http, pub_sub
Type *string `form:"type,omitempty" json:"type,omitempty"`
}
LoadSourcesPagedParams defines parameters for LoadSourcesPaged.
type LoadSourcesPagedParamsDirection ¶
type LoadSourcesPagedParamsDirection string
LoadSourcesPagedParamsDirection defines parameters for LoadSourcesPaged.
const ( LoadSourcesPagedParamsDirectionNext LoadSourcesPagedParamsDirection = "next" LoadSourcesPagedParamsDirectionPrev LoadSourcesPagedParamsDirection = "prev" )
Defines values for LoadSourcesPagedParamsDirection.
func (LoadSourcesPagedParamsDirection) Valid ¶
func (e LoadSourcesPagedParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the LoadSourcesPagedParamsDirection enum.
type LoadSourcesPagedResponse ¶
type LoadSourcesPagedResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *struct {
Content *[]ModelsSourceResponse `json:"content,omitempty"`
Pagination *DatastorePaginationData `json:"pagination,omitempty"`
} `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseLoadSourcesPagedResponse ¶
func ParseLoadSourcesPagedResponse(rsp *http.Response) (*LoadSourcesPagedResponse, error)
ParseLoadSourcesPagedResponse parses an HTTP response from a LoadSourcesPagedWithResponse call
func (LoadSourcesPagedResponse) ContentType ¶
func (r LoadSourcesPagedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadSourcesPagedResponse) GetBody ¶
func (r LoadSourcesPagedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadSourcesPagedResponse) GetJSON200 ¶
func (r LoadSourcesPagedResponse) GetJSON200() *struct { Data *struct { Content *[]ModelsSourceResponse `json:"content,omitempty"` Pagination *DatastorePaginationData `json:"pagination,omitempty"` } `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LoadSourcesPagedResponse) GetJSON400 ¶
func (r LoadSourcesPagedResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (LoadSourcesPagedResponse) GetJSON401 ¶
func (r LoadSourcesPagedResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (LoadSourcesPagedResponse) GetJSON404 ¶
func (r LoadSourcesPagedResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (LoadSourcesPagedResponse) Status ¶
func (r LoadSourcesPagedResponse) Status() string
Status returns HTTPResponse.Status
func (LoadSourcesPagedResponse) StatusCode ¶
func (r LoadSourcesPagedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModelsAlertConfiguration ¶
type ModelsAlertConfiguration struct {
// Count Count
Count *int `json:"count,omitempty"`
// Threshold Threshold
Threshold *string `json:"threshold,omitempty"`
}
ModelsAlertConfiguration defines model for models.AlertConfiguration.
type ModelsAmqpAuth ¶
type ModelsAmqpAuth struct {
Password *string `json:"password,omitempty"`
User *string `json:"user,omitempty"`
}
ModelsAmqpAuth defines model for models.AmqpAuth.
type ModelsAmqpExchange ¶
type ModelsAmqpExchange struct {
Exchange *string `json:"exchange,omitempty"`
RoutingKey *string `json:"routingKey,omitempty"`
}
ModelsAmqpExchange defines model for models.AmqpExchange.
type ModelsAmqpPubSubconfig ¶
type ModelsAmqpPubSubconfig struct {
Auth *ModelsAmqpAuth `json:"auth,omitempty"`
BindExchange *ModelsAmqpExchange `json:"bindExchange,omitempty"`
DeadLetterExchange *string `json:"deadLetterExchange,omitempty"`
Host *string `json:"host,omitempty"`
Port *string `json:"port,omitempty"`
Queue *string `json:"queue,omitempty"`
Schema *string `json:"schema,omitempty"`
Vhost *string `json:"vhost,omitempty"`
}
ModelsAmqpPubSubconfig defines model for models.AmqpPubSubconfig.
type ModelsApiKey ¶
type ModelsApiKey struct {
HeaderName string `json:"header_name"`
HeaderValue string `json:"header_value"`
}
ModelsApiKey defines model for models.ApiKey.
type ModelsBasicAuth ¶
ModelsBasicAuth defines model for models.BasicAuth.
type ModelsBroadcastEvent ¶
type ModelsBroadcastEvent struct {
AcknowledgedAt *string `json:"acknowledged_at,omitempty"`
// CustomHeaders Specifies custom headers you want convoy to add when the event is dispatched to your endpoint
CustomHeaders *map[string]string `json:"custom_headers,omitempty"`
// Data Data is an arbitrary JSON value that gets sent as the body of the
// webhook to the endpoints
Data *map[string]interface{} `json:"data,omitempty"`
// EventType Event Type is used for filtering and debugging e.g invoice.paid
EventType *string `json:"event_type,omitempty"`
// IdempotencyKey Specify a key for event deduplication
IdempotencyKey *string `json:"idempotency_key,omitempty"`
}
ModelsBroadcastEvent defines model for models.BroadcastEvent.
type ModelsBulkOnboardAcceptedResponse ¶
type ModelsBulkOnboardAcceptedResponse struct {
BatchCount *int `json:"batch_count,omitempty"`
Message *string `json:"message,omitempty"`
TotalItems *int `json:"total_items,omitempty"`
}
ModelsBulkOnboardAcceptedResponse defines model for models.BulkOnboardAcceptedResponse.
type ModelsBulkOnboardDryRunResponse ¶
type ModelsBulkOnboardDryRunResponse struct {
Errors *[]ModelsOnboardValidationError `json:"errors,omitempty"`
TotalRows *int `json:"total_rows,omitempty"`
ValidCount *int `json:"valid_count,omitempty"`
}
ModelsBulkOnboardDryRunResponse defines model for models.BulkOnboardDryRunResponse.
type ModelsBulkOnboardRequest ¶
type ModelsBulkOnboardRequest struct {
Items *[]ModelsOnboardItem `json:"items,omitempty"`
}
ModelsBulkOnboardRequest defines model for models.BulkOnboardRequest.
type ModelsBulkUpdateFilterRequest ¶
type ModelsBulkUpdateFilterRequest struct {
Body *map[string]interface{} `json:"body,omitempty"`
EnabledAt *ModelsOptionalTime `json:"enabled_at,omitempty"`
EventType *string `json:"event_type,omitempty"`
Headers *map[string]interface{} `json:"headers,omitempty"`
Path *map[string]interface{} `json:"path,omitempty"`
Query *map[string]interface{} `json:"query,omitempty"`
Uid string `json:"uid"`
}
ModelsBulkUpdateFilterRequest defines model for models.BulkUpdateFilterRequest.
type ModelsCountResponse ¶
type ModelsCountResponse struct {
Num *int `json:"num,omitempty"`
}
ModelsCountResponse defines model for models.CountResponse.
type ModelsCreateEndpoint ¶
type ModelsCreateEndpoint struct {
// AdvancedSignatures Convoy supports two [signature formats](https://getconvoy.io/docs/product-manual/signatures)
// -- simple or advanced. If left unspecified, we default to false.
AdvancedSignatures *bool `json:"advanced_signatures,omitempty"`
// AppID Deprecated but necessary for backward compatibility
AppID *string `json:"appID,omitempty"`
// Authentication This is used to define any custom authentication required by the endpoint. This
// shouldn't be needed often because webhook endpoints usually should be exposed to
// the internet.
Authentication *ModelsEndpointAuthentication `json:"authentication,omitempty"`
// ContentType Content type for the endpoint. Defaults to application/json if not specified.
ContentType *string `json:"content_type,omitempty"`
// Description Human-readable description of the endpoint. Think of this as metadata describing
// the endpoint
Description *string `json:"description,omitempty"`
// HttpTimeout Define endpoint http timeout in seconds.
HttpTimeout *int `json:"http_timeout,omitempty"`
// IsDisabled This is used to manually enable/disable the endpoint.
IsDisabled *bool `json:"is_disabled,omitempty"`
// MtlsClientCert mTLS client certificate configuration for the endpoint
MtlsClientCert *ModelsMtlsClientCert `json:"mtls_client_cert,omitempty"`
// Name Endpoint name.
Name *string `json:"name,omitempty"`
// OwnerId The OwnerID is used to group more than one endpoint together to achieve
// [fanout](https://getconvoy.io/docs/manual/endpoints#Endpoint%20Owner%20ID)
OwnerId *string `json:"owner_id,omitempty"`
// RateLimit Rate limit is the total number of requests to be sent to an endpoint in
// the time duration specified in RateLimitDuration
RateLimit *int `json:"rate_limit,omitempty"`
// RateLimitDuration Rate limit duration specifies the time range for the rate limit.
RateLimitDuration *int `json:"rate_limit_duration,omitempty"`
// Secret Endpoint's webhook secret. If not provided, Convoy autogenerates one for the endpoint.
Secret *string `json:"secret,omitempty"`
// SlackWebhookUrl Slack webhook URL is an alternative method to support email where endpoint developers
// can receive failure notifications on a slack channel.
SlackWebhookUrl *string `json:"slack_webhook_url,omitempty"`
// SupportEmail Endpoint developers support email. This is used for communicating endpoint state
// changes. You should always turn this on when disabling endpoints are enabled.
SupportEmail *string `json:"support_email,omitempty"`
// Url URL is the endpoint's URL prefixed with https. non-https urls are currently
// not supported.
Url *string `json:"url,omitempty"`
}
ModelsCreateEndpoint defines model for models.CreateEndpoint.
type ModelsCreateEvent ¶
type ModelsCreateEvent struct {
// AppId Deprecated but necessary for backward compatibility.
AppId *string `json:"app_id,omitempty"`
// CustomHeaders Specifies custom headers you want convoy to add when the event is dispatched to your endpoint
CustomHeaders *map[string]string `json:"custom_headers,omitempty"`
// Data Data is an arbitrary JSON value that gets sent as the body of the
// webhook to the endpoints
Data *map[string]interface{} `json:"data,omitempty"`
// EndpointId Specifies the endpoint to send this event to. Required unless the
// deprecated app_id is provided.
EndpointId *string `json:"endpoint_id,omitempty"`
// EventType Event Type is used for filtering and debugging e.g invoice.paid
EventType *string `json:"event_type,omitempty"`
// IdempotencyKey Specify a key for event deduplication
IdempotencyKey *string `json:"idempotency_key,omitempty"`
}
ModelsCreateEvent defines model for models.CreateEvent.
type ModelsCreateEventType ¶
type ModelsCreateEventType struct {
// Category Category is a product-specific grouping for the event type
Category *string `json:"category,omitempty"`
// Description Description is used to describe what the event type does
Description *string `json:"description,omitempty"`
// JsonSchema JSONSchema is the JSON structure of the event type
JsonSchema *map[string]interface{} `json:"json_schema,omitempty"`
// Name Name is the event type name. E.g., invoice.created
Name *string `json:"name,omitempty"`
}
ModelsCreateEventType defines model for models.CreateEventType.
type ModelsCreateFilterRequest ¶
type ModelsCreateFilterRequest struct {
// Body Body matching criteria (optional)
Body *DatastoreM `json:"body,omitempty"`
// EnabledAt Non-null when this filter is active. Defaults to now when omitted.
EnabledAt *ModelsOptionalTime `json:"enabled_at,omitempty"`
// EventType Type of event this filter applies to (required)
EventType string `json:"event_type"`
// Headers Header matching criteria (optional)
Headers *DatastoreM `json:"headers,omitempty"`
// Path Path matching criteria (optional)
Path *DatastoreM `json:"path,omitempty"`
// Query Query matching criteria (optional)
Query *DatastoreM `json:"query,omitempty"`
}
ModelsCreateFilterRequest defines model for models.CreateFilterRequest.
type ModelsCreateProject ¶
type ModelsCreateProject struct {
// Config Project Config
Config *ModelsProjectConfig `json:"config,omitempty"`
LogoUrl *string `json:"logo_url,omitempty"`
// Name Project Name
Name *string `json:"name,omitempty"`
// Type Project Type, supported values are `outgoing`, `incoming`
Type *string `json:"type,omitempty"`
}
ModelsCreateProject defines model for models.CreateProject.
type ModelsCreateProjectResponse ¶
type ModelsCreateProjectResponse struct {
ApiKey *DatastoreAPIKeyResponse `json:"api_key,omitempty"`
Project *ModelsProjectResponse `json:"project,omitempty"`
}
ModelsCreateProjectResponse defines model for models.CreateProjectResponse.
type ModelsCreateSource ¶
type ModelsCreateSource struct {
// BodyFunction Function is a javascript function used to mutate the payload
// immediately after ingesting an event
BodyFunction *string `json:"body_function,omitempty"`
// CustomResponse Custom response is used to define a custom response for incoming
// webhooks project sources only.
CustomResponse *ModelsCustomResponse `json:"custom_response,omitempty"`
// EventTypeLocation EventTypeLocation is used to specify where Convoy should read the event type
// from an incoming webhook request.
EventTypeLocation *string `json:"event_type_location,omitempty"`
// HeaderFunction Function is a javascript function used to mutate the headers
// immediately after ingesting an event
HeaderFunction *string `json:"header_function,omitempty"`
// IdempotencyKeys IdempotencyKeys are used to specify parts of a webhook request to uniquely
// identify the event in an incoming webhooks project.
IdempotencyKeys *[]string `json:"idempotency_keys,omitempty"`
// Name Source name.
Name *string `json:"name,omitempty"`
// Provider Use this to specify one of our predefined source types.
Provider *DatastoreSourceProvider `json:"provider,omitempty"`
// PubSub PubSub are used to specify message broker sources for outgoing
// webhooks projects.
PubSub *ModelsPubSubConfig `json:"pub_sub,omitempty"`
// Type Source Type.
Type *DatastoreSourceType `json:"type,omitempty"`
// Verifier Verifiers are used to verify webhook events ingested in incoming
// webhooks projects. If set, type is required and match the verifier
// type object you choose.
Verifier *ModelsVerifierConfig `json:"verifier,omitempty"`
}
ModelsCreateSource defines model for models.CreateSource.
type ModelsCreateSubscription ¶
type ModelsCreateSubscription struct {
// AlertConfig Alert configuration
AlertConfig *ModelsAlertConfiguration `json:"alert_config,omitempty"`
// AppId Deprecated but necessary for backward compatibility
AppId *string `json:"app_id,omitempty"`
// DeliveryMode Delivery mode configuration
DeliveryMode *DatastoreDeliveryMode `json:"delivery_mode,omitempty"`
// EndpointId Destination endpoint ID
EndpointId *string `json:"endpoint_id,omitempty"`
// FilterConfig Filter configuration
FilterConfig *ModelsFilterConfiguration `json:"filter_config,omitempty"`
// Function Convoy supports mutating your request payload using a js function. Use this field
// to specify a `transform` function for this purpose. See this[https://docs.getconvoy.io/product-manual/subscriptions#functions] for more
Function *string `json:"function,omitempty"`
// Name Subscription Nme
Name *string `json:"name,omitempty"`
// RateLimitConfig Rate limit configuration
RateLimitConfig *ModelsRateLimitConfiguration `json:"rate_limit_config,omitempty"`
// SourceId Source Id
SourceId *string `json:"source_id,omitempty"`
}
ModelsCreateSubscription defines model for models.CreateSubscription.
type ModelsCustomResponse ¶
type ModelsCustomResponse struct {
Body *string `json:"body,omitempty"`
ContentType *string `json:"content_type,omitempty"`
}
ModelsCustomResponse defines model for models.CustomResponse.
type ModelsDynamicEvent ¶
type ModelsDynamicEvent struct {
// CustomHeaders Specifies custom headers you want convoy to add when the event is dispatched to your endpoint
CustomHeaders *map[string]string `json:"custom_headers,omitempty"`
// Data Data is an arbitrary JSON value that gets sent as the body of the
// webhook to the endpoints
Data *map[string]interface{} `json:"data,omitempty"`
// EventType Event Type is used for filtering and debugging e.g invoice.paid
EventType *string `json:"event_type,omitempty"`
// EventTypes A list of event types for the subscription filter config
EventTypes *[]string `json:"event_types,omitempty"`
// IdempotencyKey Specify a key for event deduplication
IdempotencyKey *string `json:"idempotency_key,omitempty"`
// Secret Endpoint's webhook secret. If not provided, Convoy autogenerates one for the endpoint.
Secret *string `json:"secret,omitempty"`
// Url URL is the endpoint's URL prefixed with https. non-https urls are currently
// not supported.
Url *string `json:"url,omitempty"`
}
ModelsDynamicEvent defines model for models.DynamicEvent.
type ModelsEndpointAuthentication ¶
type ModelsEndpointAuthentication struct {
ApiKey *ModelsApiKey `json:"api_key,omitempty"`
BasicAuth *ModelsBasicAuth `json:"basic_auth,omitempty"`
Oauth2 *ModelsOAuth2 `json:"oauth2,omitempty"`
Type *DatastoreEndpointAuthenticationType `json:"type,omitempty"`
}
ModelsEndpointAuthentication defines model for models.EndpointAuthentication.
type ModelsEndpointResponse ¶
type ModelsEndpointResponse struct {
AdvancedSignatures *bool `json:"advanced_signatures,omitempty"`
Authentication *DatastoreEndpointAuthentication `json:"authentication,omitempty"`
// CbState CBState is the circuit breaker state ("open", "half-open", "closed") so the UI
// can reflect a tripped breaker on the endpoint status. Nil when CB is
// off/unlicensed or has no sample for this endpoint.
CbState *string `json:"cb_state,omitempty"`
ContentType *string `json:"content_type,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
Description *string `json:"description,omitempty"`
Events *int `json:"events,omitempty"`
FailureCount *int `json:"failure_count,omitempty"`
// FailureRate FailureRate is the circuit breaker's rolling failure rate for this endpoint.
// It is a pointer so the API can return null when no rate was computed (circuit
// breaker feature off, or sampler not running), distinct from a genuine 0%.
FailureRate *float32 `json:"failure_rate,omitempty"`
HttpTimeout *int `json:"http_timeout,omitempty"`
// MtlsClientCert mTLS client certificate configuration
MtlsClientCert *DatastoreMtlsClientCert `json:"mtls_client_cert,omitempty"`
Name *string `json:"name,omitempty"`
OwnerId *string `json:"owner_id,omitempty"`
// PeriodFailureRate PeriodFailureRate is the period failure rate from event_deliveries,
// (Failure+Retry)/(Success+Failure+Retry). Retry counts as failed-so-far.
// Nil when the range has no counted deliveries; sibling counts are transient.
PeriodFailureRate *float32 `json:"period_failure_rate,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
RateLimit *int `json:"rate_limit,omitempty"`
RateLimitDuration *int `json:"rate_limit_duration,omitempty"`
RetryCount *int `json:"retry_count,omitempty"`
Secrets *[]DatastoreSecret `json:"secrets,omitempty"`
SlackWebhookUrl *string `json:"slack_webhook_url,omitempty"`
Status *DatastoreEndpointStatus `json:"status,omitempty"`
SuccessCount *int `json:"success_count,omitempty"`
SupportEmail *string `json:"support_email,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Url *string `json:"url,omitempty"`
}
ModelsEndpointResponse defines model for models.EndpointResponse.
type ModelsEventDeliveryResponse ¶
type ModelsEventDeliveryResponse struct {
AcknowledgedAt *string `json:"acknowledged_at,omitempty"`
CliMetadata *DatastoreCLIMetadata `json:"cli_metadata,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
DeliveryMode *DatastoreDeliveryMode `json:"delivery_mode,omitempty"`
Description *string `json:"description,omitempty"`
DeviceId *string `json:"device_id,omitempty"`
DeviceMetadata *DatastoreDevice `json:"device_metadata,omitempty"`
EndpointId *string `json:"endpoint_id,omitempty"`
EndpointMetadata *DatastoreEndpoint `json:"endpoint_metadata,omitempty"`
EventId *string `json:"event_id,omitempty"`
EventMetadata *DatastoreEvent `json:"event_metadata,omitempty"`
EventType *string `json:"event_type,omitempty"`
Headers *HttpheaderHTTPHeader `json:"headers,omitempty"`
IdempotencyKey *string `json:"idempotency_key,omitempty"`
// Latency Deprecated: Latency is deprecated.
Latency *string `json:"latency,omitempty"`
LatencySeconds *float32 `json:"latency_seconds,omitempty"`
Metadata *DatastoreMetadata `json:"metadata,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
SourceMetadata *DatastoreSource `json:"source_metadata,omitempty"`
Status *DatastoreEventDeliveryStatus `json:"status,omitempty"`
SubscriptionId *string `json:"subscription_id,omitempty"`
TargetUrl *string `json:"target_url,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
UrlQueryParams *string `json:"url_query_params,omitempty"`
}
ModelsEventDeliveryResponse defines model for models.EventDeliveryResponse.
type ModelsEventResponse ¶
type ModelsEventResponse struct {
AcknowledgedAt *string `json:"acknowledged_at,omitempty"`
// AppId Deprecated
AppId *string `json:"app_id,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
// Data Data is an arbitrary JSON value that gets sent as the body of the
// webhook to the endpoints
Data *map[string]interface{} `json:"data,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
EndpointMetadata *[]DatastoreEndpoint `json:"endpoint_metadata,omitempty"`
Endpoints *[]string `json:"endpoints,omitempty"`
EventType *string `json:"event_type,omitempty"`
Headers *HttpheaderHTTPHeader `json:"headers,omitempty"`
IdempotencyKey *string `json:"idempotency_key,omitempty"`
IsDuplicateEvent *bool `json:"is_duplicate_event,omitempty"`
Metadata *string `json:"metadata,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
Raw *string `json:"raw,omitempty"`
SourceId *string `json:"source_id,omitempty"`
SourceMetadata *DatastoreSource `json:"source_metadata,omitempty"`
Status *DatastoreEventStatus `json:"status,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
UrlPath *string `json:"url_path,omitempty"`
UrlQueryParams *string `json:"url_query_params,omitempty"`
}
ModelsEventResponse defines model for models.EventResponse.
type ModelsEventTypeResponse ¶
type ModelsEventTypeResponse struct {
Category *string `json:"category,omitempty"`
DeprecatedAt *string `json:"deprecated_at,omitempty"`
Description *string `json:"description,omitempty"`
JsonSchema *map[string]interface{} `json:"json_schema,omitempty"`
Name *string `json:"name,omitempty"`
Uid *string `json:"uid,omitempty"`
}
ModelsEventTypeResponse defines model for models.EventTypeResponse.
type ModelsExpireSecret ¶
type ModelsExpireSecret struct {
// Expiration Amount of time to wait before expiring the old endpoint secret.
// If AdvancedSignatures is turned on for the project, signatures for both secrets will be generated up until
// the old signature is expired.
Expiration *int `json:"expiration,omitempty"`
// Secret New Endpoint secret value.
Secret *string `json:"secret,omitempty"`
}
ModelsExpireSecret defines model for models.ExpireSecret.
type ModelsFS ¶
type ModelsFS struct {
Body *DatastoreM `json:"body,omitempty"`
Headers *DatastoreM `json:"headers,omitempty"`
Path *DatastoreM `json:"path,omitempty"`
Query *DatastoreM `json:"query,omitempty"`
}
ModelsFS defines model for models.FS.
type ModelsFanoutEvent ¶
type ModelsFanoutEvent struct {
// CustomHeaders Specifies custom headers you want convoy to add when the event is dispatched to your endpoint
CustomHeaders *map[string]string `json:"custom_headers,omitempty"`
// Data Data is an arbitrary JSON value that gets sent as the body of the
// webhook to the endpoints
Data *map[string]interface{} `json:"data,omitempty"`
// EventType Event Type is used for filtering and debugging e.g invoice.paid
EventType *string `json:"event_type,omitempty"`
// IdempotencyKey Specify a key for event deduplication
IdempotencyKey *string `json:"idempotency_key,omitempty"`
// OwnerId Used for fanout, sends this event to all endpoints with this OwnerID.
OwnerId *string `json:"owner_id,omitempty"`
}
ModelsFanoutEvent defines model for models.FanoutEvent.
type ModelsFilterConfiguration ¶
type ModelsFilterConfiguration struct {
// EventTypes List of event types that the subscription should match
EventTypes *[]string `json:"event_types,omitempty"`
// Filter Body & Header filters
Filter *ModelsFS `json:"filter,omitempty"`
}
ModelsFilterConfiguration defines model for models.FilterConfiguration.
type ModelsFilterResponse ¶
type ModelsFilterResponse struct {
Body *DatastoreM `json:"body,omitempty"`
EnabledAt *string `json:"enabled_at,omitempty"`
EventType *string `json:"event_type,omitempty"`
Headers *DatastoreM `json:"headers,omitempty"`
Path *DatastoreM `json:"path,omitempty"`
Query *DatastoreM `json:"query,omitempty"`
RawBody *DatastoreM `json:"raw_body,omitempty"`
RawHeaders *DatastoreM `json:"raw_headers,omitempty"`
RawPath *DatastoreM `json:"raw_path,omitempty"`
RawQuery *DatastoreM `json:"raw_query,omitempty"`
SubscriptionId *string `json:"subscription_id,omitempty"`
Uid *string `json:"uid,omitempty"`
}
ModelsFilterResponse defines model for models.FilterResponse.
type ModelsFilterSchema ¶
type ModelsFilterSchema struct {
Body interface{} `json:"body,omitempty"`
Header interface{} `json:"header,omitempty"`
Path interface{} `json:"path,omitempty"`
Query interface{} `json:"query,omitempty"`
}
ModelsFilterSchema defines model for models.FilterSchema.
type ModelsFunctionRequest ¶
type ModelsFunctionRequest struct {
Function *string `json:"function,omitempty"`
Payload *map[string]interface{} `json:"payload,omitempty"`
Type *string `json:"type,omitempty"`
}
ModelsFunctionRequest defines model for models.FunctionRequest.
type ModelsFunctionResponse ¶
type ModelsFunctionResponse struct {
Log *[]string `json:"log,omitempty"`
Payload interface{} `json:"payload,omitempty"`
}
ModelsFunctionResponse defines model for models.FunctionResponse.
type ModelsGooglePubSubConfig ¶
type ModelsGooglePubSubConfig struct {
ProjectId *string `json:"project_id,omitempty"`
// ServiceAccount encoding/json marshals []byte as a base64 string on the wire.
ServiceAccount *[]byte `json:"service_account,omitempty"`
SubscriptionId *string `json:"subscription_id,omitempty"`
}
ModelsGooglePubSubConfig defines model for models.GooglePubSubConfig.
type ModelsHMac ¶
type ModelsHMac struct {
Encoding DatastoreEncodingType `json:"encoding"`
Hash string `json:"hash"`
Header string `json:"header"`
Secret string `json:"secret"`
}
ModelsHMac defines model for models.HMac.
type ModelsIDs ¶
type ModelsIDs struct {
// Ids A list of event delivery IDs to forcefully resend.
Ids *[]string `json:"ids,omitempty"`
}
ModelsIDs defines model for models.IDs.
type ModelsImportOpenAPISpec ¶
type ModelsImportOpenAPISpec struct {
Spec *string `json:"spec,omitempty"`
}
ModelsImportOpenAPISpec defines model for models.ImportOpenAPISpec.
type ModelsKafkaAuth ¶
type ModelsKafkaAuth struct {
Hash *string `json:"hash,omitempty"`
Password *string `json:"password,omitempty"`
Tls *bool `json:"tls,omitempty"`
Type *string `json:"type,omitempty"`
Username *string `json:"username,omitempty"`
}
ModelsKafkaAuth defines model for models.KafkaAuth.
type ModelsKafkaPubSubConfig ¶
type ModelsKafkaPubSubConfig struct {
Auth *ModelsKafkaAuth `json:"auth,omitempty"`
Brokers *[]string `json:"brokers,omitempty"`
ConsumerGroupId *string `json:"consumer_group_id,omitempty"`
TopicName *string `json:"topic_name,omitempty"`
}
ModelsKafkaPubSubConfig defines model for models.KafkaPubSubConfig.
type ModelsMetaEventConfiguration ¶
type ModelsMetaEventConfiguration struct {
EventType *[]string `json:"event_type,omitempty"`
IsEnabled *bool `json:"is_enabled,omitempty"`
Secret *string `json:"secret,omitempty"`
Type *string `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
}
ModelsMetaEventConfiguration defines model for models.MetaEventConfiguration.
type ModelsMetaEventResponse ¶
type ModelsMetaEventResponse struct {
Attempt *DatastoreMetaEventAttempt `json:"attempt,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
EventType *string `json:"event_type,omitempty"`
Metadata *DatastoreMetadata `json:"metadata,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
Status *DatastoreEventDeliveryStatus `json:"status,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
}
ModelsMetaEventResponse defines model for models.MetaEventResponse.
type ModelsMtlsClientCert ¶
type ModelsMtlsClientCert struct {
// ClientCert ClientCert is the client certificate PEM string
ClientCert *string `json:"client_cert,omitempty"`
// ClientKey ClientKey is the client private key PEM string
ClientKey *string `json:"client_key,omitempty"`
}
ModelsMtlsClientCert defines model for models.MtlsClientCert.
type ModelsOAuth2 ¶
type ModelsOAuth2 struct {
Audience *string `json:"audience,omitempty"`
AuthenticationType *string `json:"authentication_type,omitempty"`
ClientId *string `json:"client_id,omitempty"`
ClientSecret *string `json:"client_secret,omitempty"`
// ExpiryTimeUnit Expiry time unit (seconds, milliseconds, minutes, hours)
ExpiryTimeUnit *string `json:"expiry_time_unit,omitempty"`
// FieldMapping Field mapping for flexible token response parsing
FieldMapping *ModelsOAuth2FieldMapping `json:"field_mapping,omitempty"`
GrantType *string `json:"grant_type,omitempty"`
Issuer *string `json:"issuer,omitempty"`
Scope *string `json:"scope,omitempty"`
SigningAlgorithm *string `json:"signing_algorithm,omitempty"`
SigningKey *ModelsOAuth2SigningKey `json:"signing_key,omitempty"`
Subject *string `json:"subject,omitempty"`
Url *string `json:"url,omitempty"`
}
ModelsOAuth2 defines model for models.OAuth2.
type ModelsOAuth2FieldMapping ¶
type ModelsOAuth2FieldMapping struct {
// AccessToken Field name for access token (e.g., "accessToken", "access_token", "token")
AccessToken *string `json:"access_token,omitempty"`
// ExpiresIn Field name for expiry time (e.g., "expiresIn", "expires_in", "expiresAt")
ExpiresIn *string `json:"expires_in,omitempty"`
// TokenType Field name for token type (e.g., "tokenType", "token_type")
TokenType *string `json:"token_type,omitempty"`
}
ModelsOAuth2FieldMapping defines model for models.OAuth2FieldMapping.
type ModelsOAuth2SigningKey ¶
type ModelsOAuth2SigningKey struct {
// Crv EC (Elliptic Curve) key fields
Crv *string `json:"crv,omitempty"`
// D Private key (EC) or private exponent (RSA)
D *string `json:"d,omitempty"`
// Dp RSA first factor CRT exponent (RSA private key only)
Dp *string `json:"dp,omitempty"`
// Dq RSA second factor CRT exponent (RSA private key only)
Dq *string `json:"dq,omitempty"`
// E RSA public exponent (RSA only)
E *string `json:"e,omitempty"`
// Kid Key ID
Kid *string `json:"kid,omitempty"`
// Kty Key type: "EC" or "RSA"
Kty *string `json:"kty,omitempty"`
// N RSA key fields
N *string `json:"n,omitempty"`
// P RSA first prime factor (RSA private key only)
P *string `json:"p,omitempty"`
// Q RSA second prime factor (RSA private key only)
Q *string `json:"q,omitempty"`
// Qi RSA first CRT coefficient (RSA private key only)
Qi *string `json:"qi,omitempty"`
// X X coordinate (EC only)
X *string `json:"x,omitempty"`
// Y Y coordinate (EC only)
Y *string `json:"y,omitempty"`
}
ModelsOAuth2SigningKey defines model for models.OAuth2SigningKey.
type ModelsOnboardItem ¶
type ModelsOnboardItem struct {
AuthPassword *string `json:"auth_password,omitempty"`
AuthUsername *string `json:"auth_username,omitempty"`
EventType *string `json:"event_type,omitempty"`
Name *string `json:"name,omitempty"`
Url *string `json:"url,omitempty"`
}
ModelsOnboardItem defines model for models.OnboardItem.
type ModelsOnboardValidationError ¶
type ModelsOnboardValidationError struct {
Field *string `json:"field,omitempty"`
Message *string `json:"message,omitempty"`
Row *int `json:"row,omitempty"`
}
ModelsOnboardValidationError defines model for models.OnboardValidationError.
type ModelsOptionalTime ¶
type ModelsOptionalTime struct {
Set *bool `json:"set,omitempty"`
Time *string `json:"time,omitempty"`
}
ModelsOptionalTime defines model for models.OptionalTime.
type ModelsPagedResponse ¶
type ModelsPagedResponse struct {
Content interface{} `json:"content,omitempty"`
Pagination *DatastorePaginationData `json:"pagination,omitempty"`
}
ModelsPagedResponse defines model for models.PagedResponse.
type ModelsProjectConfig ¶
type ModelsProjectConfig struct {
// AddEventIdTraceHeaders Controls of the Event ID and Event Delivery ID Headers are added to the request when events are dispatched to endpoints
AddEventIdTraceHeaders *bool `json:"add_event_id_trace_headers,omitempty"`
// CircuitBreaker CircuitBreaker is used to configure the project's circuit breaker settings
CircuitBreaker *DatastoreCircuitBreakerConfiguration `json:"circuit_breaker,omitempty"`
// DisableEndpoint Controls if the project will disable and endpoint after the retry threshold for an event is reached
DisableEndpoint *bool `json:"disable_endpoint,omitempty"`
// MaxPayloadReadSize Specifies how many bytes and incoming project should read from the ingest request, and how many bytes an outgoing project should from the response of your endpoints
// Defaults to 50KB.
MaxPayloadReadSize *int `json:"max_payload_read_size,omitempty"`
// MetaEvent MetaEvent is used to configure the project's meta events
MetaEvent *ModelsMetaEventConfiguration `json:"meta_event,omitempty"`
// MultipleEndpointSubscriptions MultipleEndpointSubscriptions is used to configure if multiple subscriptions
// can be created for the endpoint in a project
MultipleEndpointSubscriptions *bool `json:"multiple_endpoint_subscriptions,omitempty"`
// Ratelimit RateLimit is used to configure the projects rate limiting config values
Ratelimit *ModelsRateLimitConfiguration `json:"ratelimit,omitempty"`
// ReplayAttacksPreventionEnabled Controls if your project will add a timestamp to it's webhook signature header to prevent a replay attack, See this blog post[https://getconvoy.io/blog/generating-stripe-like-webhook-signatures] for more]
ReplayAttacksPreventionEnabled *bool `json:"replay_attacks_prevention_enabled,omitempty"`
// RequestIdHeader RequestIDHeader is the outbound header name for the stable request id sent on webhook deliveries.
RequestIdHeader *ConfigRequestIDHeaderProvider `json:"request_id_header,omitempty"`
// SearchPolicy Specify the interval in hours for which the event tokenizer runs
SearchPolicy *string `json:"search_policy,omitempty"`
// Signature Signature is used to configure the project's signature header versions
Signature *ModelsSignatureConfiguration `json:"signature,omitempty"`
// Ssl SSL is used to configure the project's endpoint ssl enforcement rules
Ssl *ModelsSSLConfiguration `json:"ssl,omitempty"`
// Strategy Strategy is used to configure the project's retry strategies for failing events.
Strategy *ModelsStrategyConfiguration `json:"strategy,omitempty"`
}
ModelsProjectConfig defines model for models.ProjectConfig.
type ModelsProjectResponse ¶
type ModelsProjectResponse struct {
Config *DatastoreProjectConfig `json:"config,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
LogoUrl *string `json:"logo_url,omitempty"`
Name *string `json:"name,omitempty"`
OrganisationId *string `json:"organisation_id,omitempty"`
RetainedEvents *int `json:"retained_events,omitempty"`
Statistics *DatastoreProjectStatistics `json:"statistics,omitempty"`
Type *DatastoreProjectType `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
}
ModelsProjectResponse defines model for models.ProjectResponse.
type ModelsPubSubConfig ¶
type ModelsPubSubConfig struct {
Amqp *ModelsAmqpPubSubconfig `json:"amqp,omitempty"`
Google *ModelsGooglePubSubConfig `json:"google,omitempty"`
Kafka *ModelsKafkaPubSubConfig `json:"kafka,omitempty"`
Sqs *ModelsSQSPubSubConfig `json:"sqs,omitempty"`
Type *DatastorePubSubType `json:"type,omitempty"`
Workers *int `json:"workers,omitempty"`
}
ModelsPubSubConfig defines model for models.PubSubConfig.
type ModelsRateLimitConfiguration ¶
type ModelsRateLimitConfiguration struct {
Count *int `json:"count,omitempty"`
Duration *int `json:"duration,omitempty"`
}
ModelsRateLimitConfiguration defines model for models.RateLimitConfiguration.
type ModelsRetryConfiguration ¶
type ModelsRetryConfiguration struct {
// Duration Used to specify a valid Go time duration e.g 10s, 1h3m for how long to wait between event delivery retries
Duration *string `json:"duration,omitempty"`
// IntervalSeconds Used to specify a time in seconds for how long to wait between event delivery retries,
IntervalSeconds *int `json:"interval_seconds,omitempty"`
// RetryCount Used to specify the max number of retries
RetryCount *int `json:"retry_count,omitempty"`
// Type Retry Strategy type
Type *DatastoreStrategyProvider `json:"type,omitempty"`
}
ModelsRetryConfiguration defines model for models.RetryConfiguration.
type ModelsSQSPubSubConfig ¶
type ModelsSQSPubSubConfig struct {
AccessKeyId *string `json:"access_key_id,omitempty"`
DefaultRegion *string `json:"default_region,omitempty"`
QueueName *string `json:"queue_name,omitempty"`
SecretKey *string `json:"secret_key,omitempty"`
}
ModelsSQSPubSubConfig defines model for models.SQSPubSubConfig.
type ModelsSSLConfiguration ¶
type ModelsSSLConfiguration struct {
EnforceSecureEndpoints *bool `json:"enforce_secure_endpoints,omitempty"`
}
ModelsSSLConfiguration defines model for models.SSLConfiguration.
type ModelsSignatureConfiguration ¶
type ModelsSignatureConfiguration struct {
Header *ConfigSignatureHeaderProvider `json:"header,omitempty"`
Versions *[]ModelsSignatureVersion `json:"versions,omitempty"`
}
ModelsSignatureConfiguration defines model for models.SignatureConfiguration.
type ModelsSignatureVersion ¶
type ModelsSignatureVersion struct {
CreatedAt *string `json:"created_at,omitempty"`
Encoding *string `json:"encoding,omitempty"`
Hash *string `json:"hash,omitempty"`
Uid *string `json:"uid,omitempty"`
}
ModelsSignatureVersion defines model for models.SignatureVersion.
type ModelsSourceResponse ¶
type ModelsSourceResponse struct {
BodyFunction *string `json:"body_function,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
CustomResponse *DatastoreCustomResponse `json:"custom_response,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
EventTypeLocation *string `json:"event_type_location,omitempty"`
ForwardHeaders *[]string `json:"forward_headers,omitempty"`
HeaderFunction *string `json:"header_function,omitempty"`
IdempotencyKeys *[]string `json:"idempotency_keys,omitempty"`
IsDisabled *bool `json:"is_disabled,omitempty"`
MaskId *string `json:"mask_id,omitempty"`
Name *string `json:"name,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
Provider *DatastoreSourceProvider `json:"provider,omitempty"`
ProviderConfig *DatastoreProviderConfig `json:"provider_config,omitempty"`
PubSub *DatastorePubSubConfig `json:"pub_sub,omitempty"`
Type *DatastoreSourceType `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Url *string `json:"url,omitempty"`
Verifier *DatastoreVerifierConfig `json:"verifier,omitempty"`
}
ModelsSourceResponse defines model for models.SourceResponse.
type ModelsStrategyConfiguration ¶
type ModelsStrategyConfiguration struct {
Duration *int `json:"duration,omitempty"`
RetryCount *int `json:"retry_count,omitempty"`
Type *string `json:"type,omitempty"`
}
ModelsStrategyConfiguration defines model for models.StrategyConfiguration.
type ModelsSubscriptionResponse ¶
type ModelsSubscriptionResponse struct {
// AlertConfig subscription config
AlertConfig *DatastoreAlertConfiguration `json:"alert_config,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
DeletedAt *string `json:"deleted_at,omitempty"`
DeliveryMode *DatastoreDeliveryMode `json:"delivery_mode,omitempty"`
DeviceMetadata *DatastoreDevice `json:"device_metadata,omitempty"`
EndpointMetadata *DatastoreEndpoint `json:"endpoint_metadata,omitempty"`
FilterConfig *DatastoreFilterConfiguration `json:"filter_config,omitempty"`
Function *string `json:"function,omitempty"`
Name *string `json:"name,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
RateLimitConfig *DatastoreRateLimitConfiguration `json:"rate_limit_config,omitempty"`
RetryConfig *DatastoreRetryConfiguration `json:"retry_config,omitempty"`
SourceMetadata *DatastoreSource `json:"source_metadata,omitempty"`
Type *DatastoreSubscriptionType `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
}
ModelsSubscriptionResponse defines model for models.SubscriptionResponse.
type ModelsTestFilter ¶
type ModelsTestFilter struct {
// Request Same Request & Headers
Request *ModelsFilterSchema `json:"request,omitempty"`
// Schema Sample test schema
Schema *ModelsFilterSchema `json:"schema,omitempty"`
}
ModelsTestFilter defines model for models.TestFilter.
type ModelsTestFilterRequest ¶
type ModelsTestFilterRequest struct {
// Payload Sample payload to test against body filter rules. Optional when request scopes are supplied.
Payload interface{} `json:"payload,omitempty"`
// Request Request scopes to test against the filter.
Request *ModelsTestFilterRequestScopes `json:"request,omitempty"`
}
ModelsTestFilterRequest defines model for models.TestFilterRequest.
type ModelsTestFilterRequestScopes ¶
type ModelsTestFilterRequestScopes struct {
Body interface{} `json:"body,omitempty"`
Header *DatastoreM `json:"header,omitempty"`
// Headers Headers accepts either "headers" or "header" for compatibility with the subscription filter tester.
Headers *DatastoreM `json:"headers,omitempty"`
Path *DatastoreM `json:"path,omitempty"`
Query *DatastoreM `json:"query,omitempty"`
}
ModelsTestFilterRequestScopes defines model for models.TestFilterRequestScopes.
type ModelsTestFilterResponse ¶
type ModelsTestFilterResponse struct {
// IsMatch Whether the payload matches the filter criteria
IsMatch *bool `json:"is_match,omitempty"`
}
ModelsTestFilterResponse defines model for models.TestFilterResponse.
type ModelsTestOAuth2Request ¶
type ModelsTestOAuth2Request struct {
Oauth2 *ModelsOAuth2 `json:"oauth2,omitempty"`
}
ModelsTestOAuth2Request defines model for models.TestOAuth2Request.
type ModelsTestOAuth2Response ¶
type ModelsTestOAuth2Response struct {
AccessToken *string `json:"access_token,omitempty"`
Error *string `json:"error,omitempty"`
ExpiresAt *string `json:"expires_at,omitempty"`
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
TokenType *string `json:"token_type,omitempty"`
}
ModelsTestOAuth2Response defines model for models.TestOAuth2Response.
type ModelsUpdateCustomResponse ¶
type ModelsUpdateCustomResponse struct {
Body *string `json:"body,omitempty"`
ContentType *string `json:"content_type,omitempty"`
}
ModelsUpdateCustomResponse defines model for models.UpdateCustomResponse.
type ModelsUpdateEndpoint ¶
type ModelsUpdateEndpoint struct {
// AdvancedSignatures Convoy supports two [signature formats](https://getconvoy.io/docs/product-manual/signatures)
// -- simple or advanced. If left unspecified, we default to false.
AdvancedSignatures *bool `json:"advanced_signatures,omitempty"`
// Authentication This is used to define any custom authentication required by the endpoint. This
// shouldn't be needed often because webhook endpoints usually should be exposed to
// the internet.
Authentication *ModelsEndpointAuthentication `json:"authentication,omitempty"`
// ContentType Content type for the endpoint. Defaults to application/json if not specified.
ContentType *string `json:"content_type,omitempty"`
// Description Human-readable description of the endpoint. Think of this as metadata describing
// the endpoint
Description *string `json:"description,omitempty"`
// HttpTimeout Define endpoint http timeout in seconds.
HttpTimeout *int `json:"http_timeout,omitempty"`
// IsDisabled This is used to manually enable/disable the endpoint.
IsDisabled *bool `json:"is_disabled,omitempty"`
// MtlsClientCert mTLS client certificate configuration for the endpoint
MtlsClientCert *ModelsMtlsClientCert `json:"mtls_client_cert,omitempty"`
Name *string `json:"name,omitempty"`
// OwnerId The OwnerID is used to group more than one endpoint together to achieve
// [fanout](https://getconvoy.io/docs/manual/endpoints#Endpoint%20Owner%20ID)
OwnerId *string `json:"owner_id,omitempty"`
// RateLimit Rate limit is the total number of requests to be sent to an endpoint in
// the time duration specified in RateLimitDuration
RateLimit *int `json:"rate_limit,omitempty"`
// RateLimitDuration Rate limit duration specifies the time range for the rate limit.
RateLimitDuration *int `json:"rate_limit_duration,omitempty"`
// Secret Endpoint's webhook secret. If not provided, Convoy autogenerates one for the endpoint.
Secret *string `json:"secret,omitempty"`
// SlackWebhookUrl Slack webhook URL is an alternative method to support email where endpoint developers
// can receive failure notifications on a slack channel.
SlackWebhookUrl *string `json:"slack_webhook_url,omitempty"`
// SupportEmail Endpoint developers support email. This is used for communicating endpoint state
// changes. You should always turn this on when disabling endpoints are enabled.
SupportEmail *string `json:"support_email,omitempty"`
// Url URL is the endpoint's URL prefixed with https. non-https urls are currently
// not supported.
Url *string `json:"url,omitempty"`
}
ModelsUpdateEndpoint defines model for models.UpdateEndpoint.
type ModelsUpdateEventType ¶
type ModelsUpdateEventType struct {
// Category Category is a product-specific grouping for the event type
Category *string `json:"category,omitempty"`
// Description Description is used to describe what the event type does
Description *string `json:"description,omitempty"`
// JsonSchema JSONSchema is the JSON structure of the event type
JsonSchema *map[string]interface{} `json:"json_schema,omitempty"`
}
ModelsUpdateEventType defines model for models.UpdateEventType.
type ModelsUpdateFilterRequest ¶
type ModelsUpdateFilterRequest struct {
// Body Body matching criteria (optional)
Body *DatastoreM `json:"body,omitempty"`
// EnabledAt Non-null when this filter is active.
EnabledAt *ModelsOptionalTime `json:"enabled_at,omitempty"`
// EventType Type of event this filter applies to (optional)
EventType *string `json:"event_type,omitempty"`
// Headers Header matching criteria (optional)
Headers *DatastoreM `json:"headers,omitempty"`
// IsFlattened Whether the filter uses flattened JSON paths (optional)
IsFlattened *bool `json:"is_flattened,omitempty"`
// Path Path matching criteria (optional)
Path *DatastoreM `json:"path,omitempty"`
// Query Query matching criteria (optional)
Query *DatastoreM `json:"query,omitempty"`
}
ModelsUpdateFilterRequest defines model for models.UpdateFilterRequest.
type ModelsUpdateProject ¶
type ModelsUpdateProject struct {
// Config Project Config
Config *ModelsProjectConfig `json:"config,omitempty"`
LogoUrl *string `json:"logo_url,omitempty"`
// Name Project Name
Name *string `json:"name,omitempty"`
}
ModelsUpdateProject defines model for models.UpdateProject.
type ModelsUpdateSource ¶
type ModelsUpdateSource struct {
// BodyFunction Function is a javascript function used to mutate the payload
// immediately after ingesting an event
BodyFunction *string `json:"body_function,omitempty"`
// CustomResponse Custom response is used to define a custom response for incoming
// webhooks project sources only.
CustomResponse *ModelsUpdateCustomResponse `json:"custom_response,omitempty"`
// EventTypeLocation EventTypeLocation is used to specify where Convoy should read the event type
// from an incoming webhook request.
EventTypeLocation *string `json:"event_type_location,omitempty"`
// ForwardHeaders Soecfy header you want convoy to save from the ingest request and forward to your endpoints when the event is dispatched.
ForwardHeaders *[]string `json:"forward_headers,omitempty"`
// HeaderFunction Function is a javascript function used to mutate the headers
// immediately after ingesting an event
HeaderFunction *string `json:"header_function,omitempty"`
// IdempotencyKeys IdempotencyKeys are used to specify parts of a webhook request to uniquely
// identify the event in an incoming webhooks project.
IdempotencyKeys *[]string `json:"idempotency_keys,omitempty"`
// IsDisabled This is used to manually enable/disable the source.
IsDisabled *bool `json:"is_disabled,omitempty"`
// Name Source name.
Name *string `json:"name,omitempty"`
// PubSub PubSub are used to specify message broker sources for outgoing
// webhooks projects, you only need to specify this when the source type is `pub_sub`.
PubSub *ModelsPubSubConfig `json:"pub_sub,omitempty"`
// Type Source Type.
Type *DatastoreSourceType `json:"type,omitempty"`
// Verifier Verifiers are used to verify webhook events ingested in incoming
// webhooks projects. If set, type is required and match the verifier
// type object you choose.
Verifier *ModelsVerifierConfig `json:"verifier,omitempty"`
}
ModelsUpdateSource defines model for models.UpdateSource.
type ModelsUpdateSubscription ¶
type ModelsUpdateSubscription struct {
// AlertConfig Alert configuration
AlertConfig *ModelsAlertConfiguration `json:"alert_config,omitempty"`
// AppId Deprecated but necessary for backward compatibility
AppId *string `json:"app_id,omitempty"`
// DeliveryMode Delivery mode configuration
DeliveryMode *DatastoreDeliveryMode `json:"delivery_mode,omitempty"`
// EndpointId Destination endpoint ID
EndpointId *string `json:"endpoint_id,omitempty"`
// FilterConfig Filter configuration
FilterConfig *ModelsFilterConfiguration `json:"filter_config,omitempty"`
// Function Convoy supports mutating your request payload using a js function. Use this field
// to specify a `transform` function for this purpose. See this[https://docs.getconvoy.io/product-manual/subscriptions#functions] for more
Function *string `json:"function,omitempty"`
// Name Subscription Nme
Name *string `json:"name,omitempty"`
// RateLimitConfig Rate limit configuration
RateLimitConfig *ModelsRateLimitConfiguration `json:"rate_limit_config,omitempty"`
// RetryConfig Retry configuration
RetryConfig *ModelsRetryConfiguration `json:"retry_config,omitempty"`
// SourceId Source Id
SourceId *string `json:"source_id,omitempty"`
}
ModelsUpdateSubscription defines model for models.UpdateSubscription.
type ModelsVerifierConfig ¶
type ModelsVerifierConfig struct {
ApiKey *ModelsApiKey `json:"api_key,omitempty"`
BasicAuth *ModelsBasicAuth `json:"basic_auth,omitempty"`
Hmac *ModelsHMac `json:"hmac,omitempty"`
Type DatastoreVerifierType `json:"type"`
}
ModelsVerifierConfig defines model for models.VerifierConfig.
type PauseEndpointResponse ¶
type PauseEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *ModelsEndpointResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParsePauseEndpointResponse ¶
func ParsePauseEndpointResponse(rsp *http.Response) (*PauseEndpointResponse, error)
ParsePauseEndpointResponse parses an HTTP response from a PauseEndpointWithResponse call
func (PauseEndpointResponse) ContentType ¶
func (r PauseEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PauseEndpointResponse) GetBody ¶
func (r PauseEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PauseEndpointResponse) GetJSON202 ¶
func (r PauseEndpointResponse) GetJSON202() *struct { Data *ModelsEndpointResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PauseEndpointResponse) GetJSON400 ¶
func (r PauseEndpointResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PauseEndpointResponse) GetJSON401 ¶
func (r PauseEndpointResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PauseEndpointResponse) GetJSON404 ¶
func (r PauseEndpointResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PauseEndpointResponse) Status ¶
func (r PauseEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (PauseEndpointResponse) StatusCode ¶
func (r PauseEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ProjectsProjectIDSourcesTestFunctionJSONRequestBody ¶
type PostV1ProjectsProjectIDSourcesTestFunctionJSONRequestBody = ModelsFunctionRequest
PostV1ProjectsProjectIDSourcesTestFunctionJSONRequestBody defines body for PostV1ProjectsProjectIDSourcesTestFunction for application/json ContentType.
type PostV1ProjectsProjectIDSourcesTestFunctionResponse ¶
type PostV1ProjectsProjectIDSourcesTestFunctionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsFunctionResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParsePostV1ProjectsProjectIDSourcesTestFunctionResponse ¶
func ParsePostV1ProjectsProjectIDSourcesTestFunctionResponse(rsp *http.Response) (*PostV1ProjectsProjectIDSourcesTestFunctionResponse, error)
ParsePostV1ProjectsProjectIDSourcesTestFunctionResponse parses an HTTP response from a PostV1ProjectsProjectIDSourcesTestFunctionWithResponse call
func (PostV1ProjectsProjectIDSourcesTestFunctionResponse) ContentType ¶
func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetBody ¶
func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON200 ¶
func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON200() *struct { Data *ModelsFunctionResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON400 ¶
func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON401 ¶
func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON404 ¶
func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostV1ProjectsProjectIDSourcesTestFunctionResponse) Status ¶
func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ProjectsProjectIDSourcesTestFunctionResponse) StatusCode ¶
func (r PostV1ProjectsProjectIDSourcesTestFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefreshPortalLinkAuthTokenResponse ¶
type RefreshPortalLinkAuthTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *string `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseRefreshPortalLinkAuthTokenResponse ¶
func ParseRefreshPortalLinkAuthTokenResponse(rsp *http.Response) (*RefreshPortalLinkAuthTokenResponse, error)
ParseRefreshPortalLinkAuthTokenResponse parses an HTTP response from a RefreshPortalLinkAuthTokenWithResponse call
func (RefreshPortalLinkAuthTokenResponse) ContentType ¶
func (r RefreshPortalLinkAuthTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RefreshPortalLinkAuthTokenResponse) GetBody ¶
func (r RefreshPortalLinkAuthTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RefreshPortalLinkAuthTokenResponse) GetJSON200 ¶
func (r RefreshPortalLinkAuthTokenResponse) GetJSON200() *struct { Data *string `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RefreshPortalLinkAuthTokenResponse) GetJSON400 ¶
func (r RefreshPortalLinkAuthTokenResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (RefreshPortalLinkAuthTokenResponse) GetJSON401 ¶
func (r RefreshPortalLinkAuthTokenResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RefreshPortalLinkAuthTokenResponse) GetJSON404 ¶
func (r RefreshPortalLinkAuthTokenResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RefreshPortalLinkAuthTokenResponse) Status ¶
func (r RefreshPortalLinkAuthTokenResponse) Status() string
Status returns HTTPResponse.Status
func (RefreshPortalLinkAuthTokenResponse) StatusCode ¶
func (r RefreshPortalLinkAuthTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplayEndpointEventResponse ¶
type ReplayEndpointEventResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsEventResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseReplayEndpointEventResponse ¶
func ParseReplayEndpointEventResponse(rsp *http.Response) (*ReplayEndpointEventResponse, error)
ParseReplayEndpointEventResponse parses an HTTP response from a ReplayEndpointEventWithResponse call
func (ReplayEndpointEventResponse) ContentType ¶
func (r ReplayEndpointEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReplayEndpointEventResponse) GetBody ¶
func (r ReplayEndpointEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReplayEndpointEventResponse) GetJSON200 ¶
func (r ReplayEndpointEventResponse) GetJSON200() *struct { Data *ModelsEventResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReplayEndpointEventResponse) GetJSON400 ¶
func (r ReplayEndpointEventResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ReplayEndpointEventResponse) GetJSON401 ¶
func (r ReplayEndpointEventResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ReplayEndpointEventResponse) GetJSON404 ¶
func (r ReplayEndpointEventResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ReplayEndpointEventResponse) Status ¶
func (r ReplayEndpointEventResponse) Status() string
Status returns HTTPResponse.Status
func (ReplayEndpointEventResponse) StatusCode ¶
func (r ReplayEndpointEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResendEventDeliveryResponse ¶
type ResendEventDeliveryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsEventDeliveryResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseResendEventDeliveryResponse ¶
func ParseResendEventDeliveryResponse(rsp *http.Response) (*ResendEventDeliveryResponse, error)
ParseResendEventDeliveryResponse parses an HTTP response from a ResendEventDeliveryWithResponse call
func (ResendEventDeliveryResponse) ContentType ¶
func (r ResendEventDeliveryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResendEventDeliveryResponse) GetBody ¶
func (r ResendEventDeliveryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResendEventDeliveryResponse) GetJSON200 ¶
func (r ResendEventDeliveryResponse) GetJSON200() *struct { Data *ModelsEventDeliveryResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResendEventDeliveryResponse) GetJSON400 ¶
func (r ResendEventDeliveryResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ResendEventDeliveryResponse) GetJSON401 ¶
func (r ResendEventDeliveryResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ResendEventDeliveryResponse) GetJSON404 ¶
func (r ResendEventDeliveryResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ResendEventDeliveryResponse) Status ¶
func (r ResendEventDeliveryResponse) Status() string
Status returns HTTPResponse.Status
func (ResendEventDeliveryResponse) StatusCode ¶
func (r ResendEventDeliveryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResendMetaEventResponse ¶
type ResendMetaEventResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsMetaEventResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseResendMetaEventResponse ¶
func ParseResendMetaEventResponse(rsp *http.Response) (*ResendMetaEventResponse, error)
ParseResendMetaEventResponse parses an HTTP response from a ResendMetaEventWithResponse call
func (ResendMetaEventResponse) ContentType ¶
func (r ResendMetaEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResendMetaEventResponse) GetBody ¶
func (r ResendMetaEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResendMetaEventResponse) GetJSON200 ¶
func (r ResendMetaEventResponse) GetJSON200() *struct { Data *ModelsMetaEventResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResendMetaEventResponse) GetJSON400 ¶
func (r ResendMetaEventResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ResendMetaEventResponse) GetJSON401 ¶
func (r ResendMetaEventResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ResendMetaEventResponse) GetJSON404 ¶
func (r ResendMetaEventResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ResendMetaEventResponse) Status ¶
func (r ResendMetaEventResponse) Status() string
Status returns HTTPResponse.Status
func (ResendMetaEventResponse) StatusCode ¶
func (r ResendMetaEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokePortalLinkResponse ¶
type RevokePortalLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseRevokePortalLinkResponse ¶
func ParseRevokePortalLinkResponse(rsp *http.Response) (*RevokePortalLinkResponse, error)
ParseRevokePortalLinkResponse parses an HTTP response from a RevokePortalLinkWithResponse call
func (RevokePortalLinkResponse) ContentType ¶
func (r RevokePortalLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokePortalLinkResponse) GetBody ¶
func (r RevokePortalLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokePortalLinkResponse) GetJSON200 ¶
func (r RevokePortalLinkResponse) GetJSON200() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RevokePortalLinkResponse) GetJSON400 ¶
func (r RevokePortalLinkResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (RevokePortalLinkResponse) GetJSON401 ¶
func (r RevokePortalLinkResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RevokePortalLinkResponse) GetJSON404 ¶
func (r RevokePortalLinkResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RevokePortalLinkResponse) Status ¶
func (r RevokePortalLinkResponse) Status() string
Status returns HTTPResponse.Status
func (RevokePortalLinkResponse) StatusCode ¶
func (r RevokePortalLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestFilterJSONRequestBody ¶
type TestFilterJSONRequestBody = ModelsTestFilterRequest
TestFilterJSONRequestBody defines body for TestFilter for application/json ContentType.
type TestFilterResponse ¶
type TestFilterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsTestFilterResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseTestFilterResponse ¶
func ParseTestFilterResponse(rsp *http.Response) (*TestFilterResponse, error)
ParseTestFilterResponse parses an HTTP response from a TestFilterWithResponse call
func (TestFilterResponse) ContentType ¶
func (r TestFilterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestFilterResponse) GetBody ¶
func (r TestFilterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TestFilterResponse) GetJSON200 ¶
func (r TestFilterResponse) GetJSON200() *struct { Data *ModelsTestFilterResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TestFilterResponse) GetJSON400 ¶
func (r TestFilterResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (TestFilterResponse) GetJSON401 ¶
func (r TestFilterResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TestFilterResponse) GetJSON404 ¶
func (r TestFilterResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (TestFilterResponse) Status ¶
func (r TestFilterResponse) Status() string
Status returns HTTPResponse.Status
func (TestFilterResponse) StatusCode ¶
func (r TestFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestOAuth2ConnectionJSONRequestBody ¶
type TestOAuth2ConnectionJSONRequestBody = ModelsTestOAuth2Request
TestOAuth2ConnectionJSONRequestBody defines body for TestOAuth2Connection for application/json ContentType.
type TestOAuth2ConnectionResponse ¶
type TestOAuth2ConnectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsTestOAuth2Response `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseTestOAuth2ConnectionResponse ¶
func ParseTestOAuth2ConnectionResponse(rsp *http.Response) (*TestOAuth2ConnectionResponse, error)
ParseTestOAuth2ConnectionResponse parses an HTTP response from a TestOAuth2ConnectionWithResponse call
func (TestOAuth2ConnectionResponse) ContentType ¶
func (r TestOAuth2ConnectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestOAuth2ConnectionResponse) GetBody ¶
func (r TestOAuth2ConnectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TestOAuth2ConnectionResponse) GetJSON200 ¶
func (r TestOAuth2ConnectionResponse) GetJSON200() *struct { Data *ModelsTestOAuth2Response `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TestOAuth2ConnectionResponse) GetJSON400 ¶
func (r TestOAuth2ConnectionResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (TestOAuth2ConnectionResponse) GetJSON401 ¶
func (r TestOAuth2ConnectionResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TestOAuth2ConnectionResponse) GetJSON404 ¶
func (r TestOAuth2ConnectionResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (TestOAuth2ConnectionResponse) Status ¶
func (r TestOAuth2ConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (TestOAuth2ConnectionResponse) StatusCode ¶
func (r TestOAuth2ConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestSubscriptionFilterJSONRequestBody ¶
type TestSubscriptionFilterJSONRequestBody = ModelsTestFilter
TestSubscriptionFilterJSONRequestBody defines body for TestSubscriptionFilter for application/json ContentType.
type TestSubscriptionFilterResponse ¶
type TestSubscriptionFilterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *bool `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseTestSubscriptionFilterResponse ¶
func ParseTestSubscriptionFilterResponse(rsp *http.Response) (*TestSubscriptionFilterResponse, error)
ParseTestSubscriptionFilterResponse parses an HTTP response from a TestSubscriptionFilterWithResponse call
func (TestSubscriptionFilterResponse) ContentType ¶
func (r TestSubscriptionFilterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestSubscriptionFilterResponse) GetBody ¶
func (r TestSubscriptionFilterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TestSubscriptionFilterResponse) GetJSON200 ¶
func (r TestSubscriptionFilterResponse) GetJSON200() *struct { Data *bool `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TestSubscriptionFilterResponse) GetJSON400 ¶
func (r TestSubscriptionFilterResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (TestSubscriptionFilterResponse) GetJSON401 ¶
func (r TestSubscriptionFilterResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TestSubscriptionFilterResponse) GetJSON404 ¶
func (r TestSubscriptionFilterResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (TestSubscriptionFilterResponse) Status ¶
func (r TestSubscriptionFilterResponse) Status() string
Status returns HTTPResponse.Status
func (TestSubscriptionFilterResponse) StatusCode ¶
func (r TestSubscriptionFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestSubscriptionFunctionJSONRequestBody ¶
type TestSubscriptionFunctionJSONRequestBody = ModelsFunctionRequest
TestSubscriptionFunctionJSONRequestBody defines body for TestSubscriptionFunction for application/json ContentType.
type TestSubscriptionFunctionResponse ¶
type TestSubscriptionFunctionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsFunctionResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseTestSubscriptionFunctionResponse ¶
func ParseTestSubscriptionFunctionResponse(rsp *http.Response) (*TestSubscriptionFunctionResponse, error)
ParseTestSubscriptionFunctionResponse parses an HTTP response from a TestSubscriptionFunctionWithResponse call
func (TestSubscriptionFunctionResponse) ContentType ¶
func (r TestSubscriptionFunctionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestSubscriptionFunctionResponse) GetBody ¶
func (r TestSubscriptionFunctionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TestSubscriptionFunctionResponse) GetJSON200 ¶
func (r TestSubscriptionFunctionResponse) GetJSON200() *struct { Data *ModelsFunctionResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TestSubscriptionFunctionResponse) GetJSON400 ¶
func (r TestSubscriptionFunctionResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (TestSubscriptionFunctionResponse) GetJSON401 ¶
func (r TestSubscriptionFunctionResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TestSubscriptionFunctionResponse) GetJSON404 ¶
func (r TestSubscriptionFunctionResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (TestSubscriptionFunctionResponse) Status ¶
func (r TestSubscriptionFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (TestSubscriptionFunctionResponse) StatusCode ¶
func (r TestSubscriptionFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ToggleSubscriptionStatusResponse ¶
type ToggleSubscriptionStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseToggleSubscriptionStatusResponse ¶
func ParseToggleSubscriptionStatusResponse(rsp *http.Response) (*ToggleSubscriptionStatusResponse, error)
ParseToggleSubscriptionStatusResponse parses an HTTP response from a ToggleSubscriptionStatusWithResponse call
func (ToggleSubscriptionStatusResponse) ContentType ¶
func (r ToggleSubscriptionStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ToggleSubscriptionStatusResponse) GetBody ¶
func (r ToggleSubscriptionStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ToggleSubscriptionStatusResponse) GetJSON202 ¶
func (r ToggleSubscriptionStatusResponse) GetJSON202() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ToggleSubscriptionStatusResponse) GetJSON400 ¶
func (r ToggleSubscriptionStatusResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ToggleSubscriptionStatusResponse) GetJSON401 ¶
func (r ToggleSubscriptionStatusResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ToggleSubscriptionStatusResponse) GetJSON404 ¶
func (r ToggleSubscriptionStatusResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ToggleSubscriptionStatusResponse) Status ¶
func (r ToggleSubscriptionStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ToggleSubscriptionStatusResponse) StatusCode ¶
func (r ToggleSubscriptionStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEndpointJSONRequestBody ¶
type UpdateEndpointJSONRequestBody = ModelsUpdateEndpoint
UpdateEndpointJSONRequestBody defines body for UpdateEndpoint for application/json ContentType.
type UpdateEndpointResponse ¶
type UpdateEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *ModelsEndpointResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseUpdateEndpointResponse ¶
func ParseUpdateEndpointResponse(rsp *http.Response) (*UpdateEndpointResponse, error)
ParseUpdateEndpointResponse parses an HTTP response from a UpdateEndpointWithResponse call
func (UpdateEndpointResponse) ContentType ¶
func (r UpdateEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateEndpointResponse) GetBody ¶
func (r UpdateEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateEndpointResponse) GetJSON202 ¶
func (r UpdateEndpointResponse) GetJSON202() *struct { Data *ModelsEndpointResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (UpdateEndpointResponse) GetJSON400 ¶
func (r UpdateEndpointResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateEndpointResponse) GetJSON401 ¶
func (r UpdateEndpointResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateEndpointResponse) GetJSON404 ¶
func (r UpdateEndpointResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateEndpointResponse) Status ¶
func (r UpdateEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEndpointResponse) StatusCode ¶
func (r UpdateEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEventTypeJSONRequestBody ¶
type UpdateEventTypeJSONRequestBody = ModelsUpdateEventType
UpdateEventTypeJSONRequestBody defines body for UpdateEventType for application/json ContentType.
type UpdateEventTypeResponse ¶
type UpdateEventTypeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *ModelsEventTypeResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseUpdateEventTypeResponse ¶
func ParseUpdateEventTypeResponse(rsp *http.Response) (*UpdateEventTypeResponse, error)
ParseUpdateEventTypeResponse parses an HTTP response from a UpdateEventTypeWithResponse call
func (UpdateEventTypeResponse) ContentType ¶
func (r UpdateEventTypeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateEventTypeResponse) GetBody ¶
func (r UpdateEventTypeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateEventTypeResponse) GetJSON201 ¶
func (r UpdateEventTypeResponse) GetJSON201() *struct { Data *ModelsEventTypeResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpdateEventTypeResponse) GetJSON400 ¶
func (r UpdateEventTypeResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateEventTypeResponse) GetJSON401 ¶
func (r UpdateEventTypeResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateEventTypeResponse) GetJSON404 ¶
func (r UpdateEventTypeResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateEventTypeResponse) Status ¶
func (r UpdateEventTypeResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEventTypeResponse) StatusCode ¶
func (r UpdateEventTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFilterJSONRequestBody ¶
type UpdateFilterJSONRequestBody = ModelsUpdateFilterRequest
UpdateFilterJSONRequestBody defines body for UpdateFilter for application/json ContentType.
type UpdateFilterResponse ¶
type UpdateFilterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *ModelsFilterResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseUpdateFilterResponse ¶
func ParseUpdateFilterResponse(rsp *http.Response) (*UpdateFilterResponse, error)
ParseUpdateFilterResponse parses an HTTP response from a UpdateFilterWithResponse call
func (UpdateFilterResponse) ContentType ¶
func (r UpdateFilterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateFilterResponse) GetBody ¶
func (r UpdateFilterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateFilterResponse) GetJSON200 ¶
func (r UpdateFilterResponse) GetJSON200() *struct { Data *ModelsFilterResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateFilterResponse) GetJSON400 ¶
func (r UpdateFilterResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateFilterResponse) GetJSON401 ¶
func (r UpdateFilterResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateFilterResponse) GetJSON404 ¶
func (r UpdateFilterResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateFilterResponse) Status ¶
func (r UpdateFilterResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFilterResponse) StatusCode ¶
func (r UpdateFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePortalLinkJSONRequestBody ¶
type UpdatePortalLinkJSONRequestBody = DatastoreUpdatePortalLinkRequest
UpdatePortalLinkJSONRequestBody defines body for UpdatePortalLink for application/json ContentType.
type UpdatePortalLinkResponse ¶
type UpdatePortalLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *DatastorePortalLinkResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseUpdatePortalLinkResponse ¶
func ParseUpdatePortalLinkResponse(rsp *http.Response) (*UpdatePortalLinkResponse, error)
ParseUpdatePortalLinkResponse parses an HTTP response from a UpdatePortalLinkWithResponse call
func (UpdatePortalLinkResponse) ContentType ¶
func (r UpdatePortalLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdatePortalLinkResponse) GetBody ¶
func (r UpdatePortalLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdatePortalLinkResponse) GetJSON202 ¶
func (r UpdatePortalLinkResponse) GetJSON202() *struct { Data *DatastorePortalLinkResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (UpdatePortalLinkResponse) GetJSON400 ¶
func (r UpdatePortalLinkResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdatePortalLinkResponse) GetJSON401 ¶
func (r UpdatePortalLinkResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdatePortalLinkResponse) GetJSON404 ¶
func (r UpdatePortalLinkResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdatePortalLinkResponse) Status ¶
func (r UpdatePortalLinkResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePortalLinkResponse) StatusCode ¶
func (r UpdatePortalLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProjectJSONRequestBody ¶
type UpdateProjectJSONRequestBody = ModelsUpdateProject
UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.
type UpdateProjectResponse ¶
type UpdateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *ModelsProjectResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseUpdateProjectResponse ¶
func ParseUpdateProjectResponse(rsp *http.Response) (*UpdateProjectResponse, error)
ParseUpdateProjectResponse parses an HTTP response from a UpdateProjectWithResponse call
func (UpdateProjectResponse) ContentType ¶
func (r UpdateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateProjectResponse) GetBody ¶
func (r UpdateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateProjectResponse) GetJSON202 ¶
func (r UpdateProjectResponse) GetJSON202() *struct { Data *ModelsProjectResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (UpdateProjectResponse) GetJSON400 ¶
func (r UpdateProjectResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateProjectResponse) GetJSON401 ¶
func (r UpdateProjectResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateProjectResponse) GetJSON403 ¶
func (r UpdateProjectResponse) GetJSON403() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateProjectResponse) GetJSON404 ¶
func (r UpdateProjectResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateProjectResponse) Status ¶
func (r UpdateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProjectResponse) StatusCode ¶
func (r UpdateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSourceJSONRequestBody ¶
type UpdateSourceJSONRequestBody = ModelsUpdateSource
UpdateSourceJSONRequestBody defines body for UpdateSource for application/json ContentType.
type UpdateSourceResponse ¶
type UpdateSourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *ModelsSourceResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseUpdateSourceResponse ¶
func ParseUpdateSourceResponse(rsp *http.Response) (*UpdateSourceResponse, error)
ParseUpdateSourceResponse parses an HTTP response from a UpdateSourceWithResponse call
func (UpdateSourceResponse) ContentType ¶
func (r UpdateSourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSourceResponse) GetBody ¶
func (r UpdateSourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSourceResponse) GetJSON202 ¶
func (r UpdateSourceResponse) GetJSON202() *struct { Data *ModelsSourceResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (UpdateSourceResponse) GetJSON400 ¶
func (r UpdateSourceResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateSourceResponse) GetJSON401 ¶
func (r UpdateSourceResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateSourceResponse) GetJSON404 ¶
func (r UpdateSourceResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateSourceResponse) Status ¶
func (r UpdateSourceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSourceResponse) StatusCode ¶
func (r UpdateSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSubscriptionJSONRequestBody ¶
type UpdateSubscriptionJSONRequestBody = ModelsUpdateSubscription
UpdateSubscriptionJSONRequestBody defines body for UpdateSubscription for application/json ContentType.
type UpdateSubscriptionResponse ¶
type UpdateSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *ModelsSubscriptionResponse `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Data *HandlersStub `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
}
func ParseUpdateSubscriptionResponse ¶
func ParseUpdateSubscriptionResponse(rsp *http.Response) (*UpdateSubscriptionResponse, error)
ParseUpdateSubscriptionResponse parses an HTTP response from a UpdateSubscriptionWithResponse call
func (UpdateSubscriptionResponse) ContentType ¶
func (r UpdateSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSubscriptionResponse) GetBody ¶
func (r UpdateSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSubscriptionResponse) GetJSON202 ¶
func (r UpdateSubscriptionResponse) GetJSON202() *struct { Data *ModelsSubscriptionResponse `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (UpdateSubscriptionResponse) GetJSON400 ¶
func (r UpdateSubscriptionResponse) GetJSON400() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateSubscriptionResponse) GetJSON401 ¶
func (r UpdateSubscriptionResponse) GetJSON401() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateSubscriptionResponse) GetJSON404 ¶
func (r UpdateSubscriptionResponse) GetJSON404() *struct { Data *HandlersStub `json:"data,omitempty"` Message *string `json:"message,omitempty"` Status *bool `json:"status,omitempty"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateSubscriptionResponse) Status ¶
func (r UpdateSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSubscriptionResponse) StatusCode ¶
func (r UpdateSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UtilServerResponse ¶
type UtilServerResponse struct {
Message *string `json:"message,omitempty"`
Status *bool `json:"status,omitempty"`
}
UtilServerResponse defines model for util.ServerResponse.