webhook_subscriptions

package
v0.0.0-...-c486877 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CreateWebhookSubscriptionBadRequestCode int = 400

CreateWebhookSubscriptionBadRequestCode is the HTTP code returned for type CreateWebhookSubscriptionBadRequest

View Source
const CreateWebhookSubscriptionCreatedCode int = 201

CreateWebhookSubscriptionCreatedCode is the HTTP code returned for type CreateWebhookSubscriptionCreated

View Source
const CreateWebhookSubscriptionForbiddenCode int = 403

CreateWebhookSubscriptionForbiddenCode is the HTTP code returned for type CreateWebhookSubscriptionForbidden

View Source
const CreateWebhookSubscriptionInternalServerErrorCode int = 500

CreateWebhookSubscriptionInternalServerErrorCode is the HTTP code returned for type CreateWebhookSubscriptionInternalServerError

View Source
const CreateWebhookSubscriptionUnauthorizedCode int = 401

CreateWebhookSubscriptionUnauthorizedCode is the HTTP code returned for type CreateWebhookSubscriptionUnauthorized

View Source
const GetWebhookSubscriptionBadRequestCode int = 400

GetWebhookSubscriptionBadRequestCode is the HTTP code returned for type GetWebhookSubscriptionBadRequest

View Source
const GetWebhookSubscriptionInternalServerErrorCode int = 500

GetWebhookSubscriptionInternalServerErrorCode is the HTTP code returned for type GetWebhookSubscriptionInternalServerError

View Source
const GetWebhookSubscriptionNotFoundCode int = 404

GetWebhookSubscriptionNotFoundCode is the HTTP code returned for type GetWebhookSubscriptionNotFound

View Source
const GetWebhookSubscriptionOKCode int = 200

GetWebhookSubscriptionOKCode is the HTTP code returned for type GetWebhookSubscriptionOK

View Source
const GetWebhookSubscriptionUnauthorizedCode int = 401

GetWebhookSubscriptionUnauthorizedCode is the HTTP code returned for type GetWebhookSubscriptionUnauthorized

View Source
const IndexWebhookSubscriptionsBadRequestCode int = 400

IndexWebhookSubscriptionsBadRequestCode is the HTTP code returned for type IndexWebhookSubscriptionsBadRequest

View Source
const IndexWebhookSubscriptionsInternalServerErrorCode int = 500

IndexWebhookSubscriptionsInternalServerErrorCode is the HTTP code returned for type IndexWebhookSubscriptionsInternalServerError

View Source
const IndexWebhookSubscriptionsNotFoundCode int = 404

IndexWebhookSubscriptionsNotFoundCode is the HTTP code returned for type IndexWebhookSubscriptionsNotFound

View Source
const IndexWebhookSubscriptionsOKCode int = 200

IndexWebhookSubscriptionsOKCode is the HTTP code returned for type IndexWebhookSubscriptionsOK

View Source
const IndexWebhookSubscriptionsUnauthorizedCode int = 401

IndexWebhookSubscriptionsUnauthorizedCode is the HTTP code returned for type IndexWebhookSubscriptionsUnauthorized

View Source
const UpdateWebhookSubscriptionBadRequestCode int = 400

UpdateWebhookSubscriptionBadRequestCode is the HTTP code returned for type UpdateWebhookSubscriptionBadRequest

View Source
const UpdateWebhookSubscriptionForbiddenCode int = 403

UpdateWebhookSubscriptionForbiddenCode is the HTTP code returned for type UpdateWebhookSubscriptionForbidden

View Source
const UpdateWebhookSubscriptionInternalServerErrorCode int = 500

UpdateWebhookSubscriptionInternalServerErrorCode is the HTTP code returned for type UpdateWebhookSubscriptionInternalServerError

View Source
const UpdateWebhookSubscriptionNotFoundCode int = 404

UpdateWebhookSubscriptionNotFoundCode is the HTTP code returned for type UpdateWebhookSubscriptionNotFound

View Source
const UpdateWebhookSubscriptionOKCode int = 200

UpdateWebhookSubscriptionOKCode is the HTTP code returned for type UpdateWebhookSubscriptionOK

View Source
const UpdateWebhookSubscriptionPreconditionFailedCode int = 412

