Documentation
¶
Index ¶
- Constants
- type CreateWebhookSubscription
- type CreateWebhookSubscriptionBadRequest
- type CreateWebhookSubscriptionCreated
- func (o *CreateWebhookSubscriptionCreated) SetPayload(payload *adminmessages.WebhookSubscription)
- func (o *CreateWebhookSubscriptionCreated) WithPayload(payload *adminmessages.WebhookSubscription) *CreateWebhookSubscriptionCreated
- func (o *CreateWebhookSubscriptionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateWebhookSubscriptionForbidden
- type CreateWebhookSubscriptionHandler
- type CreateWebhookSubscriptionHandlerFunc
- type CreateWebhookSubscriptionInternalServerError
- type CreateWebhookSubscriptionParams
- type CreateWebhookSubscriptionURL
- func (o *CreateWebhookSubscriptionURL) Build() (*url.URL, error)
- func (o *CreateWebhookSubscriptionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateWebhookSubscriptionURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateWebhookSubscriptionURL) SetBasePath(bp string)
- func (o *CreateWebhookSubscriptionURL) String() string
- func (o *CreateWebhookSubscriptionURL) StringFull(scheme, host string) string
- func (o *CreateWebhookSubscriptionURL) WithBasePath(bp string) *CreateWebhookSubscriptionURL
- type CreateWebhookSubscriptionUnauthorized
- type GetWebhookSubscription
- type GetWebhookSubscriptionBadRequest
- type GetWebhookSubscriptionHandler
- type GetWebhookSubscriptionHandlerFunc
- type GetWebhookSubscriptionInternalServerError
- type GetWebhookSubscriptionNotFound
- type GetWebhookSubscriptionOK
- func (o *GetWebhookSubscriptionOK) SetPayload(payload *adminmessages.WebhookSubscription)
- func (o *GetWebhookSubscriptionOK) WithPayload(payload *adminmessages.WebhookSubscription) *GetWebhookSubscriptionOK
- func (o *GetWebhookSubscriptionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetWebhookSubscriptionParams
- type GetWebhookSubscriptionURL
- func (o *GetWebhookSubscriptionURL) Build() (*url.URL, error)
- func (o *GetWebhookSubscriptionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetWebhookSubscriptionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetWebhookSubscriptionURL) SetBasePath(bp string)
- func (o *GetWebhookSubscriptionURL) String() string
- func (o *GetWebhookSubscriptionURL) StringFull(scheme, host string) string
- func (o *GetWebhookSubscriptionURL) WithBasePath(bp string) *GetWebhookSubscriptionURL
- type GetWebhookSubscriptionUnauthorized
- type IndexWebhookSubscriptions
- type IndexWebhookSubscriptionsBadRequest
- type IndexWebhookSubscriptionsHandler
- type IndexWebhookSubscriptionsHandlerFunc
- type IndexWebhookSubscriptionsInternalServerError
- type IndexWebhookSubscriptionsNotFound
- type IndexWebhookSubscriptionsOK
- func (o *IndexWebhookSubscriptionsOK) SetContentRange(contentRange string)
- func (o *IndexWebhookSubscriptionsOK) SetPayload(payload adminmessages.WebhookSubscriptions)
- func (o *IndexWebhookSubscriptionsOK) WithContentRange(contentRange string) *IndexWebhookSubscriptionsOK
- func (o *IndexWebhookSubscriptionsOK) WithPayload(payload adminmessages.WebhookSubscriptions) *IndexWebhookSubscriptionsOK
- func (o *IndexWebhookSubscriptionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type IndexWebhookSubscriptionsParams
- type IndexWebhookSubscriptionsURL
- func (o *IndexWebhookSubscriptionsURL) Build() (*url.URL, error)
- func (o *IndexWebhookSubscriptionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *IndexWebhookSubscriptionsURL) Must(u *url.URL, err error) *url.URL
- func (o *IndexWebhookSubscriptionsURL) SetBasePath(bp string)
- func (o *IndexWebhookSubscriptionsURL) String() string
- func (o *IndexWebhookSubscriptionsURL) StringFull(scheme, host string) string
- func (o *IndexWebhookSubscriptionsURL) WithBasePath(bp string) *IndexWebhookSubscriptionsURL
- type IndexWebhookSubscriptionsUnauthorized
- type UpdateWebhookSubscription
- type UpdateWebhookSubscriptionBadRequest
- type UpdateWebhookSubscriptionForbidden
- type UpdateWebhookSubscriptionHandler
- type UpdateWebhookSubscriptionHandlerFunc
- type UpdateWebhookSubscriptionInternalServerError
- type UpdateWebhookSubscriptionNotFound
- type UpdateWebhookSubscriptionOK
- func (o *UpdateWebhookSubscriptionOK) SetPayload(payload *adminmessages.WebhookSubscription)
- func (o *UpdateWebhookSubscriptionOK) WithPayload(payload *adminmessages.WebhookSubscription) *UpdateWebhookSubscriptionOK
- func (o *UpdateWebhookSubscriptionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWebhookSubscriptionParams
- type UpdateWebhookSubscriptionPreconditionFailed
- type UpdateWebhookSubscriptionURL
- func (o *UpdateWebhookSubscriptionURL) Build() (*url.URL, error)
- func (o *UpdateWebhookSubscriptionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateWebhookSubscriptionURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateWebhookSubscriptionURL) SetBasePath(bp string)
- func (o *UpdateWebhookSubscriptionURL) String() string
- func (o *UpdateWebhookSubscriptionURL) StringFull(scheme, host string) string
- func (o *UpdateWebhookSubscriptionURL) WithBasePath(bp string) *UpdateWebhookSubscriptionURL
- type UpdateWebhookSubscriptionUnauthorized
- type UpdateWebhookSubscriptionUnprocessableEntity
- func (o *UpdateWebhookSubscriptionUnprocessableEntity) SetPayload(payload *adminmessages.ValidationError)
- func (o *UpdateWebhookSubscriptionUnprocessableEntity) WithPayload(payload *adminmessages.ValidationError) *UpdateWebhookSubscriptionUnprocessableEntity
- func (o *UpdateWebhookSubscriptionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateWebhookSubscriptionBadRequestCode int = 400
CreateWebhookSubscriptionBadRequestCode is the HTTP code returned for type CreateWebhookSubscriptionBadRequest
const CreateWebhookSubscriptionCreatedCode int = 201
CreateWebhookSubscriptionCreatedCode is the HTTP code returned for type CreateWebhookSubscriptionCreated
const CreateWebhookSubscriptionForbiddenCode int = 403
CreateWebhookSubscriptionForbiddenCode is the HTTP code returned for type CreateWebhookSubscriptionForbidden
const CreateWebhookSubscriptionInternalServerErrorCode int = 500
CreateWebhookSubscriptionInternalServerErrorCode is the HTTP code returned for type CreateWebhookSubscriptionInternalServerError
CreateWebhookSubscriptionUnauthorizedCode is the HTTP code returned for type CreateWebhookSubscriptionUnauthorized
const GetWebhookSubscriptionBadRequestCode int = 400
GetWebhookSubscriptionBadRequestCode is the HTTP code returned for type GetWebhookSubscriptionBadRequest
const GetWebhookSubscriptionInternalServerErrorCode int = 500
GetWebhookSubscriptionInternalServerErrorCode is the HTTP code returned for type GetWebhookSubscriptionInternalServerError
const GetWebhookSubscriptionNotFoundCode int = 404
GetWebhookSubscriptionNotFoundCode is the HTTP code returned for type GetWebhookSubscriptionNotFound
const GetWebhookSubscriptionOKCode int = 200
GetWebhookSubscriptionOKCode is the HTTP code returned for type GetWebhookSubscriptionOK
GetWebhookSubscriptionUnauthorizedCode is the HTTP code returned for type GetWebhookSubscriptionUnauthorized
const IndexWebhookSubscriptionsBadRequestCode int = 400
IndexWebhookSubscriptionsBadRequestCode is the HTTP code returned for type IndexWebhookSubscriptionsBadRequest
const IndexWebhookSubscriptionsInternalServerErrorCode int = 500
IndexWebhookSubscriptionsInternalServerErrorCode is the HTTP code returned for type IndexWebhookSubscriptionsInternalServerError
const IndexWebhookSubscriptionsNotFoundCode int = 404
IndexWebhookSubscriptionsNotFoundCode is the HTTP code returned for type IndexWebhookSubscriptionsNotFound
const IndexWebhookSubscriptionsOKCode int = 200
IndexWebhookSubscriptionsOKCode is the HTTP code returned for type IndexWebhookSubscriptionsOK
IndexWebhookSubscriptionsUnauthorizedCode is the HTTP code returned for type IndexWebhookSubscriptionsUnauthorized
const UpdateWebhookSubscriptionBadRequestCode int = 400
UpdateWebhookSubscriptionBadRequestCode is the HTTP code returned for type UpdateWebhookSubscriptionBadRequest
const UpdateWebhookSubscriptionForbiddenCode int = 403
UpdateWebhookSubscriptionForbiddenCode is the HTTP code returned for type UpdateWebhookSubscriptionForbidden
const UpdateWebhookSubscriptionInternalServerErrorCode int = 500
UpdateWebhookSubscriptionInternalServerErrorCode is the HTTP code returned for type UpdateWebhookSubscriptionInternalServerError
const UpdateWebhookSubscriptionNotFoundCode int = 404
UpdateWebhookSubscriptionNotFoundCode is the HTTP code returned for type UpdateWebhookSubscriptionNotFound
const UpdateWebhookSubscriptionOKCode int = 200
UpdateWebhookSubscriptionOKCode is the HTTP code returned for type UpdateWebhookSubscriptionOK
const UpdateWebhookSubscriptionPreconditionFailedCode int = 412
UpdateWebhookSubscriptionPreconditionFailedCode is the HTTP code returned for type UpdateWebhookSubscriptionPreconditionFailed
UpdateWebhookSubscriptionUnauthorizedCode is the HTTP code returned for type UpdateWebhookSubscriptionUnauthorized
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 ¶
func (o *CreateWebhookSubscription) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *CreateWebhookSubscriptionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *CreateWebhookSubscriptionCreated) SetPayload(payload *adminmessages.WebhookSubscription)
SetPayload sets the payload to the create webhook subscription created response
func (*CreateWebhookSubscriptionCreated) WithPayload ¶
func (o *CreateWebhookSubscriptionCreated) WithPayload(payload *adminmessages.WebhookSubscription) *CreateWebhookSubscriptionCreated
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 ¶
func (o *CreateWebhookSubscriptionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn CreateWebhookSubscriptionHandlerFunc) Handle(params CreateWebhookSubscriptionParams) middleware.Responder
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 ¶
func (o *CreateWebhookSubscriptionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *CreateWebhookSubscriptionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
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 ¶
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 ¶
func (o *CreateWebhookSubscriptionURL) String() 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 ¶
func (o *CreateWebhookSubscriptionURL) WithBasePath(bp string) *CreateWebhookSubscriptionURL
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 ¶
func (o *CreateWebhookSubscriptionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn GetWebhookSubscriptionHandlerFunc) Handle(params GetWebhookSubscriptionParams) middleware.Responder
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 ¶
func (o *GetWebhookSubscriptionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetWebhookSubscriptionOK) SetPayload(payload *adminmessages.WebhookSubscription)
SetPayload sets the payload to the get webhook subscription o k response
func (*GetWebhookSubscriptionOK) WithPayload ¶
func (o *GetWebhookSubscriptionOK) WithPayload(payload *adminmessages.WebhookSubscription) *GetWebhookSubscriptionOK
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 ¶
func (o *GetWebhookSubscriptionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
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 ¶
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 ¶
func (o *GetWebhookSubscriptionURL) WithBasePath(bp string) *GetWebhookSubscriptionURL
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 ¶
func (o *GetWebhookSubscriptionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *IndexWebhookSubscriptions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *IndexWebhookSubscriptionsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn IndexWebhookSubscriptionsHandlerFunc) Handle(params IndexWebhookSubscriptionsParams) middleware.Responder
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 ¶
func (o *IndexWebhookSubscriptionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *IndexWebhookSubscriptionsOK) SetPayload(payload adminmessages.WebhookSubscriptions)
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 ¶
func (o *IndexWebhookSubscriptionsOK) WithPayload(payload adminmessages.WebhookSubscriptions) *IndexWebhookSubscriptionsOK
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 ¶
func (o *IndexWebhookSubscriptionsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
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 ¶
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 ¶
func (o *IndexWebhookSubscriptionsURL) String() 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 ¶
func (o *IndexWebhookSubscriptionsURL) WithBasePath(bp string) *IndexWebhookSubscriptionsURL
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 ¶
func (o *IndexWebhookSubscriptionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *UpdateWebhookSubscription) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *UpdateWebhookSubscriptionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *UpdateWebhookSubscriptionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn UpdateWebhookSubscriptionHandlerFunc) Handle(params UpdateWebhookSubscriptionParams) middleware.Responder
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 ¶
func (o *UpdateWebhookSubscriptionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *UpdateWebhookSubscriptionOK) SetPayload(payload *adminmessages.WebhookSubscription)
SetPayload sets the payload to the update webhook subscription o k response
func (*UpdateWebhookSubscriptionOK) WithPayload ¶
func (o *UpdateWebhookSubscriptionOK) WithPayload(payload *adminmessages.WebhookSubscription) *UpdateWebhookSubscriptionOK
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 ¶
func (o *UpdateWebhookSubscriptionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
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 ¶
func (o *UpdateWebhookSubscriptionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 ¶
func (o *UpdateWebhookSubscriptionURL) String() 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 ¶
func (o *UpdateWebhookSubscriptionURL) WithBasePath(bp string) *UpdateWebhookSubscriptionURL
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 ¶
func (o *UpdateWebhookSubscriptionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *UpdateWebhookSubscriptionUnprocessableEntity) SetPayload(payload *adminmessages.ValidationError)
SetPayload sets the payload to the update webhook subscription unprocessable entity response
func (*UpdateWebhookSubscriptionUnprocessableEntity) WithPayload ¶
func (o *UpdateWebhookSubscriptionUnprocessableEntity) WithPayload(payload *adminmessages.ValidationError) *UpdateWebhookSubscriptionUnprocessableEntity
WithPayload adds the payload to the update webhook subscription unprocessable entity response
func (*UpdateWebhookSubscriptionUnprocessableEntity) WriteResponse ¶
func (o *UpdateWebhookSubscriptionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- create_webhook_subscription.go
- create_webhook_subscription_parameters.go
- create_webhook_subscription_responses.go
- create_webhook_subscription_urlbuilder.go
- get_webhook_subscription.go
- get_webhook_subscription_parameters.go
- get_webhook_subscription_responses.go
- get_webhook_subscription_urlbuilder.go
- index_webhook_subscriptions.go
- index_webhook_subscriptions_parameters.go
- index_webhook_subscriptions_responses.go
- index_webhook_subscriptions_urlbuilder.go
- update_webhook_subscription.go
- update_webhook_subscription_parameters.go
- update_webhook_subscription_responses.go
- update_webhook_subscription_urlbuilder.go