Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteV1WebhooksID(params *DeleteV1WebhooksIDParams, opts ...ClientOption) (*DeleteV1WebhooksIDNoContent, error)
- func (a *Client) DeleteV1WebhooksIDKeysKeyID(params *DeleteV1WebhooksIDKeysKeyIDParams, opts ...ClientOption) (*DeleteV1WebhooksIDKeysKeyIDNoContent, error)
- func (a *Client) GetV1Webhooks(params *GetV1WebhooksParams, opts ...ClientOption) (*GetV1WebhooksOK, error)
- func (a *Client) GetV1WebhooksID(params *GetV1WebhooksIDParams, opts ...ClientOption) (*GetV1WebhooksIDOK, error)
- func (a *Client) PostV1Webhooks(params *PostV1WebhooksParams, opts ...ClientOption) (*PostV1WebhooksCreated, error)
- func (a *Client) PostV1WebhooksIDKeys(params *PostV1WebhooksIDKeysParams, opts ...ClientOption) (*PostV1WebhooksIDKeysCreated, error)
- func (a *Client) PostYourChosenPath(params *PostYourChosenPathParams, opts ...ClientOption) (*PostYourChosenPathOK, error)
- func (a *Client) PutV1WebhooksID(params *PutV1WebhooksIDParams, opts ...ClientOption) (*PutV1WebhooksIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1WebhooksIDKeysKeyIDNoContent
- func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) Code() int
- func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) Error() string
- func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsClientError() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsCode(code int) bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsRedirect() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsServerError() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsSuccess() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) String() string
- type DeleteV1WebhooksIDKeysKeyIDNotFound
- func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) Code() int
- func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) Error() string
- func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) GetPayload() string
- func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsClientError() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsCode(code int) bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsRedirect() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsServerError() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsSuccess() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) String() string
- type DeleteV1WebhooksIDKeysKeyIDParams
- func NewDeleteV1WebhooksIDKeysKeyIDParams() *DeleteV1WebhooksIDKeysKeyIDParams
- func NewDeleteV1WebhooksIDKeysKeyIDParamsWithContext(ctx context.Context) *DeleteV1WebhooksIDKeysKeyIDParams
- func NewDeleteV1WebhooksIDKeysKeyIDParamsWithHTTPClient(client *http.Client) *DeleteV1WebhooksIDKeysKeyIDParams
- func NewDeleteV1WebhooksIDKeysKeyIDParamsWithTimeout(timeout time.Duration) *DeleteV1WebhooksIDKeysKeyIDParams
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetDefaults()
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetID(id string)
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetKeyID(keyID string)
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithContext(ctx context.Context) *DeleteV1WebhooksIDKeysKeyIDParams
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithDefaults() *DeleteV1WebhooksIDKeysKeyIDParams
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithHTTPClient(client *http.Client) *DeleteV1WebhooksIDKeysKeyIDParams
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithID(id string) *DeleteV1WebhooksIDKeysKeyIDParams
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithKeyID(keyID string) *DeleteV1WebhooksIDKeysKeyIDParams
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithTimeout(timeout time.Duration) *DeleteV1WebhooksIDKeysKeyIDParams
- func (o *DeleteV1WebhooksIDKeysKeyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1WebhooksIDKeysKeyIDPreconditionFailed
- func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) Code() int
- func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) Error() string
- func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) GetPayload() *models.ErrorResponse
- func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsClientError() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsCode(code int) bool
- func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsRedirect() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsServerError() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsSuccess() bool
- func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) String() string
- type DeleteV1WebhooksIDKeysKeyIDReader
- type DeleteV1WebhooksIDNoContent
- func (o *DeleteV1WebhooksIDNoContent) Code() int
- func (o *DeleteV1WebhooksIDNoContent) Error() string
- func (o *DeleteV1WebhooksIDNoContent) IsClientError() bool
- func (o *DeleteV1WebhooksIDNoContent) IsCode(code int) bool
- func (o *DeleteV1WebhooksIDNoContent) IsRedirect() bool
- func (o *DeleteV1WebhooksIDNoContent) IsServerError() bool
- func (o *DeleteV1WebhooksIDNoContent) IsSuccess() bool
- func (o *DeleteV1WebhooksIDNoContent) String() string
- type DeleteV1WebhooksIDNotFound
- func (o *DeleteV1WebhooksIDNotFound) Code() int
- func (o *DeleteV1WebhooksIDNotFound) Error() string
- func (o *DeleteV1WebhooksIDNotFound) GetPayload() string
- func (o *DeleteV1WebhooksIDNotFound) IsClientError() bool
- func (o *DeleteV1WebhooksIDNotFound) IsCode(code int) bool
- func (o *DeleteV1WebhooksIDNotFound) IsRedirect() bool
- func (o *DeleteV1WebhooksIDNotFound) IsServerError() bool
- func (o *DeleteV1WebhooksIDNotFound) IsSuccess() bool
- func (o *DeleteV1WebhooksIDNotFound) String() string
- type DeleteV1WebhooksIDParams
- func NewDeleteV1WebhooksIDParams() *DeleteV1WebhooksIDParams
- func NewDeleteV1WebhooksIDParamsWithContext(ctx context.Context) *DeleteV1WebhooksIDParams
- func NewDeleteV1WebhooksIDParamsWithHTTPClient(client *http.Client) *DeleteV1WebhooksIDParams
- func NewDeleteV1WebhooksIDParamsWithTimeout(timeout time.Duration) *DeleteV1WebhooksIDParams
- func (o *DeleteV1WebhooksIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1WebhooksIDParams) SetDefaults()
- func (o *DeleteV1WebhooksIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1WebhooksIDParams) SetID(id string)
- func (o *DeleteV1WebhooksIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1WebhooksIDParams) WithContext(ctx context.Context) *DeleteV1WebhooksIDParams
- func (o *DeleteV1WebhooksIDParams) WithDefaults() *DeleteV1WebhooksIDParams
- func (o *DeleteV1WebhooksIDParams) WithHTTPClient(client *http.Client) *DeleteV1WebhooksIDParams
- func (o *DeleteV1WebhooksIDParams) WithID(id string) *DeleteV1WebhooksIDParams
- func (o *DeleteV1WebhooksIDParams) WithTimeout(timeout time.Duration) *DeleteV1WebhooksIDParams
- func (o *DeleteV1WebhooksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1WebhooksIDReader
- type GetV1WebhooksIDNotFound
- func (o *GetV1WebhooksIDNotFound) Code() int
- func (o *GetV1WebhooksIDNotFound) Error() string
- func (o *GetV1WebhooksIDNotFound) GetPayload() string
- func (o *GetV1WebhooksIDNotFound) IsClientError() bool
- func (o *GetV1WebhooksIDNotFound) IsCode(code int) bool
- func (o *GetV1WebhooksIDNotFound) IsRedirect() bool
- func (o *GetV1WebhooksIDNotFound) IsServerError() bool
- func (o *GetV1WebhooksIDNotFound) IsSuccess() bool
- func (o *GetV1WebhooksIDNotFound) String() string
- type GetV1WebhooksIDOK
- func (o *GetV1WebhooksIDOK) Code() int
- func (o *GetV1WebhooksIDOK) Error() string
- func (o *GetV1WebhooksIDOK) GetPayload() *models.Webhook
- func (o *GetV1WebhooksIDOK) IsClientError() bool
- func (o *GetV1WebhooksIDOK) IsCode(code int) bool
- func (o *GetV1WebhooksIDOK) IsRedirect() bool
- func (o *GetV1WebhooksIDOK) IsServerError() bool
- func (o *GetV1WebhooksIDOK) IsSuccess() bool
- func (o *GetV1WebhooksIDOK) String() string
- type GetV1WebhooksIDParams
- func NewGetV1WebhooksIDParams() *GetV1WebhooksIDParams
- func NewGetV1WebhooksIDParamsWithContext(ctx context.Context) *GetV1WebhooksIDParams
- func NewGetV1WebhooksIDParamsWithHTTPClient(client *http.Client) *GetV1WebhooksIDParams
- func NewGetV1WebhooksIDParamsWithTimeout(timeout time.Duration) *GetV1WebhooksIDParams
- func (o *GetV1WebhooksIDParams) SetContext(ctx context.Context)
- func (o *GetV1WebhooksIDParams) SetDefaults()
- func (o *GetV1WebhooksIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1WebhooksIDParams) SetID(id string)
- func (o *GetV1WebhooksIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1WebhooksIDParams) WithContext(ctx context.Context) *GetV1WebhooksIDParams
- func (o *GetV1WebhooksIDParams) WithDefaults() *GetV1WebhooksIDParams
- func (o *GetV1WebhooksIDParams) WithHTTPClient(client *http.Client) *GetV1WebhooksIDParams
- func (o *GetV1WebhooksIDParams) WithID(id string) *GetV1WebhooksIDParams
- func (o *GetV1WebhooksIDParams) WithTimeout(timeout time.Duration) *GetV1WebhooksIDParams
- func (o *GetV1WebhooksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1WebhooksIDReader
- type GetV1WebhooksOK
- func (o *GetV1WebhooksOK) Code() int
- func (o *GetV1WebhooksOK) Error() string
- func (o *GetV1WebhooksOK) GetPayload() *GetV1WebhooksOKBody
- func (o *GetV1WebhooksOK) IsClientError() bool
- func (o *GetV1WebhooksOK) IsCode(code int) bool
- func (o *GetV1WebhooksOK) IsRedirect() bool
- func (o *GetV1WebhooksOK) IsServerError() bool
- func (o *GetV1WebhooksOK) IsSuccess() bool
- func (o *GetV1WebhooksOK) String() string
- type GetV1WebhooksOKBody
- func (o *GetV1WebhooksOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1WebhooksOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1WebhooksOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1WebhooksOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1WebhooksOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1WebhooksOKBody) Validate(formats strfmt.Registry) error
- type GetV1WebhooksParams
- func (o *GetV1WebhooksParams) SetContext(ctx context.Context)
- func (o *GetV1WebhooksParams) SetDefaults()
- func (o *GetV1WebhooksParams) SetHTTPClient(client *http.Client)
- func (o *GetV1WebhooksParams) SetLimit(limit *int64)
- func (o *GetV1WebhooksParams) SetTimeout(timeout time.Duration)
- func (o *GetV1WebhooksParams) SetToken(token *string)
- func (o *GetV1WebhooksParams) WithContext(ctx context.Context) *GetV1WebhooksParams
- func (o *GetV1WebhooksParams) WithDefaults() *GetV1WebhooksParams
- func (o *GetV1WebhooksParams) WithHTTPClient(client *http.Client) *GetV1WebhooksParams
- func (o *GetV1WebhooksParams) WithLimit(limit *int64) *GetV1WebhooksParams
- func (o *GetV1WebhooksParams) WithTimeout(timeout time.Duration) *GetV1WebhooksParams
- func (o *GetV1WebhooksParams) WithToken(token *string) *GetV1WebhooksParams
- func (o *GetV1WebhooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1WebhooksReader
- type PostV1WebhooksCreated
- func (o *PostV1WebhooksCreated) Code() int
- func (o *PostV1WebhooksCreated) Error() string
- func (o *PostV1WebhooksCreated) GetPayload() *PostV1WebhooksCreatedBody
- func (o *PostV1WebhooksCreated) IsClientError() bool
- func (o *PostV1WebhooksCreated) IsCode(code int) bool
- func (o *PostV1WebhooksCreated) IsRedirect() bool
- func (o *PostV1WebhooksCreated) IsServerError() bool
- func (o *PostV1WebhooksCreated) IsSuccess() bool
- func (o *PostV1WebhooksCreated) String() string
- type PostV1WebhooksCreatedBody
- func (o *PostV1WebhooksCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PostV1WebhooksCreatedBody) MarshalBinary() ([]byte, error)
- func (o PostV1WebhooksCreatedBody) MarshalJSON() ([]byte, error)
- func (o *PostV1WebhooksCreatedBody) UnmarshalBinary(b []byte) error
- func (o *PostV1WebhooksCreatedBody) UnmarshalJSON(raw []byte) error
- func (o *PostV1WebhooksCreatedBody) Validate(formats strfmt.Registry) error
- type PostV1WebhooksIDKeysCreated
- func (o *PostV1WebhooksIDKeysCreated) Code() int
- func (o *PostV1WebhooksIDKeysCreated) Error() string
- func (o *PostV1WebhooksIDKeysCreated) GetPayload() *models.WebhookSigningKey
- func (o *PostV1WebhooksIDKeysCreated) IsClientError() bool
- func (o *PostV1WebhooksIDKeysCreated) IsCode(code int) bool
- func (o *PostV1WebhooksIDKeysCreated) IsRedirect() bool
- func (o *PostV1WebhooksIDKeysCreated) IsServerError() bool
- func (o *PostV1WebhooksIDKeysCreated) IsSuccess() bool
- func (o *PostV1WebhooksIDKeysCreated) String() string
- type PostV1WebhooksIDKeysNotFound
- func (o *PostV1WebhooksIDKeysNotFound) Code() int
- func (o *PostV1WebhooksIDKeysNotFound) Error() string
- func (o *PostV1WebhooksIDKeysNotFound) GetPayload() string
- func (o *PostV1WebhooksIDKeysNotFound) IsClientError() bool
- func (o *PostV1WebhooksIDKeysNotFound) IsCode(code int) bool
- func (o *PostV1WebhooksIDKeysNotFound) IsRedirect() bool
- func (o *PostV1WebhooksIDKeysNotFound) IsServerError() bool
- func (o *PostV1WebhooksIDKeysNotFound) IsSuccess() bool
- func (o *PostV1WebhooksIDKeysNotFound) String() string
- type PostV1WebhooksIDKeysParams
- func NewPostV1WebhooksIDKeysParams() *PostV1WebhooksIDKeysParams
- func NewPostV1WebhooksIDKeysParamsWithContext(ctx context.Context) *PostV1WebhooksIDKeysParams
- func NewPostV1WebhooksIDKeysParamsWithHTTPClient(client *http.Client) *PostV1WebhooksIDKeysParams
- func NewPostV1WebhooksIDKeysParamsWithTimeout(timeout time.Duration) *PostV1WebhooksIDKeysParams
- func (o *PostV1WebhooksIDKeysParams) SetContext(ctx context.Context)
- func (o *PostV1WebhooksIDKeysParams) SetDefaults()
- func (o *PostV1WebhooksIDKeysParams) SetHTTPClient(client *http.Client)
- func (o *PostV1WebhooksIDKeysParams) SetID(id string)
- func (o *PostV1WebhooksIDKeysParams) SetTimeout(timeout time.Duration)
- func (o *PostV1WebhooksIDKeysParams) WithContext(ctx context.Context) *PostV1WebhooksIDKeysParams
- func (o *PostV1WebhooksIDKeysParams) WithDefaults() *PostV1WebhooksIDKeysParams
- func (o *PostV1WebhooksIDKeysParams) WithHTTPClient(client *http.Client) *PostV1WebhooksIDKeysParams
- func (o *PostV1WebhooksIDKeysParams) WithID(id string) *PostV1WebhooksIDKeysParams
- func (o *PostV1WebhooksIDKeysParams) WithTimeout(timeout time.Duration) *PostV1WebhooksIDKeysParams
- func (o *PostV1WebhooksIDKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1WebhooksIDKeysPreconditionFailed
- func (o *PostV1WebhooksIDKeysPreconditionFailed) Code() int
- func (o *PostV1WebhooksIDKeysPreconditionFailed) Error() string
- func (o *PostV1WebhooksIDKeysPreconditionFailed) GetPayload() *models.ErrorResponse
- func (o *PostV1WebhooksIDKeysPreconditionFailed) IsClientError() bool
- func (o *PostV1WebhooksIDKeysPreconditionFailed) IsCode(code int) bool
- func (o *PostV1WebhooksIDKeysPreconditionFailed) IsRedirect() bool
- func (o *PostV1WebhooksIDKeysPreconditionFailed) IsServerError() bool
- func (o *PostV1WebhooksIDKeysPreconditionFailed) IsSuccess() bool
- func (o *PostV1WebhooksIDKeysPreconditionFailed) String() string
- type PostV1WebhooksIDKeysReader
- type PostV1WebhooksParams
- func NewPostV1WebhooksParams() *PostV1WebhooksParams
- func NewPostV1WebhooksParamsWithContext(ctx context.Context) *PostV1WebhooksParams
- func NewPostV1WebhooksParamsWithHTTPClient(client *http.Client) *PostV1WebhooksParams
- func NewPostV1WebhooksParamsWithTimeout(timeout time.Duration) *PostV1WebhooksParams
- func (o *PostV1WebhooksParams) SetContext(ctx context.Context)
- func (o *PostV1WebhooksParams) SetDefaults()
- func (o *PostV1WebhooksParams) SetHTTPClient(client *http.Client)
- func (o *PostV1WebhooksParams) SetTimeout(timeout time.Duration)
- func (o *PostV1WebhooksParams) SetWebhook(webhook *models.CreateWebhookRequest)
- func (o *PostV1WebhooksParams) WithContext(ctx context.Context) *PostV1WebhooksParams
- func (o *PostV1WebhooksParams) WithDefaults() *PostV1WebhooksParams
- func (o *PostV1WebhooksParams) WithHTTPClient(client *http.Client) *PostV1WebhooksParams
- func (o *PostV1WebhooksParams) WithTimeout(timeout time.Duration) *PostV1WebhooksParams
- func (o *PostV1WebhooksParams) WithWebhook(webhook *models.CreateWebhookRequest) *PostV1WebhooksParams
- func (o *PostV1WebhooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1WebhooksReader
- type PostYourChosenPathBody
- func (o *PostYourChosenPathBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PostYourChosenPathBody) MarshalBinary() ([]byte, error)
- func (o PostYourChosenPathBody) MarshalJSON() ([]byte, error)
- func (o *PostYourChosenPathBody) UnmarshalBinary(b []byte) error
- func (o *PostYourChosenPathBody) UnmarshalJSON(raw []byte) error
- func (o *PostYourChosenPathBody) Validate(formats strfmt.Registry) error
- type PostYourChosenPathOK
- func (o *PostYourChosenPathOK) Code() int
- func (o *PostYourChosenPathOK) Error() string
- func (o *PostYourChosenPathOK) IsClientError() bool
- func (o *PostYourChosenPathOK) IsCode(code int) bool
- func (o *PostYourChosenPathOK) IsRedirect() bool
- func (o *PostYourChosenPathOK) IsServerError() bool
- func (o *PostYourChosenPathOK) IsSuccess() bool
- func (o *PostYourChosenPathOK) String() string
- type PostYourChosenPathParams
- func NewPostYourChosenPathParams() *PostYourChosenPathParams
- func NewPostYourChosenPathParamsWithContext(ctx context.Context) *PostYourChosenPathParams
- func NewPostYourChosenPathParamsWithHTTPClient(client *http.Client) *PostYourChosenPathParams
- func NewPostYourChosenPathParamsWithTimeout(timeout time.Duration) *PostYourChosenPathParams
- func (o *PostYourChosenPathParams) SetContext(ctx context.Context)
- func (o *PostYourChosenPathParams) SetDefaults()
- func (o *PostYourChosenPathParams) SetHTTPClient(client *http.Client)
- func (o *PostYourChosenPathParams) SetTimeout(timeout time.Duration)
- func (o *PostYourChosenPathParams) SetWebhookPayload(webhookPayload PostYourChosenPathBody)
- func (o *PostYourChosenPathParams) WithContext(ctx context.Context) *PostYourChosenPathParams
- func (o *PostYourChosenPathParams) WithDefaults() *PostYourChosenPathParams
- func (o *PostYourChosenPathParams) WithHTTPClient(client *http.Client) *PostYourChosenPathParams
- func (o *PostYourChosenPathParams) WithTimeout(timeout time.Duration) *PostYourChosenPathParams
- func (o *PostYourChosenPathParams) WithWebhookPayload(webhookPayload PostYourChosenPathBody) *PostYourChosenPathParams
- func (o *PostYourChosenPathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostYourChosenPathReader
- type PutV1WebhooksIDNotFound
- func (o *PutV1WebhooksIDNotFound) Code() int
- func (o *PutV1WebhooksIDNotFound) Error() string
- func (o *PutV1WebhooksIDNotFound) GetPayload() string
- func (o *PutV1WebhooksIDNotFound) IsClientError() bool
- func (o *PutV1WebhooksIDNotFound) IsCode(code int) bool
- func (o *PutV1WebhooksIDNotFound) IsRedirect() bool
- func (o *PutV1WebhooksIDNotFound) IsServerError() bool
- func (o *PutV1WebhooksIDNotFound) IsSuccess() bool
- func (o *PutV1WebhooksIDNotFound) String() string
- type PutV1WebhooksIDOK
- func (o *PutV1WebhooksIDOK) Code() int
- func (o *PutV1WebhooksIDOK) Error() string
- func (o *PutV1WebhooksIDOK) GetPayload() *models.Webhook
- func (o *PutV1WebhooksIDOK) IsClientError() bool
- func (o *PutV1WebhooksIDOK) IsCode(code int) bool
- func (o *PutV1WebhooksIDOK) IsRedirect() bool
- func (o *PutV1WebhooksIDOK) IsServerError() bool
- func (o *PutV1WebhooksIDOK) IsSuccess() bool
- func (o *PutV1WebhooksIDOK) String() string
- type PutV1WebhooksIDParams
- func NewPutV1WebhooksIDParams() *PutV1WebhooksIDParams
- func NewPutV1WebhooksIDParamsWithContext(ctx context.Context) *PutV1WebhooksIDParams
- func NewPutV1WebhooksIDParamsWithHTTPClient(client *http.Client) *PutV1WebhooksIDParams
- func NewPutV1WebhooksIDParamsWithTimeout(timeout time.Duration) *PutV1WebhooksIDParams
- func (o *PutV1WebhooksIDParams) SetContext(ctx context.Context)
- func (o *PutV1WebhooksIDParams) SetDefaults()
- func (o *PutV1WebhooksIDParams) SetHTTPClient(client *http.Client)
- func (o *PutV1WebhooksIDParams) SetID(id string)
- func (o *PutV1WebhooksIDParams) SetTimeout(timeout time.Duration)
- func (o *PutV1WebhooksIDParams) SetWebhook(webhook *models.UpdateWebhookRequest)
- func (o *PutV1WebhooksIDParams) WithContext(ctx context.Context) *PutV1WebhooksIDParams
- func (o *PutV1WebhooksIDParams) WithDefaults() *PutV1WebhooksIDParams
- func (o *PutV1WebhooksIDParams) WithHTTPClient(client *http.Client) *PutV1WebhooksIDParams
- func (o *PutV1WebhooksIDParams) WithID(id string) *PutV1WebhooksIDParams
- func (o *PutV1WebhooksIDParams) WithTimeout(timeout time.Duration) *PutV1WebhooksIDParams
- func (o *PutV1WebhooksIDParams) WithWebhook(webhook *models.UpdateWebhookRequest) *PutV1WebhooksIDParams
- func (o *PutV1WebhooksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutV1WebhooksIDReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for webhooks API
func (*Client) DeleteV1WebhooksID ¶
func (a *Client) DeleteV1WebhooksID(params *DeleteV1WebhooksIDParams, opts ...ClientOption) (*DeleteV1WebhooksIDNoContent, error)
DeleteV1WebhooksID deletes webhook
Deletes the identified webhook.
func (*Client) DeleteV1WebhooksIDKeysKeyID ¶
func (a *Client) DeleteV1WebhooksIDKeysKeyID(params *DeleteV1WebhooksIDKeysKeyIDParams, opts ...ClientOption) (*DeleteV1WebhooksIDKeysKeyIDNoContent, error)
DeleteV1WebhooksIDKeysKeyID deletes webhook key
Deletes the identified webhook key.
func (*Client) GetV1Webhooks ¶
func (a *Client) GetV1Webhooks(params *GetV1WebhooksParams, opts ...ClientOption) (*GetV1WebhooksOK, error)
GetV1Webhooks queries webhooks
Returns a list of webhook configurations. For further details on pagination, see the section above.
func (*Client) GetV1WebhooksID ¶
func (a *Client) GetV1WebhooksID(params *GetV1WebhooksIDParams, opts ...ClientOption) (*GetV1WebhooksIDOK, error)
GetV1WebhooksID reads webhook
Returns the identified webhook configuration.
func (*Client) PostV1Webhooks ¶
func (a *Client) PostV1Webhooks(params *PostV1WebhooksParams, opts ...ClientOption) (*PostV1WebhooksCreated, error)
PostV1Webhooks creates webhook
Creates a new webhook configuration. You will receive your webhook key in the response, which is unique per endpoint. Note that `keys` are only populated after creation and can therefore only be seen once. Make sure to store your key in a safe place. Read more about webhook security in the [Webhooks and events](doc:api#webhooks-and-events) section.
func (*Client) PostV1WebhooksIDKeys ¶
func (a *Client) PostV1WebhooksIDKeys(params *PostV1WebhooksIDKeysParams, opts ...ClientOption) (*PostV1WebhooksIDKeysCreated, error)
PostV1WebhooksIDKeys creates webhook signing key
Generates a new webhook signing key. You can have between one and two keys at a time, to allow for key rotation. Note that keys can only be seen once - in the response from this endpoint. Read more about how to secure your webhooks in the [Webhooks and events](doc:api#webhooks-and-events) section.
func (*Client) PostYourChosenPath ¶
func (a *Client) PostYourChosenPath(params *PostYourChosenPathParams, opts ...ClientOption) (*PostYourChosenPathOK, error)
PostYourChosenPath webhooks requests towards your server
The actual webhook events sent to your server from the Atlar platform, should you have configured webhooks. The path and domain is configured via the [Create webhook](ref:post_v1-webhooks) endpoint.
func (*Client) PutV1WebhooksID ¶
func (a *Client) PutV1WebhooksID(params *PutV1WebhooksIDParams, opts ...ClientOption) (*PutV1WebhooksIDOK, error)
PutV1WebhooksID updates webhook
Updates the identified webhook. This is a PUT, which means that you must supply the full Webhook object when updating. If a field that is set on the existing object is omitted in the request, it will be removed. Note that modifying the `url` of a webhook will set `verified` to false. Note that a change to `filter` may take up to 5 minutes until it is in full effect.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteV1WebhooksID(params *DeleteV1WebhooksIDParams, opts ...ClientOption) (*DeleteV1WebhooksIDNoContent, error) DeleteV1WebhooksIDKeysKeyID(params *DeleteV1WebhooksIDKeysKeyIDParams, opts ...ClientOption) (*DeleteV1WebhooksIDKeysKeyIDNoContent, error) GetV1Webhooks(params *GetV1WebhooksParams, opts ...ClientOption) (*GetV1WebhooksOK, error) GetV1WebhooksID(params *GetV1WebhooksIDParams, opts ...ClientOption) (*GetV1WebhooksIDOK, error) PostV1Webhooks(params *PostV1WebhooksParams, opts ...ClientOption) (*PostV1WebhooksCreated, error) PostV1WebhooksIDKeys(params *PostV1WebhooksIDKeysParams, opts ...ClientOption) (*PostV1WebhooksIDKeysCreated, error) PostYourChosenPath(params *PostYourChosenPathParams, opts ...ClientOption) (*PostYourChosenPathOK, error) PutV1WebhooksID(params *PutV1WebhooksIDParams, opts ...ClientOption) (*PutV1WebhooksIDOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new webhooks API client.
type DeleteV1WebhooksIDKeysKeyIDNoContent ¶
type DeleteV1WebhooksIDKeysKeyIDNoContent struct { }
DeleteV1WebhooksIDKeysKeyIDNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteV1WebhooksIDKeysKeyIDNoContent ¶
func NewDeleteV1WebhooksIDKeysKeyIDNoContent() *DeleteV1WebhooksIDKeysKeyIDNoContent
NewDeleteV1WebhooksIDKeysKeyIDNoContent creates a DeleteV1WebhooksIDKeysKeyIDNoContent with default headers values
func (*DeleteV1WebhooksIDKeysKeyIDNoContent) Code ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) Code() int
Code gets the status code for the delete v1 webhooks Id keys key Id no content response
func (*DeleteV1WebhooksIDKeysKeyIDNoContent) Error ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) Error() string
func (*DeleteV1WebhooksIDKeysKeyIDNoContent) IsClientError ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsClientError() bool
IsClientError returns true when this delete v1 webhooks Id keys key Id no content response has a 4xx status code
func (*DeleteV1WebhooksIDKeysKeyIDNoContent) IsCode ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsCode(code int) bool
IsCode returns true when this delete v1 webhooks Id keys key Id no content response a status code equal to that given
func (*DeleteV1WebhooksIDKeysKeyIDNoContent) IsRedirect ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete v1 webhooks Id keys key Id no content response has a 3xx status code
func (*DeleteV1WebhooksIDKeysKeyIDNoContent) IsServerError ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsServerError() bool
IsServerError returns true when this delete v1 webhooks Id keys key Id no content response has a 5xx status code
func (*DeleteV1WebhooksIDKeysKeyIDNoContent) IsSuccess ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete v1 webhooks Id keys key Id no content response has a 2xx status code
func (*DeleteV1WebhooksIDKeysKeyIDNoContent) String ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNoContent) String() string
type DeleteV1WebhooksIDKeysKeyIDNotFound ¶
type DeleteV1WebhooksIDKeysKeyIDNotFound struct {
Payload string
}
DeleteV1WebhooksIDKeysKeyIDNotFound describes a response with status code 404, with default header values.
The identified webhook key doesn't exist
func NewDeleteV1WebhooksIDKeysKeyIDNotFound ¶
func NewDeleteV1WebhooksIDKeysKeyIDNotFound() *DeleteV1WebhooksIDKeysKeyIDNotFound
NewDeleteV1WebhooksIDKeysKeyIDNotFound creates a DeleteV1WebhooksIDKeysKeyIDNotFound with default headers values
func (*DeleteV1WebhooksIDKeysKeyIDNotFound) Code ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) Code() int
Code gets the status code for the delete v1 webhooks Id keys key Id not found response
func (*DeleteV1WebhooksIDKeysKeyIDNotFound) Error ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) Error() string
func (*DeleteV1WebhooksIDKeysKeyIDNotFound) GetPayload ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) GetPayload() string
func (*DeleteV1WebhooksIDKeysKeyIDNotFound) IsClientError ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsClientError() bool
IsClientError returns true when this delete v1 webhooks Id keys key Id not found response has a 4xx status code
func (*DeleteV1WebhooksIDKeysKeyIDNotFound) IsCode ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsCode(code int) bool
IsCode returns true when this delete v1 webhooks Id keys key Id not found response a status code equal to that given
func (*DeleteV1WebhooksIDKeysKeyIDNotFound) IsRedirect ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete v1 webhooks Id keys key Id not found response has a 3xx status code
func (*DeleteV1WebhooksIDKeysKeyIDNotFound) IsServerError ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsServerError() bool
IsServerError returns true when this delete v1 webhooks Id keys key Id not found response has a 5xx status code
func (*DeleteV1WebhooksIDKeysKeyIDNotFound) IsSuccess ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete v1 webhooks Id keys key Id not found response has a 2xx status code
func (*DeleteV1WebhooksIDKeysKeyIDNotFound) String ¶
func (o *DeleteV1WebhooksIDKeysKeyIDNotFound) String() string
type DeleteV1WebhooksIDKeysKeyIDParams ¶
type DeleteV1WebhooksIDKeysKeyIDParams struct { /* ID. Webhook ID */ ID string /* KeyID. Webhook key ID */ KeyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteV1WebhooksIDKeysKeyIDParams contains all the parameters to send to the API endpoint
for the delete v1 webhooks ID keys key ID operation. Typically these are written to a http.Request.
func NewDeleteV1WebhooksIDKeysKeyIDParams ¶
func NewDeleteV1WebhooksIDKeysKeyIDParams() *DeleteV1WebhooksIDKeysKeyIDParams
NewDeleteV1WebhooksIDKeysKeyIDParams creates a new DeleteV1WebhooksIDKeysKeyIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteV1WebhooksIDKeysKeyIDParamsWithContext ¶
func NewDeleteV1WebhooksIDKeysKeyIDParamsWithContext(ctx context.Context) *DeleteV1WebhooksIDKeysKeyIDParams
NewDeleteV1WebhooksIDKeysKeyIDParamsWithContext creates a new DeleteV1WebhooksIDKeysKeyIDParams object with the ability to set a context for a request.
func NewDeleteV1WebhooksIDKeysKeyIDParamsWithHTTPClient ¶
func NewDeleteV1WebhooksIDKeysKeyIDParamsWithHTTPClient(client *http.Client) *DeleteV1WebhooksIDKeysKeyIDParams
NewDeleteV1WebhooksIDKeysKeyIDParamsWithHTTPClient creates a new DeleteV1WebhooksIDKeysKeyIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1WebhooksIDKeysKeyIDParamsWithTimeout ¶
func NewDeleteV1WebhooksIDKeysKeyIDParamsWithTimeout(timeout time.Duration) *DeleteV1WebhooksIDKeysKeyIDParams
NewDeleteV1WebhooksIDKeysKeyIDParamsWithTimeout creates a new DeleteV1WebhooksIDKeysKeyIDParams object with the ability to set a timeout on a request.
func (*DeleteV1WebhooksIDKeysKeyIDParams) SetContext ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) SetDefaults ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 webhooks ID keys key ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1WebhooksIDKeysKeyIDParams) SetHTTPClient ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) SetID ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetID(id string)
SetID adds the id to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) SetKeyID ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetKeyID(keyID string)
SetKeyID adds the keyId to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) SetTimeout ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) WithContext ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithContext(ctx context.Context) *DeleteV1WebhooksIDKeysKeyIDParams
WithContext adds the context to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) WithDefaults ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithDefaults() *DeleteV1WebhooksIDKeysKeyIDParams
WithDefaults hydrates default values in the delete v1 webhooks ID keys key ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1WebhooksIDKeysKeyIDParams) WithHTTPClient ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithHTTPClient(client *http.Client) *DeleteV1WebhooksIDKeysKeyIDParams
WithHTTPClient adds the HTTPClient to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) WithID ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithID(id string) *DeleteV1WebhooksIDKeysKeyIDParams
WithID adds the id to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) WithKeyID ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithKeyID(keyID string) *DeleteV1WebhooksIDKeysKeyIDParams
WithKeyID adds the keyID to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) WithTimeout ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) WithTimeout(timeout time.Duration) *DeleteV1WebhooksIDKeysKeyIDParams
WithTimeout adds the timeout to the delete v1 webhooks ID keys key ID params
func (*DeleteV1WebhooksIDKeysKeyIDParams) WriteToRequest ¶
func (o *DeleteV1WebhooksIDKeysKeyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1WebhooksIDKeysKeyIDPreconditionFailed ¶
type DeleteV1WebhooksIDKeysKeyIDPreconditionFailed struct {
Payload *models.ErrorResponse
}
DeleteV1WebhooksIDKeysKeyIDPreconditionFailed describes a response with status code 412, with default header values.
ErrorResponse with code `key_required`
func NewDeleteV1WebhooksIDKeysKeyIDPreconditionFailed ¶
func NewDeleteV1WebhooksIDKeysKeyIDPreconditionFailed() *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed
NewDeleteV1WebhooksIDKeysKeyIDPreconditionFailed creates a DeleteV1WebhooksIDKeysKeyIDPreconditionFailed with default headers values
func (*DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) Code ¶
func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) Code() int
Code gets the status code for the delete v1 webhooks Id keys key Id precondition failed response
func (*DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) Error ¶
func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) Error() string
func (*DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) GetPayload ¶
func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) GetPayload() *models.ErrorResponse
func (*DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsClientError ¶
func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete v1 webhooks Id keys key Id precondition failed response has a 4xx status code
func (*DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsCode ¶
func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete v1 webhooks Id keys key Id precondition failed response a status code equal to that given
func (*DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsRedirect ¶
func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete v1 webhooks Id keys key Id precondition failed response has a 3xx status code
func (*DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsServerError ¶
func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete v1 webhooks Id keys key Id precondition failed response has a 5xx status code
func (*DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsSuccess ¶
func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete v1 webhooks Id keys key Id precondition failed response has a 2xx status code
func (*DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) String ¶
func (o *DeleteV1WebhooksIDKeysKeyIDPreconditionFailed) String() string
type DeleteV1WebhooksIDKeysKeyIDReader ¶
type DeleteV1WebhooksIDKeysKeyIDReader struct {
// contains filtered or unexported fields
}
DeleteV1WebhooksIDKeysKeyIDReader is a Reader for the DeleteV1WebhooksIDKeysKeyID structure.
func (*DeleteV1WebhooksIDKeysKeyIDReader) ReadResponse ¶
func (o *DeleteV1WebhooksIDKeysKeyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteV1WebhooksIDNoContent ¶
type DeleteV1WebhooksIDNoContent struct { }
DeleteV1WebhooksIDNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteV1WebhooksIDNoContent ¶
func NewDeleteV1WebhooksIDNoContent() *DeleteV1WebhooksIDNoContent
NewDeleteV1WebhooksIDNoContent creates a DeleteV1WebhooksIDNoContent with default headers values
func (*DeleteV1WebhooksIDNoContent) Code ¶
func (o *DeleteV1WebhooksIDNoContent) Code() int
Code gets the status code for the delete v1 webhooks Id no content response
func (*DeleteV1WebhooksIDNoContent) Error ¶
func (o *DeleteV1WebhooksIDNoContent) Error() string
func (*DeleteV1WebhooksIDNoContent) IsClientError ¶
func (o *DeleteV1WebhooksIDNoContent) IsClientError() bool
IsClientError returns true when this delete v1 webhooks Id no content response has a 4xx status code
func (*DeleteV1WebhooksIDNoContent) IsCode ¶
func (o *DeleteV1WebhooksIDNoContent) IsCode(code int) bool
IsCode returns true when this delete v1 webhooks Id no content response a status code equal to that given
func (*DeleteV1WebhooksIDNoContent) IsRedirect ¶
func (o *DeleteV1WebhooksIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete v1 webhooks Id no content response has a 3xx status code
func (*DeleteV1WebhooksIDNoContent) IsServerError ¶
func (o *DeleteV1WebhooksIDNoContent) IsServerError() bool
IsServerError returns true when this delete v1 webhooks Id no content response has a 5xx status code
func (*DeleteV1WebhooksIDNoContent) IsSuccess ¶
func (o *DeleteV1WebhooksIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete v1 webhooks Id no content response has a 2xx status code
func (*DeleteV1WebhooksIDNoContent) String ¶
func (o *DeleteV1WebhooksIDNoContent) String() string
type DeleteV1WebhooksIDNotFound ¶
type DeleteV1WebhooksIDNotFound struct {
Payload string
}
DeleteV1WebhooksIDNotFound describes a response with status code 404, with default header values.
The identified webhook doesn't exist
func NewDeleteV1WebhooksIDNotFound ¶
func NewDeleteV1WebhooksIDNotFound() *DeleteV1WebhooksIDNotFound
NewDeleteV1WebhooksIDNotFound creates a DeleteV1WebhooksIDNotFound with default headers values
func (*DeleteV1WebhooksIDNotFound) Code ¶
func (o *DeleteV1WebhooksIDNotFound) Code() int
Code gets the status code for the delete v1 webhooks Id not found response
func (*DeleteV1WebhooksIDNotFound) Error ¶
func (o *DeleteV1WebhooksIDNotFound) Error() string
func (*DeleteV1WebhooksIDNotFound) GetPayload ¶
func (o *DeleteV1WebhooksIDNotFound) GetPayload() string
func (*DeleteV1WebhooksIDNotFound) IsClientError ¶
func (o *DeleteV1WebhooksIDNotFound) IsClientError() bool
IsClientError returns true when this delete v1 webhooks Id not found response has a 4xx status code
func (*DeleteV1WebhooksIDNotFound) IsCode ¶
func (o *DeleteV1WebhooksIDNotFound) IsCode(code int) bool
IsCode returns true when this delete v1 webhooks Id not found response a status code equal to that given
func (*DeleteV1WebhooksIDNotFound) IsRedirect ¶
func (o *DeleteV1WebhooksIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete v1 webhooks Id not found response has a 3xx status code
func (*DeleteV1WebhooksIDNotFound) IsServerError ¶
func (o *DeleteV1WebhooksIDNotFound) IsServerError() bool
IsServerError returns true when this delete v1 webhooks Id not found response has a 5xx status code
func (*DeleteV1WebhooksIDNotFound) IsSuccess ¶
func (o *DeleteV1WebhooksIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete v1 webhooks Id not found response has a 2xx status code
func (*DeleteV1WebhooksIDNotFound) String ¶
func (o *DeleteV1WebhooksIDNotFound) String() string
type DeleteV1WebhooksIDParams ¶
type DeleteV1WebhooksIDParams struct { /* ID. Webhook ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteV1WebhooksIDParams contains all the parameters to send to the API endpoint
for the delete v1 webhooks ID operation. Typically these are written to a http.Request.
func NewDeleteV1WebhooksIDParams ¶
func NewDeleteV1WebhooksIDParams() *DeleteV1WebhooksIDParams
NewDeleteV1WebhooksIDParams creates a new DeleteV1WebhooksIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteV1WebhooksIDParamsWithContext ¶
func NewDeleteV1WebhooksIDParamsWithContext(ctx context.Context) *DeleteV1WebhooksIDParams
NewDeleteV1WebhooksIDParamsWithContext creates a new DeleteV1WebhooksIDParams object with the ability to set a context for a request.
func NewDeleteV1WebhooksIDParamsWithHTTPClient ¶
func NewDeleteV1WebhooksIDParamsWithHTTPClient(client *http.Client) *DeleteV1WebhooksIDParams
NewDeleteV1WebhooksIDParamsWithHTTPClient creates a new DeleteV1WebhooksIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1WebhooksIDParamsWithTimeout ¶
func NewDeleteV1WebhooksIDParamsWithTimeout(timeout time.Duration) *DeleteV1WebhooksIDParams
NewDeleteV1WebhooksIDParamsWithTimeout creates a new DeleteV1WebhooksIDParams object with the ability to set a timeout on a request.
func (*DeleteV1WebhooksIDParams) SetContext ¶
func (o *DeleteV1WebhooksIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 webhooks ID params
func (*DeleteV1WebhooksIDParams) SetDefaults ¶
func (o *DeleteV1WebhooksIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 webhooks ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1WebhooksIDParams) SetHTTPClient ¶
func (o *DeleteV1WebhooksIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 webhooks ID params
func (*DeleteV1WebhooksIDParams) SetID ¶
func (o *DeleteV1WebhooksIDParams) SetID(id string)
SetID adds the id to the delete v1 webhooks ID params
func (*DeleteV1WebhooksIDParams) SetTimeout ¶
func (o *DeleteV1WebhooksIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 webhooks ID params
func (*DeleteV1WebhooksIDParams) WithContext ¶
func (o *DeleteV1WebhooksIDParams) WithContext(ctx context.Context) *DeleteV1WebhooksIDParams
WithContext adds the context to the delete v1 webhooks ID params
func (*DeleteV1WebhooksIDParams) WithDefaults ¶
func (o *DeleteV1WebhooksIDParams) WithDefaults() *DeleteV1WebhooksIDParams
WithDefaults hydrates default values in the delete v1 webhooks ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1WebhooksIDParams) WithHTTPClient ¶
func (o *DeleteV1WebhooksIDParams) WithHTTPClient(client *http.Client) *DeleteV1WebhooksIDParams
WithHTTPClient adds the HTTPClient to the delete v1 webhooks ID params
func (*DeleteV1WebhooksIDParams) WithID ¶
func (o *DeleteV1WebhooksIDParams) WithID(id string) *DeleteV1WebhooksIDParams
WithID adds the id to the delete v1 webhooks ID params
func (*DeleteV1WebhooksIDParams) WithTimeout ¶
func (o *DeleteV1WebhooksIDParams) WithTimeout(timeout time.Duration) *DeleteV1WebhooksIDParams
WithTimeout adds the timeout to the delete v1 webhooks ID params
func (*DeleteV1WebhooksIDParams) WriteToRequest ¶
func (o *DeleteV1WebhooksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1WebhooksIDReader ¶
type DeleteV1WebhooksIDReader struct {
// contains filtered or unexported fields
}
DeleteV1WebhooksIDReader is a Reader for the DeleteV1WebhooksID structure.
func (*DeleteV1WebhooksIDReader) ReadResponse ¶
func (o *DeleteV1WebhooksIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1WebhooksIDNotFound ¶
type GetV1WebhooksIDNotFound struct {
Payload string
}
GetV1WebhooksIDNotFound describes a response with status code 404, with default header values.
The identified webhook doesn't exist
func NewGetV1WebhooksIDNotFound ¶
func NewGetV1WebhooksIDNotFound() *GetV1WebhooksIDNotFound
NewGetV1WebhooksIDNotFound creates a GetV1WebhooksIDNotFound with default headers values
func (*GetV1WebhooksIDNotFound) Code ¶
func (o *GetV1WebhooksIDNotFound) Code() int
Code gets the status code for the get v1 webhooks Id not found response
func (*GetV1WebhooksIDNotFound) Error ¶
func (o *GetV1WebhooksIDNotFound) Error() string
func (*GetV1WebhooksIDNotFound) GetPayload ¶
func (o *GetV1WebhooksIDNotFound) GetPayload() string
func (*GetV1WebhooksIDNotFound) IsClientError ¶
func (o *GetV1WebhooksIDNotFound) IsClientError() bool
IsClientError returns true when this get v1 webhooks Id not found response has a 4xx status code
func (*GetV1WebhooksIDNotFound) IsCode ¶
func (o *GetV1WebhooksIDNotFound) IsCode(code int) bool
IsCode returns true when this get v1 webhooks Id not found response a status code equal to that given
func (*GetV1WebhooksIDNotFound) IsRedirect ¶
func (o *GetV1WebhooksIDNotFound) IsRedirect() bool
IsRedirect returns true when this get v1 webhooks Id not found response has a 3xx status code
func (*GetV1WebhooksIDNotFound) IsServerError ¶
func (o *GetV1WebhooksIDNotFound) IsServerError() bool
IsServerError returns true when this get v1 webhooks Id not found response has a 5xx status code
func (*GetV1WebhooksIDNotFound) IsSuccess ¶
func (o *GetV1WebhooksIDNotFound) IsSuccess() bool
IsSuccess returns true when this get v1 webhooks Id not found response has a 2xx status code
func (*GetV1WebhooksIDNotFound) String ¶
func (o *GetV1WebhooksIDNotFound) String() string
type GetV1WebhooksIDOK ¶
GetV1WebhooksIDOK describes a response with status code 200, with default header values.
The identified webhook
func NewGetV1WebhooksIDOK ¶
func NewGetV1WebhooksIDOK() *GetV1WebhooksIDOK
NewGetV1WebhooksIDOK creates a GetV1WebhooksIDOK with default headers values
func (*GetV1WebhooksIDOK) Code ¶
func (o *GetV1WebhooksIDOK) Code() int
Code gets the status code for the get v1 webhooks Id o k response
func (*GetV1WebhooksIDOK) Error ¶
func (o *GetV1WebhooksIDOK) Error() string
func (*GetV1WebhooksIDOK) GetPayload ¶
func (o *GetV1WebhooksIDOK) GetPayload() *models.Webhook
func (*GetV1WebhooksIDOK) IsClientError ¶
func (o *GetV1WebhooksIDOK) IsClientError() bool
IsClientError returns true when this get v1 webhooks Id o k response has a 4xx status code
func (*GetV1WebhooksIDOK) IsCode ¶
func (o *GetV1WebhooksIDOK) IsCode(code int) bool
IsCode returns true when this get v1 webhooks Id o k response a status code equal to that given
func (*GetV1WebhooksIDOK) IsRedirect ¶
func (o *GetV1WebhooksIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 webhooks Id o k response has a 3xx status code
func (*GetV1WebhooksIDOK) IsServerError ¶
func (o *GetV1WebhooksIDOK) IsServerError() bool
IsServerError returns true when this get v1 webhooks Id o k response has a 5xx status code
func (*GetV1WebhooksIDOK) IsSuccess ¶
func (o *GetV1WebhooksIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 webhooks Id o k response has a 2xx status code
func (*GetV1WebhooksIDOK) String ¶
func (o *GetV1WebhooksIDOK) String() string
type GetV1WebhooksIDParams ¶
type GetV1WebhooksIDParams struct { /* ID. Webhook ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1WebhooksIDParams contains all the parameters to send to the API endpoint
for the get v1 webhooks ID operation. Typically these are written to a http.Request.
func NewGetV1WebhooksIDParams ¶
func NewGetV1WebhooksIDParams() *GetV1WebhooksIDParams
NewGetV1WebhooksIDParams creates a new GetV1WebhooksIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV1WebhooksIDParamsWithContext ¶
func NewGetV1WebhooksIDParamsWithContext(ctx context.Context) *GetV1WebhooksIDParams
NewGetV1WebhooksIDParamsWithContext creates a new GetV1WebhooksIDParams object with the ability to set a context for a request.
func NewGetV1WebhooksIDParamsWithHTTPClient ¶
func NewGetV1WebhooksIDParamsWithHTTPClient(client *http.Client) *GetV1WebhooksIDParams
NewGetV1WebhooksIDParamsWithHTTPClient creates a new GetV1WebhooksIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1WebhooksIDParamsWithTimeout ¶
func NewGetV1WebhooksIDParamsWithTimeout(timeout time.Duration) *GetV1WebhooksIDParams
NewGetV1WebhooksIDParamsWithTimeout creates a new GetV1WebhooksIDParams object with the ability to set a timeout on a request.
func (*GetV1WebhooksIDParams) SetContext ¶
func (o *GetV1WebhooksIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 webhooks ID params
func (*GetV1WebhooksIDParams) SetDefaults ¶
func (o *GetV1WebhooksIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 webhooks ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1WebhooksIDParams) SetHTTPClient ¶
func (o *GetV1WebhooksIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 webhooks ID params
func (*GetV1WebhooksIDParams) SetID ¶
func (o *GetV1WebhooksIDParams) SetID(id string)
SetID adds the id to the get v1 webhooks ID params
func (*GetV1WebhooksIDParams) SetTimeout ¶
func (o *GetV1WebhooksIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 webhooks ID params
func (*GetV1WebhooksIDParams) WithContext ¶
func (o *GetV1WebhooksIDParams) WithContext(ctx context.Context) *GetV1WebhooksIDParams
WithContext adds the context to the get v1 webhooks ID params
func (*GetV1WebhooksIDParams) WithDefaults ¶
func (o *GetV1WebhooksIDParams) WithDefaults() *GetV1WebhooksIDParams
WithDefaults hydrates default values in the get v1 webhooks ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1WebhooksIDParams) WithHTTPClient ¶
func (o *GetV1WebhooksIDParams) WithHTTPClient(client *http.Client) *GetV1WebhooksIDParams
WithHTTPClient adds the HTTPClient to the get v1 webhooks ID params
func (*GetV1WebhooksIDParams) WithID ¶
func (o *GetV1WebhooksIDParams) WithID(id string) *GetV1WebhooksIDParams
WithID adds the id to the get v1 webhooks ID params
func (*GetV1WebhooksIDParams) WithTimeout ¶
func (o *GetV1WebhooksIDParams) WithTimeout(timeout time.Duration) *GetV1WebhooksIDParams
WithTimeout adds the timeout to the get v1 webhooks ID params
func (*GetV1WebhooksIDParams) WriteToRequest ¶
func (o *GetV1WebhooksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1WebhooksIDReader ¶
type GetV1WebhooksIDReader struct {
// contains filtered or unexported fields
}
GetV1WebhooksIDReader is a Reader for the GetV1WebhooksID structure.
func (*GetV1WebhooksIDReader) ReadResponse ¶
func (o *GetV1WebhooksIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1WebhooksOK ¶
type GetV1WebhooksOK struct {
Payload *GetV1WebhooksOKBody
}
GetV1WebhooksOK describes a response with status code 200, with default header values.
QueryResponse with list of Webhooks
func NewGetV1WebhooksOK ¶
func NewGetV1WebhooksOK() *GetV1WebhooksOK
NewGetV1WebhooksOK creates a GetV1WebhooksOK with default headers values
func (*GetV1WebhooksOK) Code ¶
func (o *GetV1WebhooksOK) Code() int
Code gets the status code for the get v1 webhooks o k response
func (*GetV1WebhooksOK) Error ¶
func (o *GetV1WebhooksOK) Error() string
func (*GetV1WebhooksOK) GetPayload ¶
func (o *GetV1WebhooksOK) GetPayload() *GetV1WebhooksOKBody
func (*GetV1WebhooksOK) IsClientError ¶
func (o *GetV1WebhooksOK) IsClientError() bool
IsClientError returns true when this get v1 webhooks o k response has a 4xx status code
func (*GetV1WebhooksOK) IsCode ¶
func (o *GetV1WebhooksOK) IsCode(code int) bool
IsCode returns true when this get v1 webhooks o k response a status code equal to that given
func (*GetV1WebhooksOK) IsRedirect ¶
func (o *GetV1WebhooksOK) IsRedirect() bool
IsRedirect returns true when this get v1 webhooks o k response has a 3xx status code
func (*GetV1WebhooksOK) IsServerError ¶
func (o *GetV1WebhooksOK) IsServerError() bool
IsServerError returns true when this get v1 webhooks o k response has a 5xx status code
func (*GetV1WebhooksOK) IsSuccess ¶
func (o *GetV1WebhooksOK) IsSuccess() bool
IsSuccess returns true when this get v1 webhooks o k response has a 2xx status code
func (*GetV1WebhooksOK) String ¶
func (o *GetV1WebhooksOK) String() string
type GetV1WebhooksOKBody ¶
type GetV1WebhooksOKBody struct { models.QueryResponse // items Items []*models.Webhook `json:"items"` }
GetV1WebhooksOKBody get v1 webhooks o k body swagger:model GetV1WebhooksOKBody
func (*GetV1WebhooksOKBody) ContextValidate ¶
ContextValidate validate this get v1 webhooks o k body based on the context it is used
func (*GetV1WebhooksOKBody) MarshalBinary ¶
func (o *GetV1WebhooksOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetV1WebhooksOKBody) MarshalJSON ¶
func (o GetV1WebhooksOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetV1WebhooksOKBody) UnmarshalBinary ¶
func (o *GetV1WebhooksOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetV1WebhooksOKBody) UnmarshalJSON ¶
func (o *GetV1WebhooksOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetV1WebhooksParams ¶
type GetV1WebhooksParams struct { /* Limit. Limit resulting response list. Value must be between 1 and 500 (higher values will be coerced down to 500). Defaults to 100. */ Limit *int64 /* Token. If response comes back and `nextToken` is populated, use that value in this `token` query to continue pagination. */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1WebhooksParams contains all the parameters to send to the API endpoint
for the get v1 webhooks operation. Typically these are written to a http.Request.
func NewGetV1WebhooksParams ¶
func NewGetV1WebhooksParams() *GetV1WebhooksParams
NewGetV1WebhooksParams creates a new GetV1WebhooksParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetV1WebhooksParamsWithContext ¶
func NewGetV1WebhooksParamsWithContext(ctx context.Context) *GetV1WebhooksParams
NewGetV1WebhooksParamsWithContext creates a new GetV1WebhooksParams object with the ability to set a context for a request.
func NewGetV1WebhooksParamsWithHTTPClient ¶
func NewGetV1WebhooksParamsWithHTTPClient(client *http.Client) *GetV1WebhooksParams
NewGetV1WebhooksParamsWithHTTPClient creates a new GetV1WebhooksParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1WebhooksParamsWithTimeout ¶
func NewGetV1WebhooksParamsWithTimeout(timeout time.Duration) *GetV1WebhooksParams
NewGetV1WebhooksParamsWithTimeout creates a new GetV1WebhooksParams object with the ability to set a timeout on a request.
func (*GetV1WebhooksParams) SetContext ¶
func (o *GetV1WebhooksParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 webhooks params
func (*GetV1WebhooksParams) SetDefaults ¶
func (o *GetV1WebhooksParams) SetDefaults()
SetDefaults hydrates default values in the get v1 webhooks params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1WebhooksParams) SetHTTPClient ¶
func (o *GetV1WebhooksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 webhooks params
func (*GetV1WebhooksParams) SetLimit ¶
func (o *GetV1WebhooksParams) SetLimit(limit *int64)
SetLimit adds the limit to the get v1 webhooks params
func (*GetV1WebhooksParams) SetTimeout ¶
func (o *GetV1WebhooksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 webhooks params
func (*GetV1WebhooksParams) SetToken ¶
func (o *GetV1WebhooksParams) SetToken(token *string)
SetToken adds the token to the get v1 webhooks params
func (*GetV1WebhooksParams) WithContext ¶
func (o *GetV1WebhooksParams) WithContext(ctx context.Context) *GetV1WebhooksParams
WithContext adds the context to the get v1 webhooks params
func (*GetV1WebhooksParams) WithDefaults ¶
func (o *GetV1WebhooksParams) WithDefaults() *GetV1WebhooksParams
WithDefaults hydrates default values in the get v1 webhooks params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1WebhooksParams) WithHTTPClient ¶
func (o *GetV1WebhooksParams) WithHTTPClient(client *http.Client) *GetV1WebhooksParams
WithHTTPClient adds the HTTPClient to the get v1 webhooks params
func (*GetV1WebhooksParams) WithLimit ¶
func (o *GetV1WebhooksParams) WithLimit(limit *int64) *GetV1WebhooksParams
WithLimit adds the limit to the get v1 webhooks params
func (*GetV1WebhooksParams) WithTimeout ¶
func (o *GetV1WebhooksParams) WithTimeout(timeout time.Duration) *GetV1WebhooksParams
WithTimeout adds the timeout to the get v1 webhooks params
func (*GetV1WebhooksParams) WithToken ¶
func (o *GetV1WebhooksParams) WithToken(token *string) *GetV1WebhooksParams
WithToken adds the token to the get v1 webhooks params
func (*GetV1WebhooksParams) WriteToRequest ¶
func (o *GetV1WebhooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1WebhooksReader ¶
type GetV1WebhooksReader struct {
// contains filtered or unexported fields
}
GetV1WebhooksReader is a Reader for the GetV1Webhooks structure.
func (*GetV1WebhooksReader) ReadResponse ¶
func (o *GetV1WebhooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1WebhooksCreated ¶
type PostV1WebhooksCreated struct {
Payload *PostV1WebhooksCreatedBody
}
PostV1WebhooksCreated describes a response with status code 201, with default header values.
The created webhook
func NewPostV1WebhooksCreated ¶
func NewPostV1WebhooksCreated() *PostV1WebhooksCreated
NewPostV1WebhooksCreated creates a PostV1WebhooksCreated with default headers values
func (*PostV1WebhooksCreated) Code ¶
func (o *PostV1WebhooksCreated) Code() int
Code gets the status code for the post v1 webhooks created response
func (*PostV1WebhooksCreated) Error ¶
func (o *PostV1WebhooksCreated) Error() string
func (*PostV1WebhooksCreated) GetPayload ¶
func (o *PostV1WebhooksCreated) GetPayload() *PostV1WebhooksCreatedBody
func (*PostV1WebhooksCreated) IsClientError ¶
func (o *PostV1WebhooksCreated) IsClientError() bool
IsClientError returns true when this post v1 webhooks created response has a 4xx status code
func (*PostV1WebhooksCreated) IsCode ¶
func (o *PostV1WebhooksCreated) IsCode(code int) bool
IsCode returns true when this post v1 webhooks created response a status code equal to that given
func (*PostV1WebhooksCreated) IsRedirect ¶
func (o *PostV1WebhooksCreated) IsRedirect() bool
IsRedirect returns true when this post v1 webhooks created response has a 3xx status code
func (*PostV1WebhooksCreated) IsServerError ¶
func (o *PostV1WebhooksCreated) IsServerError() bool
IsServerError returns true when this post v1 webhooks created response has a 5xx status code
func (*PostV1WebhooksCreated) IsSuccess ¶
func (o *PostV1WebhooksCreated) IsSuccess() bool
IsSuccess returns true when this post v1 webhooks created response has a 2xx status code
func (*PostV1WebhooksCreated) String ¶
func (o *PostV1WebhooksCreated) String() string
type PostV1WebhooksCreatedBody ¶
type PostV1WebhooksCreatedBody struct { models.Webhook // keys Keys []*models.WebhookSigningKey `json:"keys"` }
PostV1WebhooksCreatedBody post v1 webhooks created body swagger:model PostV1WebhooksCreatedBody
func (*PostV1WebhooksCreatedBody) ContextValidate ¶
func (o *PostV1WebhooksCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post v1 webhooks created body based on the context it is used
func (*PostV1WebhooksCreatedBody) MarshalBinary ¶
func (o *PostV1WebhooksCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (PostV1WebhooksCreatedBody) MarshalJSON ¶
func (o PostV1WebhooksCreatedBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*PostV1WebhooksCreatedBody) UnmarshalBinary ¶
func (o *PostV1WebhooksCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PostV1WebhooksCreatedBody) UnmarshalJSON ¶
func (o *PostV1WebhooksCreatedBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type PostV1WebhooksIDKeysCreated ¶
type PostV1WebhooksIDKeysCreated struct {
Payload *models.WebhookSigningKey
}
PostV1WebhooksIDKeysCreated describes a response with status code 201, with default header values.
The created webhook key
func NewPostV1WebhooksIDKeysCreated ¶
func NewPostV1WebhooksIDKeysCreated() *PostV1WebhooksIDKeysCreated
NewPostV1WebhooksIDKeysCreated creates a PostV1WebhooksIDKeysCreated with default headers values
func (*PostV1WebhooksIDKeysCreated) Code ¶
func (o *PostV1WebhooksIDKeysCreated) Code() int
Code gets the status code for the post v1 webhooks Id keys created response
func (*PostV1WebhooksIDKeysCreated) Error ¶
func (o *PostV1WebhooksIDKeysCreated) Error() string
func (*PostV1WebhooksIDKeysCreated) GetPayload ¶
func (o *PostV1WebhooksIDKeysCreated) GetPayload() *models.WebhookSigningKey
func (*PostV1WebhooksIDKeysCreated) IsClientError ¶
func (o *PostV1WebhooksIDKeysCreated) IsClientError() bool
IsClientError returns true when this post v1 webhooks Id keys created response has a 4xx status code
func (*PostV1WebhooksIDKeysCreated) IsCode ¶
func (o *PostV1WebhooksIDKeysCreated) IsCode(code int) bool
IsCode returns true when this post v1 webhooks Id keys created response a status code equal to that given
func (*PostV1WebhooksIDKeysCreated) IsRedirect ¶
func (o *PostV1WebhooksIDKeysCreated) IsRedirect() bool
IsRedirect returns true when this post v1 webhooks Id keys created response has a 3xx status code
func (*PostV1WebhooksIDKeysCreated) IsServerError ¶
func (o *PostV1WebhooksIDKeysCreated) IsServerError() bool
IsServerError returns true when this post v1 webhooks Id keys created response has a 5xx status code
func (*PostV1WebhooksIDKeysCreated) IsSuccess ¶
func (o *PostV1WebhooksIDKeysCreated) IsSuccess() bool
IsSuccess returns true when this post v1 webhooks Id keys created response has a 2xx status code
func (*PostV1WebhooksIDKeysCreated) String ¶
func (o *PostV1WebhooksIDKeysCreated) String() string
type PostV1WebhooksIDKeysNotFound ¶
type PostV1WebhooksIDKeysNotFound struct {
Payload string
}
PostV1WebhooksIDKeysNotFound describes a response with status code 404, with default header values.
The identified webhook doesn't exist
func NewPostV1WebhooksIDKeysNotFound ¶
func NewPostV1WebhooksIDKeysNotFound() *PostV1WebhooksIDKeysNotFound
NewPostV1WebhooksIDKeysNotFound creates a PostV1WebhooksIDKeysNotFound with default headers values
func (*PostV1WebhooksIDKeysNotFound) Code ¶
func (o *PostV1WebhooksIDKeysNotFound) Code() int
Code gets the status code for the post v1 webhooks Id keys not found response
func (*PostV1WebhooksIDKeysNotFound) Error ¶
func (o *PostV1WebhooksIDKeysNotFound) Error() string
func (*PostV1WebhooksIDKeysNotFound) GetPayload ¶
func (o *PostV1WebhooksIDKeysNotFound) GetPayload() string
func (*PostV1WebhooksIDKeysNotFound) IsClientError ¶
func (o *PostV1WebhooksIDKeysNotFound) IsClientError() bool
IsClientError returns true when this post v1 webhooks Id keys not found response has a 4xx status code
func (*PostV1WebhooksIDKeysNotFound) IsCode ¶
func (o *PostV1WebhooksIDKeysNotFound) IsCode(code int) bool
IsCode returns true when this post v1 webhooks Id keys not found response a status code equal to that given
func (*PostV1WebhooksIDKeysNotFound) IsRedirect ¶
func (o *PostV1WebhooksIDKeysNotFound) IsRedirect() bool
IsRedirect returns true when this post v1 webhooks Id keys not found response has a 3xx status code
func (*PostV1WebhooksIDKeysNotFound) IsServerError ¶
func (o *PostV1WebhooksIDKeysNotFound) IsServerError() bool
IsServerError returns true when this post v1 webhooks Id keys not found response has a 5xx status code
func (*PostV1WebhooksIDKeysNotFound) IsSuccess ¶
func (o *PostV1WebhooksIDKeysNotFound) IsSuccess() bool
IsSuccess returns true when this post v1 webhooks Id keys not found response has a 2xx status code
func (*PostV1WebhooksIDKeysNotFound) String ¶
func (o *PostV1WebhooksIDKeysNotFound) String() string
type PostV1WebhooksIDKeysParams ¶
type PostV1WebhooksIDKeysParams struct { /* ID. Webhook ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1WebhooksIDKeysParams contains all the parameters to send to the API endpoint
for the post v1 webhooks ID keys operation. Typically these are written to a http.Request.
func NewPostV1WebhooksIDKeysParams ¶
func NewPostV1WebhooksIDKeysParams() *PostV1WebhooksIDKeysParams
NewPostV1WebhooksIDKeysParams creates a new PostV1WebhooksIDKeysParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostV1WebhooksIDKeysParamsWithContext ¶
func NewPostV1WebhooksIDKeysParamsWithContext(ctx context.Context) *PostV1WebhooksIDKeysParams
NewPostV1WebhooksIDKeysParamsWithContext creates a new PostV1WebhooksIDKeysParams object with the ability to set a context for a request.
func NewPostV1WebhooksIDKeysParamsWithHTTPClient ¶
func NewPostV1WebhooksIDKeysParamsWithHTTPClient(client *http.Client) *PostV1WebhooksIDKeysParams
NewPostV1WebhooksIDKeysParamsWithHTTPClient creates a new PostV1WebhooksIDKeysParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1WebhooksIDKeysParamsWithTimeout ¶
func NewPostV1WebhooksIDKeysParamsWithTimeout(timeout time.Duration) *PostV1WebhooksIDKeysParams
NewPostV1WebhooksIDKeysParamsWithTimeout creates a new PostV1WebhooksIDKeysParams object with the ability to set a timeout on a request.
func (*PostV1WebhooksIDKeysParams) SetContext ¶
func (o *PostV1WebhooksIDKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 webhooks ID keys params
func (*PostV1WebhooksIDKeysParams) SetDefaults ¶
func (o *PostV1WebhooksIDKeysParams) SetDefaults()
SetDefaults hydrates default values in the post v1 webhooks ID keys params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1WebhooksIDKeysParams) SetHTTPClient ¶
func (o *PostV1WebhooksIDKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 webhooks ID keys params
func (*PostV1WebhooksIDKeysParams) SetID ¶
func (o *PostV1WebhooksIDKeysParams) SetID(id string)
SetID adds the id to the post v1 webhooks ID keys params
func (*PostV1WebhooksIDKeysParams) SetTimeout ¶
func (o *PostV1WebhooksIDKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 webhooks ID keys params
func (*PostV1WebhooksIDKeysParams) WithContext ¶
func (o *PostV1WebhooksIDKeysParams) WithContext(ctx context.Context) *PostV1WebhooksIDKeysParams
WithContext adds the context to the post v1 webhooks ID keys params
func (*PostV1WebhooksIDKeysParams) WithDefaults ¶
func (o *PostV1WebhooksIDKeysParams) WithDefaults() *PostV1WebhooksIDKeysParams
WithDefaults hydrates default values in the post v1 webhooks ID keys params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1WebhooksIDKeysParams) WithHTTPClient ¶
func (o *PostV1WebhooksIDKeysParams) WithHTTPClient(client *http.Client) *PostV1WebhooksIDKeysParams
WithHTTPClient adds the HTTPClient to the post v1 webhooks ID keys params
func (*PostV1WebhooksIDKeysParams) WithID ¶
func (o *PostV1WebhooksIDKeysParams) WithID(id string) *PostV1WebhooksIDKeysParams
WithID adds the id to the post v1 webhooks ID keys params
func (*PostV1WebhooksIDKeysParams) WithTimeout ¶
func (o *PostV1WebhooksIDKeysParams) WithTimeout(timeout time.Duration) *PostV1WebhooksIDKeysParams
WithTimeout adds the timeout to the post v1 webhooks ID keys params
func (*PostV1WebhooksIDKeysParams) WriteToRequest ¶
func (o *PostV1WebhooksIDKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1WebhooksIDKeysPreconditionFailed ¶
type PostV1WebhooksIDKeysPreconditionFailed struct {
Payload *models.ErrorResponse
}
PostV1WebhooksIDKeysPreconditionFailed describes a response with status code 412, with default header values.
ErrorResponse with code `too_many_keys`
func NewPostV1WebhooksIDKeysPreconditionFailed ¶
func NewPostV1WebhooksIDKeysPreconditionFailed() *PostV1WebhooksIDKeysPreconditionFailed
NewPostV1WebhooksIDKeysPreconditionFailed creates a PostV1WebhooksIDKeysPreconditionFailed with default headers values
func (*PostV1WebhooksIDKeysPreconditionFailed) Code ¶
func (o *PostV1WebhooksIDKeysPreconditionFailed) Code() int
Code gets the status code for the post v1 webhooks Id keys precondition failed response
func (*PostV1WebhooksIDKeysPreconditionFailed) Error ¶
func (o *PostV1WebhooksIDKeysPreconditionFailed) Error() string
func (*PostV1WebhooksIDKeysPreconditionFailed) GetPayload ¶
func (o *PostV1WebhooksIDKeysPreconditionFailed) GetPayload() *models.ErrorResponse
func (*PostV1WebhooksIDKeysPreconditionFailed) IsClientError ¶
func (o *PostV1WebhooksIDKeysPreconditionFailed) IsClientError() bool
IsClientError returns true when this post v1 webhooks Id keys precondition failed response has a 4xx status code
func (*PostV1WebhooksIDKeysPreconditionFailed) IsCode ¶
func (o *PostV1WebhooksIDKeysPreconditionFailed) IsCode(code int) bool
IsCode returns true when this post v1 webhooks Id keys precondition failed response a status code equal to that given
func (*PostV1WebhooksIDKeysPreconditionFailed) IsRedirect ¶
func (o *PostV1WebhooksIDKeysPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this post v1 webhooks Id keys precondition failed response has a 3xx status code
func (*PostV1WebhooksIDKeysPreconditionFailed) IsServerError ¶
func (o *PostV1WebhooksIDKeysPreconditionFailed) IsServerError() bool
IsServerError returns true when this post v1 webhooks Id keys precondition failed response has a 5xx status code
func (*PostV1WebhooksIDKeysPreconditionFailed) IsSuccess ¶
func (o *PostV1WebhooksIDKeysPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this post v1 webhooks Id keys precondition failed response has a 2xx status code
func (*PostV1WebhooksIDKeysPreconditionFailed) String ¶
func (o *PostV1WebhooksIDKeysPreconditionFailed) String() string
type PostV1WebhooksIDKeysReader ¶
type PostV1WebhooksIDKeysReader struct {
// contains filtered or unexported fields
}
PostV1WebhooksIDKeysReader is a Reader for the PostV1WebhooksIDKeys structure.
func (*PostV1WebhooksIDKeysReader) ReadResponse ¶
func (o *PostV1WebhooksIDKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1WebhooksParams ¶
type PostV1WebhooksParams struct { /* Webhook. CreateWebhookRequest */ Webhook *models.CreateWebhookRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1WebhooksParams contains all the parameters to send to the API endpoint
for the post v1 webhooks operation. Typically these are written to a http.Request.
func NewPostV1WebhooksParams ¶
func NewPostV1WebhooksParams() *PostV1WebhooksParams
NewPostV1WebhooksParams creates a new PostV1WebhooksParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostV1WebhooksParamsWithContext ¶
func NewPostV1WebhooksParamsWithContext(ctx context.Context) *PostV1WebhooksParams
NewPostV1WebhooksParamsWithContext creates a new PostV1WebhooksParams object with the ability to set a context for a request.
func NewPostV1WebhooksParamsWithHTTPClient ¶
func NewPostV1WebhooksParamsWithHTTPClient(client *http.Client) *PostV1WebhooksParams
NewPostV1WebhooksParamsWithHTTPClient creates a new PostV1WebhooksParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1WebhooksParamsWithTimeout ¶
func NewPostV1WebhooksParamsWithTimeout(timeout time.Duration) *PostV1WebhooksParams
NewPostV1WebhooksParamsWithTimeout creates a new PostV1WebhooksParams object with the ability to set a timeout on a request.
func (*PostV1WebhooksParams) SetContext ¶
func (o *PostV1WebhooksParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 webhooks params
func (*PostV1WebhooksParams) SetDefaults ¶
func (o *PostV1WebhooksParams) SetDefaults()
SetDefaults hydrates default values in the post v1 webhooks params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1WebhooksParams) SetHTTPClient ¶
func (o *PostV1WebhooksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 webhooks params
func (*PostV1WebhooksParams) SetTimeout ¶
func (o *PostV1WebhooksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 webhooks params
func (*PostV1WebhooksParams) SetWebhook ¶
func (o *PostV1WebhooksParams) SetWebhook(webhook *models.CreateWebhookRequest)
SetWebhook adds the webhook to the post v1 webhooks params
func (*PostV1WebhooksParams) WithContext ¶
func (o *PostV1WebhooksParams) WithContext(ctx context.Context) *PostV1WebhooksParams
WithContext adds the context to the post v1 webhooks params
func (*PostV1WebhooksParams) WithDefaults ¶
func (o *PostV1WebhooksParams) WithDefaults() *PostV1WebhooksParams
WithDefaults hydrates default values in the post v1 webhooks params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1WebhooksParams) WithHTTPClient ¶
func (o *PostV1WebhooksParams) WithHTTPClient(client *http.Client) *PostV1WebhooksParams
WithHTTPClient adds the HTTPClient to the post v1 webhooks params
func (*PostV1WebhooksParams) WithTimeout ¶
func (o *PostV1WebhooksParams) WithTimeout(timeout time.Duration) *PostV1WebhooksParams
WithTimeout adds the timeout to the post v1 webhooks params
func (*PostV1WebhooksParams) WithWebhook ¶
func (o *PostV1WebhooksParams) WithWebhook(webhook *models.CreateWebhookRequest) *PostV1WebhooksParams
WithWebhook adds the webhook to the post v1 webhooks params
func (*PostV1WebhooksParams) WriteToRequest ¶
func (o *PostV1WebhooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1WebhooksReader ¶
type PostV1WebhooksReader struct {
// contains filtered or unexported fields
}
PostV1WebhooksReader is a Reader for the PostV1Webhooks structure.
func (*PostV1WebhooksReader) ReadResponse ¶
func (o *PostV1WebhooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostYourChosenPathBody ¶
type PostYourChosenPathBody struct { models.WebhookPayload // entity Entity interface{} `json:"entity,omitempty"` }
PostYourChosenPathBody post your chosen path body swagger:model PostYourChosenPathBody
func (*PostYourChosenPathBody) ContextValidate ¶
func (o *PostYourChosenPathBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post your chosen path body based on the context it is used
func (*PostYourChosenPathBody) MarshalBinary ¶
func (o *PostYourChosenPathBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (PostYourChosenPathBody) MarshalJSON ¶
func (o PostYourChosenPathBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*PostYourChosenPathBody) UnmarshalBinary ¶
func (o *PostYourChosenPathBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PostYourChosenPathBody) UnmarshalJSON ¶
func (o *PostYourChosenPathBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type PostYourChosenPathOK ¶
type PostYourChosenPathOK struct { }
PostYourChosenPathOK describes a response with status code 200, with default header values.
OK
func NewPostYourChosenPathOK ¶
func NewPostYourChosenPathOK() *PostYourChosenPathOK
NewPostYourChosenPathOK creates a PostYourChosenPathOK with default headers values
func (*PostYourChosenPathOK) Code ¶
func (o *PostYourChosenPathOK) Code() int
Code gets the status code for the post your chosen path o k response
func (*PostYourChosenPathOK) Error ¶
func (o *PostYourChosenPathOK) Error() string
func (*PostYourChosenPathOK) IsClientError ¶
func (o *PostYourChosenPathOK) IsClientError() bool
IsClientError returns true when this post your chosen path o k response has a 4xx status code
func (*PostYourChosenPathOK) IsCode ¶
func (o *PostYourChosenPathOK) IsCode(code int) bool
IsCode returns true when this post your chosen path o k response a status code equal to that given
func (*PostYourChosenPathOK) IsRedirect ¶
func (o *PostYourChosenPathOK) IsRedirect() bool
IsRedirect returns true when this post your chosen path o k response has a 3xx status code
func (*PostYourChosenPathOK) IsServerError ¶
func (o *PostYourChosenPathOK) IsServerError() bool
IsServerError returns true when this post your chosen path o k response has a 5xx status code
func (*PostYourChosenPathOK) IsSuccess ¶
func (o *PostYourChosenPathOK) IsSuccess() bool
IsSuccess returns true when this post your chosen path o k response has a 2xx status code
func (*PostYourChosenPathOK) String ¶
func (o *PostYourChosenPathOK) String() string
type PostYourChosenPathParams ¶
type PostYourChosenPathParams struct { /* WebhookPayload. The webhook payload */ WebhookPayload PostYourChosenPathBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostYourChosenPathParams contains all the parameters to send to the API endpoint
for the post your chosen path operation. Typically these are written to a http.Request.
func NewPostYourChosenPathParams ¶
func NewPostYourChosenPathParams() *PostYourChosenPathParams
NewPostYourChosenPathParams creates a new PostYourChosenPathParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostYourChosenPathParamsWithContext ¶
func NewPostYourChosenPathParamsWithContext(ctx context.Context) *PostYourChosenPathParams
NewPostYourChosenPathParamsWithContext creates a new PostYourChosenPathParams object with the ability to set a context for a request.
func NewPostYourChosenPathParamsWithHTTPClient ¶
func NewPostYourChosenPathParamsWithHTTPClient(client *http.Client) *PostYourChosenPathParams
NewPostYourChosenPathParamsWithHTTPClient creates a new PostYourChosenPathParams object with the ability to set a custom HTTPClient for a request.
func NewPostYourChosenPathParamsWithTimeout ¶
func NewPostYourChosenPathParamsWithTimeout(timeout time.Duration) *PostYourChosenPathParams
NewPostYourChosenPathParamsWithTimeout creates a new PostYourChosenPathParams object with the ability to set a timeout on a request.
func (*PostYourChosenPathParams) SetContext ¶
func (o *PostYourChosenPathParams) SetContext(ctx context.Context)
SetContext adds the context to the post your chosen path params
func (*PostYourChosenPathParams) SetDefaults ¶
func (o *PostYourChosenPathParams) SetDefaults()
SetDefaults hydrates default values in the post your chosen path params (not the query body).
All values with no default are reset to their zero value.
func (*PostYourChosenPathParams) SetHTTPClient ¶
func (o *PostYourChosenPathParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post your chosen path params
func (*PostYourChosenPathParams) SetTimeout ¶
func (o *PostYourChosenPathParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post your chosen path params
func (*PostYourChosenPathParams) SetWebhookPayload ¶
func (o *PostYourChosenPathParams) SetWebhookPayload(webhookPayload PostYourChosenPathBody)
SetWebhookPayload adds the webhookPayload to the post your chosen path params
func (*PostYourChosenPathParams) WithContext ¶
func (o *PostYourChosenPathParams) WithContext(ctx context.Context) *PostYourChosenPathParams
WithContext adds the context to the post your chosen path params
func (*PostYourChosenPathParams) WithDefaults ¶
func (o *PostYourChosenPathParams) WithDefaults() *PostYourChosenPathParams
WithDefaults hydrates default values in the post your chosen path params (not the query body).
All values with no default are reset to their zero value.
func (*PostYourChosenPathParams) WithHTTPClient ¶
func (o *PostYourChosenPathParams) WithHTTPClient(client *http.Client) *PostYourChosenPathParams
WithHTTPClient adds the HTTPClient to the post your chosen path params
func (*PostYourChosenPathParams) WithTimeout ¶
func (o *PostYourChosenPathParams) WithTimeout(timeout time.Duration) *PostYourChosenPathParams
WithTimeout adds the timeout to the post your chosen path params
func (*PostYourChosenPathParams) WithWebhookPayload ¶
func (o *PostYourChosenPathParams) WithWebhookPayload(webhookPayload PostYourChosenPathBody) *PostYourChosenPathParams
WithWebhookPayload adds the webhookPayload to the post your chosen path params
func (*PostYourChosenPathParams) WriteToRequest ¶
func (o *PostYourChosenPathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostYourChosenPathReader ¶
type PostYourChosenPathReader struct {
// contains filtered or unexported fields
}
PostYourChosenPathReader is a Reader for the PostYourChosenPath structure.
func (*PostYourChosenPathReader) ReadResponse ¶
func (o *PostYourChosenPathReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutV1WebhooksIDNotFound ¶
type PutV1WebhooksIDNotFound struct {
Payload string
}
PutV1WebhooksIDNotFound describes a response with status code 404, with default header values.
The identified webhook doesn't exist
func NewPutV1WebhooksIDNotFound ¶
func NewPutV1WebhooksIDNotFound() *PutV1WebhooksIDNotFound
NewPutV1WebhooksIDNotFound creates a PutV1WebhooksIDNotFound with default headers values
func (*PutV1WebhooksIDNotFound) Code ¶
func (o *PutV1WebhooksIDNotFound) Code() int
Code gets the status code for the put v1 webhooks Id not found response
func (*PutV1WebhooksIDNotFound) Error ¶
func (o *PutV1WebhooksIDNotFound) Error() string
func (*PutV1WebhooksIDNotFound) GetPayload ¶
func (o *PutV1WebhooksIDNotFound) GetPayload() string
func (*PutV1WebhooksIDNotFound) IsClientError ¶
func (o *PutV1WebhooksIDNotFound) IsClientError() bool
IsClientError returns true when this put v1 webhooks Id not found response has a 4xx status code
func (*PutV1WebhooksIDNotFound) IsCode ¶
func (o *PutV1WebhooksIDNotFound) IsCode(code int) bool
IsCode returns true when this put v1 webhooks Id not found response a status code equal to that given
func (*PutV1WebhooksIDNotFound) IsRedirect ¶
func (o *PutV1WebhooksIDNotFound) IsRedirect() bool
IsRedirect returns true when this put v1 webhooks Id not found response has a 3xx status code
func (*PutV1WebhooksIDNotFound) IsServerError ¶
func (o *PutV1WebhooksIDNotFound) IsServerError() bool
IsServerError returns true when this put v1 webhooks Id not found response has a 5xx status code
func (*PutV1WebhooksIDNotFound) IsSuccess ¶
func (o *PutV1WebhooksIDNotFound) IsSuccess() bool
IsSuccess returns true when this put v1 webhooks Id not found response has a 2xx status code
func (*PutV1WebhooksIDNotFound) String ¶
func (o *PutV1WebhooksIDNotFound) String() string
type PutV1WebhooksIDOK ¶
PutV1WebhooksIDOK describes a response with status code 200, with default header values.
The updated webhook
func NewPutV1WebhooksIDOK ¶
func NewPutV1WebhooksIDOK() *PutV1WebhooksIDOK
NewPutV1WebhooksIDOK creates a PutV1WebhooksIDOK with default headers values
func (*PutV1WebhooksIDOK) Code ¶
func (o *PutV1WebhooksIDOK) Code() int
Code gets the status code for the put v1 webhooks Id o k response
func (*PutV1WebhooksIDOK) Error ¶
func (o *PutV1WebhooksIDOK) Error() string
func (*PutV1WebhooksIDOK) GetPayload ¶
func (o *PutV1WebhooksIDOK) GetPayload() *models.Webhook
func (*PutV1WebhooksIDOK) IsClientError ¶
func (o *PutV1WebhooksIDOK) IsClientError() bool
IsClientError returns true when this put v1 webhooks Id o k response has a 4xx status code
func (*PutV1WebhooksIDOK) IsCode ¶
func (o *PutV1WebhooksIDOK) IsCode(code int) bool
IsCode returns true when this put v1 webhooks Id o k response a status code equal to that given
func (*PutV1WebhooksIDOK) IsRedirect ¶
func (o *PutV1WebhooksIDOK) IsRedirect() bool
IsRedirect returns true when this put v1 webhooks Id o k response has a 3xx status code
func (*PutV1WebhooksIDOK) IsServerError ¶
func (o *PutV1WebhooksIDOK) IsServerError() bool
IsServerError returns true when this put v1 webhooks Id o k response has a 5xx status code
func (*PutV1WebhooksIDOK) IsSuccess ¶
func (o *PutV1WebhooksIDOK) IsSuccess() bool
IsSuccess returns true when this put v1 webhooks Id o k response has a 2xx status code
func (*PutV1WebhooksIDOK) String ¶
func (o *PutV1WebhooksIDOK) String() string
type PutV1WebhooksIDParams ¶
type PutV1WebhooksIDParams struct { /* Webhook. Webhook */ Webhook *models.UpdateWebhookRequest /* ID. Webhook ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutV1WebhooksIDParams contains all the parameters to send to the API endpoint
for the put v1 webhooks ID operation. Typically these are written to a http.Request.
func NewPutV1WebhooksIDParams ¶
func NewPutV1WebhooksIDParams() *PutV1WebhooksIDParams
NewPutV1WebhooksIDParams creates a new PutV1WebhooksIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutV1WebhooksIDParamsWithContext ¶
func NewPutV1WebhooksIDParamsWithContext(ctx context.Context) *PutV1WebhooksIDParams
NewPutV1WebhooksIDParamsWithContext creates a new PutV1WebhooksIDParams object with the ability to set a context for a request.
func NewPutV1WebhooksIDParamsWithHTTPClient ¶
func NewPutV1WebhooksIDParamsWithHTTPClient(client *http.Client) *PutV1WebhooksIDParams
NewPutV1WebhooksIDParamsWithHTTPClient creates a new PutV1WebhooksIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutV1WebhooksIDParamsWithTimeout ¶
func NewPutV1WebhooksIDParamsWithTimeout(timeout time.Duration) *PutV1WebhooksIDParams
NewPutV1WebhooksIDParamsWithTimeout creates a new PutV1WebhooksIDParams object with the ability to set a timeout on a request.
func (*PutV1WebhooksIDParams) SetContext ¶
func (o *PutV1WebhooksIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) SetDefaults ¶
func (o *PutV1WebhooksIDParams) SetDefaults()
SetDefaults hydrates default values in the put v1 webhooks ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutV1WebhooksIDParams) SetHTTPClient ¶
func (o *PutV1WebhooksIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) SetID ¶
func (o *PutV1WebhooksIDParams) SetID(id string)
SetID adds the id to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) SetTimeout ¶
func (o *PutV1WebhooksIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) SetWebhook ¶
func (o *PutV1WebhooksIDParams) SetWebhook(webhook *models.UpdateWebhookRequest)
SetWebhook adds the webhook to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) WithContext ¶
func (o *PutV1WebhooksIDParams) WithContext(ctx context.Context) *PutV1WebhooksIDParams
WithContext adds the context to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) WithDefaults ¶
func (o *PutV1WebhooksIDParams) WithDefaults() *PutV1WebhooksIDParams
WithDefaults hydrates default values in the put v1 webhooks ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutV1WebhooksIDParams) WithHTTPClient ¶
func (o *PutV1WebhooksIDParams) WithHTTPClient(client *http.Client) *PutV1WebhooksIDParams
WithHTTPClient adds the HTTPClient to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) WithID ¶
func (o *PutV1WebhooksIDParams) WithID(id string) *PutV1WebhooksIDParams
WithID adds the id to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) WithTimeout ¶
func (o *PutV1WebhooksIDParams) WithTimeout(timeout time.Duration) *PutV1WebhooksIDParams
WithTimeout adds the timeout to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) WithWebhook ¶
func (o *PutV1WebhooksIDParams) WithWebhook(webhook *models.UpdateWebhookRequest) *PutV1WebhooksIDParams
WithWebhook adds the webhook to the put v1 webhooks ID params
func (*PutV1WebhooksIDParams) WriteToRequest ¶
func (o *PutV1WebhooksIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutV1WebhooksIDReader ¶
type PutV1WebhooksIDReader struct {
// contains filtered or unexported fields
}
PutV1WebhooksIDReader is a Reader for the PutV1WebhooksID structure.
func (*PutV1WebhooksIDReader) ReadResponse ¶
func (o *PutV1WebhooksIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_v1_webhooks_id_keys_key_id_parameters.go
- delete_v1_webhooks_id_keys_key_id_responses.go
- delete_v1_webhooks_id_parameters.go
- delete_v1_webhooks_id_responses.go
- get_v1_webhooks_id_parameters.go
- get_v1_webhooks_id_responses.go
- get_v1_webhooks_parameters.go
- get_v1_webhooks_responses.go
- post_v1_webhooks_id_keys_parameters.go
- post_v1_webhooks_id_keys_responses.go
- post_v1_webhooks_parameters.go
- post_v1_webhooks_responses.go
- post_your_chosen_path_parameters.go
- post_your_chosen_path_responses.go
- put_v1_webhooks_id_parameters.go
- put_v1_webhooks_id_responses.go
- webhooks_client.go