UpdateWebhookSubscriptionPreconditionFailedCode is the HTTP code returned for type UpdateWebhookSubscriptionPreconditionFailed

View Source
const UpdateWebhookSubscriptionUnauthorizedCode int = 401

UpdateWebhookSubscriptionUnauthorizedCode is the HTTP code returned for type UpdateWebhookSubscriptionUnauthorized

View Source
const UpdateWebhookSubscriptionUnprocessableEntityCode int = 422

UpdateWebhookSubscriptionUnprocessableEntityCode is the HTTP code returned for type UpdateWebhookSubscriptionUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateWebhookSubscription

type CreateWebhookSubscription struct {
	Context *middleware.Context
	Handler CreateWebhookSubscriptionHandler
}
CreateWebhookSubscription swagger:route POST /webhook-subscriptions Webhook subscriptions createWebhookSubscription

Create a Webhook Subscription

This endpoint creates a Webhook Subscription and returns the created record in the `201` response. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.

func NewCreateWebhookSubscription

func NewCreateWebhookSubscription(ctx *middleware.Context, handler CreateWebhookSubscriptionHandler) *CreateWebhookSubscription

NewCreateWebhookSubscription creates a new http.Handler for the create webhook subscription operation

func (*CreateWebhookSubscription) ServeHTTP

type CreateWebhookSubscriptionBadRequest

type CreateWebhookSubscriptionBadRequest struct {
}

CreateWebhookSubscriptionBadRequest Invalid Request

swagger:response createWebhookSubscriptionBadRequest

func NewCreateWebhookSubscriptionBadRequest

func NewCreateWebhookSubscriptionBadRequest() *CreateWebhookSubscriptionBadRequest

NewCreateWebhookSubscriptionBadRequest creates CreateWebhookSubscriptionBadRequest with default headers values

func (*CreateWebhookSubscriptionBadRequest) WriteResponse

WriteResponse to the client

type CreateWebhookSubscriptionCreated

type CreateWebhookSubscriptionCreated struct {

	/*
	  In: Body
	*/
	Payload *adminmessages.WebhookSubscription `json:"body,omitempty"`
}

CreateWebhookSubscriptionCreated Successfully created Webhook Subscription

swagger:response createWebhookSubscriptionCreated

func NewCreateWebhookSubscriptionCreated

func NewCreateWebhookSubscriptionCreated() *CreateWebhookSubscriptionCreated

NewCreateWebhookSubscriptionCreated creates CreateWebhookSubscriptionCreated with default headers values

func (*CreateWebhookSubscriptionCreated) SetPayload

SetPayload sets the payload to the create webhook subscription created response

func (*CreateWebhookSubscriptionCreated) WithPayload

WithPayload adds the payload to the create webhook subscription created response

func (*CreateWebhookSubscriptionCreated) WriteResponse

func (o *CreateWebhookSubscriptionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateWebhookSubscriptionForbidden

type CreateWebhookSubscriptionForbidden struct {
}

CreateWebhookSubscriptionForbidden Not authorized to create a Webhook Subscription

swagger:response createWebhookSubscriptionForbidden

func NewCreateWebhookSubscriptionForbidden

func NewCreateWebhookSubscriptionForbidden() *CreateWebhookSubscriptionForbidden

NewCreateWebhookSubscriptionForbidden creates CreateWebhookSubscriptionForbidden with default headers values

func (*CreateWebhookSubscriptionForbidden) WriteResponse

WriteResponse to the client

type CreateWebhookSubscriptionHandler

type CreateWebhookSubscriptionHandler interface {
	Handle(CreateWebhookSubscriptionParams) middleware.Responder
}

CreateWebhookSubscriptionHandler interface for that can handle valid create webhook subscription params

type CreateWebhookSubscriptionHandlerFunc

type CreateWebhookSubscriptionHandlerFunc func(CreateWebhookSubscriptionParams) middleware.Responder

CreateWebhookSubscriptionHandlerFunc turns a function with the right signature into a create webhook subscription handler

func (CreateWebhookSubscriptionHandlerFunc) Handle

Handle executing the request and returning a response

type CreateWebhookSubscriptionInternalServerError

type CreateWebhookSubscriptionInternalServerError struct {
}

CreateWebhookSubscriptionInternalServerError Server error

swagger:response createWebhookSubscriptionInternalServerError

func NewCreateWebhookSubscriptionInternalServerError

func NewCreateWebhookSubscriptionInternalServerError() *CreateWebhookSubscriptionInternalServerError

NewCreateWebhookSubscriptionInternalServerError creates CreateWebhookSubscriptionInternalServerError with default headers values

func (*CreateWebhookSubscriptionInternalServerError) WriteResponse

WriteResponse to the client

type CreateWebhookSubscriptionParams

type CreateWebhookSubscriptionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Webhook subscription information
	  In: body
	*/
	WebhookSubscription *adminmessages.CreateWebhookSubscription
}

CreateWebhookSubscriptionParams contains all the bound params for the create webhook subscription operation typically these are obtained from a http.Request

swagger:parameters createWebhookSubscription

func NewCreateWebhookSubscriptionParams

func NewCreateWebhookSubscriptionParams() CreateWebhookSubscriptionParams

NewCreateWebhookSubscriptionParams creates a new CreateWebhookSubscriptionParams object

There are no default values defined in the spec.

func (*CreateWebhookSubscriptionParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateWebhookSubscriptionParams() beforehand.

type CreateWebhookSubscriptionURL

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

CreateWebhookSubscriptionURL generates an URL for the create webhook subscription operation

func (*CreateWebhookSubscriptionURL) Build

func (o *CreateWebhookSubscriptionURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateWebhookSubscriptionURL) BuildFull

func (o *CreateWebhookSubscriptionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateWebhookSubscriptionURL) Must

func (o *CreateWebhookSubscriptionURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateWebhookSubscriptionURL) SetBasePath

func (o *CreateWebhookSubscriptionURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateWebhookSubscriptionURL) String

String returns the string representation of the path with query string

func (*CreateWebhookSubscriptionURL) StringFull

func (o *CreateWebhookSubscriptionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateWebhookSubscriptionURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateWebhookSubscriptionUnauthorized

type CreateWebhookSubscriptionUnauthorized struct {
}

CreateWebhookSubscriptionUnauthorized Must be authenticated to use this end point

swagger:response createWebhookSubscriptionUnauthorized

func NewCreateWebhookSubscriptionUnauthorized

func NewCreateWebhookSubscriptionUnauthorized() *CreateWebhookSubscriptionUnauthorized

NewCreateWebhookSubscriptionUnauthorized creates CreateWebhookSubscriptionUnauthorized with default headers values

func (*CreateWebhookSubscriptionUnauthorized) WriteResponse

WriteResponse to the client

type GetWebhookSubscription

type GetWebhookSubscription struct {
	Context *middleware.Context
	Handler GetWebhookSubscriptionHandler
}
GetWebhookSubscription swagger:route GET /webhook-subscriptions/{webhookSubscriptionId} Webhook subscriptions getWebhookSubscription

Get information about a Webhook Subscription

This endpoint returns a single Webhook Subscription by ID. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.

func NewGetWebhookSubscription

func NewGetWebhookSubscription(ctx *middleware.Context, handler GetWebhookSubscriptionHandler) *GetWebhookSubscription

NewGetWebhookSubscription creates a new http.Handler for the get webhook subscription operation

func (*GetWebhookSubscription) ServeHTTP

func (o *GetWebhookSubscription) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetWebhookSubscriptionBadRequest

type GetWebhookSubscriptionBadRequest struct {
}

GetWebhookSubscriptionBadRequest invalid request

swagger:response getWebhookSubscriptionBadRequest

func NewGetWebhookSubscriptionBadRequest

func NewGetWebhookSubscriptionBadRequest() *GetWebhookSubscriptionBadRequest

NewGetWebhookSubscriptionBadRequest creates GetWebhookSubscriptionBadRequest with default headers values

func (*GetWebhookSubscriptionBadRequest) WriteResponse

func (o *GetWebhookSubscriptionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWebhookSubscriptionHandler

type GetWebhookSubscriptionHandler interface {
	Handle(GetWebhookSubscriptionParams) middleware.Responder
}

GetWebhookSubscriptionHandler interface for that can handle valid get webhook subscription params

type GetWebhookSubscriptionHandlerFunc

type GetWebhookSubscriptionHandlerFunc func(GetWebhookSubscriptionParams) middleware.Responder

GetWebhookSubscriptionHandlerFunc turns a function with the right signature into a get webhook subscription handler

func (GetWebhookSubscriptionHandlerFunc) Handle

Handle executing the request and returning a response

type GetWebhookSubscriptionInternalServerError

type GetWebhookSubscriptionInternalServerError struct {
}

GetWebhookSubscriptionInternalServerError server error

swagger:response getWebhookSubscriptionInternalServerError

func NewGetWebhookSubscriptionInternalServerError

func NewGetWebhookSubscriptionInternalServerError() *GetWebhookSubscriptionInternalServerError

NewGetWebhookSubscriptionInternalServerError creates GetWebhookSubscriptionInternalServerError with default headers values

func (*GetWebhookSubscriptionInternalServerError) WriteResponse

WriteResponse to the client

type GetWebhookSubscriptionNotFound

type GetWebhookSubscriptionNotFound struct {
}

GetWebhookSubscriptionNotFound Webhook Subscription not found

swagger:response getWebhookSubscriptionNotFound

func NewGetWebhookSubscriptionNotFound

func NewGetWebhookSubscriptionNotFound() *GetWebhookSubscriptionNotFound

NewGetWebhookSubscriptionNotFound creates GetWebhookSubscriptionNotFound with default headers values

func (*GetWebhookSubscriptionNotFound) WriteResponse

func (o *GetWebhookSubscriptionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWebhookSubscriptionOK

type GetWebhookSubscriptionOK struct {

	/*
	  In: Body
	*/
	Payload *adminmessages.WebhookSubscription `json:"body,omitempty"`
}

GetWebhookSubscriptionOK success

swagger:response getWebhookSubscriptionOK

func NewGetWebhookSubscriptionOK

func NewGetWebhookSubscriptionOK() *GetWebhookSubscriptionOK

NewGetWebhookSubscriptionOK creates GetWebhookSubscriptionOK with default headers values

func (*GetWebhookSubscriptionOK) SetPayload

SetPayload sets the payload to the get webhook subscription o k response

func (*GetWebhookSubscriptionOK) WithPayload

WithPayload adds the payload to the get webhook subscription o k response

func (*GetWebhookSubscriptionOK) WriteResponse

func (o *GetWebhookSubscriptionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWebhookSubscriptionParams

type GetWebhookSubscriptionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	WebhookSubscriptionID strfmt.UUID
}

GetWebhookSubscriptionParams contains all the bound params for the get webhook subscription operation typically these are obtained from a http.Request

swagger:parameters getWebhookSubscription

func NewGetWebhookSubscriptionParams

func NewGetWebhookSubscriptionParams() GetWebhookSubscriptionParams

NewGetWebhookSubscriptionParams creates a new GetWebhookSubscriptionParams object

There are no default values defined in the spec.

func (*GetWebhookSubscriptionParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetWebhookSubscriptionParams() beforehand.

type GetWebhookSubscriptionURL

type GetWebhookSubscriptionURL struct {
	WebhookSubscriptionID strfmt.UUID
	// contains filtered or unexported fields
}

GetWebhookSubscriptionURL generates an URL for the get webhook subscription operation

func (*GetWebhookSubscriptionURL) Build

func (o *GetWebhookSubscriptionURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetWebhookSubscriptionURL) BuildFull

func (o *GetWebhookSubscriptionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetWebhookSubscriptionURL) Must

func (o *GetWebhookSubscriptionURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetWebhookSubscriptionURL) SetBasePath

func (o *GetWebhookSubscriptionURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetWebhookSubscriptionURL) String

func (o *GetWebhookSubscriptionURL) String() string

String returns the string representation of the path with query string

func (*GetWebhookSubscriptionURL) StringFull

func (o *GetWebhookSubscriptionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetWebhookSubscriptionURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetWebhookSubscriptionUnauthorized

type GetWebhookSubscriptionUnauthorized struct {
}

GetWebhookSubscriptionUnauthorized request requires user authentication

swagger:response getWebhookSubscriptionUnauthorized

func NewGetWebhookSubscriptionUnauthorized

func NewGetWebhookSubscriptionUnauthorized() *GetWebhookSubscriptionUnauthorized

NewGetWebhookSubscriptionUnauthorized creates GetWebhookSubscriptionUnauthorized with default headers values

func (*GetWebhookSubscriptionUnauthorized) WriteResponse

WriteResponse to the client

type IndexWebhookSubscriptions

type IndexWebhookSubscriptions struct {
	Context *middleware.Context
	Handler IndexWebhookSubscriptionsHandler
}
IndexWebhookSubscriptions swagger:route GET /webhook-subscriptions Webhook subscriptions indexWebhookSubscriptions

Lists Webhook Subscriptions

This endpoint returns a list of Webhook Subscriptions. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.

func NewIndexWebhookSubscriptions

func NewIndexWebhookSubscriptions(ctx *middleware.Context, handler IndexWebhookSubscriptionsHandler) *IndexWebhookSubscriptions

NewIndexWebhookSubscriptions creates a new http.Handler for the index webhook subscriptions operation

func (*IndexWebhookSubscriptions) ServeHTTP

type IndexWebhookSubscriptionsBadRequest

type IndexWebhookSubscriptionsBadRequest struct {
}

IndexWebhookSubscriptionsBadRequest Invalid request

swagger:response indexWebhookSubscriptionsBadRequest

func NewIndexWebhookSubscriptionsBadRequest

func NewIndexWebhookSubscriptionsBadRequest() *IndexWebhookSubscriptionsBadRequest

NewIndexWebhookSubscriptionsBadRequest creates IndexWebhookSubscriptionsBadRequest with default headers values

func (*IndexWebhookSubscriptionsBadRequest) WriteResponse

WriteResponse to the client

type IndexWebhookSubscriptionsHandler

type IndexWebhookSubscriptionsHandler interface {
	Handle(IndexWebhookSubscriptionsParams) middleware.Responder
}

IndexWebhookSubscriptionsHandler interface for that can handle valid index webhook subscriptions params

type IndexWebhookSubscriptionsHandlerFunc

type IndexWebhookSubscriptionsHandlerFunc func(IndexWebhookSubscriptionsParams) middleware.Responder

IndexWebhookSubscriptionsHandlerFunc turns a function with the right signature into a index webhook subscriptions handler

func (IndexWebhookSubscriptionsHandlerFunc) Handle

Handle executing the request and returning a response

type IndexWebhookSubscriptionsInternalServerError

type IndexWebhookSubscriptionsInternalServerError struct {
}

IndexWebhookSubscriptionsInternalServerError Server error

swagger:response indexWebhookSubscriptionsInternalServerError

func NewIndexWebhookSubscriptionsInternalServerError

func NewIndexWebhookSubscriptionsInternalServerError() *IndexWebhookSubscriptionsInternalServerError

NewIndexWebhookSubscriptionsInternalServerError creates IndexWebhookSubscriptionsInternalServerError with default headers values

func (*IndexWebhookSubscriptionsInternalServerError) WriteResponse

WriteResponse to the client

type IndexWebhookSubscriptionsNotFound

type IndexWebhookSubscriptionsNotFound struct {
}

IndexWebhookSubscriptionsNotFound Webhook Subscriptions not found

swagger:response indexWebhookSubscriptionsNotFound

func NewIndexWebhookSubscriptionsNotFound

func NewIndexWebhookSubscriptionsNotFound() *IndexWebhookSubscriptionsNotFound

NewIndexWebhookSubscriptionsNotFound creates IndexWebhookSubscriptionsNotFound with default headers values

func (*IndexWebhookSubscriptionsNotFound) WriteResponse

func (o *IndexWebhookSubscriptionsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type IndexWebhookSubscriptionsOK

type IndexWebhookSubscriptionsOK struct {
	/*Used for pagination

	 */
	ContentRange string `json:"Content-Range"`

	/*
	  In: Body
	*/
	Payload adminmessages.WebhookSubscriptions `json:"body,omitempty"`
}

IndexWebhookSubscriptionsOK success

swagger:response indexWebhookSubscriptionsOK

func NewIndexWebhookSubscriptionsOK

func NewIndexWebhookSubscriptionsOK() *IndexWebhookSubscriptionsOK

NewIndexWebhookSubscriptionsOK creates IndexWebhookSubscriptionsOK with default headers values

func (*IndexWebhookSubscriptionsOK) SetContentRange

func (o *IndexWebhookSubscriptionsOK) SetContentRange(contentRange string)

SetContentRange sets the contentRange to the index webhook subscriptions o k response

func (*IndexWebhookSubscriptionsOK) SetPayload

SetPayload sets the payload to the index webhook subscriptions o k response

func (*IndexWebhookSubscriptionsOK) WithContentRange

func (o *IndexWebhookSubscriptionsOK) WithContentRange(contentRange string) *IndexWebhookSubscriptionsOK

WithContentRange adds the contentRange to the index webhook subscriptions o k response

func (*IndexWebhookSubscriptionsOK) WithPayload

WithPayload adds the payload to the index webhook subscriptions o k response

func (*IndexWebhookSubscriptionsOK) WriteResponse

func (o *IndexWebhookSubscriptionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type IndexWebhookSubscriptionsParams

type IndexWebhookSubscriptionsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string
	/*
	  In: query
	*/
	Order *bool
	/*
	  In: query
	*/
	Page *int64
	/*
	  In: query
	*/
	PerPage *int64
	/*
	  In: query
	*/
	Sort *string
}

IndexWebhookSubscriptionsParams contains all the bound params for the index webhook subscriptions operation typically these are obtained from a http.Request

swagger:parameters indexWebhookSubscriptions

func NewIndexWebhookSubscriptionsParams

func NewIndexWebhookSubscriptionsParams() IndexWebhookSubscriptionsParams

NewIndexWebhookSubscriptionsParams creates a new IndexWebhookSubscriptionsParams object

There are no default values defined in the spec.

func (*IndexWebhookSubscriptionsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewIndexWebhookSubscriptionsParams() beforehand.

type IndexWebhookSubscriptionsURL

type IndexWebhookSubscriptionsURL struct {
	Filter  *string
	Order   *bool
	Page    *int64
	PerPage *int64
	Sort    *string
	// contains filtered or unexported fields
}

IndexWebhookSubscriptionsURL generates an URL for the index webhook subscriptions operation

func (*IndexWebhookSubscriptionsURL) Build

func (o *IndexWebhookSubscriptionsURL) Build() (*url.URL, error)

Build a url path and query string

func (*IndexWebhookSubscriptionsURL) BuildFull

func (o *IndexWebhookSubscriptionsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*IndexWebhookSubscriptionsURL) Must

func (o *IndexWebhookSubscriptionsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*IndexWebhookSubscriptionsURL) SetBasePath

func (o *IndexWebhookSubscriptionsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*IndexWebhookSubscriptionsURL) String

String returns the string representation of the path with query string

func (*IndexWebhookSubscriptionsURL) StringFull

func (o *IndexWebhookSubscriptionsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*IndexWebhookSubscriptionsURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type IndexWebhookSubscriptionsUnauthorized

type IndexWebhookSubscriptionsUnauthorized struct {
}

IndexWebhookSubscriptionsUnauthorized Not authenticated for this endpoint

swagger:response indexWebhookSubscriptionsUnauthorized

func NewIndexWebhookSubscriptionsUnauthorized

func NewIndexWebhookSubscriptionsUnauthorized() *IndexWebhookSubscriptionsUnauthorized

NewIndexWebhookSubscriptionsUnauthorized creates IndexWebhookSubscriptionsUnauthorized with default headers values

func (*IndexWebhookSubscriptionsUnauthorized) WriteResponse

WriteResponse to the client

type UpdateWebhookSubscription

type UpdateWebhookSubscription struct {
	Context *middleware.Context
	Handler UpdateWebhookSubscriptionHandler
}
UpdateWebhookSubscription swagger:route PATCH /webhook-subscriptions/{webhookSubscriptionId} Webhook subscriptions updateWebhookSubscription

Update a Webhook Subscription

This endpoint updates a single Webhook Subscription by ID. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.

func NewUpdateWebhookSubscription

func NewUpdateWebhookSubscription(ctx *middleware.Context, handler UpdateWebhookSubscriptionHandler) *UpdateWebhookSubscription

NewUpdateWebhookSubscription creates a new http.Handler for the update webhook subscription operation

func (*UpdateWebhookSubscription) ServeHTTP

type UpdateWebhookSubscriptionBadRequest

type UpdateWebhookSubscriptionBadRequest struct {
}

UpdateWebhookSubscriptionBadRequest Invalid Request

swagger:response updateWebhookSubscriptionBadRequest

func NewUpdateWebhookSubscriptionBadRequest

func NewUpdateWebhookSubscriptionBadRequest() *UpdateWebhookSubscriptionBadRequest

NewUpdateWebhookSubscriptionBadRequest creates UpdateWebhookSubscriptionBadRequest with default headers values

func (*UpdateWebhookSubscriptionBadRequest) WriteResponse

WriteResponse to the client

type UpdateWebhookSubscriptionForbidden

type UpdateWebhookSubscriptionForbidden struct {
}

UpdateWebhookSubscriptionForbidden Not authorized to update this Webhook Subscription

swagger:response updateWebhookSubscriptionForbidden

func NewUpdateWebhookSubscriptionForbidden

func NewUpdateWebhookSubscriptionForbidden() *UpdateWebhookSubscriptionForbidden

NewUpdateWebhookSubscriptionForbidden creates UpdateWebhookSubscriptionForbidden with default headers values

func (*UpdateWebhookSubscriptionForbidden) WriteResponse

WriteResponse to the client

type UpdateWebhookSubscriptionHandler

type UpdateWebhookSubscriptionHandler interface {
	Handle(UpdateWebhookSubscriptionParams) middleware.Responder
}

UpdateWebhookSubscriptionHandler interface for that can handle valid update webhook subscription params

type UpdateWebhookSubscriptionHandlerFunc

type UpdateWebhookSubscriptionHandlerFunc func(UpdateWebhookSubscriptionParams) middleware.Responder

UpdateWebhookSubscriptionHandlerFunc turns a function with the right signature into a update webhook subscription handler

func (UpdateWebhookSubscriptionHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateWebhookSubscriptionInternalServerError

type UpdateWebhookSubscriptionInternalServerError struct {
}

UpdateWebhookSubscriptionInternalServerError Server error

swagger:response updateWebhookSubscriptionInternalServerError

func NewUpdateWebhookSubscriptionInternalServerError

func NewUpdateWebhookSubscriptionInternalServerError() *UpdateWebhookSubscriptionInternalServerError

NewUpdateWebhookSubscriptionInternalServerError creates UpdateWebhookSubscriptionInternalServerError with default headers values

func (*UpdateWebhookSubscriptionInternalServerError) WriteResponse

WriteResponse to the client

type UpdateWebhookSubscriptionNotFound

type UpdateWebhookSubscriptionNotFound struct {
}

UpdateWebhookSubscriptionNotFound Webhook Subscription not found

swagger:response updateWebhookSubscriptionNotFound

func NewUpdateWebhookSubscriptionNotFound

func NewUpdateWebhookSubscriptionNotFound() *UpdateWebhookSubscriptionNotFound

NewUpdateWebhookSubscriptionNotFound creates UpdateWebhookSubscriptionNotFound with default headers values

func (*UpdateWebhookSubscriptionNotFound) WriteResponse

func (o *UpdateWebhookSubscriptionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateWebhookSubscriptionOK

type UpdateWebhookSubscriptionOK struct {

	/*
	  In: Body
	*/
	Payload *adminmessages.WebhookSubscription `json:"body,omitempty"`
}

UpdateWebhookSubscriptionOK Successfully updated Webhook Subscription

swagger:response updateWebhookSubscriptionOK

func NewUpdateWebhookSubscriptionOK

func NewUpdateWebhookSubscriptionOK() *UpdateWebhookSubscriptionOK

NewUpdateWebhookSubscriptionOK creates UpdateWebhookSubscriptionOK with default headers values

func (*UpdateWebhookSubscriptionOK) SetPayload

SetPayload sets the payload to the update webhook subscription o k response

func (*UpdateWebhookSubscriptionOK) WithPayload

WithPayload adds the payload to the update webhook subscription o k response

func (*UpdateWebhookSubscriptionOK) WriteResponse

func (o *UpdateWebhookSubscriptionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateWebhookSubscriptionParams

type UpdateWebhookSubscriptionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error.

	  Required: true
	  In: header
	*/
	IfMatch string
	/*Webhook Subscription information
	  Required: true
	  In: body
	*/
	WebhookSubscription *adminmessages.WebhookSubscription
	/*
	  Required: true
	  In: path
	*/
	WebhookSubscriptionID strfmt.UUID
}

UpdateWebhookSubscriptionParams contains all the bound params for the update webhook subscription operation typically these are obtained from a http.Request

swagger:parameters updateWebhookSubscription

func NewUpdateWebhookSubscriptionParams

func NewUpdateWebhookSubscriptionParams() UpdateWebhookSubscriptionParams

NewUpdateWebhookSubscriptionParams creates a new UpdateWebhookSubscriptionParams object

There are no default values defined in the spec.

func (*UpdateWebhookSubscriptionParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateWebhookSubscriptionParams() beforehand.

type UpdateWebhookSubscriptionPreconditionFailed

type UpdateWebhookSubscriptionPreconditionFailed struct {
}

UpdateWebhookSubscriptionPreconditionFailed Precondition failed

swagger:response updateWebhookSubscriptionPreconditionFailed

func NewUpdateWebhookSubscriptionPreconditionFailed

func NewUpdateWebhookSubscriptionPreconditionFailed() *UpdateWebhookSubscriptionPreconditionFailed

NewUpdateWebhookSubscriptionPreconditionFailed creates UpdateWebhookSubscriptionPreconditionFailed with default headers values

func (*UpdateWebhookSubscriptionPreconditionFailed) WriteResponse

WriteResponse to the client

type UpdateWebhookSubscriptionURL

type UpdateWebhookSubscriptionURL struct {
	WebhookSubscriptionID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateWebhookSubscriptionURL generates an URL for the update webhook subscription operation

func (*UpdateWebhookSubscriptionURL) Build

func (o *UpdateWebhookSubscriptionURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateWebhookSubscriptionURL) BuildFull

func (o *UpdateWebhookSubscriptionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateWebhookSubscriptionURL) Must

func (o *UpdateWebhookSubscriptionURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateWebhookSubscriptionURL) SetBasePath

func (o *UpdateWebhookSubscriptionURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateWebhookSubscriptionURL) String

String returns the string representation of the path with query string

func (*UpdateWebhookSubscriptionURL) StringFull

func (o *UpdateWebhookSubscriptionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateWebhookSubscriptionURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateWebhookSubscriptionUnauthorized

type UpdateWebhookSubscriptionUnauthorized struct {
}

UpdateWebhookSubscriptionUnauthorized Must be authenticated to use this end point

swagger:response updateWebhookSubscriptionUnauthorized

func NewUpdateWebhookSubscriptionUnauthorized

func NewUpdateWebhookSubscriptionUnauthorized() *UpdateWebhookSubscriptionUnauthorized

NewUpdateWebhookSubscriptionUnauthorized creates UpdateWebhookSubscriptionUnauthorized with default headers values

func (*UpdateWebhookSubscriptionUnauthorized) WriteResponse

WriteResponse to the client

type UpdateWebhookSubscriptionUnprocessableEntity

type UpdateWebhookSubscriptionUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *adminmessages.ValidationError `json:"body,omitempty"`
}

UpdateWebhookSubscriptionUnprocessableEntity Validation error

swagger:response updateWebhookSubscriptionUnprocessableEntity

func NewUpdateWebhookSubscriptionUnprocessableEntity

func NewUpdateWebhookSubscriptionUnprocessableEntity() *UpdateWebhookSubscriptionUnprocessableEntity

NewUpdateWebhookSubscriptionUnprocessableEntity creates UpdateWebhookSubscriptionUnprocessableEntity with default headers values

func (*UpdateWebhookSubscriptionUnprocessableEntity) SetPayload

SetPayload sets the payload to the update webhook subscription unprocessable entity response

func (*UpdateWebhookSubscriptionUnprocessableEntity) WithPayload

WithPayload adds the payload to the update webhook subscription unprocessable entity response

func (*UpdateWebhookSubscriptionUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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