Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) CreateWebhookPolicyOfProject(ctx context.Context, params *CreateWebhookPolicyOfProjectParams) (*CreateWebhookPolicyOfProjectCreated, error)
- func (a *Client) DeleteWebhookPolicyOfProject(ctx context.Context, params *DeleteWebhookPolicyOfProjectParams) (*DeleteWebhookPolicyOfProjectOK, error)
- func (a *Client) GetLogsOfWebhookTask(ctx context.Context, params *GetLogsOfWebhookTaskParams) (*GetLogsOfWebhookTaskOK, error)
- func (a *Client) GetSupportedEventTypes(ctx context.Context, params *GetSupportedEventTypesParams) (*GetSupportedEventTypesOK, error)
- func (a *Client) GetWebhookPolicyOfProject(ctx context.Context, params *GetWebhookPolicyOfProjectParams) (*GetWebhookPolicyOfProjectOK, error)
- func (a *Client) LastTrigger(ctx context.Context, params *LastTriggerParams) (*LastTriggerOK, error)
- func (a *Client) ListExecutionsOfWebhookPolicy(ctx context.Context, params *ListExecutionsOfWebhookPolicyParams) (*ListExecutionsOfWebhookPolicyOK, error)
- func (a *Client) ListTasksOfWebhookExecution(ctx context.Context, params *ListTasksOfWebhookExecutionParams) (*ListTasksOfWebhookExecutionOK, error)
- func (a *Client) ListWebhookPoliciesOfProject(ctx context.Context, params *ListWebhookPoliciesOfProjectParams) (*ListWebhookPoliciesOfProjectOK, error)
- func (a *Client) UpdateWebhookPolicyOfProject(ctx context.Context, params *UpdateWebhookPolicyOfProjectParams) (*UpdateWebhookPolicyOfProjectOK, error)
- type CreateWebhookPolicyOfProjectBadRequest
- func (o *CreateWebhookPolicyOfProjectBadRequest) Error() string
- func (o *CreateWebhookPolicyOfProjectBadRequest) GetPayload() *models.Errors
- func (o *CreateWebhookPolicyOfProjectBadRequest) IsClientError() bool
- func (o *CreateWebhookPolicyOfProjectBadRequest) IsCode(code int) bool
- func (o *CreateWebhookPolicyOfProjectBadRequest) IsRedirect() bool
- func (o *CreateWebhookPolicyOfProjectBadRequest) IsServerError() bool
- func (o *CreateWebhookPolicyOfProjectBadRequest) IsSuccess() bool
- func (o *CreateWebhookPolicyOfProjectBadRequest) String() string
- type CreateWebhookPolicyOfProjectCreated
- func (o *CreateWebhookPolicyOfProjectCreated) Error() string
- func (o *CreateWebhookPolicyOfProjectCreated) IsClientError() bool
- func (o *CreateWebhookPolicyOfProjectCreated) IsCode(code int) bool
- func (o *CreateWebhookPolicyOfProjectCreated) IsRedirect() bool
- func (o *CreateWebhookPolicyOfProjectCreated) IsServerError() bool
- func (o *CreateWebhookPolicyOfProjectCreated) IsSuccess() bool
- func (o *CreateWebhookPolicyOfProjectCreated) String() string
- type CreateWebhookPolicyOfProjectForbidden
- func (o *CreateWebhookPolicyOfProjectForbidden) Error() string
- func (o *CreateWebhookPolicyOfProjectForbidden) GetPayload() *models.Errors
- func (o *CreateWebhookPolicyOfProjectForbidden) IsClientError() bool
- func (o *CreateWebhookPolicyOfProjectForbidden) IsCode(code int) bool
- func (o *CreateWebhookPolicyOfProjectForbidden) IsRedirect() bool
- func (o *CreateWebhookPolicyOfProjectForbidden) IsServerError() bool
- func (o *CreateWebhookPolicyOfProjectForbidden) IsSuccess() bool
- func (o *CreateWebhookPolicyOfProjectForbidden) String() string
- type CreateWebhookPolicyOfProjectInternalServerError
- func (o *CreateWebhookPolicyOfProjectInternalServerError) Error() string
- func (o *CreateWebhookPolicyOfProjectInternalServerError) GetPayload() *models.Errors
- func (o *CreateWebhookPolicyOfProjectInternalServerError) IsClientError() bool
- func (o *CreateWebhookPolicyOfProjectInternalServerError) IsCode(code int) bool
- func (o *CreateWebhookPolicyOfProjectInternalServerError) IsRedirect() bool
- func (o *CreateWebhookPolicyOfProjectInternalServerError) IsServerError() bool
- func (o *CreateWebhookPolicyOfProjectInternalServerError) IsSuccess() bool
- func (o *CreateWebhookPolicyOfProjectInternalServerError) String() string
- type CreateWebhookPolicyOfProjectParams
- func NewCreateWebhookPolicyOfProjectParams() *CreateWebhookPolicyOfProjectParams
- func NewCreateWebhookPolicyOfProjectParamsWithContext(ctx context.Context) *CreateWebhookPolicyOfProjectParams
- func NewCreateWebhookPolicyOfProjectParamsWithHTTPClient(client *http.Client) *CreateWebhookPolicyOfProjectParams
- func NewCreateWebhookPolicyOfProjectParamsWithTimeout(timeout time.Duration) *CreateWebhookPolicyOfProjectParams
- func (o *CreateWebhookPolicyOfProjectParams) SetContext(ctx context.Context)
- func (o *CreateWebhookPolicyOfProjectParams) SetDefaults()
- func (o *CreateWebhookPolicyOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateWebhookPolicyOfProjectParams) SetPolicy(policy *models.WebhookPolicy)
- func (o *CreateWebhookPolicyOfProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *CreateWebhookPolicyOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateWebhookPolicyOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *CreateWebhookPolicyOfProjectParams) SetXRequestID(xRequestID *string)
- func (o *CreateWebhookPolicyOfProjectParams) WithContext(ctx context.Context) *CreateWebhookPolicyOfProjectParams
- func (o *CreateWebhookPolicyOfProjectParams) WithDefaults() *CreateWebhookPolicyOfProjectParams
- func (o *CreateWebhookPolicyOfProjectParams) WithHTTPClient(client *http.Client) *CreateWebhookPolicyOfProjectParams
- func (o *CreateWebhookPolicyOfProjectParams) WithPolicy(policy *models.WebhookPolicy) *CreateWebhookPolicyOfProjectParams
- func (o *CreateWebhookPolicyOfProjectParams) WithProjectNameOrID(projectNameOrID string) *CreateWebhookPolicyOfProjectParams
- func (o *CreateWebhookPolicyOfProjectParams) WithTimeout(timeout time.Duration) *CreateWebhookPolicyOfProjectParams
- func (o *CreateWebhookPolicyOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *CreateWebhookPolicyOfProjectParams
- func (o *CreateWebhookPolicyOfProjectParams) WithXRequestID(xRequestID *string) *CreateWebhookPolicyOfProjectParams
- func (o *CreateWebhookPolicyOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateWebhookPolicyOfProjectReader
- type CreateWebhookPolicyOfProjectUnauthorized
- func (o *CreateWebhookPolicyOfProjectUnauthorized) Error() string
- func (o *CreateWebhookPolicyOfProjectUnauthorized) GetPayload() *models.Errors
- func (o *CreateWebhookPolicyOfProjectUnauthorized) IsClientError() bool
- func (o *CreateWebhookPolicyOfProjectUnauthorized) IsCode(code int) bool
- func (o *CreateWebhookPolicyOfProjectUnauthorized) IsRedirect() bool
- func (o *CreateWebhookPolicyOfProjectUnauthorized) IsServerError() bool
- func (o *CreateWebhookPolicyOfProjectUnauthorized) IsSuccess() bool
- func (o *CreateWebhookPolicyOfProjectUnauthorized) String() string
- type DeleteWebhookPolicyOfProjectBadRequest
- func (o *DeleteWebhookPolicyOfProjectBadRequest) Error() string
- func (o *DeleteWebhookPolicyOfProjectBadRequest) GetPayload() *models.Errors
- func (o *DeleteWebhookPolicyOfProjectBadRequest) IsClientError() bool
- func (o *DeleteWebhookPolicyOfProjectBadRequest) IsCode(code int) bool
- func (o *DeleteWebhookPolicyOfProjectBadRequest) IsRedirect() bool
- func (o *DeleteWebhookPolicyOfProjectBadRequest) IsServerError() bool
- func (o *DeleteWebhookPolicyOfProjectBadRequest) IsSuccess() bool
- func (o *DeleteWebhookPolicyOfProjectBadRequest) String() string
- type DeleteWebhookPolicyOfProjectForbidden
- func (o *DeleteWebhookPolicyOfProjectForbidden) Error() string
- func (o *DeleteWebhookPolicyOfProjectForbidden) GetPayload() *models.Errors
- func (o *DeleteWebhookPolicyOfProjectForbidden) IsClientError() bool
- func (o *DeleteWebhookPolicyOfProjectForbidden) IsCode(code int) bool
- func (o *DeleteWebhookPolicyOfProjectForbidden) IsRedirect() bool
- func (o *DeleteWebhookPolicyOfProjectForbidden) IsServerError() bool
- func (o *DeleteWebhookPolicyOfProjectForbidden) IsSuccess() bool
- func (o *DeleteWebhookPolicyOfProjectForbidden) String() string
- type DeleteWebhookPolicyOfProjectInternalServerError
- func (o *DeleteWebhookPolicyOfProjectInternalServerError) Error() string
- func (o *DeleteWebhookPolicyOfProjectInternalServerError) GetPayload() *models.Errors
- func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsClientError() bool
- func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsCode(code int) bool
- func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsRedirect() bool
- func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsServerError() bool
- func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsSuccess() bool
- func (o *DeleteWebhookPolicyOfProjectInternalServerError) String() string
- type DeleteWebhookPolicyOfProjectNotFound
- func (o *DeleteWebhookPolicyOfProjectNotFound) Error() string
- func (o *DeleteWebhookPolicyOfProjectNotFound) GetPayload() *models.Errors
- func (o *DeleteWebhookPolicyOfProjectNotFound) IsClientError() bool
- func (o *DeleteWebhookPolicyOfProjectNotFound) IsCode(code int) bool
- func (o *DeleteWebhookPolicyOfProjectNotFound) IsRedirect() bool
- func (o *DeleteWebhookPolicyOfProjectNotFound) IsServerError() bool
- func (o *DeleteWebhookPolicyOfProjectNotFound) IsSuccess() bool
- func (o *DeleteWebhookPolicyOfProjectNotFound) String() string
- type DeleteWebhookPolicyOfProjectOK
- func (o *DeleteWebhookPolicyOfProjectOK) Error() string
- func (o *DeleteWebhookPolicyOfProjectOK) IsClientError() bool
- func (o *DeleteWebhookPolicyOfProjectOK) IsCode(code int) bool
- func (o *DeleteWebhookPolicyOfProjectOK) IsRedirect() bool
- func (o *DeleteWebhookPolicyOfProjectOK) IsServerError() bool
- func (o *DeleteWebhookPolicyOfProjectOK) IsSuccess() bool
- func (o *DeleteWebhookPolicyOfProjectOK) String() string
- type DeleteWebhookPolicyOfProjectParams
- func NewDeleteWebhookPolicyOfProjectParams() *DeleteWebhookPolicyOfProjectParams
- func NewDeleteWebhookPolicyOfProjectParamsWithContext(ctx context.Context) *DeleteWebhookPolicyOfProjectParams
- func NewDeleteWebhookPolicyOfProjectParamsWithHTTPClient(client *http.Client) *DeleteWebhookPolicyOfProjectParams
- func NewDeleteWebhookPolicyOfProjectParamsWithTimeout(timeout time.Duration) *DeleteWebhookPolicyOfProjectParams
- func (o *DeleteWebhookPolicyOfProjectParams) SetContext(ctx context.Context)
- func (o *DeleteWebhookPolicyOfProjectParams) SetDefaults()
- func (o *DeleteWebhookPolicyOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteWebhookPolicyOfProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *DeleteWebhookPolicyOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteWebhookPolicyOfProjectParams) SetWebhookPolicyID(webhookPolicyID int64)
- func (o *DeleteWebhookPolicyOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *DeleteWebhookPolicyOfProjectParams) SetXRequestID(xRequestID *string)
- func (o *DeleteWebhookPolicyOfProjectParams) WithContext(ctx context.Context) *DeleteWebhookPolicyOfProjectParams
- func (o *DeleteWebhookPolicyOfProjectParams) WithDefaults() *DeleteWebhookPolicyOfProjectParams
- func (o *DeleteWebhookPolicyOfProjectParams) WithHTTPClient(client *http.Client) *DeleteWebhookPolicyOfProjectParams
- func (o *DeleteWebhookPolicyOfProjectParams) WithProjectNameOrID(projectNameOrID string) *DeleteWebhookPolicyOfProjectParams
- func (o *DeleteWebhookPolicyOfProjectParams) WithTimeout(timeout time.Duration) *DeleteWebhookPolicyOfProjectParams
- func (o *DeleteWebhookPolicyOfProjectParams) WithWebhookPolicyID(webhookPolicyID int64) *DeleteWebhookPolicyOfProjectParams
- func (o *DeleteWebhookPolicyOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *DeleteWebhookPolicyOfProjectParams
- func (o *DeleteWebhookPolicyOfProjectParams) WithXRequestID(xRequestID *string) *DeleteWebhookPolicyOfProjectParams
- func (o *DeleteWebhookPolicyOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteWebhookPolicyOfProjectReader
- type DeleteWebhookPolicyOfProjectUnauthorized
- func (o *DeleteWebhookPolicyOfProjectUnauthorized) Error() string
- func (o *DeleteWebhookPolicyOfProjectUnauthorized) GetPayload() *models.Errors
- func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsClientError() bool
- func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsCode(code int) bool
- func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsRedirect() bool
- func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsServerError() bool
- func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsSuccess() bool
- func (o *DeleteWebhookPolicyOfProjectUnauthorized) String() string
- type GetLogsOfWebhookTaskBadRequest
- func (o *GetLogsOfWebhookTaskBadRequest) Error() string
- func (o *GetLogsOfWebhookTaskBadRequest) GetPayload() *models.Errors
- func (o *GetLogsOfWebhookTaskBadRequest) IsClientError() bool
- func (o *GetLogsOfWebhookTaskBadRequest) IsCode(code int) bool
- func (o *GetLogsOfWebhookTaskBadRequest) IsRedirect() bool
- func (o *GetLogsOfWebhookTaskBadRequest) IsServerError() bool
- func (o *GetLogsOfWebhookTaskBadRequest) IsSuccess() bool
- func (o *GetLogsOfWebhookTaskBadRequest) String() string
- type GetLogsOfWebhookTaskForbidden
- func (o *GetLogsOfWebhookTaskForbidden) Error() string
- func (o *GetLogsOfWebhookTaskForbidden) GetPayload() *models.Errors
- func (o *GetLogsOfWebhookTaskForbidden) IsClientError() bool
- func (o *GetLogsOfWebhookTaskForbidden) IsCode(code int) bool
- func (o *GetLogsOfWebhookTaskForbidden) IsRedirect() bool
- func (o *GetLogsOfWebhookTaskForbidden) IsServerError() bool
- func (o *GetLogsOfWebhookTaskForbidden) IsSuccess() bool
- func (o *GetLogsOfWebhookTaskForbidden) String() string
- type GetLogsOfWebhookTaskInternalServerError
- func (o *GetLogsOfWebhookTaskInternalServerError) Error() string
- func (o *GetLogsOfWebhookTaskInternalServerError) GetPayload() *models.Errors
- func (o *GetLogsOfWebhookTaskInternalServerError) IsClientError() bool
- func (o *GetLogsOfWebhookTaskInternalServerError) IsCode(code int) bool
- func (o *GetLogsOfWebhookTaskInternalServerError) IsRedirect() bool
- func (o *GetLogsOfWebhookTaskInternalServerError) IsServerError() bool
- func (o *GetLogsOfWebhookTaskInternalServerError) IsSuccess() bool
- func (o *GetLogsOfWebhookTaskInternalServerError) String() string
- type GetLogsOfWebhookTaskNotFound
- func (o *GetLogsOfWebhookTaskNotFound) Error() string
- func (o *GetLogsOfWebhookTaskNotFound) GetPayload() *models.Errors
- func (o *GetLogsOfWebhookTaskNotFound) IsClientError() bool
- func (o *GetLogsOfWebhookTaskNotFound) IsCode(code int) bool
- func (o *GetLogsOfWebhookTaskNotFound) IsRedirect() bool
- func (o *GetLogsOfWebhookTaskNotFound) IsServerError() bool
- func (o *GetLogsOfWebhookTaskNotFound) IsSuccess() bool
- func (o *GetLogsOfWebhookTaskNotFound) String() string
- type GetLogsOfWebhookTaskOK
- func (o *GetLogsOfWebhookTaskOK) Error() string
- func (o *GetLogsOfWebhookTaskOK) GetPayload() string
- func (o *GetLogsOfWebhookTaskOK) IsClientError() bool
- func (o *GetLogsOfWebhookTaskOK) IsCode(code int) bool
- func (o *GetLogsOfWebhookTaskOK) IsRedirect() bool
- func (o *GetLogsOfWebhookTaskOK) IsServerError() bool
- func (o *GetLogsOfWebhookTaskOK) IsSuccess() bool
- func (o *GetLogsOfWebhookTaskOK) String() string
- type GetLogsOfWebhookTaskParams
- func NewGetLogsOfWebhookTaskParams() *GetLogsOfWebhookTaskParams
- func NewGetLogsOfWebhookTaskParamsWithContext(ctx context.Context) *GetLogsOfWebhookTaskParams
- func NewGetLogsOfWebhookTaskParamsWithHTTPClient(client *http.Client) *GetLogsOfWebhookTaskParams
- func NewGetLogsOfWebhookTaskParamsWithTimeout(timeout time.Duration) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) SetContext(ctx context.Context)
- func (o *GetLogsOfWebhookTaskParams) SetDefaults()
- func (o *GetLogsOfWebhookTaskParams) SetExecutionID(executionID int64)
- func (o *GetLogsOfWebhookTaskParams) SetHTTPClient(client *http.Client)
- func (o *GetLogsOfWebhookTaskParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetLogsOfWebhookTaskParams) SetTaskID(taskID int64)
- func (o *GetLogsOfWebhookTaskParams) SetTimeout(timeout time.Duration)
- func (o *GetLogsOfWebhookTaskParams) SetWebhookPolicyID(webhookPolicyID int64)
- func (o *GetLogsOfWebhookTaskParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetLogsOfWebhookTaskParams) SetXRequestID(xRequestID *string)
- func (o *GetLogsOfWebhookTaskParams) WithContext(ctx context.Context) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WithDefaults() *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WithExecutionID(executionID int64) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WithHTTPClient(client *http.Client) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WithProjectNameOrID(projectNameOrID string) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WithTaskID(taskID int64) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WithTimeout(timeout time.Duration) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WithWebhookPolicyID(webhookPolicyID int64) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WithXIsResourceName(xIsResourceName *bool) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WithXRequestID(xRequestID *string) *GetLogsOfWebhookTaskParams
- func (o *GetLogsOfWebhookTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogsOfWebhookTaskReader
- type GetLogsOfWebhookTaskUnauthorized
- func (o *GetLogsOfWebhookTaskUnauthorized) Error() string
- func (o *GetLogsOfWebhookTaskUnauthorized) GetPayload() *models.Errors
- func (o *GetLogsOfWebhookTaskUnauthorized) IsClientError() bool
- func (o *GetLogsOfWebhookTaskUnauthorized) IsCode(code int) bool
- func (o *GetLogsOfWebhookTaskUnauthorized) IsRedirect() bool
- func (o *GetLogsOfWebhookTaskUnauthorized) IsServerError() bool
- func (o *GetLogsOfWebhookTaskUnauthorized) IsSuccess() bool
- func (o *GetLogsOfWebhookTaskUnauthorized) String() string
- type GetSupportedEventTypesForbidden
- func (o *GetSupportedEventTypesForbidden) Error() string
- func (o *GetSupportedEventTypesForbidden) GetPayload() *models.Errors
- func (o *GetSupportedEventTypesForbidden) IsClientError() bool
- func (o *GetSupportedEventTypesForbidden) IsCode(code int) bool
- func (o *GetSupportedEventTypesForbidden) IsRedirect() bool
- func (o *GetSupportedEventTypesForbidden) IsServerError() bool
- func (o *GetSupportedEventTypesForbidden) IsSuccess() bool
- func (o *GetSupportedEventTypesForbidden) String() string
- type GetSupportedEventTypesInternalServerError
- func (o *GetSupportedEventTypesInternalServerError) Error() string
- func (o *GetSupportedEventTypesInternalServerError) GetPayload() *models.Errors
- func (o *GetSupportedEventTypesInternalServerError) IsClientError() bool
- func (o *GetSupportedEventTypesInternalServerError) IsCode(code int) bool
- func (o *GetSupportedEventTypesInternalServerError) IsRedirect() bool
- func (o *GetSupportedEventTypesInternalServerError) IsServerError() bool
- func (o *GetSupportedEventTypesInternalServerError) IsSuccess() bool
- func (o *GetSupportedEventTypesInternalServerError) String() string
- type GetSupportedEventTypesOK
- func (o *GetSupportedEventTypesOK) Error() string
- func (o *GetSupportedEventTypesOK) GetPayload() *models.SupportedWebhookEventTypes
- func (o *GetSupportedEventTypesOK) IsClientError() bool
- func (o *GetSupportedEventTypesOK) IsCode(code int) bool
- func (o *GetSupportedEventTypesOK) IsRedirect() bool
- func (o *GetSupportedEventTypesOK) IsServerError() bool
- func (o *GetSupportedEventTypesOK) IsSuccess() bool
- func (o *GetSupportedEventTypesOK) String() string
- type GetSupportedEventTypesParams
- func NewGetSupportedEventTypesParams() *GetSupportedEventTypesParams
- func NewGetSupportedEventTypesParamsWithContext(ctx context.Context) *GetSupportedEventTypesParams
- func NewGetSupportedEventTypesParamsWithHTTPClient(client *http.Client) *GetSupportedEventTypesParams
- func NewGetSupportedEventTypesParamsWithTimeout(timeout time.Duration) *GetSupportedEventTypesParams
- func (o *GetSupportedEventTypesParams) SetContext(ctx context.Context)
- func (o *GetSupportedEventTypesParams) SetDefaults()
- func (o *GetSupportedEventTypesParams) SetHTTPClient(client *http.Client)
- func (o *GetSupportedEventTypesParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetSupportedEventTypesParams) SetTimeout(timeout time.Duration)
- func (o *GetSupportedEventTypesParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetSupportedEventTypesParams) SetXRequestID(xRequestID *string)
- func (o *GetSupportedEventTypesParams) WithContext(ctx context.Context) *GetSupportedEventTypesParams
- func (o *GetSupportedEventTypesParams) WithDefaults() *GetSupportedEventTypesParams
- func (o *GetSupportedEventTypesParams) WithHTTPClient(client *http.Client) *GetSupportedEventTypesParams
- func (o *GetSupportedEventTypesParams) WithProjectNameOrID(projectNameOrID string) *GetSupportedEventTypesParams
- func (o *GetSupportedEventTypesParams) WithTimeout(timeout time.Duration) *GetSupportedEventTypesParams
- func (o *GetSupportedEventTypesParams) WithXIsResourceName(xIsResourceName *bool) *GetSupportedEventTypesParams
- func (o *GetSupportedEventTypesParams) WithXRequestID(xRequestID *string) *GetSupportedEventTypesParams
- func (o *GetSupportedEventTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSupportedEventTypesReader
- type GetSupportedEventTypesUnauthorized
- func (o *GetSupportedEventTypesUnauthorized) Error() string
- func (o *GetSupportedEventTypesUnauthorized) GetPayload() *models.Errors
- func (o *GetSupportedEventTypesUnauthorized) IsClientError() bool
- func (o *GetSupportedEventTypesUnauthorized) IsCode(code int) bool
- func (o *GetSupportedEventTypesUnauthorized) IsRedirect() bool
- func (o *GetSupportedEventTypesUnauthorized) IsServerError() bool
- func (o *GetSupportedEventTypesUnauthorized) IsSuccess() bool
- func (o *GetSupportedEventTypesUnauthorized) String() string
- type GetWebhookPolicyOfProjectBadRequest
- func (o *GetWebhookPolicyOfProjectBadRequest) Error() string
- func (o *GetWebhookPolicyOfProjectBadRequest) GetPayload() *models.Errors
- func (o *GetWebhookPolicyOfProjectBadRequest) IsClientError() bool
- func (o *GetWebhookPolicyOfProjectBadRequest) IsCode(code int) bool
- func (o *GetWebhookPolicyOfProjectBadRequest) IsRedirect() bool
- func (o *GetWebhookPolicyOfProjectBadRequest) IsServerError() bool
- func (o *GetWebhookPolicyOfProjectBadRequest) IsSuccess() bool
- func (o *GetWebhookPolicyOfProjectBadRequest) String() string
- type GetWebhookPolicyOfProjectForbidden
- func (o *GetWebhookPolicyOfProjectForbidden) Error() string
- func (o *GetWebhookPolicyOfProjectForbidden) GetPayload() *models.Errors
- func (o *GetWebhookPolicyOfProjectForbidden) IsClientError() bool
- func (o *GetWebhookPolicyOfProjectForbidden) IsCode(code int) bool
- func (o *GetWebhookPolicyOfProjectForbidden) IsRedirect() bool
- func (o *GetWebhookPolicyOfProjectForbidden) IsServerError() bool
- func (o *GetWebhookPolicyOfProjectForbidden) IsSuccess() bool
- func (o *GetWebhookPolicyOfProjectForbidden) String() string
- type GetWebhookPolicyOfProjectInternalServerError
- func (o *GetWebhookPolicyOfProjectInternalServerError) Error() string
- func (o *GetWebhookPolicyOfProjectInternalServerError) GetPayload() *models.Errors
- func (o *GetWebhookPolicyOfProjectInternalServerError) IsClientError() bool
- func (o *GetWebhookPolicyOfProjectInternalServerError) IsCode(code int) bool
- func (o *GetWebhookPolicyOfProjectInternalServerError) IsRedirect() bool
- func (o *GetWebhookPolicyOfProjectInternalServerError) IsServerError() bool
- func (o *GetWebhookPolicyOfProjectInternalServerError) IsSuccess() bool
- func (o *GetWebhookPolicyOfProjectInternalServerError) String() string
- type GetWebhookPolicyOfProjectNotFound
- func (o *GetWebhookPolicyOfProjectNotFound) Error() string
- func (o *GetWebhookPolicyOfProjectNotFound) GetPayload() *models.Errors
- func (o *GetWebhookPolicyOfProjectNotFound) IsClientError() bool
- func (o *GetWebhookPolicyOfProjectNotFound) IsCode(code int) bool
- func (o *GetWebhookPolicyOfProjectNotFound) IsRedirect() bool
- func (o *GetWebhookPolicyOfProjectNotFound) IsServerError() bool
- func (o *GetWebhookPolicyOfProjectNotFound) IsSuccess() bool
- func (o *GetWebhookPolicyOfProjectNotFound) String() string
- type GetWebhookPolicyOfProjectOK
- func (o *GetWebhookPolicyOfProjectOK) Error() string
- func (o *GetWebhookPolicyOfProjectOK) GetPayload() *models.WebhookPolicy
- func (o *GetWebhookPolicyOfProjectOK) IsClientError() bool
- func (o *GetWebhookPolicyOfProjectOK) IsCode(code int) bool
- func (o *GetWebhookPolicyOfProjectOK) IsRedirect() bool
- func (o *GetWebhookPolicyOfProjectOK) IsServerError() bool
- func (o *GetWebhookPolicyOfProjectOK) IsSuccess() bool
- func (o *GetWebhookPolicyOfProjectOK) String() string
- type GetWebhookPolicyOfProjectParams
- func NewGetWebhookPolicyOfProjectParams() *GetWebhookPolicyOfProjectParams
- func NewGetWebhookPolicyOfProjectParamsWithContext(ctx context.Context) *GetWebhookPolicyOfProjectParams
- func NewGetWebhookPolicyOfProjectParamsWithHTTPClient(client *http.Client) *GetWebhookPolicyOfProjectParams
- func NewGetWebhookPolicyOfProjectParamsWithTimeout(timeout time.Duration) *GetWebhookPolicyOfProjectParams
- func (o *GetWebhookPolicyOfProjectParams) SetContext(ctx context.Context)
- func (o *GetWebhookPolicyOfProjectParams) SetDefaults()
- func (o *GetWebhookPolicyOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetWebhookPolicyOfProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetWebhookPolicyOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetWebhookPolicyOfProjectParams) SetWebhookPolicyID(webhookPolicyID int64)
- func (o *GetWebhookPolicyOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetWebhookPolicyOfProjectParams) SetXRequestID(xRequestID *string)
- func (o *GetWebhookPolicyOfProjectParams) WithContext(ctx context.Context) *GetWebhookPolicyOfProjectParams
- func (o *GetWebhookPolicyOfProjectParams) WithDefaults() *GetWebhookPolicyOfProjectParams
- func (o *GetWebhookPolicyOfProjectParams) WithHTTPClient(client *http.Client) *GetWebhookPolicyOfProjectParams
- func (o *GetWebhookPolicyOfProjectParams) WithProjectNameOrID(projectNameOrID string) *GetWebhookPolicyOfProjectParams
- func (o *GetWebhookPolicyOfProjectParams) WithTimeout(timeout time.Duration) *GetWebhookPolicyOfProjectParams
- func (o *GetWebhookPolicyOfProjectParams) WithWebhookPolicyID(webhookPolicyID int64) *GetWebhookPolicyOfProjectParams
- func (o *GetWebhookPolicyOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *GetWebhookPolicyOfProjectParams
- func (o *GetWebhookPolicyOfProjectParams) WithXRequestID(xRequestID *string) *GetWebhookPolicyOfProjectParams
- func (o *GetWebhookPolicyOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWebhookPolicyOfProjectReader
- type GetWebhookPolicyOfProjectUnauthorized
- func (o *GetWebhookPolicyOfProjectUnauthorized) Error() string
- func (o *GetWebhookPolicyOfProjectUnauthorized) GetPayload() *models.Errors
- func (o *GetWebhookPolicyOfProjectUnauthorized) IsClientError() bool
- func (o *GetWebhookPolicyOfProjectUnauthorized) IsCode(code int) bool
- func (o *GetWebhookPolicyOfProjectUnauthorized) IsRedirect() bool
- func (o *GetWebhookPolicyOfProjectUnauthorized) IsServerError() bool
- func (o *GetWebhookPolicyOfProjectUnauthorized) IsSuccess() bool
- func (o *GetWebhookPolicyOfProjectUnauthorized) String() string
- type LastTriggerBadRequest
- func (o *LastTriggerBadRequest) Error() string
- func (o *LastTriggerBadRequest) GetPayload() *models.Errors
- func (o *LastTriggerBadRequest) IsClientError() bool
- func (o *LastTriggerBadRequest) IsCode(code int) bool
- func (o *LastTriggerBadRequest) IsRedirect() bool
- func (o *LastTriggerBadRequest) IsServerError() bool
- func (o *LastTriggerBadRequest) IsSuccess() bool
- func (o *LastTriggerBadRequest) String() string
- type LastTriggerForbidden
- func (o *LastTriggerForbidden) Error() string
- func (o *LastTriggerForbidden) GetPayload() *models.Errors
- func (o *LastTriggerForbidden) IsClientError() bool
- func (o *LastTriggerForbidden) IsCode(code int) bool
- func (o *LastTriggerForbidden) IsRedirect() bool
- func (o *LastTriggerForbidden) IsServerError() bool
- func (o *LastTriggerForbidden) IsSuccess() bool
- func (o *LastTriggerForbidden) String() string
- type LastTriggerInternalServerError
- func (o *LastTriggerInternalServerError) Error() string
- func (o *LastTriggerInternalServerError) GetPayload() *models.Errors
- func (o *LastTriggerInternalServerError) IsClientError() bool
- func (o *LastTriggerInternalServerError) IsCode(code int) bool
- func (o *LastTriggerInternalServerError) IsRedirect() bool
- func (o *LastTriggerInternalServerError) IsServerError() bool
- func (o *LastTriggerInternalServerError) IsSuccess() bool
- func (o *LastTriggerInternalServerError) String() string
- type LastTriggerOK
- func (o *LastTriggerOK) Error() string
- func (o *LastTriggerOK) GetPayload() []*models.WebhookLastTrigger
- func (o *LastTriggerOK) IsClientError() bool
- func (o *LastTriggerOK) IsCode(code int) bool
- func (o *LastTriggerOK) IsRedirect() bool
- func (o *LastTriggerOK) IsServerError() bool
- func (o *LastTriggerOK) IsSuccess() bool
- func (o *LastTriggerOK) String() string
- type LastTriggerParams
- func (o *LastTriggerParams) SetContext(ctx context.Context)
- func (o *LastTriggerParams) SetDefaults()
- func (o *LastTriggerParams) SetHTTPClient(client *http.Client)
- func (o *LastTriggerParams) SetProjectNameOrID(projectNameOrID string)
- func (o *LastTriggerParams) SetTimeout(timeout time.Duration)
- func (o *LastTriggerParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *LastTriggerParams) SetXRequestID(xRequestID *string)
- func (o *LastTriggerParams) WithContext(ctx context.Context) *LastTriggerParams
- func (o *LastTriggerParams) WithDefaults() *LastTriggerParams
- func (o *LastTriggerParams) WithHTTPClient(client *http.Client) *LastTriggerParams
- func (o *LastTriggerParams) WithProjectNameOrID(projectNameOrID string) *LastTriggerParams
- func (o *LastTriggerParams) WithTimeout(timeout time.Duration) *LastTriggerParams
- func (o *LastTriggerParams) WithXIsResourceName(xIsResourceName *bool) *LastTriggerParams
- func (o *LastTriggerParams) WithXRequestID(xRequestID *string) *LastTriggerParams
- func (o *LastTriggerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LastTriggerReader
- type LastTriggerUnauthorized
- func (o *LastTriggerUnauthorized) Error() string
- func (o *LastTriggerUnauthorized) GetPayload() *models.Errors
- func (o *LastTriggerUnauthorized) IsClientError() bool
- func (o *LastTriggerUnauthorized) IsCode(code int) bool
- func (o *LastTriggerUnauthorized) IsRedirect() bool
- func (o *LastTriggerUnauthorized) IsServerError() bool
- func (o *LastTriggerUnauthorized) IsSuccess() bool
- func (o *LastTriggerUnauthorized) String() string
- type ListExecutionsOfWebhookPolicyBadRequest
- func (o *ListExecutionsOfWebhookPolicyBadRequest) Error() string
- func (o *ListExecutionsOfWebhookPolicyBadRequest) GetPayload() *models.Errors
- func (o *ListExecutionsOfWebhookPolicyBadRequest) IsClientError() bool
- func (o *ListExecutionsOfWebhookPolicyBadRequest) IsCode(code int) bool
- func (o *ListExecutionsOfWebhookPolicyBadRequest) IsRedirect() bool
- func (o *ListExecutionsOfWebhookPolicyBadRequest) IsServerError() bool
- func (o *ListExecutionsOfWebhookPolicyBadRequest) IsSuccess() bool
- func (o *ListExecutionsOfWebhookPolicyBadRequest) String() string
- type ListExecutionsOfWebhookPolicyForbidden
- func (o *ListExecutionsOfWebhookPolicyForbidden) Error() string
- func (o *ListExecutionsOfWebhookPolicyForbidden) GetPayload() *models.Errors
- func (o *ListExecutionsOfWebhookPolicyForbidden) IsClientError() bool
- func (o *ListExecutionsOfWebhookPolicyForbidden) IsCode(code int) bool
- func (o *ListExecutionsOfWebhookPolicyForbidden) IsRedirect() bool
- func (o *ListExecutionsOfWebhookPolicyForbidden) IsServerError() bool
- func (o *ListExecutionsOfWebhookPolicyForbidden) IsSuccess() bool
- func (o *ListExecutionsOfWebhookPolicyForbidden) String() string
- type ListExecutionsOfWebhookPolicyInternalServerError
- func (o *ListExecutionsOfWebhookPolicyInternalServerError) Error() string
- func (o *ListExecutionsOfWebhookPolicyInternalServerError) GetPayload() *models.Errors
- func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsClientError() bool
- func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsCode(code int) bool
- func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsRedirect() bool
- func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsServerError() bool
- func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsSuccess() bool
- func (o *ListExecutionsOfWebhookPolicyInternalServerError) String() string
- type ListExecutionsOfWebhookPolicyNotFound
- func (o *ListExecutionsOfWebhookPolicyNotFound) Error() string
- func (o *ListExecutionsOfWebhookPolicyNotFound) GetPayload() *models.Errors
- func (o *ListExecutionsOfWebhookPolicyNotFound) IsClientError() bool
- func (o *ListExecutionsOfWebhookPolicyNotFound) IsCode(code int) bool
- func (o *ListExecutionsOfWebhookPolicyNotFound) IsRedirect() bool
- func (o *ListExecutionsOfWebhookPolicyNotFound) IsServerError() bool
- func (o *ListExecutionsOfWebhookPolicyNotFound) IsSuccess() bool
- func (o *ListExecutionsOfWebhookPolicyNotFound) String() string
- type ListExecutionsOfWebhookPolicyOK
- func (o *ListExecutionsOfWebhookPolicyOK) Error() string
- func (o *ListExecutionsOfWebhookPolicyOK) GetPayload() []*models.Execution
- func (o *ListExecutionsOfWebhookPolicyOK) IsClientError() bool
- func (o *ListExecutionsOfWebhookPolicyOK) IsCode(code int) bool
- func (o *ListExecutionsOfWebhookPolicyOK) IsRedirect() bool
- func (o *ListExecutionsOfWebhookPolicyOK) IsServerError() bool
- func (o *ListExecutionsOfWebhookPolicyOK) IsSuccess() bool
- func (o *ListExecutionsOfWebhookPolicyOK) String() string
- type ListExecutionsOfWebhookPolicyParams
- func NewListExecutionsOfWebhookPolicyParams() *ListExecutionsOfWebhookPolicyParams
- func NewListExecutionsOfWebhookPolicyParamsWithContext(ctx context.Context) *ListExecutionsOfWebhookPolicyParams
- func NewListExecutionsOfWebhookPolicyParamsWithHTTPClient(client *http.Client) *ListExecutionsOfWebhookPolicyParams
- func NewListExecutionsOfWebhookPolicyParamsWithTimeout(timeout time.Duration) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) SetContext(ctx context.Context)
- func (o *ListExecutionsOfWebhookPolicyParams) SetDefaults()
- func (o *ListExecutionsOfWebhookPolicyParams) SetHTTPClient(client *http.Client)
- func (o *ListExecutionsOfWebhookPolicyParams) SetPage(page *int64)
- func (o *ListExecutionsOfWebhookPolicyParams) SetPageSize(pageSize *int64)
- func (o *ListExecutionsOfWebhookPolicyParams) SetProjectNameOrID(projectNameOrID string)
- func (o *ListExecutionsOfWebhookPolicyParams) SetQ(q *string)
- func (o *ListExecutionsOfWebhookPolicyParams) SetSort(sort *string)
- func (o *ListExecutionsOfWebhookPolicyParams) SetTimeout(timeout time.Duration)
- func (o *ListExecutionsOfWebhookPolicyParams) SetWebhookPolicyID(webhookPolicyID int64)
- func (o *ListExecutionsOfWebhookPolicyParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *ListExecutionsOfWebhookPolicyParams) SetXRequestID(xRequestID *string)
- func (o *ListExecutionsOfWebhookPolicyParams) WithContext(ctx context.Context) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithDefaults() *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithHTTPClient(client *http.Client) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithPage(page *int64) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithPageSize(pageSize *int64) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithProjectNameOrID(projectNameOrID string) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithQ(q *string) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithSort(sort *string) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithTimeout(timeout time.Duration) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithWebhookPolicyID(webhookPolicyID int64) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithXIsResourceName(xIsResourceName *bool) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WithXRequestID(xRequestID *string) *ListExecutionsOfWebhookPolicyParams
- func (o *ListExecutionsOfWebhookPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListExecutionsOfWebhookPolicyReader
- type ListExecutionsOfWebhookPolicyUnauthorized
- func (o *ListExecutionsOfWebhookPolicyUnauthorized) Error() string
- func (o *ListExecutionsOfWebhookPolicyUnauthorized) GetPayload() *models.Errors
- func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsClientError() bool
- func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsCode(code int) bool
- func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsRedirect() bool
- func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsServerError() bool
- func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsSuccess() bool
- func (o *ListExecutionsOfWebhookPolicyUnauthorized) String() string
- type ListTasksOfWebhookExecutionBadRequest
- func (o *ListTasksOfWebhookExecutionBadRequest) Error() string
- func (o *ListTasksOfWebhookExecutionBadRequest) GetPayload() *models.Errors
- func (o *ListTasksOfWebhookExecutionBadRequest) IsClientError() bool
- func (o *ListTasksOfWebhookExecutionBadRequest) IsCode(code int) bool
- func (o *ListTasksOfWebhookExecutionBadRequest) IsRedirect() bool
- func (o *ListTasksOfWebhookExecutionBadRequest) IsServerError() bool
- func (o *ListTasksOfWebhookExecutionBadRequest) IsSuccess() bool
- func (o *ListTasksOfWebhookExecutionBadRequest) String() string
- type ListTasksOfWebhookExecutionForbidden
- func (o *ListTasksOfWebhookExecutionForbidden) Error() string
- func (o *ListTasksOfWebhookExecutionForbidden) GetPayload() *models.Errors
- func (o *ListTasksOfWebhookExecutionForbidden) IsClientError() bool
- func (o *ListTasksOfWebhookExecutionForbidden) IsCode(code int) bool
- func (o *ListTasksOfWebhookExecutionForbidden) IsRedirect() bool
- func (o *ListTasksOfWebhookExecutionForbidden) IsServerError() bool
- func (o *ListTasksOfWebhookExecutionForbidden) IsSuccess() bool
- func (o *ListTasksOfWebhookExecutionForbidden) String() string
- type ListTasksOfWebhookExecutionInternalServerError
- func (o *ListTasksOfWebhookExecutionInternalServerError) Error() string
- func (o *ListTasksOfWebhookExecutionInternalServerError) GetPayload() *models.Errors
- func (o *ListTasksOfWebhookExecutionInternalServerError) IsClientError() bool
- func (o *ListTasksOfWebhookExecutionInternalServerError) IsCode(code int) bool
- func (o *ListTasksOfWebhookExecutionInternalServerError) IsRedirect() bool
- func (o *ListTasksOfWebhookExecutionInternalServerError) IsServerError() bool
- func (o *ListTasksOfWebhookExecutionInternalServerError) IsSuccess() bool
- func (o *ListTasksOfWebhookExecutionInternalServerError) String() string
- type ListTasksOfWebhookExecutionNotFound
- func (o *ListTasksOfWebhookExecutionNotFound) Error() string
- func (o *ListTasksOfWebhookExecutionNotFound) GetPayload() *models.Errors
- func (o *ListTasksOfWebhookExecutionNotFound) IsClientError() bool
- func (o *ListTasksOfWebhookExecutionNotFound) IsCode(code int) bool
- func (o *ListTasksOfWebhookExecutionNotFound) IsRedirect() bool
- func (o *ListTasksOfWebhookExecutionNotFound) IsServerError() bool
- func (o *ListTasksOfWebhookExecutionNotFound) IsSuccess() bool
- func (o *ListTasksOfWebhookExecutionNotFound) String() string
- type ListTasksOfWebhookExecutionOK
- func (o *ListTasksOfWebhookExecutionOK) Error() string
- func (o *ListTasksOfWebhookExecutionOK) GetPayload() []*models.Task
- func (o *ListTasksOfWebhookExecutionOK) IsClientError() bool
- func (o *ListTasksOfWebhookExecutionOK) IsCode(code int) bool
- func (o *ListTasksOfWebhookExecutionOK) IsRedirect() bool
- func (o *ListTasksOfWebhookExecutionOK) IsServerError() bool
- func (o *ListTasksOfWebhookExecutionOK) IsSuccess() bool
- func (o *ListTasksOfWebhookExecutionOK) String() string
- type ListTasksOfWebhookExecutionParams
- func NewListTasksOfWebhookExecutionParams() *ListTasksOfWebhookExecutionParams
- func NewListTasksOfWebhookExecutionParamsWithContext(ctx context.Context) *ListTasksOfWebhookExecutionParams
- func NewListTasksOfWebhookExecutionParamsWithHTTPClient(client *http.Client) *ListTasksOfWebhookExecutionParams
- func NewListTasksOfWebhookExecutionParamsWithTimeout(timeout time.Duration) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) SetContext(ctx context.Context)
- func (o *ListTasksOfWebhookExecutionParams) SetDefaults()
- func (o *ListTasksOfWebhookExecutionParams) SetExecutionID(executionID int64)
- func (o *ListTasksOfWebhookExecutionParams) SetHTTPClient(client *http.Client)
- func (o *ListTasksOfWebhookExecutionParams) SetPage(page *int64)
- func (o *ListTasksOfWebhookExecutionParams) SetPageSize(pageSize *int64)
- func (o *ListTasksOfWebhookExecutionParams) SetProjectNameOrID(projectNameOrID string)
- func (o *ListTasksOfWebhookExecutionParams) SetQ(q *string)
- func (o *ListTasksOfWebhookExecutionParams) SetSort(sort *string)
- func (o *ListTasksOfWebhookExecutionParams) SetTimeout(timeout time.Duration)
- func (o *ListTasksOfWebhookExecutionParams) SetWebhookPolicyID(webhookPolicyID int64)
- func (o *ListTasksOfWebhookExecutionParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *ListTasksOfWebhookExecutionParams) SetXRequestID(xRequestID *string)
- func (o *ListTasksOfWebhookExecutionParams) WithContext(ctx context.Context) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithDefaults() *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithExecutionID(executionID int64) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithHTTPClient(client *http.Client) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithPage(page *int64) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithPageSize(pageSize *int64) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithProjectNameOrID(projectNameOrID string) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithQ(q *string) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithSort(sort *string) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithTimeout(timeout time.Duration) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithWebhookPolicyID(webhookPolicyID int64) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithXIsResourceName(xIsResourceName *bool) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WithXRequestID(xRequestID *string) *ListTasksOfWebhookExecutionParams
- func (o *ListTasksOfWebhookExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTasksOfWebhookExecutionReader
- type ListTasksOfWebhookExecutionUnauthorized
- func (o *ListTasksOfWebhookExecutionUnauthorized) Error() string
- func (o *ListTasksOfWebhookExecutionUnauthorized) GetPayload() *models.Errors
- func (o *ListTasksOfWebhookExecutionUnauthorized) IsClientError() bool
- func (o *ListTasksOfWebhookExecutionUnauthorized) IsCode(code int) bool
- func (o *ListTasksOfWebhookExecutionUnauthorized) IsRedirect() bool
- func (o *ListTasksOfWebhookExecutionUnauthorized) IsServerError() bool
- func (o *ListTasksOfWebhookExecutionUnauthorized) IsSuccess() bool
- func (o *ListTasksOfWebhookExecutionUnauthorized) String() string
- type ListWebhookPoliciesOfProjectBadRequest
- func (o *ListWebhookPoliciesOfProjectBadRequest) Error() string
- func (o *ListWebhookPoliciesOfProjectBadRequest) GetPayload() *models.Errors
- func (o *ListWebhookPoliciesOfProjectBadRequest) IsClientError() bool
- func (o *ListWebhookPoliciesOfProjectBadRequest) IsCode(code int) bool
- func (o *ListWebhookPoliciesOfProjectBadRequest) IsRedirect() bool
- func (o *ListWebhookPoliciesOfProjectBadRequest) IsServerError() bool
- func (o *ListWebhookPoliciesOfProjectBadRequest) IsSuccess() bool
- func (o *ListWebhookPoliciesOfProjectBadRequest) String() string
- type ListWebhookPoliciesOfProjectForbidden
- func (o *ListWebhookPoliciesOfProjectForbidden) Error() string
- func (o *ListWebhookPoliciesOfProjectForbidden) GetPayload() *models.Errors
- func (o *ListWebhookPoliciesOfProjectForbidden) IsClientError() bool
- func (o *ListWebhookPoliciesOfProjectForbidden) IsCode(code int) bool
- func (o *ListWebhookPoliciesOfProjectForbidden) IsRedirect() bool
- func (o *ListWebhookPoliciesOfProjectForbidden) IsServerError() bool
- func (o *ListWebhookPoliciesOfProjectForbidden) IsSuccess() bool
- func (o *ListWebhookPoliciesOfProjectForbidden) String() string
- type ListWebhookPoliciesOfProjectInternalServerError
- func (o *ListWebhookPoliciesOfProjectInternalServerError) Error() string
- func (o *ListWebhookPoliciesOfProjectInternalServerError) GetPayload() *models.Errors
- func (o *ListWebhookPoliciesOfProjectInternalServerError) IsClientError() bool
- func (o *ListWebhookPoliciesOfProjectInternalServerError) IsCode(code int) bool
- func (o *ListWebhookPoliciesOfProjectInternalServerError) IsRedirect() bool
- func (o *ListWebhookPoliciesOfProjectInternalServerError) IsServerError() bool
- func (o *ListWebhookPoliciesOfProjectInternalServerError) IsSuccess() bool
- func (o *ListWebhookPoliciesOfProjectInternalServerError) String() string
- type ListWebhookPoliciesOfProjectOK
- func (o *ListWebhookPoliciesOfProjectOK) Error() string
- func (o *ListWebhookPoliciesOfProjectOK) GetPayload() []*models.WebhookPolicy
- func (o *ListWebhookPoliciesOfProjectOK) IsClientError() bool
- func (o *ListWebhookPoliciesOfProjectOK) IsCode(code int) bool
- func (o *ListWebhookPoliciesOfProjectOK) IsRedirect() bool
- func (o *ListWebhookPoliciesOfProjectOK) IsServerError() bool
- func (o *ListWebhookPoliciesOfProjectOK) IsSuccess() bool
- func (o *ListWebhookPoliciesOfProjectOK) String() string
- type ListWebhookPoliciesOfProjectParams
- func NewListWebhookPoliciesOfProjectParams() *ListWebhookPoliciesOfProjectParams
- func NewListWebhookPoliciesOfProjectParamsWithContext(ctx context.Context) *ListWebhookPoliciesOfProjectParams
- func NewListWebhookPoliciesOfProjectParamsWithHTTPClient(client *http.Client) *ListWebhookPoliciesOfProjectParams
- func NewListWebhookPoliciesOfProjectParamsWithTimeout(timeout time.Duration) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) SetContext(ctx context.Context)
- func (o *ListWebhookPoliciesOfProjectParams) SetDefaults()
- func (o *ListWebhookPoliciesOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *ListWebhookPoliciesOfProjectParams) SetPage(page *int64)
- func (o *ListWebhookPoliciesOfProjectParams) SetPageSize(pageSize *int64)
- func (o *ListWebhookPoliciesOfProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *ListWebhookPoliciesOfProjectParams) SetQ(q *string)
- func (o *ListWebhookPoliciesOfProjectParams) SetSort(sort *string)
- func (o *ListWebhookPoliciesOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *ListWebhookPoliciesOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *ListWebhookPoliciesOfProjectParams) SetXRequestID(xRequestID *string)
- func (o *ListWebhookPoliciesOfProjectParams) WithContext(ctx context.Context) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithDefaults() *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithHTTPClient(client *http.Client) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithPage(page *int64) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithPageSize(pageSize *int64) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithProjectNameOrID(projectNameOrID string) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithQ(q *string) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithSort(sort *string) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithTimeout(timeout time.Duration) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WithXRequestID(xRequestID *string) *ListWebhookPoliciesOfProjectParams
- func (o *ListWebhookPoliciesOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListWebhookPoliciesOfProjectReader
- type ListWebhookPoliciesOfProjectUnauthorized
- func (o *ListWebhookPoliciesOfProjectUnauthorized) Error() string
- func (o *ListWebhookPoliciesOfProjectUnauthorized) GetPayload() *models.Errors
- func (o *ListWebhookPoliciesOfProjectUnauthorized) IsClientError() bool
- func (o *ListWebhookPoliciesOfProjectUnauthorized) IsCode(code int) bool
- func (o *ListWebhookPoliciesOfProjectUnauthorized) IsRedirect() bool
- func (o *ListWebhookPoliciesOfProjectUnauthorized) IsServerError() bool
- func (o *ListWebhookPoliciesOfProjectUnauthorized) IsSuccess() bool
- func (o *ListWebhookPoliciesOfProjectUnauthorized) String() string
- type UpdateWebhookPolicyOfProjectBadRequest
- func (o *UpdateWebhookPolicyOfProjectBadRequest) Error() string
- func (o *UpdateWebhookPolicyOfProjectBadRequest) GetPayload() *models.Errors
- func (o *UpdateWebhookPolicyOfProjectBadRequest) IsClientError() bool
- func (o *UpdateWebhookPolicyOfProjectBadRequest) IsCode(code int) bool
- func (o *UpdateWebhookPolicyOfProjectBadRequest) IsRedirect() bool
- func (o *UpdateWebhookPolicyOfProjectBadRequest) IsServerError() bool
- func (o *UpdateWebhookPolicyOfProjectBadRequest) IsSuccess() bool
- func (o *UpdateWebhookPolicyOfProjectBadRequest) String() string
- type UpdateWebhookPolicyOfProjectForbidden
- func (o *UpdateWebhookPolicyOfProjectForbidden) Error() string
- func (o *UpdateWebhookPolicyOfProjectForbidden) GetPayload() *models.Errors
- func (o *UpdateWebhookPolicyOfProjectForbidden) IsClientError() bool
- func (o *UpdateWebhookPolicyOfProjectForbidden) IsCode(code int) bool
- func (o *UpdateWebhookPolicyOfProjectForbidden) IsRedirect() bool
- func (o *UpdateWebhookPolicyOfProjectForbidden) IsServerError() bool
- func (o *UpdateWebhookPolicyOfProjectForbidden) IsSuccess() bool
- func (o *UpdateWebhookPolicyOfProjectForbidden) String() string
- type UpdateWebhookPolicyOfProjectInternalServerError
- func (o *UpdateWebhookPolicyOfProjectInternalServerError) Error() string
- func (o *UpdateWebhookPolicyOfProjectInternalServerError) GetPayload() *models.Errors
- func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsClientError() bool
- func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsCode(code int) bool
- func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsRedirect() bool
- func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsServerError() bool
- func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsSuccess() bool
- func (o *UpdateWebhookPolicyOfProjectInternalServerError) String() string
- type UpdateWebhookPolicyOfProjectNotFound
- func (o *UpdateWebhookPolicyOfProjectNotFound) Error() string
- func (o *UpdateWebhookPolicyOfProjectNotFound) GetPayload() *models.Errors
- func (o *UpdateWebhookPolicyOfProjectNotFound) IsClientError() bool
- func (o *UpdateWebhookPolicyOfProjectNotFound) IsCode(code int) bool
- func (o *UpdateWebhookPolicyOfProjectNotFound) IsRedirect() bool
- func (o *UpdateWebhookPolicyOfProjectNotFound) IsServerError() bool
- func (o *UpdateWebhookPolicyOfProjectNotFound) IsSuccess() bool
- func (o *UpdateWebhookPolicyOfProjectNotFound) String() string
- type UpdateWebhookPolicyOfProjectOK
- func (o *UpdateWebhookPolicyOfProjectOK) Error() string
- func (o *UpdateWebhookPolicyOfProjectOK) IsClientError() bool
- func (o *UpdateWebhookPolicyOfProjectOK) IsCode(code int) bool
- func (o *UpdateWebhookPolicyOfProjectOK) IsRedirect() bool
- func (o *UpdateWebhookPolicyOfProjectOK) IsServerError() bool
- func (o *UpdateWebhookPolicyOfProjectOK) IsSuccess() bool
- func (o *UpdateWebhookPolicyOfProjectOK) String() string
- type UpdateWebhookPolicyOfProjectParams
- func NewUpdateWebhookPolicyOfProjectParams() *UpdateWebhookPolicyOfProjectParams
- func NewUpdateWebhookPolicyOfProjectParamsWithContext(ctx context.Context) *UpdateWebhookPolicyOfProjectParams
- func NewUpdateWebhookPolicyOfProjectParamsWithHTTPClient(client *http.Client) *UpdateWebhookPolicyOfProjectParams
- func NewUpdateWebhookPolicyOfProjectParamsWithTimeout(timeout time.Duration) *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) SetContext(ctx context.Context)
- func (o *UpdateWebhookPolicyOfProjectParams) SetDefaults()
- func (o *UpdateWebhookPolicyOfProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateWebhookPolicyOfProjectParams) SetPolicy(policy *models.WebhookPolicy)
- func (o *UpdateWebhookPolicyOfProjectParams) SetProjectNameOrID(projectNameOrID string)
- func (o *UpdateWebhookPolicyOfProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateWebhookPolicyOfProjectParams) SetWebhookPolicyID(webhookPolicyID int64)
- func (o *UpdateWebhookPolicyOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *UpdateWebhookPolicyOfProjectParams) SetXRequestID(xRequestID *string)
- func (o *UpdateWebhookPolicyOfProjectParams) WithContext(ctx context.Context) *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) WithDefaults() *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) WithHTTPClient(client *http.Client) *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) WithPolicy(policy *models.WebhookPolicy) *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) WithProjectNameOrID(projectNameOrID string) *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) WithTimeout(timeout time.Duration) *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) WithWebhookPolicyID(webhookPolicyID int64) *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) WithXRequestID(xRequestID *string) *UpdateWebhookPolicyOfProjectParams
- func (o *UpdateWebhookPolicyOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateWebhookPolicyOfProjectReader
- type UpdateWebhookPolicyOfProjectUnauthorized
- func (o *UpdateWebhookPolicyOfProjectUnauthorized) Error() string
- func (o *UpdateWebhookPolicyOfProjectUnauthorized) GetPayload() *models.Errors
- func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsClientError() bool
- func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsCode(code int) bool
- func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsRedirect() bool
- func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsServerError() bool
- func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsSuccess() bool
- func (o *UpdateWebhookPolicyOfProjectUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* CreateWebhookPolicyOfProject creates project webhook policy This endpoint create a webhook policy if the project does not have one. */ CreateWebhookPolicyOfProject(ctx context.Context, params *CreateWebhookPolicyOfProjectParams) (*CreateWebhookPolicyOfProjectCreated, error) /* DeleteWebhookPolicyOfProject deletes webhook policy of a project This endpoint is aimed to delete webhookpolicy of a project. */ DeleteWebhookPolicyOfProject(ctx context.Context, params *DeleteWebhookPolicyOfProjectParams) (*DeleteWebhookPolicyOfProjectOK, error) /* GetLogsOfWebhookTask gets logs for a specific webhook task This endpoint returns the logs of a specific webhook task. */ GetLogsOfWebhookTask(ctx context.Context, params *GetLogsOfWebhookTaskParams) (*GetLogsOfWebhookTaskOK, error) /* GetSupportedEventTypes gets supported event types and notify types Get supported event types and notify types.*/ GetSupportedEventTypes(ctx context.Context, params *GetSupportedEventTypesParams) (*GetSupportedEventTypesOK, error) /* GetWebhookPolicyOfProject gets project webhook policy This endpoint returns specified webhook policy of a project. */ GetWebhookPolicyOfProject(ctx context.Context, params *GetWebhookPolicyOfProjectParams) (*GetWebhookPolicyOfProjectOK, error) /* LastTrigger gets project webhook policy last trigger info This endpoint returns last trigger information of project webhook policy. */ LastTrigger(ctx context.Context, params *LastTriggerParams) (*LastTriggerOK, error) /* ListExecutionsOfWebhookPolicy lists executions for a specific webhook policy This endpoint returns the executions of a specific webhook policy. */ ListExecutionsOfWebhookPolicy(ctx context.Context, params *ListExecutionsOfWebhookPolicyParams) (*ListExecutionsOfWebhookPolicyOK, error) /* ListTasksOfWebhookExecution lists tasks for a specific webhook execution This endpoint returns the tasks of a specific webhook execution. */ ListTasksOfWebhookExecution(ctx context.Context, params *ListTasksOfWebhookExecutionParams) (*ListTasksOfWebhookExecutionOK, error) /* ListWebhookPoliciesOfProject lists project webhook policies This endpoint returns webhook policies of a project. */ ListWebhookPoliciesOfProject(ctx context.Context, params *ListWebhookPoliciesOfProjectParams) (*ListWebhookPoliciesOfProjectOK, error) /* UpdateWebhookPolicyOfProject updates webhook policy of a project This endpoint is aimed to update the webhook policy of a project. */ UpdateWebhookPolicyOfProject(ctx context.Context, params *UpdateWebhookPolicyOfProjectParams) (*UpdateWebhookPolicyOfProjectOK, error) }
API is the interface of the webhook client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for webhook API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new webhook API client.
func (*Client) CreateWebhookPolicyOfProject ¶
func (a *Client) CreateWebhookPolicyOfProject(ctx context.Context, params *CreateWebhookPolicyOfProjectParams) (*CreateWebhookPolicyOfProjectCreated, error)
CreateWebhookPolicyOfProject creates project webhook policy
This endpoint create a webhook policy if the project does not have one.
func (*Client) DeleteWebhookPolicyOfProject ¶
func (a *Client) DeleteWebhookPolicyOfProject(ctx context.Context, params *DeleteWebhookPolicyOfProjectParams) (*DeleteWebhookPolicyOfProjectOK, error)
DeleteWebhookPolicyOfProject deletes webhook policy of a project
This endpoint is aimed to delete webhookpolicy of a project.
func (*Client) GetLogsOfWebhookTask ¶
func (a *Client) GetLogsOfWebhookTask(ctx context.Context, params *GetLogsOfWebhookTaskParams) (*GetLogsOfWebhookTaskOK, error)
GetLogsOfWebhookTask gets logs for a specific webhook task
This endpoint returns the logs of a specific webhook task.
func (*Client) GetSupportedEventTypes ¶
func (a *Client) GetSupportedEventTypes(ctx context.Context, params *GetSupportedEventTypesParams) (*GetSupportedEventTypesOK, error)
GetSupportedEventTypes gets supported event types and notify types
Get supported event types and notify types.
func (*Client) GetWebhookPolicyOfProject ¶
func (a *Client) GetWebhookPolicyOfProject(ctx context.Context, params *GetWebhookPolicyOfProjectParams) (*GetWebhookPolicyOfProjectOK, error)
GetWebhookPolicyOfProject gets project webhook policy
This endpoint returns specified webhook policy of a project.
func (*Client) LastTrigger ¶
func (a *Client) LastTrigger(ctx context.Context, params *LastTriggerParams) (*LastTriggerOK, error)
LastTrigger gets project webhook policy last trigger info
This endpoint returns last trigger information of project webhook policy.
func (*Client) ListExecutionsOfWebhookPolicy ¶
func (a *Client) ListExecutionsOfWebhookPolicy(ctx context.Context, params *ListExecutionsOfWebhookPolicyParams) (*ListExecutionsOfWebhookPolicyOK, error)
ListExecutionsOfWebhookPolicy lists executions for a specific webhook policy
This endpoint returns the executions of a specific webhook policy.
func (*Client) ListTasksOfWebhookExecution ¶
func (a *Client) ListTasksOfWebhookExecution(ctx context.Context, params *ListTasksOfWebhookExecutionParams) (*ListTasksOfWebhookExecutionOK, error)
ListTasksOfWebhookExecution lists tasks for a specific webhook execution
This endpoint returns the tasks of a specific webhook execution.
func (*Client) ListWebhookPoliciesOfProject ¶
func (a *Client) ListWebhookPoliciesOfProject(ctx context.Context, params *ListWebhookPoliciesOfProjectParams) (*ListWebhookPoliciesOfProjectOK, error)
ListWebhookPoliciesOfProject lists project webhook policies
This endpoint returns webhook policies of a project.
func (*Client) UpdateWebhookPolicyOfProject ¶
func (a *Client) UpdateWebhookPolicyOfProject(ctx context.Context, params *UpdateWebhookPolicyOfProjectParams) (*UpdateWebhookPolicyOfProjectOK, error)
UpdateWebhookPolicyOfProject updates webhook policy of a project
This endpoint is aimed to update the webhook policy of a project.
type CreateWebhookPolicyOfProjectBadRequest ¶
type CreateWebhookPolicyOfProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateWebhookPolicyOfProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateWebhookPolicyOfProjectBadRequest ¶
func NewCreateWebhookPolicyOfProjectBadRequest() *CreateWebhookPolicyOfProjectBadRequest
NewCreateWebhookPolicyOfProjectBadRequest creates a CreateWebhookPolicyOfProjectBadRequest with default headers values
func (*CreateWebhookPolicyOfProjectBadRequest) Error ¶
func (o *CreateWebhookPolicyOfProjectBadRequest) Error() string
func (*CreateWebhookPolicyOfProjectBadRequest) GetPayload ¶
func (o *CreateWebhookPolicyOfProjectBadRequest) GetPayload() *models.Errors
func (*CreateWebhookPolicyOfProjectBadRequest) IsClientError ¶
func (o *CreateWebhookPolicyOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this create webhook policy of project bad request response has a 4xx status code
func (*CreateWebhookPolicyOfProjectBadRequest) IsCode ¶
func (o *CreateWebhookPolicyOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this create webhook policy of project bad request response a status code equal to that given
func (*CreateWebhookPolicyOfProjectBadRequest) IsRedirect ¶
func (o *CreateWebhookPolicyOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this create webhook policy of project bad request response has a 3xx status code
func (*CreateWebhookPolicyOfProjectBadRequest) IsServerError ¶
func (o *CreateWebhookPolicyOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this create webhook policy of project bad request response has a 5xx status code
func (*CreateWebhookPolicyOfProjectBadRequest) IsSuccess ¶
func (o *CreateWebhookPolicyOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this create webhook policy of project bad request response has a 2xx status code
func (*CreateWebhookPolicyOfProjectBadRequest) String ¶
func (o *CreateWebhookPolicyOfProjectBadRequest) String() string
type CreateWebhookPolicyOfProjectCreated ¶
type CreateWebhookPolicyOfProjectCreated struct { /* The location of the resource */ Location string /* The ID of the corresponding request for the response */ XRequestID string }
CreateWebhookPolicyOfProjectCreated describes a response with status code 201, with default header values.
Project webhook policy create successfully.
func NewCreateWebhookPolicyOfProjectCreated ¶
func NewCreateWebhookPolicyOfProjectCreated() *CreateWebhookPolicyOfProjectCreated
NewCreateWebhookPolicyOfProjectCreated creates a CreateWebhookPolicyOfProjectCreated with default headers values
func (*CreateWebhookPolicyOfProjectCreated) Error ¶
func (o *CreateWebhookPolicyOfProjectCreated) Error() string
func (*CreateWebhookPolicyOfProjectCreated) IsClientError ¶
func (o *CreateWebhookPolicyOfProjectCreated) IsClientError() bool
IsClientError returns true when this create webhook policy of project created response has a 4xx status code
func (*CreateWebhookPolicyOfProjectCreated) IsCode ¶
func (o *CreateWebhookPolicyOfProjectCreated) IsCode(code int) bool
IsCode returns true when this create webhook policy of project created response a status code equal to that given
func (*CreateWebhookPolicyOfProjectCreated) IsRedirect ¶
func (o *CreateWebhookPolicyOfProjectCreated) IsRedirect() bool
IsRedirect returns true when this create webhook policy of project created response has a 3xx status code
func (*CreateWebhookPolicyOfProjectCreated) IsServerError ¶
func (o *CreateWebhookPolicyOfProjectCreated) IsServerError() bool
IsServerError returns true when this create webhook policy of project created response has a 5xx status code
func (*CreateWebhookPolicyOfProjectCreated) IsSuccess ¶
func (o *CreateWebhookPolicyOfProjectCreated) IsSuccess() bool
IsSuccess returns true when this create webhook policy of project created response has a 2xx status code
func (*CreateWebhookPolicyOfProjectCreated) String ¶
func (o *CreateWebhookPolicyOfProjectCreated) String() string
type CreateWebhookPolicyOfProjectForbidden ¶
type CreateWebhookPolicyOfProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateWebhookPolicyOfProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateWebhookPolicyOfProjectForbidden ¶
func NewCreateWebhookPolicyOfProjectForbidden() *CreateWebhookPolicyOfProjectForbidden
NewCreateWebhookPolicyOfProjectForbidden creates a CreateWebhookPolicyOfProjectForbidden with default headers values
func (*CreateWebhookPolicyOfProjectForbidden) Error ¶
func (o *CreateWebhookPolicyOfProjectForbidden) Error() string
func (*CreateWebhookPolicyOfProjectForbidden) GetPayload ¶
func (o *CreateWebhookPolicyOfProjectForbidden) GetPayload() *models.Errors
func (*CreateWebhookPolicyOfProjectForbidden) IsClientError ¶
func (o *CreateWebhookPolicyOfProjectForbidden) IsClientError() bool
IsClientError returns true when this create webhook policy of project forbidden response has a 4xx status code
func (*CreateWebhookPolicyOfProjectForbidden) IsCode ¶
func (o *CreateWebhookPolicyOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this create webhook policy of project forbidden response a status code equal to that given
func (*CreateWebhookPolicyOfProjectForbidden) IsRedirect ¶
func (o *CreateWebhookPolicyOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this create webhook policy of project forbidden response has a 3xx status code
func (*CreateWebhookPolicyOfProjectForbidden) IsServerError ¶
func (o *CreateWebhookPolicyOfProjectForbidden) IsServerError() bool
IsServerError returns true when this create webhook policy of project forbidden response has a 5xx status code
func (*CreateWebhookPolicyOfProjectForbidden) IsSuccess ¶
func (o *CreateWebhookPolicyOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this create webhook policy of project forbidden response has a 2xx status code
func (*CreateWebhookPolicyOfProjectForbidden) String ¶
func (o *CreateWebhookPolicyOfProjectForbidden) String() string
type CreateWebhookPolicyOfProjectInternalServerError ¶
type CreateWebhookPolicyOfProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateWebhookPolicyOfProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateWebhookPolicyOfProjectInternalServerError ¶
func NewCreateWebhookPolicyOfProjectInternalServerError() *CreateWebhookPolicyOfProjectInternalServerError
NewCreateWebhookPolicyOfProjectInternalServerError creates a CreateWebhookPolicyOfProjectInternalServerError with default headers values
func (*CreateWebhookPolicyOfProjectInternalServerError) Error ¶
func (o *CreateWebhookPolicyOfProjectInternalServerError) Error() string
func (*CreateWebhookPolicyOfProjectInternalServerError) GetPayload ¶
func (o *CreateWebhookPolicyOfProjectInternalServerError) GetPayload() *models.Errors
func (*CreateWebhookPolicyOfProjectInternalServerError) IsClientError ¶
func (o *CreateWebhookPolicyOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this create webhook policy of project internal server error response has a 4xx status code
func (*CreateWebhookPolicyOfProjectInternalServerError) IsCode ¶
func (o *CreateWebhookPolicyOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this create webhook policy of project internal server error response a status code equal to that given
func (*CreateWebhookPolicyOfProjectInternalServerError) IsRedirect ¶
func (o *CreateWebhookPolicyOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this create webhook policy of project internal server error response has a 3xx status code
func (*CreateWebhookPolicyOfProjectInternalServerError) IsServerError ¶
func (o *CreateWebhookPolicyOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this create webhook policy of project internal server error response has a 5xx status code
func (*CreateWebhookPolicyOfProjectInternalServerError) IsSuccess ¶
func (o *CreateWebhookPolicyOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this create webhook policy of project internal server error response has a 2xx status code
func (*CreateWebhookPolicyOfProjectInternalServerError) String ¶
func (o *CreateWebhookPolicyOfProjectInternalServerError) String() string
type CreateWebhookPolicyOfProjectParams ¶
type CreateWebhookPolicyOfProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* Policy. Properties "targets" and "event_types" needed. */ Policy *models.WebhookPolicy /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateWebhookPolicyOfProjectParams contains all the parameters to send to the API endpoint
for the create webhook policy of project operation. Typically these are written to a http.Request.
func NewCreateWebhookPolicyOfProjectParams ¶
func NewCreateWebhookPolicyOfProjectParams() *CreateWebhookPolicyOfProjectParams
NewCreateWebhookPolicyOfProjectParams creates a new CreateWebhookPolicyOfProjectParams 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 NewCreateWebhookPolicyOfProjectParamsWithContext ¶
func NewCreateWebhookPolicyOfProjectParamsWithContext(ctx context.Context) *CreateWebhookPolicyOfProjectParams
NewCreateWebhookPolicyOfProjectParamsWithContext creates a new CreateWebhookPolicyOfProjectParams object with the ability to set a context for a request.
func NewCreateWebhookPolicyOfProjectParamsWithHTTPClient ¶
func NewCreateWebhookPolicyOfProjectParamsWithHTTPClient(client *http.Client) *CreateWebhookPolicyOfProjectParams
NewCreateWebhookPolicyOfProjectParamsWithHTTPClient creates a new CreateWebhookPolicyOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewCreateWebhookPolicyOfProjectParamsWithTimeout ¶
func NewCreateWebhookPolicyOfProjectParamsWithTimeout(timeout time.Duration) *CreateWebhookPolicyOfProjectParams
NewCreateWebhookPolicyOfProjectParamsWithTimeout creates a new CreateWebhookPolicyOfProjectParams object with the ability to set a timeout on a request.
func (*CreateWebhookPolicyOfProjectParams) SetContext ¶
func (o *CreateWebhookPolicyOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) SetDefaults ¶
func (o *CreateWebhookPolicyOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the create webhook policy of project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateWebhookPolicyOfProjectParams) SetHTTPClient ¶
func (o *CreateWebhookPolicyOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) SetPolicy ¶
func (o *CreateWebhookPolicyOfProjectParams) SetPolicy(policy *models.WebhookPolicy)
SetPolicy adds the policy to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) SetProjectNameOrID ¶
func (o *CreateWebhookPolicyOfProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) SetTimeout ¶
func (o *CreateWebhookPolicyOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) SetXIsResourceName ¶
func (o *CreateWebhookPolicyOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) SetXRequestID ¶
func (o *CreateWebhookPolicyOfProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) WithContext ¶
func (o *CreateWebhookPolicyOfProjectParams) WithContext(ctx context.Context) *CreateWebhookPolicyOfProjectParams
WithContext adds the context to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) WithDefaults ¶
func (o *CreateWebhookPolicyOfProjectParams) WithDefaults() *CreateWebhookPolicyOfProjectParams
WithDefaults hydrates default values in the create webhook policy of project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateWebhookPolicyOfProjectParams) WithHTTPClient ¶
func (o *CreateWebhookPolicyOfProjectParams) WithHTTPClient(client *http.Client) *CreateWebhookPolicyOfProjectParams
WithHTTPClient adds the HTTPClient to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) WithPolicy ¶
func (o *CreateWebhookPolicyOfProjectParams) WithPolicy(policy *models.WebhookPolicy) *CreateWebhookPolicyOfProjectParams
WithPolicy adds the policy to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) WithProjectNameOrID ¶
func (o *CreateWebhookPolicyOfProjectParams) WithProjectNameOrID(projectNameOrID string) *CreateWebhookPolicyOfProjectParams
WithProjectNameOrID adds the projectNameOrID to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) WithTimeout ¶
func (o *CreateWebhookPolicyOfProjectParams) WithTimeout(timeout time.Duration) *CreateWebhookPolicyOfProjectParams
WithTimeout adds the timeout to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) WithXIsResourceName ¶
func (o *CreateWebhookPolicyOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *CreateWebhookPolicyOfProjectParams
WithXIsResourceName adds the xIsResourceName to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) WithXRequestID ¶
func (o *CreateWebhookPolicyOfProjectParams) WithXRequestID(xRequestID *string) *CreateWebhookPolicyOfProjectParams
WithXRequestID adds the xRequestID to the create webhook policy of project params
func (*CreateWebhookPolicyOfProjectParams) WriteToRequest ¶
func (o *CreateWebhookPolicyOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateWebhookPolicyOfProjectReader ¶
type CreateWebhookPolicyOfProjectReader struct {
// contains filtered or unexported fields
}
CreateWebhookPolicyOfProjectReader is a Reader for the CreateWebhookPolicyOfProject structure.
func (*CreateWebhookPolicyOfProjectReader) ReadResponse ¶
func (o *CreateWebhookPolicyOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateWebhookPolicyOfProjectUnauthorized ¶
type CreateWebhookPolicyOfProjectUnauthorized struct { string }XRequestID
CreateWebhookPolicyOfProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateWebhookPolicyOfProjectUnauthorized ¶
func NewCreateWebhookPolicyOfProjectUnauthorized() *CreateWebhookPolicyOfProjectUnauthorized
NewCreateWebhookPolicyOfProjectUnauthorized creates a CreateWebhookPolicyOfProjectUnauthorized with default headers values
func (*CreateWebhookPolicyOfProjectUnauthorized) Error ¶
func (o *CreateWebhookPolicyOfProjectUnauthorized) Error() string
func (*CreateWebhookPolicyOfProjectUnauthorized) GetPayload ¶
func (o *CreateWebhookPolicyOfProjectUnauthorized) GetPayload() *models.Errors
func (*CreateWebhookPolicyOfProjectUnauthorized) IsClientError ¶
func (o *CreateWebhookPolicyOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this create webhook policy of project unauthorized response has a 4xx status code
func (*CreateWebhookPolicyOfProjectUnauthorized) IsCode ¶
func (o *CreateWebhookPolicyOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this create webhook policy of project unauthorized response a status code equal to that given
func (*CreateWebhookPolicyOfProjectUnauthorized) IsRedirect ¶
func (o *CreateWebhookPolicyOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this create webhook policy of project unauthorized response has a 3xx status code
func (*CreateWebhookPolicyOfProjectUnauthorized) IsServerError ¶
func (o *CreateWebhookPolicyOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this create webhook policy of project unauthorized response has a 5xx status code
func (*CreateWebhookPolicyOfProjectUnauthorized) IsSuccess ¶
func (o *CreateWebhookPolicyOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this create webhook policy of project unauthorized response has a 2xx status code
func (*CreateWebhookPolicyOfProjectUnauthorized) String ¶
func (o *CreateWebhookPolicyOfProjectUnauthorized) String() string
type DeleteWebhookPolicyOfProjectBadRequest ¶
type DeleteWebhookPolicyOfProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteWebhookPolicyOfProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteWebhookPolicyOfProjectBadRequest ¶
func NewDeleteWebhookPolicyOfProjectBadRequest() *DeleteWebhookPolicyOfProjectBadRequest
NewDeleteWebhookPolicyOfProjectBadRequest creates a DeleteWebhookPolicyOfProjectBadRequest with default headers values
func (*DeleteWebhookPolicyOfProjectBadRequest) Error ¶
func (o *DeleteWebhookPolicyOfProjectBadRequest) Error() string
func (*DeleteWebhookPolicyOfProjectBadRequest) GetPayload ¶
func (o *DeleteWebhookPolicyOfProjectBadRequest) GetPayload() *models.Errors
func (*DeleteWebhookPolicyOfProjectBadRequest) IsClientError ¶
func (o *DeleteWebhookPolicyOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this delete webhook policy of project bad request response has a 4xx status code
func (*DeleteWebhookPolicyOfProjectBadRequest) IsCode ¶
func (o *DeleteWebhookPolicyOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this delete webhook policy of project bad request response a status code equal to that given
func (*DeleteWebhookPolicyOfProjectBadRequest) IsRedirect ¶
func (o *DeleteWebhookPolicyOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this delete webhook policy of project bad request response has a 3xx status code
func (*DeleteWebhookPolicyOfProjectBadRequest) IsServerError ¶
func (o *DeleteWebhookPolicyOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this delete webhook policy of project bad request response has a 5xx status code
func (*DeleteWebhookPolicyOfProjectBadRequest) IsSuccess ¶
func (o *DeleteWebhookPolicyOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this delete webhook policy of project bad request response has a 2xx status code
func (*DeleteWebhookPolicyOfProjectBadRequest) String ¶
func (o *DeleteWebhookPolicyOfProjectBadRequest) String() string
type DeleteWebhookPolicyOfProjectForbidden ¶
type DeleteWebhookPolicyOfProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteWebhookPolicyOfProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteWebhookPolicyOfProjectForbidden ¶
func NewDeleteWebhookPolicyOfProjectForbidden() *DeleteWebhookPolicyOfProjectForbidden
NewDeleteWebhookPolicyOfProjectForbidden creates a DeleteWebhookPolicyOfProjectForbidden with default headers values
func (*DeleteWebhookPolicyOfProjectForbidden) Error ¶
func (o *DeleteWebhookPolicyOfProjectForbidden) Error() string
func (*DeleteWebhookPolicyOfProjectForbidden) GetPayload ¶
func (o *DeleteWebhookPolicyOfProjectForbidden) GetPayload() *models.Errors
func (*DeleteWebhookPolicyOfProjectForbidden) IsClientError ¶
func (o *DeleteWebhookPolicyOfProjectForbidden) IsClientError() bool
IsClientError returns true when this delete webhook policy of project forbidden response has a 4xx status code
func (*DeleteWebhookPolicyOfProjectForbidden) IsCode ¶
func (o *DeleteWebhookPolicyOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this delete webhook policy of project forbidden response a status code equal to that given
func (*DeleteWebhookPolicyOfProjectForbidden) IsRedirect ¶
func (o *DeleteWebhookPolicyOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this delete webhook policy of project forbidden response has a 3xx status code
func (*DeleteWebhookPolicyOfProjectForbidden) IsServerError ¶
func (o *DeleteWebhookPolicyOfProjectForbidden) IsServerError() bool
IsServerError returns true when this delete webhook policy of project forbidden response has a 5xx status code
func (*DeleteWebhookPolicyOfProjectForbidden) IsSuccess ¶
func (o *DeleteWebhookPolicyOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this delete webhook policy of project forbidden response has a 2xx status code
func (*DeleteWebhookPolicyOfProjectForbidden) String ¶
func (o *DeleteWebhookPolicyOfProjectForbidden) String() string
type DeleteWebhookPolicyOfProjectInternalServerError ¶
type DeleteWebhookPolicyOfProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteWebhookPolicyOfProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteWebhookPolicyOfProjectInternalServerError ¶
func NewDeleteWebhookPolicyOfProjectInternalServerError() *DeleteWebhookPolicyOfProjectInternalServerError
NewDeleteWebhookPolicyOfProjectInternalServerError creates a DeleteWebhookPolicyOfProjectInternalServerError with default headers values
func (*DeleteWebhookPolicyOfProjectInternalServerError) Error ¶
func (o *DeleteWebhookPolicyOfProjectInternalServerError) Error() string
func (*DeleteWebhookPolicyOfProjectInternalServerError) GetPayload ¶
func (o *DeleteWebhookPolicyOfProjectInternalServerError) GetPayload() *models.Errors
func (*DeleteWebhookPolicyOfProjectInternalServerError) IsClientError ¶
func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this delete webhook policy of project internal server error response has a 4xx status code
func (*DeleteWebhookPolicyOfProjectInternalServerError) IsCode ¶
func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this delete webhook policy of project internal server error response a status code equal to that given
func (*DeleteWebhookPolicyOfProjectInternalServerError) IsRedirect ¶
func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete webhook policy of project internal server error response has a 3xx status code
func (*DeleteWebhookPolicyOfProjectInternalServerError) IsServerError ¶
func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this delete webhook policy of project internal server error response has a 5xx status code
func (*DeleteWebhookPolicyOfProjectInternalServerError) IsSuccess ¶
func (o *DeleteWebhookPolicyOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete webhook policy of project internal server error response has a 2xx status code
func (*DeleteWebhookPolicyOfProjectInternalServerError) String ¶
func (o *DeleteWebhookPolicyOfProjectInternalServerError) String() string
type DeleteWebhookPolicyOfProjectNotFound ¶
type DeleteWebhookPolicyOfProjectNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteWebhookPolicyOfProjectNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteWebhookPolicyOfProjectNotFound ¶
func NewDeleteWebhookPolicyOfProjectNotFound() *DeleteWebhookPolicyOfProjectNotFound
NewDeleteWebhookPolicyOfProjectNotFound creates a DeleteWebhookPolicyOfProjectNotFound with default headers values
func (*DeleteWebhookPolicyOfProjectNotFound) Error ¶
func (o *DeleteWebhookPolicyOfProjectNotFound) Error() string
func (*DeleteWebhookPolicyOfProjectNotFound) GetPayload ¶
func (o *DeleteWebhookPolicyOfProjectNotFound) GetPayload() *models.Errors
func (*DeleteWebhookPolicyOfProjectNotFound) IsClientError ¶
func (o *DeleteWebhookPolicyOfProjectNotFound) IsClientError() bool
IsClientError returns true when this delete webhook policy of project not found response has a 4xx status code
func (*DeleteWebhookPolicyOfProjectNotFound) IsCode ¶
func (o *DeleteWebhookPolicyOfProjectNotFound) IsCode(code int) bool
IsCode returns true when this delete webhook policy of project not found response a status code equal to that given
func (*DeleteWebhookPolicyOfProjectNotFound) IsRedirect ¶
func (o *DeleteWebhookPolicyOfProjectNotFound) IsRedirect() bool
IsRedirect returns true when this delete webhook policy of project not found response has a 3xx status code
func (*DeleteWebhookPolicyOfProjectNotFound) IsServerError ¶
func (o *DeleteWebhookPolicyOfProjectNotFound) IsServerError() bool
IsServerError returns true when this delete webhook policy of project not found response has a 5xx status code
func (*DeleteWebhookPolicyOfProjectNotFound) IsSuccess ¶
func (o *DeleteWebhookPolicyOfProjectNotFound) IsSuccess() bool
IsSuccess returns true when this delete webhook policy of project not found response has a 2xx status code
func (*DeleteWebhookPolicyOfProjectNotFound) String ¶
func (o *DeleteWebhookPolicyOfProjectNotFound) String() string
type DeleteWebhookPolicyOfProjectOK ¶
type DeleteWebhookPolicyOfProjectOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
DeleteWebhookPolicyOfProjectOK describes a response with status code 200, with default header values.
Success
func NewDeleteWebhookPolicyOfProjectOK ¶
func NewDeleteWebhookPolicyOfProjectOK() *DeleteWebhookPolicyOfProjectOK
NewDeleteWebhookPolicyOfProjectOK creates a DeleteWebhookPolicyOfProjectOK with default headers values
func (*DeleteWebhookPolicyOfProjectOK) Error ¶
func (o *DeleteWebhookPolicyOfProjectOK) Error() string
func (*DeleteWebhookPolicyOfProjectOK) IsClientError ¶
func (o *DeleteWebhookPolicyOfProjectOK) IsClientError() bool
IsClientError returns true when this delete webhook policy of project o k response has a 4xx status code
func (*DeleteWebhookPolicyOfProjectOK) IsCode ¶
func (o *DeleteWebhookPolicyOfProjectOK) IsCode(code int) bool
IsCode returns true when this delete webhook policy of project o k response a status code equal to that given
func (*DeleteWebhookPolicyOfProjectOK) IsRedirect ¶
func (o *DeleteWebhookPolicyOfProjectOK) IsRedirect() bool
IsRedirect returns true when this delete webhook policy of project o k response has a 3xx status code
func (*DeleteWebhookPolicyOfProjectOK) IsServerError ¶
func (o *DeleteWebhookPolicyOfProjectOK) IsServerError() bool
IsServerError returns true when this delete webhook policy of project o k response has a 5xx status code
func (*DeleteWebhookPolicyOfProjectOK) IsSuccess ¶
func (o *DeleteWebhookPolicyOfProjectOK) IsSuccess() bool
IsSuccess returns true when this delete webhook policy of project o k response has a 2xx status code
func (*DeleteWebhookPolicyOfProjectOK) String ¶
func (o *DeleteWebhookPolicyOfProjectOK) String() string
type DeleteWebhookPolicyOfProjectParams ¶
type DeleteWebhookPolicyOfProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string /* WebhookPolicyID. The ID of the webhook policy Format: int64 */ WebhookPolicyID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteWebhookPolicyOfProjectParams contains all the parameters to send to the API endpoint
for the delete webhook policy of project operation. Typically these are written to a http.Request.
func NewDeleteWebhookPolicyOfProjectParams ¶
func NewDeleteWebhookPolicyOfProjectParams() *DeleteWebhookPolicyOfProjectParams
NewDeleteWebhookPolicyOfProjectParams creates a new DeleteWebhookPolicyOfProjectParams 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 NewDeleteWebhookPolicyOfProjectParamsWithContext ¶
func NewDeleteWebhookPolicyOfProjectParamsWithContext(ctx context.Context) *DeleteWebhookPolicyOfProjectParams
NewDeleteWebhookPolicyOfProjectParamsWithContext creates a new DeleteWebhookPolicyOfProjectParams object with the ability to set a context for a request.
func NewDeleteWebhookPolicyOfProjectParamsWithHTTPClient ¶
func NewDeleteWebhookPolicyOfProjectParamsWithHTTPClient(client *http.Client) *DeleteWebhookPolicyOfProjectParams
NewDeleteWebhookPolicyOfProjectParamsWithHTTPClient creates a new DeleteWebhookPolicyOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteWebhookPolicyOfProjectParamsWithTimeout ¶
func NewDeleteWebhookPolicyOfProjectParamsWithTimeout(timeout time.Duration) *DeleteWebhookPolicyOfProjectParams
NewDeleteWebhookPolicyOfProjectParamsWithTimeout creates a new DeleteWebhookPolicyOfProjectParams object with the ability to set a timeout on a request.
func (*DeleteWebhookPolicyOfProjectParams) SetContext ¶
func (o *DeleteWebhookPolicyOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) SetDefaults ¶
func (o *DeleteWebhookPolicyOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the delete webhook policy of project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteWebhookPolicyOfProjectParams) SetHTTPClient ¶
func (o *DeleteWebhookPolicyOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) SetProjectNameOrID ¶
func (o *DeleteWebhookPolicyOfProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) SetTimeout ¶
func (o *DeleteWebhookPolicyOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) SetWebhookPolicyID ¶
func (o *DeleteWebhookPolicyOfProjectParams) SetWebhookPolicyID(webhookPolicyID int64)
SetWebhookPolicyID adds the webhookPolicyId to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) SetXIsResourceName ¶
func (o *DeleteWebhookPolicyOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) SetXRequestID ¶
func (o *DeleteWebhookPolicyOfProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) WithContext ¶
func (o *DeleteWebhookPolicyOfProjectParams) WithContext(ctx context.Context) *DeleteWebhookPolicyOfProjectParams
WithContext adds the context to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) WithDefaults ¶
func (o *DeleteWebhookPolicyOfProjectParams) WithDefaults() *DeleteWebhookPolicyOfProjectParams
WithDefaults hydrates default values in the delete webhook policy of project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteWebhookPolicyOfProjectParams) WithHTTPClient ¶
func (o *DeleteWebhookPolicyOfProjectParams) WithHTTPClient(client *http.Client) *DeleteWebhookPolicyOfProjectParams
WithHTTPClient adds the HTTPClient to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) WithProjectNameOrID ¶
func (o *DeleteWebhookPolicyOfProjectParams) WithProjectNameOrID(projectNameOrID string) *DeleteWebhookPolicyOfProjectParams
WithProjectNameOrID adds the projectNameOrID to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) WithTimeout ¶
func (o *DeleteWebhookPolicyOfProjectParams) WithTimeout(timeout time.Duration) *DeleteWebhookPolicyOfProjectParams
WithTimeout adds the timeout to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) WithWebhookPolicyID ¶
func (o *DeleteWebhookPolicyOfProjectParams) WithWebhookPolicyID(webhookPolicyID int64) *DeleteWebhookPolicyOfProjectParams
WithWebhookPolicyID adds the webhookPolicyID to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) WithXIsResourceName ¶
func (o *DeleteWebhookPolicyOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *DeleteWebhookPolicyOfProjectParams
WithXIsResourceName adds the xIsResourceName to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) WithXRequestID ¶
func (o *DeleteWebhookPolicyOfProjectParams) WithXRequestID(xRequestID *string) *DeleteWebhookPolicyOfProjectParams
WithXRequestID adds the xRequestID to the delete webhook policy of project params
func (*DeleteWebhookPolicyOfProjectParams) WriteToRequest ¶
func (o *DeleteWebhookPolicyOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteWebhookPolicyOfProjectReader ¶
type DeleteWebhookPolicyOfProjectReader struct {
// contains filtered or unexported fields
}
DeleteWebhookPolicyOfProjectReader is a Reader for the DeleteWebhookPolicyOfProject structure.
func (*DeleteWebhookPolicyOfProjectReader) ReadResponse ¶
func (o *DeleteWebhookPolicyOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteWebhookPolicyOfProjectUnauthorized ¶
type DeleteWebhookPolicyOfProjectUnauthorized struct { string }XRequestID
DeleteWebhookPolicyOfProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteWebhookPolicyOfProjectUnauthorized ¶
func NewDeleteWebhookPolicyOfProjectUnauthorized() *DeleteWebhookPolicyOfProjectUnauthorized
NewDeleteWebhookPolicyOfProjectUnauthorized creates a DeleteWebhookPolicyOfProjectUnauthorized with default headers values
func (*DeleteWebhookPolicyOfProjectUnauthorized) Error ¶
func (o *DeleteWebhookPolicyOfProjectUnauthorized) Error() string
func (*DeleteWebhookPolicyOfProjectUnauthorized) GetPayload ¶
func (o *DeleteWebhookPolicyOfProjectUnauthorized) GetPayload() *models.Errors
func (*DeleteWebhookPolicyOfProjectUnauthorized) IsClientError ¶
func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this delete webhook policy of project unauthorized response has a 4xx status code
func (*DeleteWebhookPolicyOfProjectUnauthorized) IsCode ¶
func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this delete webhook policy of project unauthorized response a status code equal to that given
func (*DeleteWebhookPolicyOfProjectUnauthorized) IsRedirect ¶
func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete webhook policy of project unauthorized response has a 3xx status code
func (*DeleteWebhookPolicyOfProjectUnauthorized) IsServerError ¶
func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this delete webhook policy of project unauthorized response has a 5xx status code
func (*DeleteWebhookPolicyOfProjectUnauthorized) IsSuccess ¶
func (o *DeleteWebhookPolicyOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete webhook policy of project unauthorized response has a 2xx status code
func (*DeleteWebhookPolicyOfProjectUnauthorized) String ¶
func (o *DeleteWebhookPolicyOfProjectUnauthorized) String() string
type GetLogsOfWebhookTaskBadRequest ¶
type GetLogsOfWebhookTaskBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLogsOfWebhookTaskBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetLogsOfWebhookTaskBadRequest ¶
func NewGetLogsOfWebhookTaskBadRequest() *GetLogsOfWebhookTaskBadRequest
NewGetLogsOfWebhookTaskBadRequest creates a GetLogsOfWebhookTaskBadRequest with default headers values
func (*GetLogsOfWebhookTaskBadRequest) Error ¶
func (o *GetLogsOfWebhookTaskBadRequest) Error() string
func (*GetLogsOfWebhookTaskBadRequest) GetPayload ¶
func (o *GetLogsOfWebhookTaskBadRequest) GetPayload() *models.Errors
func (*GetLogsOfWebhookTaskBadRequest) IsClientError ¶
func (o *GetLogsOfWebhookTaskBadRequest) IsClientError() bool
IsClientError returns true when this get logs of webhook task bad request response has a 4xx status code
func (*GetLogsOfWebhookTaskBadRequest) IsCode ¶
func (o *GetLogsOfWebhookTaskBadRequest) IsCode(code int) bool
IsCode returns true when this get logs of webhook task bad request response a status code equal to that given
func (*GetLogsOfWebhookTaskBadRequest) IsRedirect ¶
func (o *GetLogsOfWebhookTaskBadRequest) IsRedirect() bool
IsRedirect returns true when this get logs of webhook task bad request response has a 3xx status code
func (*GetLogsOfWebhookTaskBadRequest) IsServerError ¶
func (o *GetLogsOfWebhookTaskBadRequest) IsServerError() bool
IsServerError returns true when this get logs of webhook task bad request response has a 5xx status code
func (*GetLogsOfWebhookTaskBadRequest) IsSuccess ¶
func (o *GetLogsOfWebhookTaskBadRequest) IsSuccess() bool
IsSuccess returns true when this get logs of webhook task bad request response has a 2xx status code
func (*GetLogsOfWebhookTaskBadRequest) String ¶
func (o *GetLogsOfWebhookTaskBadRequest) String() string
type GetLogsOfWebhookTaskForbidden ¶
type GetLogsOfWebhookTaskForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLogsOfWebhookTaskForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetLogsOfWebhookTaskForbidden ¶
func NewGetLogsOfWebhookTaskForbidden() *GetLogsOfWebhookTaskForbidden
NewGetLogsOfWebhookTaskForbidden creates a GetLogsOfWebhookTaskForbidden with default headers values
func (*GetLogsOfWebhookTaskForbidden) Error ¶
func (o *GetLogsOfWebhookTaskForbidden) Error() string
func (*GetLogsOfWebhookTaskForbidden) GetPayload ¶
func (o *GetLogsOfWebhookTaskForbidden) GetPayload() *models.Errors
func (*GetLogsOfWebhookTaskForbidden) IsClientError ¶
func (o *GetLogsOfWebhookTaskForbidden) IsClientError() bool
IsClientError returns true when this get logs of webhook task forbidden response has a 4xx status code
func (*GetLogsOfWebhookTaskForbidden) IsCode ¶
func (o *GetLogsOfWebhookTaskForbidden) IsCode(code int) bool
IsCode returns true when this get logs of webhook task forbidden response a status code equal to that given
func (*GetLogsOfWebhookTaskForbidden) IsRedirect ¶
func (o *GetLogsOfWebhookTaskForbidden) IsRedirect() bool
IsRedirect returns true when this get logs of webhook task forbidden response has a 3xx status code
func (*GetLogsOfWebhookTaskForbidden) IsServerError ¶
func (o *GetLogsOfWebhookTaskForbidden) IsServerError() bool
IsServerError returns true when this get logs of webhook task forbidden response has a 5xx status code
func (*GetLogsOfWebhookTaskForbidden) IsSuccess ¶
func (o *GetLogsOfWebhookTaskForbidden) IsSuccess() bool
IsSuccess returns true when this get logs of webhook task forbidden response has a 2xx status code
func (*GetLogsOfWebhookTaskForbidden) String ¶
func (o *GetLogsOfWebhookTaskForbidden) String() string
type GetLogsOfWebhookTaskInternalServerError ¶
type GetLogsOfWebhookTaskInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLogsOfWebhookTaskInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetLogsOfWebhookTaskInternalServerError ¶
func NewGetLogsOfWebhookTaskInternalServerError() *GetLogsOfWebhookTaskInternalServerError
NewGetLogsOfWebhookTaskInternalServerError creates a GetLogsOfWebhookTaskInternalServerError with default headers values
func (*GetLogsOfWebhookTaskInternalServerError) Error ¶
func (o *GetLogsOfWebhookTaskInternalServerError) Error() string
func (*GetLogsOfWebhookTaskInternalServerError) GetPayload ¶
func (o *GetLogsOfWebhookTaskInternalServerError) GetPayload() *models.Errors
func (*GetLogsOfWebhookTaskInternalServerError) IsClientError ¶
func (o *GetLogsOfWebhookTaskInternalServerError) IsClientError() bool
IsClientError returns true when this get logs of webhook task internal server error response has a 4xx status code
func (*GetLogsOfWebhookTaskInternalServerError) IsCode ¶
func (o *GetLogsOfWebhookTaskInternalServerError) IsCode(code int) bool
IsCode returns true when this get logs of webhook task internal server error response a status code equal to that given
func (*GetLogsOfWebhookTaskInternalServerError) IsRedirect ¶
func (o *GetLogsOfWebhookTaskInternalServerError) IsRedirect() bool
IsRedirect returns true when this get logs of webhook task internal server error response has a 3xx status code
func (*GetLogsOfWebhookTaskInternalServerError) IsServerError ¶
func (o *GetLogsOfWebhookTaskInternalServerError) IsServerError() bool
IsServerError returns true when this get logs of webhook task internal server error response has a 5xx status code
func (*GetLogsOfWebhookTaskInternalServerError) IsSuccess ¶
func (o *GetLogsOfWebhookTaskInternalServerError) IsSuccess() bool
IsSuccess returns true when this get logs of webhook task internal server error response has a 2xx status code
func (*GetLogsOfWebhookTaskInternalServerError) String ¶
func (o *GetLogsOfWebhookTaskInternalServerError) String() string
type GetLogsOfWebhookTaskNotFound ¶
type GetLogsOfWebhookTaskNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLogsOfWebhookTaskNotFound describes a response with status code 404, with default header values.
Not found
func NewGetLogsOfWebhookTaskNotFound ¶
func NewGetLogsOfWebhookTaskNotFound() *GetLogsOfWebhookTaskNotFound
NewGetLogsOfWebhookTaskNotFound creates a GetLogsOfWebhookTaskNotFound with default headers values
func (*GetLogsOfWebhookTaskNotFound) Error ¶
func (o *GetLogsOfWebhookTaskNotFound) Error() string
func (*GetLogsOfWebhookTaskNotFound) GetPayload ¶
func (o *GetLogsOfWebhookTaskNotFound) GetPayload() *models.Errors
func (*GetLogsOfWebhookTaskNotFound) IsClientError ¶
func (o *GetLogsOfWebhookTaskNotFound) IsClientError() bool
IsClientError returns true when this get logs of webhook task not found response has a 4xx status code
func (*GetLogsOfWebhookTaskNotFound) IsCode ¶
func (o *GetLogsOfWebhookTaskNotFound) IsCode(code int) bool
IsCode returns true when this get logs of webhook task not found response a status code equal to that given
func (*GetLogsOfWebhookTaskNotFound) IsRedirect ¶
func (o *GetLogsOfWebhookTaskNotFound) IsRedirect() bool
IsRedirect returns true when this get logs of webhook task not found response has a 3xx status code
func (*GetLogsOfWebhookTaskNotFound) IsServerError ¶
func (o *GetLogsOfWebhookTaskNotFound) IsServerError() bool
IsServerError returns true when this get logs of webhook task not found response has a 5xx status code
func (*GetLogsOfWebhookTaskNotFound) IsSuccess ¶
func (o *GetLogsOfWebhookTaskNotFound) IsSuccess() bool
IsSuccess returns true when this get logs of webhook task not found response has a 2xx status code
func (*GetLogsOfWebhookTaskNotFound) String ¶
func (o *GetLogsOfWebhookTaskNotFound) String() string
type GetLogsOfWebhookTaskOK ¶
type GetLogsOfWebhookTaskOK struct { /* Content type of response */ ContentType string Payload string }
GetLogsOfWebhookTaskOK describes a response with status code 200, with default header values.
Get log success
func NewGetLogsOfWebhookTaskOK ¶
func NewGetLogsOfWebhookTaskOK() *GetLogsOfWebhookTaskOK
NewGetLogsOfWebhookTaskOK creates a GetLogsOfWebhookTaskOK with default headers values
func (*GetLogsOfWebhookTaskOK) Error ¶
func (o *GetLogsOfWebhookTaskOK) Error() string
func (*GetLogsOfWebhookTaskOK) GetPayload ¶
func (o *GetLogsOfWebhookTaskOK) GetPayload() string
func (*GetLogsOfWebhookTaskOK) IsClientError ¶
func (o *GetLogsOfWebhookTaskOK) IsClientError() bool
IsClientError returns true when this get logs of webhook task o k response has a 4xx status code
func (*GetLogsOfWebhookTaskOK) IsCode ¶
func (o *GetLogsOfWebhookTaskOK) IsCode(code int) bool
IsCode returns true when this get logs of webhook task o k response a status code equal to that given
func (*GetLogsOfWebhookTaskOK) IsRedirect ¶
func (o *GetLogsOfWebhookTaskOK) IsRedirect() bool
IsRedirect returns true when this get logs of webhook task o k response has a 3xx status code
func (*GetLogsOfWebhookTaskOK) IsServerError ¶
func (o *GetLogsOfWebhookTaskOK) IsServerError() bool
IsServerError returns true when this get logs of webhook task o k response has a 5xx status code
func (*GetLogsOfWebhookTaskOK) IsSuccess ¶
func (o *GetLogsOfWebhookTaskOK) IsSuccess() bool
IsSuccess returns true when this get logs of webhook task o k response has a 2xx status code
func (*GetLogsOfWebhookTaskOK) String ¶
func (o *GetLogsOfWebhookTaskOK) String() string
type GetLogsOfWebhookTaskParams ¶
type GetLogsOfWebhookTaskParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ExecutionID. Execution ID */ ExecutionID int64 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string /* TaskID. Task ID */ TaskID int64 /* WebhookPolicyID. The ID of the webhook policy Format: int64 */ WebhookPolicyID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLogsOfWebhookTaskParams contains all the parameters to send to the API endpoint
for the get logs of webhook task operation. Typically these are written to a http.Request.
func NewGetLogsOfWebhookTaskParams ¶
func NewGetLogsOfWebhookTaskParams() *GetLogsOfWebhookTaskParams
NewGetLogsOfWebhookTaskParams creates a new GetLogsOfWebhookTaskParams 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 NewGetLogsOfWebhookTaskParamsWithContext ¶
func NewGetLogsOfWebhookTaskParamsWithContext(ctx context.Context) *GetLogsOfWebhookTaskParams
NewGetLogsOfWebhookTaskParamsWithContext creates a new GetLogsOfWebhookTaskParams object with the ability to set a context for a request.
func NewGetLogsOfWebhookTaskParamsWithHTTPClient ¶
func NewGetLogsOfWebhookTaskParamsWithHTTPClient(client *http.Client) *GetLogsOfWebhookTaskParams
NewGetLogsOfWebhookTaskParamsWithHTTPClient creates a new GetLogsOfWebhookTaskParams object with the ability to set a custom HTTPClient for a request.
func NewGetLogsOfWebhookTaskParamsWithTimeout ¶
func NewGetLogsOfWebhookTaskParamsWithTimeout(timeout time.Duration) *GetLogsOfWebhookTaskParams
NewGetLogsOfWebhookTaskParamsWithTimeout creates a new GetLogsOfWebhookTaskParams object with the ability to set a timeout on a request.
func (*GetLogsOfWebhookTaskParams) SetContext ¶
func (o *GetLogsOfWebhookTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) SetDefaults ¶
func (o *GetLogsOfWebhookTaskParams) SetDefaults()
SetDefaults hydrates default values in the get logs of webhook task params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogsOfWebhookTaskParams) SetExecutionID ¶
func (o *GetLogsOfWebhookTaskParams) SetExecutionID(executionID int64)
SetExecutionID adds the executionId to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) SetHTTPClient ¶
func (o *GetLogsOfWebhookTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) SetProjectNameOrID ¶
func (o *GetLogsOfWebhookTaskParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) SetTaskID ¶
func (o *GetLogsOfWebhookTaskParams) SetTaskID(taskID int64)
SetTaskID adds the taskId to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) SetTimeout ¶
func (o *GetLogsOfWebhookTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) SetWebhookPolicyID ¶
func (o *GetLogsOfWebhookTaskParams) SetWebhookPolicyID(webhookPolicyID int64)
SetWebhookPolicyID adds the webhookPolicyId to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) SetXIsResourceName ¶
func (o *GetLogsOfWebhookTaskParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) SetXRequestID ¶
func (o *GetLogsOfWebhookTaskParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WithContext ¶
func (o *GetLogsOfWebhookTaskParams) WithContext(ctx context.Context) *GetLogsOfWebhookTaskParams
WithContext adds the context to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WithDefaults ¶
func (o *GetLogsOfWebhookTaskParams) WithDefaults() *GetLogsOfWebhookTaskParams
WithDefaults hydrates default values in the get logs of webhook task params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogsOfWebhookTaskParams) WithExecutionID ¶
func (o *GetLogsOfWebhookTaskParams) WithExecutionID(executionID int64) *GetLogsOfWebhookTaskParams
WithExecutionID adds the executionID to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WithHTTPClient ¶
func (o *GetLogsOfWebhookTaskParams) WithHTTPClient(client *http.Client) *GetLogsOfWebhookTaskParams
WithHTTPClient adds the HTTPClient to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WithProjectNameOrID ¶
func (o *GetLogsOfWebhookTaskParams) WithProjectNameOrID(projectNameOrID string) *GetLogsOfWebhookTaskParams
WithProjectNameOrID adds the projectNameOrID to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WithTaskID ¶
func (o *GetLogsOfWebhookTaskParams) WithTaskID(taskID int64) *GetLogsOfWebhookTaskParams
WithTaskID adds the taskID to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WithTimeout ¶
func (o *GetLogsOfWebhookTaskParams) WithTimeout(timeout time.Duration) *GetLogsOfWebhookTaskParams
WithTimeout adds the timeout to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WithWebhookPolicyID ¶
func (o *GetLogsOfWebhookTaskParams) WithWebhookPolicyID(webhookPolicyID int64) *GetLogsOfWebhookTaskParams
WithWebhookPolicyID adds the webhookPolicyID to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WithXIsResourceName ¶
func (o *GetLogsOfWebhookTaskParams) WithXIsResourceName(xIsResourceName *bool) *GetLogsOfWebhookTaskParams
WithXIsResourceName adds the xIsResourceName to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WithXRequestID ¶
func (o *GetLogsOfWebhookTaskParams) WithXRequestID(xRequestID *string) *GetLogsOfWebhookTaskParams
WithXRequestID adds the xRequestID to the get logs of webhook task params
func (*GetLogsOfWebhookTaskParams) WriteToRequest ¶
func (o *GetLogsOfWebhookTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLogsOfWebhookTaskReader ¶
type GetLogsOfWebhookTaskReader struct {
// contains filtered or unexported fields
}
GetLogsOfWebhookTaskReader is a Reader for the GetLogsOfWebhookTask structure.
func (*GetLogsOfWebhookTaskReader) ReadResponse ¶
func (o *GetLogsOfWebhookTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLogsOfWebhookTaskUnauthorized ¶
type GetLogsOfWebhookTaskUnauthorized struct { string }XRequestID
GetLogsOfWebhookTaskUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetLogsOfWebhookTaskUnauthorized ¶
func NewGetLogsOfWebhookTaskUnauthorized() *GetLogsOfWebhookTaskUnauthorized
NewGetLogsOfWebhookTaskUnauthorized creates a GetLogsOfWebhookTaskUnauthorized with default headers values
func (*GetLogsOfWebhookTaskUnauthorized) Error ¶
func (o *GetLogsOfWebhookTaskUnauthorized) Error() string
func (*GetLogsOfWebhookTaskUnauthorized) GetPayload ¶
func (o *GetLogsOfWebhookTaskUnauthorized) GetPayload() *models.Errors
func (*GetLogsOfWebhookTaskUnauthorized) IsClientError ¶
func (o *GetLogsOfWebhookTaskUnauthorized) IsClientError() bool
IsClientError returns true when this get logs of webhook task unauthorized response has a 4xx status code
func (*GetLogsOfWebhookTaskUnauthorized) IsCode ¶
func (o *GetLogsOfWebhookTaskUnauthorized) IsCode(code int) bool
IsCode returns true when this get logs of webhook task unauthorized response a status code equal to that given
func (*GetLogsOfWebhookTaskUnauthorized) IsRedirect ¶
func (o *GetLogsOfWebhookTaskUnauthorized) IsRedirect() bool
IsRedirect returns true when this get logs of webhook task unauthorized response has a 3xx status code
func (*GetLogsOfWebhookTaskUnauthorized) IsServerError ¶
func (o *GetLogsOfWebhookTaskUnauthorized) IsServerError() bool
IsServerError returns true when this get logs of webhook task unauthorized response has a 5xx status code
func (*GetLogsOfWebhookTaskUnauthorized) IsSuccess ¶
func (o *GetLogsOfWebhookTaskUnauthorized) IsSuccess() bool
IsSuccess returns true when this get logs of webhook task unauthorized response has a 2xx status code
func (*GetLogsOfWebhookTaskUnauthorized) String ¶
func (o *GetLogsOfWebhookTaskUnauthorized) String() string
type GetSupportedEventTypesForbidden ¶
type GetSupportedEventTypesForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetSupportedEventTypesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSupportedEventTypesForbidden ¶
func NewGetSupportedEventTypesForbidden() *GetSupportedEventTypesForbidden
NewGetSupportedEventTypesForbidden creates a GetSupportedEventTypesForbidden with default headers values
func (*GetSupportedEventTypesForbidden) Error ¶
func (o *GetSupportedEventTypesForbidden) Error() string
func (*GetSupportedEventTypesForbidden) GetPayload ¶
func (o *GetSupportedEventTypesForbidden) GetPayload() *models.Errors
func (*GetSupportedEventTypesForbidden) IsClientError ¶
func (o *GetSupportedEventTypesForbidden) IsClientError() bool
IsClientError returns true when this get supported event types forbidden response has a 4xx status code
func (*GetSupportedEventTypesForbidden) IsCode ¶
func (o *GetSupportedEventTypesForbidden) IsCode(code int) bool
IsCode returns true when this get supported event types forbidden response a status code equal to that given
func (*GetSupportedEventTypesForbidden) IsRedirect ¶
func (o *GetSupportedEventTypesForbidden) IsRedirect() bool
IsRedirect returns true when this get supported event types forbidden response has a 3xx status code
func (*GetSupportedEventTypesForbidden) IsServerError ¶
func (o *GetSupportedEventTypesForbidden) IsServerError() bool
IsServerError returns true when this get supported event types forbidden response has a 5xx status code
func (*GetSupportedEventTypesForbidden) IsSuccess ¶
func (o *GetSupportedEventTypesForbidden) IsSuccess() bool
IsSuccess returns true when this get supported event types forbidden response has a 2xx status code
func (*GetSupportedEventTypesForbidden) String ¶
func (o *GetSupportedEventTypesForbidden) String() string
type GetSupportedEventTypesInternalServerError ¶
type GetSupportedEventTypesInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetSupportedEventTypesInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSupportedEventTypesInternalServerError ¶
func NewGetSupportedEventTypesInternalServerError() *GetSupportedEventTypesInternalServerError
NewGetSupportedEventTypesInternalServerError creates a GetSupportedEventTypesInternalServerError with default headers values
func (*GetSupportedEventTypesInternalServerError) Error ¶
func (o *GetSupportedEventTypesInternalServerError) Error() string
func (*GetSupportedEventTypesInternalServerError) GetPayload ¶
func (o *GetSupportedEventTypesInternalServerError) GetPayload() *models.Errors
func (*GetSupportedEventTypesInternalServerError) IsClientError ¶
func (o *GetSupportedEventTypesInternalServerError) IsClientError() bool
IsClientError returns true when this get supported event types internal server error response has a 4xx status code
func (*GetSupportedEventTypesInternalServerError) IsCode ¶
func (o *GetSupportedEventTypesInternalServerError) IsCode(code int) bool
IsCode returns true when this get supported event types internal server error response a status code equal to that given
func (*GetSupportedEventTypesInternalServerError) IsRedirect ¶
func (o *GetSupportedEventTypesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get supported event types internal server error response has a 3xx status code
func (*GetSupportedEventTypesInternalServerError) IsServerError ¶
func (o *GetSupportedEventTypesInternalServerError) IsServerError() bool
IsServerError returns true when this get supported event types internal server error response has a 5xx status code
func (*GetSupportedEventTypesInternalServerError) IsSuccess ¶
func (o *GetSupportedEventTypesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get supported event types internal server error response has a 2xx status code
func (*GetSupportedEventTypesInternalServerError) String ¶
func (o *GetSupportedEventTypesInternalServerError) String() string
type GetSupportedEventTypesOK ¶
type GetSupportedEventTypesOK struct {
Payload *models.SupportedWebhookEventTypes
}
GetSupportedEventTypesOK describes a response with status code 200, with default header values.
Success
func NewGetSupportedEventTypesOK ¶
func NewGetSupportedEventTypesOK() *GetSupportedEventTypesOK
NewGetSupportedEventTypesOK creates a GetSupportedEventTypesOK with default headers values
func (*GetSupportedEventTypesOK) Error ¶
func (o *GetSupportedEventTypesOK) Error() string
func (*GetSupportedEventTypesOK) GetPayload ¶
func (o *GetSupportedEventTypesOK) GetPayload() *models.SupportedWebhookEventTypes
func (*GetSupportedEventTypesOK) IsClientError ¶
func (o *GetSupportedEventTypesOK) IsClientError() bool
IsClientError returns true when this get supported event types o k response has a 4xx status code
func (*GetSupportedEventTypesOK) IsCode ¶
func (o *GetSupportedEventTypesOK) IsCode(code int) bool
IsCode returns true when this get supported event types o k response a status code equal to that given
func (*GetSupportedEventTypesOK) IsRedirect ¶
func (o *GetSupportedEventTypesOK) IsRedirect() bool
IsRedirect returns true when this get supported event types o k response has a 3xx status code
func (*GetSupportedEventTypesOK) IsServerError ¶
func (o *GetSupportedEventTypesOK) IsServerError() bool
IsServerError returns true when this get supported event types o k response has a 5xx status code
func (*GetSupportedEventTypesOK) IsSuccess ¶
func (o *GetSupportedEventTypesOK) IsSuccess() bool
IsSuccess returns true when this get supported event types o k response has a 2xx status code
func (*GetSupportedEventTypesOK) String ¶
func (o *GetSupportedEventTypesOK) String() string
type GetSupportedEventTypesParams ¶
type GetSupportedEventTypesParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSupportedEventTypesParams contains all the parameters to send to the API endpoint
for the get supported event types operation. Typically these are written to a http.Request.
func NewGetSupportedEventTypesParams ¶
func NewGetSupportedEventTypesParams() *GetSupportedEventTypesParams
NewGetSupportedEventTypesParams creates a new GetSupportedEventTypesParams 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 NewGetSupportedEventTypesParamsWithContext ¶
func NewGetSupportedEventTypesParamsWithContext(ctx context.Context) *GetSupportedEventTypesParams
NewGetSupportedEventTypesParamsWithContext creates a new GetSupportedEventTypesParams object with the ability to set a context for a request.
func NewGetSupportedEventTypesParamsWithHTTPClient ¶
func NewGetSupportedEventTypesParamsWithHTTPClient(client *http.Client) *GetSupportedEventTypesParams
NewGetSupportedEventTypesParamsWithHTTPClient creates a new GetSupportedEventTypesParams object with the ability to set a custom HTTPClient for a request.
func NewGetSupportedEventTypesParamsWithTimeout ¶
func NewGetSupportedEventTypesParamsWithTimeout(timeout time.Duration) *GetSupportedEventTypesParams
NewGetSupportedEventTypesParamsWithTimeout creates a new GetSupportedEventTypesParams object with the ability to set a timeout on a request.
func (*GetSupportedEventTypesParams) SetContext ¶
func (o *GetSupportedEventTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the get supported event types params
func (*GetSupportedEventTypesParams) SetDefaults ¶
func (o *GetSupportedEventTypesParams) SetDefaults()
SetDefaults hydrates default values in the get supported event types params (not the query body).
All values with no default are reset to their zero value.
func (*GetSupportedEventTypesParams) SetHTTPClient ¶
func (o *GetSupportedEventTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get supported event types params
func (*GetSupportedEventTypesParams) SetProjectNameOrID ¶
func (o *GetSupportedEventTypesParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get supported event types params
func (*GetSupportedEventTypesParams) SetTimeout ¶
func (o *GetSupportedEventTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get supported event types params
func (*GetSupportedEventTypesParams) SetXIsResourceName ¶
func (o *GetSupportedEventTypesParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get supported event types params
func (*GetSupportedEventTypesParams) SetXRequestID ¶
func (o *GetSupportedEventTypesParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get supported event types params
func (*GetSupportedEventTypesParams) WithContext ¶
func (o *GetSupportedEventTypesParams) WithContext(ctx context.Context) *GetSupportedEventTypesParams
WithContext adds the context to the get supported event types params
func (*GetSupportedEventTypesParams) WithDefaults ¶
func (o *GetSupportedEventTypesParams) WithDefaults() *GetSupportedEventTypesParams
WithDefaults hydrates default values in the get supported event types params (not the query body).
All values with no default are reset to their zero value.
func (*GetSupportedEventTypesParams) WithHTTPClient ¶
func (o *GetSupportedEventTypesParams) WithHTTPClient(client *http.Client) *GetSupportedEventTypesParams
WithHTTPClient adds the HTTPClient to the get supported event types params
func (*GetSupportedEventTypesParams) WithProjectNameOrID ¶
func (o *GetSupportedEventTypesParams) WithProjectNameOrID(projectNameOrID string) *GetSupportedEventTypesParams
WithProjectNameOrID adds the projectNameOrID to the get supported event types params
func (*GetSupportedEventTypesParams) WithTimeout ¶
func (o *GetSupportedEventTypesParams) WithTimeout(timeout time.Duration) *GetSupportedEventTypesParams
WithTimeout adds the timeout to the get supported event types params
func (*GetSupportedEventTypesParams) WithXIsResourceName ¶
func (o *GetSupportedEventTypesParams) WithXIsResourceName(xIsResourceName *bool) *GetSupportedEventTypesParams
WithXIsResourceName adds the xIsResourceName to the get supported event types params
func (*GetSupportedEventTypesParams) WithXRequestID ¶
func (o *GetSupportedEventTypesParams) WithXRequestID(xRequestID *string) *GetSupportedEventTypesParams
WithXRequestID adds the xRequestID to the get supported event types params
func (*GetSupportedEventTypesParams) WriteToRequest ¶
func (o *GetSupportedEventTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSupportedEventTypesReader ¶
type GetSupportedEventTypesReader struct {
// contains filtered or unexported fields
}
GetSupportedEventTypesReader is a Reader for the GetSupportedEventTypes structure.
func (*GetSupportedEventTypesReader) ReadResponse ¶
func (o *GetSupportedEventTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSupportedEventTypesUnauthorized ¶
type GetSupportedEventTypesUnauthorized struct { string }XRequestID
GetSupportedEventTypesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetSupportedEventTypesUnauthorized ¶
func NewGetSupportedEventTypesUnauthorized() *GetSupportedEventTypesUnauthorized
NewGetSupportedEventTypesUnauthorized creates a GetSupportedEventTypesUnauthorized with default headers values
func (*GetSupportedEventTypesUnauthorized) Error ¶
func (o *GetSupportedEventTypesUnauthorized) Error() string
func (*GetSupportedEventTypesUnauthorized) GetPayload ¶
func (o *GetSupportedEventTypesUnauthorized) GetPayload() *models.Errors
func (*GetSupportedEventTypesUnauthorized) IsClientError ¶
func (o *GetSupportedEventTypesUnauthorized) IsClientError() bool
IsClientError returns true when this get supported event types unauthorized response has a 4xx status code
func (*GetSupportedEventTypesUnauthorized) IsCode ¶
func (o *GetSupportedEventTypesUnauthorized) IsCode(code int) bool
IsCode returns true when this get supported event types unauthorized response a status code equal to that given
func (*GetSupportedEventTypesUnauthorized) IsRedirect ¶
func (o *GetSupportedEventTypesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get supported event types unauthorized response has a 3xx status code
func (*GetSupportedEventTypesUnauthorized) IsServerError ¶
func (o *GetSupportedEventTypesUnauthorized) IsServerError() bool
IsServerError returns true when this get supported event types unauthorized response has a 5xx status code
func (*GetSupportedEventTypesUnauthorized) IsSuccess ¶
func (o *GetSupportedEventTypesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get supported event types unauthorized response has a 2xx status code
func (*GetSupportedEventTypesUnauthorized) String ¶
func (o *GetSupportedEventTypesUnauthorized) String() string
type GetWebhookPolicyOfProjectBadRequest ¶
type GetWebhookPolicyOfProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetWebhookPolicyOfProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetWebhookPolicyOfProjectBadRequest ¶
func NewGetWebhookPolicyOfProjectBadRequest() *GetWebhookPolicyOfProjectBadRequest
NewGetWebhookPolicyOfProjectBadRequest creates a GetWebhookPolicyOfProjectBadRequest with default headers values
func (*GetWebhookPolicyOfProjectBadRequest) Error ¶
func (o *GetWebhookPolicyOfProjectBadRequest) Error() string
func (*GetWebhookPolicyOfProjectBadRequest) GetPayload ¶
func (o *GetWebhookPolicyOfProjectBadRequest) GetPayload() *models.Errors
func (*GetWebhookPolicyOfProjectBadRequest) IsClientError ¶
func (o *GetWebhookPolicyOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this get webhook policy of project bad request response has a 4xx status code
func (*GetWebhookPolicyOfProjectBadRequest) IsCode ¶
func (o *GetWebhookPolicyOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this get webhook policy of project bad request response a status code equal to that given
func (*GetWebhookPolicyOfProjectBadRequest) IsRedirect ¶
func (o *GetWebhookPolicyOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this get webhook policy of project bad request response has a 3xx status code
func (*GetWebhookPolicyOfProjectBadRequest) IsServerError ¶
func (o *GetWebhookPolicyOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this get webhook policy of project bad request response has a 5xx status code
func (*GetWebhookPolicyOfProjectBadRequest) IsSuccess ¶
func (o *GetWebhookPolicyOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this get webhook policy of project bad request response has a 2xx status code
func (*GetWebhookPolicyOfProjectBadRequest) String ¶
func (o *GetWebhookPolicyOfProjectBadRequest) String() string
type GetWebhookPolicyOfProjectForbidden ¶
type GetWebhookPolicyOfProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetWebhookPolicyOfProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetWebhookPolicyOfProjectForbidden ¶
func NewGetWebhookPolicyOfProjectForbidden() *GetWebhookPolicyOfProjectForbidden
NewGetWebhookPolicyOfProjectForbidden creates a GetWebhookPolicyOfProjectForbidden with default headers values
func (*GetWebhookPolicyOfProjectForbidden) Error ¶
func (o *GetWebhookPolicyOfProjectForbidden) Error() string
func (*GetWebhookPolicyOfProjectForbidden) GetPayload ¶
func (o *GetWebhookPolicyOfProjectForbidden) GetPayload() *models.Errors
func (*GetWebhookPolicyOfProjectForbidden) IsClientError ¶
func (o *GetWebhookPolicyOfProjectForbidden) IsClientError() bool
IsClientError returns true when this get webhook policy of project forbidden response has a 4xx status code
func (*GetWebhookPolicyOfProjectForbidden) IsCode ¶
func (o *GetWebhookPolicyOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this get webhook policy of project forbidden response a status code equal to that given
func (*GetWebhookPolicyOfProjectForbidden) IsRedirect ¶
func (o *GetWebhookPolicyOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this get webhook policy of project forbidden response has a 3xx status code
func (*GetWebhookPolicyOfProjectForbidden) IsServerError ¶
func (o *GetWebhookPolicyOfProjectForbidden) IsServerError() bool
IsServerError returns true when this get webhook policy of project forbidden response has a 5xx status code
func (*GetWebhookPolicyOfProjectForbidden) IsSuccess ¶
func (o *GetWebhookPolicyOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this get webhook policy of project forbidden response has a 2xx status code
func (*GetWebhookPolicyOfProjectForbidden) String ¶
func (o *GetWebhookPolicyOfProjectForbidden) String() string
type GetWebhookPolicyOfProjectInternalServerError ¶
type GetWebhookPolicyOfProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetWebhookPolicyOfProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetWebhookPolicyOfProjectInternalServerError ¶
func NewGetWebhookPolicyOfProjectInternalServerError() *GetWebhookPolicyOfProjectInternalServerError
NewGetWebhookPolicyOfProjectInternalServerError creates a GetWebhookPolicyOfProjectInternalServerError with default headers values
func (*GetWebhookPolicyOfProjectInternalServerError) Error ¶
func (o *GetWebhookPolicyOfProjectInternalServerError) Error() string
func (*GetWebhookPolicyOfProjectInternalServerError) GetPayload ¶
func (o *GetWebhookPolicyOfProjectInternalServerError) GetPayload() *models.Errors
func (*GetWebhookPolicyOfProjectInternalServerError) IsClientError ¶
func (o *GetWebhookPolicyOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this get webhook policy of project internal server error response has a 4xx status code
func (*GetWebhookPolicyOfProjectInternalServerError) IsCode ¶
func (o *GetWebhookPolicyOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this get webhook policy of project internal server error response a status code equal to that given
func (*GetWebhookPolicyOfProjectInternalServerError) IsRedirect ¶
func (o *GetWebhookPolicyOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this get webhook policy of project internal server error response has a 3xx status code
func (*GetWebhookPolicyOfProjectInternalServerError) IsServerError ¶
func (o *GetWebhookPolicyOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this get webhook policy of project internal server error response has a 5xx status code
func (*GetWebhookPolicyOfProjectInternalServerError) IsSuccess ¶
func (o *GetWebhookPolicyOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this get webhook policy of project internal server error response has a 2xx status code
func (*GetWebhookPolicyOfProjectInternalServerError) String ¶
func (o *GetWebhookPolicyOfProjectInternalServerError) String() string
type GetWebhookPolicyOfProjectNotFound ¶
type GetWebhookPolicyOfProjectNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetWebhookPolicyOfProjectNotFound describes a response with status code 404, with default header values.
Not found
func NewGetWebhookPolicyOfProjectNotFound ¶
func NewGetWebhookPolicyOfProjectNotFound() *GetWebhookPolicyOfProjectNotFound
NewGetWebhookPolicyOfProjectNotFound creates a GetWebhookPolicyOfProjectNotFound with default headers values
func (*GetWebhookPolicyOfProjectNotFound) Error ¶
func (o *GetWebhookPolicyOfProjectNotFound) Error() string
func (*GetWebhookPolicyOfProjectNotFound) GetPayload ¶
func (o *GetWebhookPolicyOfProjectNotFound) GetPayload() *models.Errors
func (*GetWebhookPolicyOfProjectNotFound) IsClientError ¶
func (o *GetWebhookPolicyOfProjectNotFound) IsClientError() bool
IsClientError returns true when this get webhook policy of project not found response has a 4xx status code
func (*GetWebhookPolicyOfProjectNotFound) IsCode ¶
func (o *GetWebhookPolicyOfProjectNotFound) IsCode(code int) bool
IsCode returns true when this get webhook policy of project not found response a status code equal to that given
func (*GetWebhookPolicyOfProjectNotFound) IsRedirect ¶
func (o *GetWebhookPolicyOfProjectNotFound) IsRedirect() bool
IsRedirect returns true when this get webhook policy of project not found response has a 3xx status code
func (*GetWebhookPolicyOfProjectNotFound) IsServerError ¶
func (o *GetWebhookPolicyOfProjectNotFound) IsServerError() bool
IsServerError returns true when this get webhook policy of project not found response has a 5xx status code
func (*GetWebhookPolicyOfProjectNotFound) IsSuccess ¶
func (o *GetWebhookPolicyOfProjectNotFound) IsSuccess() bool
IsSuccess returns true when this get webhook policy of project not found response has a 2xx status code
func (*GetWebhookPolicyOfProjectNotFound) String ¶
func (o *GetWebhookPolicyOfProjectNotFound) String() string
type GetWebhookPolicyOfProjectOK ¶
type GetWebhookPolicyOfProjectOK struct {
Payload *models.WebhookPolicy
}
GetWebhookPolicyOfProjectOK describes a response with status code 200, with default header values.
Get webhook policy successfully.
func NewGetWebhookPolicyOfProjectOK ¶
func NewGetWebhookPolicyOfProjectOK() *GetWebhookPolicyOfProjectOK
NewGetWebhookPolicyOfProjectOK creates a GetWebhookPolicyOfProjectOK with default headers values
func (*GetWebhookPolicyOfProjectOK) Error ¶
func (o *GetWebhookPolicyOfProjectOK) Error() string
func (*GetWebhookPolicyOfProjectOK) GetPayload ¶
func (o *GetWebhookPolicyOfProjectOK) GetPayload() *models.WebhookPolicy
func (*GetWebhookPolicyOfProjectOK) IsClientError ¶
func (o *GetWebhookPolicyOfProjectOK) IsClientError() bool
IsClientError returns true when this get webhook policy of project o k response has a 4xx status code
func (*GetWebhookPolicyOfProjectOK) IsCode ¶
func (o *GetWebhookPolicyOfProjectOK) IsCode(code int) bool
IsCode returns true when this get webhook policy of project o k response a status code equal to that given
func (*GetWebhookPolicyOfProjectOK) IsRedirect ¶
func (o *GetWebhookPolicyOfProjectOK) IsRedirect() bool
IsRedirect returns true when this get webhook policy of project o k response has a 3xx status code
func (*GetWebhookPolicyOfProjectOK) IsServerError ¶
func (o *GetWebhookPolicyOfProjectOK) IsServerError() bool
IsServerError returns true when this get webhook policy of project o k response has a 5xx status code
func (*GetWebhookPolicyOfProjectOK) IsSuccess ¶
func (o *GetWebhookPolicyOfProjectOK) IsSuccess() bool
IsSuccess returns true when this get webhook policy of project o k response has a 2xx status code
func (*GetWebhookPolicyOfProjectOK) String ¶
func (o *GetWebhookPolicyOfProjectOK) String() string
type GetWebhookPolicyOfProjectParams ¶
type GetWebhookPolicyOfProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string /* WebhookPolicyID. The ID of the webhook policy Format: int64 */ WebhookPolicyID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWebhookPolicyOfProjectParams contains all the parameters to send to the API endpoint
for the get webhook policy of project operation. Typically these are written to a http.Request.
func NewGetWebhookPolicyOfProjectParams ¶
func NewGetWebhookPolicyOfProjectParams() *GetWebhookPolicyOfProjectParams
NewGetWebhookPolicyOfProjectParams creates a new GetWebhookPolicyOfProjectParams 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 NewGetWebhookPolicyOfProjectParamsWithContext ¶
func NewGetWebhookPolicyOfProjectParamsWithContext(ctx context.Context) *GetWebhookPolicyOfProjectParams
NewGetWebhookPolicyOfProjectParamsWithContext creates a new GetWebhookPolicyOfProjectParams object with the ability to set a context for a request.
func NewGetWebhookPolicyOfProjectParamsWithHTTPClient ¶
func NewGetWebhookPolicyOfProjectParamsWithHTTPClient(client *http.Client) *GetWebhookPolicyOfProjectParams
NewGetWebhookPolicyOfProjectParamsWithHTTPClient creates a new GetWebhookPolicyOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetWebhookPolicyOfProjectParamsWithTimeout ¶
func NewGetWebhookPolicyOfProjectParamsWithTimeout(timeout time.Duration) *GetWebhookPolicyOfProjectParams
NewGetWebhookPolicyOfProjectParamsWithTimeout creates a new GetWebhookPolicyOfProjectParams object with the ability to set a timeout on a request.
func (*GetWebhookPolicyOfProjectParams) SetContext ¶
func (o *GetWebhookPolicyOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) SetDefaults ¶
func (o *GetWebhookPolicyOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the get webhook policy of project params (not the query body).
All values with no default are reset to their zero value.
func (*GetWebhookPolicyOfProjectParams) SetHTTPClient ¶
func (o *GetWebhookPolicyOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) SetProjectNameOrID ¶
func (o *GetWebhookPolicyOfProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) SetTimeout ¶
func (o *GetWebhookPolicyOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) SetWebhookPolicyID ¶
func (o *GetWebhookPolicyOfProjectParams) SetWebhookPolicyID(webhookPolicyID int64)
SetWebhookPolicyID adds the webhookPolicyId to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) SetXIsResourceName ¶
func (o *GetWebhookPolicyOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) SetXRequestID ¶
func (o *GetWebhookPolicyOfProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) WithContext ¶
func (o *GetWebhookPolicyOfProjectParams) WithContext(ctx context.Context) *GetWebhookPolicyOfProjectParams
WithContext adds the context to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) WithDefaults ¶
func (o *GetWebhookPolicyOfProjectParams) WithDefaults() *GetWebhookPolicyOfProjectParams
WithDefaults hydrates default values in the get webhook policy of project params (not the query body).
All values with no default are reset to their zero value.
func (*GetWebhookPolicyOfProjectParams) WithHTTPClient ¶
func (o *GetWebhookPolicyOfProjectParams) WithHTTPClient(client *http.Client) *GetWebhookPolicyOfProjectParams
WithHTTPClient adds the HTTPClient to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) WithProjectNameOrID ¶
func (o *GetWebhookPolicyOfProjectParams) WithProjectNameOrID(projectNameOrID string) *GetWebhookPolicyOfProjectParams
WithProjectNameOrID adds the projectNameOrID to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) WithTimeout ¶
func (o *GetWebhookPolicyOfProjectParams) WithTimeout(timeout time.Duration) *GetWebhookPolicyOfProjectParams
WithTimeout adds the timeout to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) WithWebhookPolicyID ¶
func (o *GetWebhookPolicyOfProjectParams) WithWebhookPolicyID(webhookPolicyID int64) *GetWebhookPolicyOfProjectParams
WithWebhookPolicyID adds the webhookPolicyID to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) WithXIsResourceName ¶
func (o *GetWebhookPolicyOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *GetWebhookPolicyOfProjectParams
WithXIsResourceName adds the xIsResourceName to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) WithXRequestID ¶
func (o *GetWebhookPolicyOfProjectParams) WithXRequestID(xRequestID *string) *GetWebhookPolicyOfProjectParams
WithXRequestID adds the xRequestID to the get webhook policy of project params
func (*GetWebhookPolicyOfProjectParams) WriteToRequest ¶
func (o *GetWebhookPolicyOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWebhookPolicyOfProjectReader ¶
type GetWebhookPolicyOfProjectReader struct {
// contains filtered or unexported fields
}
GetWebhookPolicyOfProjectReader is a Reader for the GetWebhookPolicyOfProject structure.
func (*GetWebhookPolicyOfProjectReader) ReadResponse ¶
func (o *GetWebhookPolicyOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWebhookPolicyOfProjectUnauthorized ¶
type GetWebhookPolicyOfProjectUnauthorized struct { string }XRequestID
GetWebhookPolicyOfProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetWebhookPolicyOfProjectUnauthorized ¶
func NewGetWebhookPolicyOfProjectUnauthorized() *GetWebhookPolicyOfProjectUnauthorized
NewGetWebhookPolicyOfProjectUnauthorized creates a GetWebhookPolicyOfProjectUnauthorized with default headers values
func (*GetWebhookPolicyOfProjectUnauthorized) Error ¶
func (o *GetWebhookPolicyOfProjectUnauthorized) Error() string
func (*GetWebhookPolicyOfProjectUnauthorized) GetPayload ¶
func (o *GetWebhookPolicyOfProjectUnauthorized) GetPayload() *models.Errors
func (*GetWebhookPolicyOfProjectUnauthorized) IsClientError ¶
func (o *GetWebhookPolicyOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this get webhook policy of project unauthorized response has a 4xx status code
func (*GetWebhookPolicyOfProjectUnauthorized) IsCode ¶
func (o *GetWebhookPolicyOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this get webhook policy of project unauthorized response a status code equal to that given
func (*GetWebhookPolicyOfProjectUnauthorized) IsRedirect ¶
func (o *GetWebhookPolicyOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this get webhook policy of project unauthorized response has a 3xx status code
func (*GetWebhookPolicyOfProjectUnauthorized) IsServerError ¶
func (o *GetWebhookPolicyOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this get webhook policy of project unauthorized response has a 5xx status code
func (*GetWebhookPolicyOfProjectUnauthorized) IsSuccess ¶
func (o *GetWebhookPolicyOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this get webhook policy of project unauthorized response has a 2xx status code
func (*GetWebhookPolicyOfProjectUnauthorized) String ¶
func (o *GetWebhookPolicyOfProjectUnauthorized) String() string
type LastTriggerBadRequest ¶
type LastTriggerBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
LastTriggerBadRequest describes a response with status code 400, with default header values.
Bad request
func NewLastTriggerBadRequest ¶
func NewLastTriggerBadRequest() *LastTriggerBadRequest
NewLastTriggerBadRequest creates a LastTriggerBadRequest with default headers values
func (*LastTriggerBadRequest) Error ¶
func (o *LastTriggerBadRequest) Error() string
func (*LastTriggerBadRequest) GetPayload ¶
func (o *LastTriggerBadRequest) GetPayload() *models.Errors
func (*LastTriggerBadRequest) IsClientError ¶
func (o *LastTriggerBadRequest) IsClientError() bool
IsClientError returns true when this last trigger bad request response has a 4xx status code
func (*LastTriggerBadRequest) IsCode ¶
func (o *LastTriggerBadRequest) IsCode(code int) bool
IsCode returns true when this last trigger bad request response a status code equal to that given
func (*LastTriggerBadRequest) IsRedirect ¶
func (o *LastTriggerBadRequest) IsRedirect() bool
IsRedirect returns true when this last trigger bad request response has a 3xx status code
func (*LastTriggerBadRequest) IsServerError ¶
func (o *LastTriggerBadRequest) IsServerError() bool
IsServerError returns true when this last trigger bad request response has a 5xx status code
func (*LastTriggerBadRequest) IsSuccess ¶
func (o *LastTriggerBadRequest) IsSuccess() bool
IsSuccess returns true when this last trigger bad request response has a 2xx status code
func (*LastTriggerBadRequest) String ¶
func (o *LastTriggerBadRequest) String() string
type LastTriggerForbidden ¶
type LastTriggerForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
LastTriggerForbidden describes a response with status code 403, with default header values.
Forbidden
func NewLastTriggerForbidden ¶
func NewLastTriggerForbidden() *LastTriggerForbidden
NewLastTriggerForbidden creates a LastTriggerForbidden with default headers values
func (*LastTriggerForbidden) Error ¶
func (o *LastTriggerForbidden) Error() string
func (*LastTriggerForbidden) GetPayload ¶
func (o *LastTriggerForbidden) GetPayload() *models.Errors
func (*LastTriggerForbidden) IsClientError ¶
func (o *LastTriggerForbidden) IsClientError() bool
IsClientError returns true when this last trigger forbidden response has a 4xx status code
func (*LastTriggerForbidden) IsCode ¶
func (o *LastTriggerForbidden) IsCode(code int) bool
IsCode returns true when this last trigger forbidden response a status code equal to that given
func (*LastTriggerForbidden) IsRedirect ¶
func (o *LastTriggerForbidden) IsRedirect() bool
IsRedirect returns true when this last trigger forbidden response has a 3xx status code
func (*LastTriggerForbidden) IsServerError ¶
func (o *LastTriggerForbidden) IsServerError() bool
IsServerError returns true when this last trigger forbidden response has a 5xx status code
func (*LastTriggerForbidden) IsSuccess ¶
func (o *LastTriggerForbidden) IsSuccess() bool
IsSuccess returns true when this last trigger forbidden response has a 2xx status code
func (*LastTriggerForbidden) String ¶
func (o *LastTriggerForbidden) String() string
type LastTriggerInternalServerError ¶
type LastTriggerInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
LastTriggerInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewLastTriggerInternalServerError ¶
func NewLastTriggerInternalServerError() *LastTriggerInternalServerError
NewLastTriggerInternalServerError creates a LastTriggerInternalServerError with default headers values
func (*LastTriggerInternalServerError) Error ¶
func (o *LastTriggerInternalServerError) Error() string
func (*LastTriggerInternalServerError) GetPayload ¶
func (o *LastTriggerInternalServerError) GetPayload() *models.Errors
func (*LastTriggerInternalServerError) IsClientError ¶
func (o *LastTriggerInternalServerError) IsClientError() bool
IsClientError returns true when this last trigger internal server error response has a 4xx status code
func (*LastTriggerInternalServerError) IsCode ¶
func (o *LastTriggerInternalServerError) IsCode(code int) bool
IsCode returns true when this last trigger internal server error response a status code equal to that given
func (*LastTriggerInternalServerError) IsRedirect ¶
func (o *LastTriggerInternalServerError) IsRedirect() bool
IsRedirect returns true when this last trigger internal server error response has a 3xx status code
func (*LastTriggerInternalServerError) IsServerError ¶
func (o *LastTriggerInternalServerError) IsServerError() bool
IsServerError returns true when this last trigger internal server error response has a 5xx status code
func (*LastTriggerInternalServerError) IsSuccess ¶
func (o *LastTriggerInternalServerError) IsSuccess() bool
IsSuccess returns true when this last trigger internal server error response has a 2xx status code
func (*LastTriggerInternalServerError) String ¶
func (o *LastTriggerInternalServerError) String() string
type LastTriggerOK ¶
type LastTriggerOK struct {
Payload []*models.WebhookLastTrigger
}
LastTriggerOK describes a response with status code 200, with default header values.
Test webhook connection successfully.
func NewLastTriggerOK ¶
func NewLastTriggerOK() *LastTriggerOK
NewLastTriggerOK creates a LastTriggerOK with default headers values
func (*LastTriggerOK) Error ¶
func (o *LastTriggerOK) Error() string
func (*LastTriggerOK) GetPayload ¶
func (o *LastTriggerOK) GetPayload() []*models.WebhookLastTrigger
func (*LastTriggerOK) IsClientError ¶
func (o *LastTriggerOK) IsClientError() bool
IsClientError returns true when this last trigger o k response has a 4xx status code
func (*LastTriggerOK) IsCode ¶
func (o *LastTriggerOK) IsCode(code int) bool
IsCode returns true when this last trigger o k response a status code equal to that given
func (*LastTriggerOK) IsRedirect ¶
func (o *LastTriggerOK) IsRedirect() bool
IsRedirect returns true when this last trigger o k response has a 3xx status code
func (*LastTriggerOK) IsServerError ¶
func (o *LastTriggerOK) IsServerError() bool
IsServerError returns true when this last trigger o k response has a 5xx status code
func (*LastTriggerOK) IsSuccess ¶
func (o *LastTriggerOK) IsSuccess() bool
IsSuccess returns true when this last trigger o k response has a 2xx status code
func (*LastTriggerOK) String ¶
func (o *LastTriggerOK) String() string
type LastTriggerParams ¶
type LastTriggerParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LastTriggerParams contains all the parameters to send to the API endpoint
for the last trigger operation. Typically these are written to a http.Request.
func NewLastTriggerParams ¶
func NewLastTriggerParams() *LastTriggerParams
NewLastTriggerParams creates a new LastTriggerParams 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 NewLastTriggerParamsWithContext ¶
func NewLastTriggerParamsWithContext(ctx context.Context) *LastTriggerParams
NewLastTriggerParamsWithContext creates a new LastTriggerParams object with the ability to set a context for a request.
func NewLastTriggerParamsWithHTTPClient ¶
func NewLastTriggerParamsWithHTTPClient(client *http.Client) *LastTriggerParams
NewLastTriggerParamsWithHTTPClient creates a new LastTriggerParams object with the ability to set a custom HTTPClient for a request.
func NewLastTriggerParamsWithTimeout ¶
func NewLastTriggerParamsWithTimeout(timeout time.Duration) *LastTriggerParams
NewLastTriggerParamsWithTimeout creates a new LastTriggerParams object with the ability to set a timeout on a request.
func (*LastTriggerParams) SetContext ¶
func (o *LastTriggerParams) SetContext(ctx context.Context)
SetContext adds the context to the last trigger params
func (*LastTriggerParams) SetDefaults ¶
func (o *LastTriggerParams) SetDefaults()
SetDefaults hydrates default values in the last trigger params (not the query body).
All values with no default are reset to their zero value.
func (*LastTriggerParams) SetHTTPClient ¶
func (o *LastTriggerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the last trigger params
func (*LastTriggerParams) SetProjectNameOrID ¶
func (o *LastTriggerParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the last trigger params
func (*LastTriggerParams) SetTimeout ¶
func (o *LastTriggerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the last trigger params
func (*LastTriggerParams) SetXIsResourceName ¶
func (o *LastTriggerParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the last trigger params
func (*LastTriggerParams) SetXRequestID ¶
func (o *LastTriggerParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the last trigger params
func (*LastTriggerParams) WithContext ¶
func (o *LastTriggerParams) WithContext(ctx context.Context) *LastTriggerParams
WithContext adds the context to the last trigger params
func (*LastTriggerParams) WithDefaults ¶
func (o *LastTriggerParams) WithDefaults() *LastTriggerParams
WithDefaults hydrates default values in the last trigger params (not the query body).
All values with no default are reset to their zero value.
func (*LastTriggerParams) WithHTTPClient ¶
func (o *LastTriggerParams) WithHTTPClient(client *http.Client) *LastTriggerParams
WithHTTPClient adds the HTTPClient to the last trigger params
func (*LastTriggerParams) WithProjectNameOrID ¶
func (o *LastTriggerParams) WithProjectNameOrID(projectNameOrID string) *LastTriggerParams
WithProjectNameOrID adds the projectNameOrID to the last trigger params
func (*LastTriggerParams) WithTimeout ¶
func (o *LastTriggerParams) WithTimeout(timeout time.Duration) *LastTriggerParams
WithTimeout adds the timeout to the last trigger params
func (*LastTriggerParams) WithXIsResourceName ¶
func (o *LastTriggerParams) WithXIsResourceName(xIsResourceName *bool) *LastTriggerParams
WithXIsResourceName adds the xIsResourceName to the last trigger params
func (*LastTriggerParams) WithXRequestID ¶
func (o *LastTriggerParams) WithXRequestID(xRequestID *string) *LastTriggerParams
WithXRequestID adds the xRequestID to the last trigger params
func (*LastTriggerParams) WriteToRequest ¶
func (o *LastTriggerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LastTriggerReader ¶
type LastTriggerReader struct {
// contains filtered or unexported fields
}
LastTriggerReader is a Reader for the LastTrigger structure.
func (*LastTriggerReader) ReadResponse ¶
func (o *LastTriggerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LastTriggerUnauthorized ¶
type LastTriggerUnauthorized struct { string }XRequestID
LastTriggerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewLastTriggerUnauthorized ¶
func NewLastTriggerUnauthorized() *LastTriggerUnauthorized
NewLastTriggerUnauthorized creates a LastTriggerUnauthorized with default headers values
func (*LastTriggerUnauthorized) Error ¶
func (o *LastTriggerUnauthorized) Error() string
func (*LastTriggerUnauthorized) GetPayload ¶
func (o *LastTriggerUnauthorized) GetPayload() *models.Errors
func (*LastTriggerUnauthorized) IsClientError ¶
func (o *LastTriggerUnauthorized) IsClientError() bool
IsClientError returns true when this last trigger unauthorized response has a 4xx status code
func (*LastTriggerUnauthorized) IsCode ¶
func (o *LastTriggerUnauthorized) IsCode(code int) bool
IsCode returns true when this last trigger unauthorized response a status code equal to that given
func (*LastTriggerUnauthorized) IsRedirect ¶
func (o *LastTriggerUnauthorized) IsRedirect() bool
IsRedirect returns true when this last trigger unauthorized response has a 3xx status code
func (*LastTriggerUnauthorized) IsServerError ¶
func (o *LastTriggerUnauthorized) IsServerError() bool
IsServerError returns true when this last trigger unauthorized response has a 5xx status code
func (*LastTriggerUnauthorized) IsSuccess ¶
func (o *LastTriggerUnauthorized) IsSuccess() bool
IsSuccess returns true when this last trigger unauthorized response has a 2xx status code
func (*LastTriggerUnauthorized) String ¶
func (o *LastTriggerUnauthorized) String() string
type ListExecutionsOfWebhookPolicyBadRequest ¶
type ListExecutionsOfWebhookPolicyBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListExecutionsOfWebhookPolicyBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListExecutionsOfWebhookPolicyBadRequest ¶
func NewListExecutionsOfWebhookPolicyBadRequest() *ListExecutionsOfWebhookPolicyBadRequest
NewListExecutionsOfWebhookPolicyBadRequest creates a ListExecutionsOfWebhookPolicyBadRequest with default headers values
func (*ListExecutionsOfWebhookPolicyBadRequest) Error ¶
func (o *ListExecutionsOfWebhookPolicyBadRequest) Error() string
func (*ListExecutionsOfWebhookPolicyBadRequest) GetPayload ¶
func (o *ListExecutionsOfWebhookPolicyBadRequest) GetPayload() *models.Errors
func (*ListExecutionsOfWebhookPolicyBadRequest) IsClientError ¶
func (o *ListExecutionsOfWebhookPolicyBadRequest) IsClientError() bool
IsClientError returns true when this list executions of webhook policy bad request response has a 4xx status code
func (*ListExecutionsOfWebhookPolicyBadRequest) IsCode ¶
func (o *ListExecutionsOfWebhookPolicyBadRequest) IsCode(code int) bool
IsCode returns true when this list executions of webhook policy bad request response a status code equal to that given
func (*ListExecutionsOfWebhookPolicyBadRequest) IsRedirect ¶
func (o *ListExecutionsOfWebhookPolicyBadRequest) IsRedirect() bool
IsRedirect returns true when this list executions of webhook policy bad request response has a 3xx status code
func (*ListExecutionsOfWebhookPolicyBadRequest) IsServerError ¶
func (o *ListExecutionsOfWebhookPolicyBadRequest) IsServerError() bool
IsServerError returns true when this list executions of webhook policy bad request response has a 5xx status code
func (*ListExecutionsOfWebhookPolicyBadRequest) IsSuccess ¶
func (o *ListExecutionsOfWebhookPolicyBadRequest) IsSuccess() bool
IsSuccess returns true when this list executions of webhook policy bad request response has a 2xx status code
func (*ListExecutionsOfWebhookPolicyBadRequest) String ¶
func (o *ListExecutionsOfWebhookPolicyBadRequest) String() string
type ListExecutionsOfWebhookPolicyForbidden ¶
type ListExecutionsOfWebhookPolicyForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListExecutionsOfWebhookPolicyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListExecutionsOfWebhookPolicyForbidden ¶
func NewListExecutionsOfWebhookPolicyForbidden() *ListExecutionsOfWebhookPolicyForbidden
NewListExecutionsOfWebhookPolicyForbidden creates a ListExecutionsOfWebhookPolicyForbidden with default headers values
func (*ListExecutionsOfWebhookPolicyForbidden) Error ¶
func (o *ListExecutionsOfWebhookPolicyForbidden) Error() string
func (*ListExecutionsOfWebhookPolicyForbidden) GetPayload ¶
func (o *ListExecutionsOfWebhookPolicyForbidden) GetPayload() *models.Errors
func (*ListExecutionsOfWebhookPolicyForbidden) IsClientError ¶
func (o *ListExecutionsOfWebhookPolicyForbidden) IsClientError() bool
IsClientError returns true when this list executions of webhook policy forbidden response has a 4xx status code
func (*ListExecutionsOfWebhookPolicyForbidden) IsCode ¶
func (o *ListExecutionsOfWebhookPolicyForbidden) IsCode(code int) bool
IsCode returns true when this list executions of webhook policy forbidden response a status code equal to that given
func (*ListExecutionsOfWebhookPolicyForbidden) IsRedirect ¶
func (o *ListExecutionsOfWebhookPolicyForbidden) IsRedirect() bool
IsRedirect returns true when this list executions of webhook policy forbidden response has a 3xx status code
func (*ListExecutionsOfWebhookPolicyForbidden) IsServerError ¶
func (o *ListExecutionsOfWebhookPolicyForbidden) IsServerError() bool
IsServerError returns true when this list executions of webhook policy forbidden response has a 5xx status code
func (*ListExecutionsOfWebhookPolicyForbidden) IsSuccess ¶
func (o *ListExecutionsOfWebhookPolicyForbidden) IsSuccess() bool
IsSuccess returns true when this list executions of webhook policy forbidden response has a 2xx status code
func (*ListExecutionsOfWebhookPolicyForbidden) String ¶
func (o *ListExecutionsOfWebhookPolicyForbidden) String() string
type ListExecutionsOfWebhookPolicyInternalServerError ¶
type ListExecutionsOfWebhookPolicyInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListExecutionsOfWebhookPolicyInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListExecutionsOfWebhookPolicyInternalServerError ¶
func NewListExecutionsOfWebhookPolicyInternalServerError() *ListExecutionsOfWebhookPolicyInternalServerError
NewListExecutionsOfWebhookPolicyInternalServerError creates a ListExecutionsOfWebhookPolicyInternalServerError with default headers values
func (*ListExecutionsOfWebhookPolicyInternalServerError) Error ¶
func (o *ListExecutionsOfWebhookPolicyInternalServerError) Error() string
func (*ListExecutionsOfWebhookPolicyInternalServerError) GetPayload ¶
func (o *ListExecutionsOfWebhookPolicyInternalServerError) GetPayload() *models.Errors
func (*ListExecutionsOfWebhookPolicyInternalServerError) IsClientError ¶
func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsClientError() bool
IsClientError returns true when this list executions of webhook policy internal server error response has a 4xx status code
func (*ListExecutionsOfWebhookPolicyInternalServerError) IsCode ¶
func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsCode(code int) bool
IsCode returns true when this list executions of webhook policy internal server error response a status code equal to that given
func (*ListExecutionsOfWebhookPolicyInternalServerError) IsRedirect ¶
func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsRedirect() bool
IsRedirect returns true when this list executions of webhook policy internal server error response has a 3xx status code
func (*ListExecutionsOfWebhookPolicyInternalServerError) IsServerError ¶
func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsServerError() bool
IsServerError returns true when this list executions of webhook policy internal server error response has a 5xx status code
func (*ListExecutionsOfWebhookPolicyInternalServerError) IsSuccess ¶
func (o *ListExecutionsOfWebhookPolicyInternalServerError) IsSuccess() bool
IsSuccess returns true when this list executions of webhook policy internal server error response has a 2xx status code
func (*ListExecutionsOfWebhookPolicyInternalServerError) String ¶
func (o *ListExecutionsOfWebhookPolicyInternalServerError) String() string
type ListExecutionsOfWebhookPolicyNotFound ¶
type ListExecutionsOfWebhookPolicyNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListExecutionsOfWebhookPolicyNotFound describes a response with status code 404, with default header values.
Not found
func NewListExecutionsOfWebhookPolicyNotFound ¶
func NewListExecutionsOfWebhookPolicyNotFound() *ListExecutionsOfWebhookPolicyNotFound
NewListExecutionsOfWebhookPolicyNotFound creates a ListExecutionsOfWebhookPolicyNotFound with default headers values
func (*ListExecutionsOfWebhookPolicyNotFound) Error ¶
func (o *ListExecutionsOfWebhookPolicyNotFound) Error() string
func (*ListExecutionsOfWebhookPolicyNotFound) GetPayload ¶
func (o *ListExecutionsOfWebhookPolicyNotFound) GetPayload() *models.Errors
func (*ListExecutionsOfWebhookPolicyNotFound) IsClientError ¶
func (o *ListExecutionsOfWebhookPolicyNotFound) IsClientError() bool
IsClientError returns true when this list executions of webhook policy not found response has a 4xx status code
func (*ListExecutionsOfWebhookPolicyNotFound) IsCode ¶
func (o *ListExecutionsOfWebhookPolicyNotFound) IsCode(code int) bool
IsCode returns true when this list executions of webhook policy not found response a status code equal to that given
func (*ListExecutionsOfWebhookPolicyNotFound) IsRedirect ¶
func (o *ListExecutionsOfWebhookPolicyNotFound) IsRedirect() bool
IsRedirect returns true when this list executions of webhook policy not found response has a 3xx status code
func (*ListExecutionsOfWebhookPolicyNotFound) IsServerError ¶
func (o *ListExecutionsOfWebhookPolicyNotFound) IsServerError() bool
IsServerError returns true when this list executions of webhook policy not found response has a 5xx status code
func (*ListExecutionsOfWebhookPolicyNotFound) IsSuccess ¶
func (o *ListExecutionsOfWebhookPolicyNotFound) IsSuccess() bool
IsSuccess returns true when this list executions of webhook policy not found response has a 2xx status code
func (*ListExecutionsOfWebhookPolicyNotFound) String ¶
func (o *ListExecutionsOfWebhookPolicyNotFound) String() string
type ListExecutionsOfWebhookPolicyOK ¶
type ListExecutionsOfWebhookPolicyOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of executions */ XTotalCount int64 Payload []*models.Execution }
ListExecutionsOfWebhookPolicyOK describes a response with status code 200, with default header values.
List webhook executions success
func NewListExecutionsOfWebhookPolicyOK ¶
func NewListExecutionsOfWebhookPolicyOK() *ListExecutionsOfWebhookPolicyOK
NewListExecutionsOfWebhookPolicyOK creates a ListExecutionsOfWebhookPolicyOK with default headers values
func (*ListExecutionsOfWebhookPolicyOK) Error ¶
func (o *ListExecutionsOfWebhookPolicyOK) Error() string
func (*ListExecutionsOfWebhookPolicyOK) GetPayload ¶
func (o *ListExecutionsOfWebhookPolicyOK) GetPayload() []*models.Execution
func (*ListExecutionsOfWebhookPolicyOK) IsClientError ¶
func (o *ListExecutionsOfWebhookPolicyOK) IsClientError() bool
IsClientError returns true when this list executions of webhook policy o k response has a 4xx status code
func (*ListExecutionsOfWebhookPolicyOK) IsCode ¶
func (o *ListExecutionsOfWebhookPolicyOK) IsCode(code int) bool
IsCode returns true when this list executions of webhook policy o k response a status code equal to that given
func (*ListExecutionsOfWebhookPolicyOK) IsRedirect ¶
func (o *ListExecutionsOfWebhookPolicyOK) IsRedirect() bool
IsRedirect returns true when this list executions of webhook policy o k response has a 3xx status code
func (*ListExecutionsOfWebhookPolicyOK) IsServerError ¶
func (o *ListExecutionsOfWebhookPolicyOK) IsServerError() bool
IsServerError returns true when this list executions of webhook policy o k response has a 5xx status code
func (*ListExecutionsOfWebhookPolicyOK) IsSuccess ¶
func (o *ListExecutionsOfWebhookPolicyOK) IsSuccess() bool
IsSuccess returns true when this list executions of webhook policy o k response has a 2xx status code
func (*ListExecutionsOfWebhookPolicyOK) String ¶
func (o *ListExecutionsOfWebhookPolicyOK) String() string
type ListExecutionsOfWebhookPolicyParams ¶
type ListExecutionsOfWebhookPolicyParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string /* Q. Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] */ Q *string /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *string /* WebhookPolicyID. The ID of the webhook policy Format: int64 */ WebhookPolicyID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListExecutionsOfWebhookPolicyParams contains all the parameters to send to the API endpoint
for the list executions of webhook policy operation. Typically these are written to a http.Request.
func NewListExecutionsOfWebhookPolicyParams ¶
func NewListExecutionsOfWebhookPolicyParams() *ListExecutionsOfWebhookPolicyParams
NewListExecutionsOfWebhookPolicyParams creates a new ListExecutionsOfWebhookPolicyParams 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 NewListExecutionsOfWebhookPolicyParamsWithContext ¶
func NewListExecutionsOfWebhookPolicyParamsWithContext(ctx context.Context) *ListExecutionsOfWebhookPolicyParams
NewListExecutionsOfWebhookPolicyParamsWithContext creates a new ListExecutionsOfWebhookPolicyParams object with the ability to set a context for a request.
func NewListExecutionsOfWebhookPolicyParamsWithHTTPClient ¶
func NewListExecutionsOfWebhookPolicyParamsWithHTTPClient(client *http.Client) *ListExecutionsOfWebhookPolicyParams
NewListExecutionsOfWebhookPolicyParamsWithHTTPClient creates a new ListExecutionsOfWebhookPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewListExecutionsOfWebhookPolicyParamsWithTimeout ¶
func NewListExecutionsOfWebhookPolicyParamsWithTimeout(timeout time.Duration) *ListExecutionsOfWebhookPolicyParams
NewListExecutionsOfWebhookPolicyParamsWithTimeout creates a new ListExecutionsOfWebhookPolicyParams object with the ability to set a timeout on a request.
func (*ListExecutionsOfWebhookPolicyParams) SetContext ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetDefaults ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetDefaults()
SetDefaults hydrates default values in the list executions of webhook policy params (not the query body).
All values with no default are reset to their zero value.
func (*ListExecutionsOfWebhookPolicyParams) SetHTTPClient ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetPage ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetPage(page *int64)
SetPage adds the page to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetPageSize ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetProjectNameOrID ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetQ ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetQ(q *string)
SetQ adds the q to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetSort ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetSort(sort *string)
SetSort adds the sort to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetTimeout ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetWebhookPolicyID ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetWebhookPolicyID(webhookPolicyID int64)
SetWebhookPolicyID adds the webhookPolicyId to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetXIsResourceName ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) SetXRequestID ¶
func (o *ListExecutionsOfWebhookPolicyParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithContext ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithContext(ctx context.Context) *ListExecutionsOfWebhookPolicyParams
WithContext adds the context to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithDefaults ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithDefaults() *ListExecutionsOfWebhookPolicyParams
WithDefaults hydrates default values in the list executions of webhook policy params (not the query body).
All values with no default are reset to their zero value.
func (*ListExecutionsOfWebhookPolicyParams) WithHTTPClient ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithHTTPClient(client *http.Client) *ListExecutionsOfWebhookPolicyParams
WithHTTPClient adds the HTTPClient to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithPage ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithPage(page *int64) *ListExecutionsOfWebhookPolicyParams
WithPage adds the page to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithPageSize ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithPageSize(pageSize *int64) *ListExecutionsOfWebhookPolicyParams
WithPageSize adds the pageSize to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithProjectNameOrID ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithProjectNameOrID(projectNameOrID string) *ListExecutionsOfWebhookPolicyParams
WithProjectNameOrID adds the projectNameOrID to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithQ ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithQ(q *string) *ListExecutionsOfWebhookPolicyParams
WithQ adds the q to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithSort ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithSort(sort *string) *ListExecutionsOfWebhookPolicyParams
WithSort adds the sort to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithTimeout ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithTimeout(timeout time.Duration) *ListExecutionsOfWebhookPolicyParams
WithTimeout adds the timeout to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithWebhookPolicyID ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithWebhookPolicyID(webhookPolicyID int64) *ListExecutionsOfWebhookPolicyParams
WithWebhookPolicyID adds the webhookPolicyID to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithXIsResourceName ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithXIsResourceName(xIsResourceName *bool) *ListExecutionsOfWebhookPolicyParams
WithXIsResourceName adds the xIsResourceName to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WithXRequestID ¶
func (o *ListExecutionsOfWebhookPolicyParams) WithXRequestID(xRequestID *string) *ListExecutionsOfWebhookPolicyParams
WithXRequestID adds the xRequestID to the list executions of webhook policy params
func (*ListExecutionsOfWebhookPolicyParams) WriteToRequest ¶
func (o *ListExecutionsOfWebhookPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListExecutionsOfWebhookPolicyReader ¶
type ListExecutionsOfWebhookPolicyReader struct {
// contains filtered or unexported fields
}
ListExecutionsOfWebhookPolicyReader is a Reader for the ListExecutionsOfWebhookPolicy structure.
func (*ListExecutionsOfWebhookPolicyReader) ReadResponse ¶
func (o *ListExecutionsOfWebhookPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListExecutionsOfWebhookPolicyUnauthorized ¶
type ListExecutionsOfWebhookPolicyUnauthorized struct { string }XRequestID
ListExecutionsOfWebhookPolicyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListExecutionsOfWebhookPolicyUnauthorized ¶
func NewListExecutionsOfWebhookPolicyUnauthorized() *ListExecutionsOfWebhookPolicyUnauthorized
NewListExecutionsOfWebhookPolicyUnauthorized creates a ListExecutionsOfWebhookPolicyUnauthorized with default headers values
func (*ListExecutionsOfWebhookPolicyUnauthorized) Error ¶
func (o *ListExecutionsOfWebhookPolicyUnauthorized) Error() string
func (*ListExecutionsOfWebhookPolicyUnauthorized) GetPayload ¶
func (o *ListExecutionsOfWebhookPolicyUnauthorized) GetPayload() *models.Errors
func (*ListExecutionsOfWebhookPolicyUnauthorized) IsClientError ¶
func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsClientError() bool
IsClientError returns true when this list executions of webhook policy unauthorized response has a 4xx status code
func (*ListExecutionsOfWebhookPolicyUnauthorized) IsCode ¶
func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsCode(code int) bool
IsCode returns true when this list executions of webhook policy unauthorized response a status code equal to that given
func (*ListExecutionsOfWebhookPolicyUnauthorized) IsRedirect ¶
func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsRedirect() bool
IsRedirect returns true when this list executions of webhook policy unauthorized response has a 3xx status code
func (*ListExecutionsOfWebhookPolicyUnauthorized) IsServerError ¶
func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsServerError() bool
IsServerError returns true when this list executions of webhook policy unauthorized response has a 5xx status code
func (*ListExecutionsOfWebhookPolicyUnauthorized) IsSuccess ¶
func (o *ListExecutionsOfWebhookPolicyUnauthorized) IsSuccess() bool
IsSuccess returns true when this list executions of webhook policy unauthorized response has a 2xx status code
func (*ListExecutionsOfWebhookPolicyUnauthorized) String ¶
func (o *ListExecutionsOfWebhookPolicyUnauthorized) String() string
type ListTasksOfWebhookExecutionBadRequest ¶
type ListTasksOfWebhookExecutionBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListTasksOfWebhookExecutionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListTasksOfWebhookExecutionBadRequest ¶
func NewListTasksOfWebhookExecutionBadRequest() *ListTasksOfWebhookExecutionBadRequest
NewListTasksOfWebhookExecutionBadRequest creates a ListTasksOfWebhookExecutionBadRequest with default headers values
func (*ListTasksOfWebhookExecutionBadRequest) Error ¶
func (o *ListTasksOfWebhookExecutionBadRequest) Error() string
func (*ListTasksOfWebhookExecutionBadRequest) GetPayload ¶
func (o *ListTasksOfWebhookExecutionBadRequest) GetPayload() *models.Errors
func (*ListTasksOfWebhookExecutionBadRequest) IsClientError ¶
func (o *ListTasksOfWebhookExecutionBadRequest) IsClientError() bool
IsClientError returns true when this list tasks of webhook execution bad request response has a 4xx status code
func (*ListTasksOfWebhookExecutionBadRequest) IsCode ¶
func (o *ListTasksOfWebhookExecutionBadRequest) IsCode(code int) bool
IsCode returns true when this list tasks of webhook execution bad request response a status code equal to that given
func (*ListTasksOfWebhookExecutionBadRequest) IsRedirect ¶
func (o *ListTasksOfWebhookExecutionBadRequest) IsRedirect() bool
IsRedirect returns true when this list tasks of webhook execution bad request response has a 3xx status code
func (*ListTasksOfWebhookExecutionBadRequest) IsServerError ¶
func (o *ListTasksOfWebhookExecutionBadRequest) IsServerError() bool
IsServerError returns true when this list tasks of webhook execution bad request response has a 5xx status code
func (*ListTasksOfWebhookExecutionBadRequest) IsSuccess ¶
func (o *ListTasksOfWebhookExecutionBadRequest) IsSuccess() bool
IsSuccess returns true when this list tasks of webhook execution bad request response has a 2xx status code
func (*ListTasksOfWebhookExecutionBadRequest) String ¶
func (o *ListTasksOfWebhookExecutionBadRequest) String() string
type ListTasksOfWebhookExecutionForbidden ¶
type ListTasksOfWebhookExecutionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListTasksOfWebhookExecutionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListTasksOfWebhookExecutionForbidden ¶
func NewListTasksOfWebhookExecutionForbidden() *ListTasksOfWebhookExecutionForbidden
NewListTasksOfWebhookExecutionForbidden creates a ListTasksOfWebhookExecutionForbidden with default headers values
func (*ListTasksOfWebhookExecutionForbidden) Error ¶
func (o *ListTasksOfWebhookExecutionForbidden) Error() string
func (*ListTasksOfWebhookExecutionForbidden) GetPayload ¶
func (o *ListTasksOfWebhookExecutionForbidden) GetPayload() *models.Errors
func (*ListTasksOfWebhookExecutionForbidden) IsClientError ¶
func (o *ListTasksOfWebhookExecutionForbidden) IsClientError() bool
IsClientError returns true when this list tasks of webhook execution forbidden response has a 4xx status code
func (*ListTasksOfWebhookExecutionForbidden) IsCode ¶
func (o *ListTasksOfWebhookExecutionForbidden) IsCode(code int) bool
IsCode returns true when this list tasks of webhook execution forbidden response a status code equal to that given
func (*ListTasksOfWebhookExecutionForbidden) IsRedirect ¶
func (o *ListTasksOfWebhookExecutionForbidden) IsRedirect() bool
IsRedirect returns true when this list tasks of webhook execution forbidden response has a 3xx status code
func (*ListTasksOfWebhookExecutionForbidden) IsServerError ¶
func (o *ListTasksOfWebhookExecutionForbidden) IsServerError() bool
IsServerError returns true when this list tasks of webhook execution forbidden response has a 5xx status code
func (*ListTasksOfWebhookExecutionForbidden) IsSuccess ¶
func (o *ListTasksOfWebhookExecutionForbidden) IsSuccess() bool
IsSuccess returns true when this list tasks of webhook execution forbidden response has a 2xx status code
func (*ListTasksOfWebhookExecutionForbidden) String ¶
func (o *ListTasksOfWebhookExecutionForbidden) String() string
type ListTasksOfWebhookExecutionInternalServerError ¶
type ListTasksOfWebhookExecutionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListTasksOfWebhookExecutionInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListTasksOfWebhookExecutionInternalServerError ¶
func NewListTasksOfWebhookExecutionInternalServerError() *ListTasksOfWebhookExecutionInternalServerError
NewListTasksOfWebhookExecutionInternalServerError creates a ListTasksOfWebhookExecutionInternalServerError with default headers values
func (*ListTasksOfWebhookExecutionInternalServerError) Error ¶
func (o *ListTasksOfWebhookExecutionInternalServerError) Error() string
func (*ListTasksOfWebhookExecutionInternalServerError) GetPayload ¶
func (o *ListTasksOfWebhookExecutionInternalServerError) GetPayload() *models.Errors
func (*ListTasksOfWebhookExecutionInternalServerError) IsClientError ¶
func (o *ListTasksOfWebhookExecutionInternalServerError) IsClientError() bool
IsClientError returns true when this list tasks of webhook execution internal server error response has a 4xx status code
func (*ListTasksOfWebhookExecutionInternalServerError) IsCode ¶
func (o *ListTasksOfWebhookExecutionInternalServerError) IsCode(code int) bool
IsCode returns true when this list tasks of webhook execution internal server error response a status code equal to that given
func (*ListTasksOfWebhookExecutionInternalServerError) IsRedirect ¶
func (o *ListTasksOfWebhookExecutionInternalServerError) IsRedirect() bool
IsRedirect returns true when this list tasks of webhook execution internal server error response has a 3xx status code
func (*ListTasksOfWebhookExecutionInternalServerError) IsServerError ¶
func (o *ListTasksOfWebhookExecutionInternalServerError) IsServerError() bool
IsServerError returns true when this list tasks of webhook execution internal server error response has a 5xx status code
func (*ListTasksOfWebhookExecutionInternalServerError) IsSuccess ¶
func (o *ListTasksOfWebhookExecutionInternalServerError) IsSuccess() bool
IsSuccess returns true when this list tasks of webhook execution internal server error response has a 2xx status code
func (*ListTasksOfWebhookExecutionInternalServerError) String ¶
func (o *ListTasksOfWebhookExecutionInternalServerError) String() string
type ListTasksOfWebhookExecutionNotFound ¶
type ListTasksOfWebhookExecutionNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListTasksOfWebhookExecutionNotFound describes a response with status code 404, with default header values.
Not found
func NewListTasksOfWebhookExecutionNotFound ¶
func NewListTasksOfWebhookExecutionNotFound() *ListTasksOfWebhookExecutionNotFound
NewListTasksOfWebhookExecutionNotFound creates a ListTasksOfWebhookExecutionNotFound with default headers values
func (*ListTasksOfWebhookExecutionNotFound) Error ¶
func (o *ListTasksOfWebhookExecutionNotFound) Error() string
func (*ListTasksOfWebhookExecutionNotFound) GetPayload ¶
func (o *ListTasksOfWebhookExecutionNotFound) GetPayload() *models.Errors
func (*ListTasksOfWebhookExecutionNotFound) IsClientError ¶
func (o *ListTasksOfWebhookExecutionNotFound) IsClientError() bool
IsClientError returns true when this list tasks of webhook execution not found response has a 4xx status code
func (*ListTasksOfWebhookExecutionNotFound) IsCode ¶
func (o *ListTasksOfWebhookExecutionNotFound) IsCode(code int) bool
IsCode returns true when this list tasks of webhook execution not found response a status code equal to that given
func (*ListTasksOfWebhookExecutionNotFound) IsRedirect ¶
func (o *ListTasksOfWebhookExecutionNotFound) IsRedirect() bool
IsRedirect returns true when this list tasks of webhook execution not found response has a 3xx status code
func (*ListTasksOfWebhookExecutionNotFound) IsServerError ¶
func (o *ListTasksOfWebhookExecutionNotFound) IsServerError() bool
IsServerError returns true when this list tasks of webhook execution not found response has a 5xx status code
func (*ListTasksOfWebhookExecutionNotFound) IsSuccess ¶
func (o *ListTasksOfWebhookExecutionNotFound) IsSuccess() bool
IsSuccess returns true when this list tasks of webhook execution not found response has a 2xx status code
func (*ListTasksOfWebhookExecutionNotFound) String ¶
func (o *ListTasksOfWebhookExecutionNotFound) String() string
type ListTasksOfWebhookExecutionOK ¶
type ListTasksOfWebhookExecutionOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of tasks */ XTotalCount int64 Payload []*models.Task }
ListTasksOfWebhookExecutionOK describes a response with status code 200, with default header values.
List tasks of webhook executions success
func NewListTasksOfWebhookExecutionOK ¶
func NewListTasksOfWebhookExecutionOK() *ListTasksOfWebhookExecutionOK
NewListTasksOfWebhookExecutionOK creates a ListTasksOfWebhookExecutionOK with default headers values
func (*ListTasksOfWebhookExecutionOK) Error ¶
func (o *ListTasksOfWebhookExecutionOK) Error() string
func (*ListTasksOfWebhookExecutionOK) GetPayload ¶
func (o *ListTasksOfWebhookExecutionOK) GetPayload() []*models.Task
func (*ListTasksOfWebhookExecutionOK) IsClientError ¶
func (o *ListTasksOfWebhookExecutionOK) IsClientError() bool
IsClientError returns true when this list tasks of webhook execution o k response has a 4xx status code
func (*ListTasksOfWebhookExecutionOK) IsCode ¶
func (o *ListTasksOfWebhookExecutionOK) IsCode(code int) bool
IsCode returns true when this list tasks of webhook execution o k response a status code equal to that given
func (*ListTasksOfWebhookExecutionOK) IsRedirect ¶
func (o *ListTasksOfWebhookExecutionOK) IsRedirect() bool
IsRedirect returns true when this list tasks of webhook execution o k response has a 3xx status code
func (*ListTasksOfWebhookExecutionOK) IsServerError ¶
func (o *ListTasksOfWebhookExecutionOK) IsServerError() bool
IsServerError returns true when this list tasks of webhook execution o k response has a 5xx status code
func (*ListTasksOfWebhookExecutionOK) IsSuccess ¶
func (o *ListTasksOfWebhookExecutionOK) IsSuccess() bool
IsSuccess returns true when this list tasks of webhook execution o k response has a 2xx status code
func (*ListTasksOfWebhookExecutionOK) String ¶
func (o *ListTasksOfWebhookExecutionOK) String() string
type ListTasksOfWebhookExecutionParams ¶
type ListTasksOfWebhookExecutionParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* ExecutionID. Execution ID */ ExecutionID int64 /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string /* Q. Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] */ Q *string /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *string /* WebhookPolicyID. The ID of the webhook policy Format: int64 */ WebhookPolicyID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTasksOfWebhookExecutionParams contains all the parameters to send to the API endpoint
for the list tasks of webhook execution operation. Typically these are written to a http.Request.
func NewListTasksOfWebhookExecutionParams ¶
func NewListTasksOfWebhookExecutionParams() *ListTasksOfWebhookExecutionParams
NewListTasksOfWebhookExecutionParams creates a new ListTasksOfWebhookExecutionParams 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 NewListTasksOfWebhookExecutionParamsWithContext ¶
func NewListTasksOfWebhookExecutionParamsWithContext(ctx context.Context) *ListTasksOfWebhookExecutionParams
NewListTasksOfWebhookExecutionParamsWithContext creates a new ListTasksOfWebhookExecutionParams object with the ability to set a context for a request.
func NewListTasksOfWebhookExecutionParamsWithHTTPClient ¶
func NewListTasksOfWebhookExecutionParamsWithHTTPClient(client *http.Client) *ListTasksOfWebhookExecutionParams
NewListTasksOfWebhookExecutionParamsWithHTTPClient creates a new ListTasksOfWebhookExecutionParams object with the ability to set a custom HTTPClient for a request.
func NewListTasksOfWebhookExecutionParamsWithTimeout ¶
func NewListTasksOfWebhookExecutionParamsWithTimeout(timeout time.Duration) *ListTasksOfWebhookExecutionParams
NewListTasksOfWebhookExecutionParamsWithTimeout creates a new ListTasksOfWebhookExecutionParams object with the ability to set a timeout on a request.
func (*ListTasksOfWebhookExecutionParams) SetContext ¶
func (o *ListTasksOfWebhookExecutionParams) SetContext(ctx context.Context)
SetContext adds the context to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetDefaults ¶
func (o *ListTasksOfWebhookExecutionParams) SetDefaults()
SetDefaults hydrates default values in the list tasks of webhook execution params (not the query body).
All values with no default are reset to their zero value.
func (*ListTasksOfWebhookExecutionParams) SetExecutionID ¶
func (o *ListTasksOfWebhookExecutionParams) SetExecutionID(executionID int64)
SetExecutionID adds the executionId to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetHTTPClient ¶
func (o *ListTasksOfWebhookExecutionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetPage ¶
func (o *ListTasksOfWebhookExecutionParams) SetPage(page *int64)
SetPage adds the page to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetPageSize ¶
func (o *ListTasksOfWebhookExecutionParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetProjectNameOrID ¶
func (o *ListTasksOfWebhookExecutionParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetQ ¶
func (o *ListTasksOfWebhookExecutionParams) SetQ(q *string)
SetQ adds the q to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetSort ¶
func (o *ListTasksOfWebhookExecutionParams) SetSort(sort *string)
SetSort adds the sort to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetTimeout ¶
func (o *ListTasksOfWebhookExecutionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetWebhookPolicyID ¶
func (o *ListTasksOfWebhookExecutionParams) SetWebhookPolicyID(webhookPolicyID int64)
SetWebhookPolicyID adds the webhookPolicyId to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetXIsResourceName ¶
func (o *ListTasksOfWebhookExecutionParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) SetXRequestID ¶
func (o *ListTasksOfWebhookExecutionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithContext ¶
func (o *ListTasksOfWebhookExecutionParams) WithContext(ctx context.Context) *ListTasksOfWebhookExecutionParams
WithContext adds the context to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithDefaults ¶
func (o *ListTasksOfWebhookExecutionParams) WithDefaults() *ListTasksOfWebhookExecutionParams
WithDefaults hydrates default values in the list tasks of webhook execution params (not the query body).
All values with no default are reset to their zero value.
func (*ListTasksOfWebhookExecutionParams) WithExecutionID ¶
func (o *ListTasksOfWebhookExecutionParams) WithExecutionID(executionID int64) *ListTasksOfWebhookExecutionParams
WithExecutionID adds the executionID to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithHTTPClient ¶
func (o *ListTasksOfWebhookExecutionParams) WithHTTPClient(client *http.Client) *ListTasksOfWebhookExecutionParams
WithHTTPClient adds the HTTPClient to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithPage ¶
func (o *ListTasksOfWebhookExecutionParams) WithPage(page *int64) *ListTasksOfWebhookExecutionParams
WithPage adds the page to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithPageSize ¶
func (o *ListTasksOfWebhookExecutionParams) WithPageSize(pageSize *int64) *ListTasksOfWebhookExecutionParams
WithPageSize adds the pageSize to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithProjectNameOrID ¶
func (o *ListTasksOfWebhookExecutionParams) WithProjectNameOrID(projectNameOrID string) *ListTasksOfWebhookExecutionParams
WithProjectNameOrID adds the projectNameOrID to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithQ ¶
func (o *ListTasksOfWebhookExecutionParams) WithQ(q *string) *ListTasksOfWebhookExecutionParams
WithQ adds the q to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithSort ¶
func (o *ListTasksOfWebhookExecutionParams) WithSort(sort *string) *ListTasksOfWebhookExecutionParams
WithSort adds the sort to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithTimeout ¶
func (o *ListTasksOfWebhookExecutionParams) WithTimeout(timeout time.Duration) *ListTasksOfWebhookExecutionParams
WithTimeout adds the timeout to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithWebhookPolicyID ¶
func (o *ListTasksOfWebhookExecutionParams) WithWebhookPolicyID(webhookPolicyID int64) *ListTasksOfWebhookExecutionParams
WithWebhookPolicyID adds the webhookPolicyID to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithXIsResourceName ¶
func (o *ListTasksOfWebhookExecutionParams) WithXIsResourceName(xIsResourceName *bool) *ListTasksOfWebhookExecutionParams
WithXIsResourceName adds the xIsResourceName to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WithXRequestID ¶
func (o *ListTasksOfWebhookExecutionParams) WithXRequestID(xRequestID *string) *ListTasksOfWebhookExecutionParams
WithXRequestID adds the xRequestID to the list tasks of webhook execution params
func (*ListTasksOfWebhookExecutionParams) WriteToRequest ¶
func (o *ListTasksOfWebhookExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTasksOfWebhookExecutionReader ¶
type ListTasksOfWebhookExecutionReader struct {
// contains filtered or unexported fields
}
ListTasksOfWebhookExecutionReader is a Reader for the ListTasksOfWebhookExecution structure.
func (*ListTasksOfWebhookExecutionReader) ReadResponse ¶
func (o *ListTasksOfWebhookExecutionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTasksOfWebhookExecutionUnauthorized ¶
type ListTasksOfWebhookExecutionUnauthorized struct { string }XRequestID
ListTasksOfWebhookExecutionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListTasksOfWebhookExecutionUnauthorized ¶
func NewListTasksOfWebhookExecutionUnauthorized() *ListTasksOfWebhookExecutionUnauthorized
NewListTasksOfWebhookExecutionUnauthorized creates a ListTasksOfWebhookExecutionUnauthorized with default headers values
func (*ListTasksOfWebhookExecutionUnauthorized) Error ¶
func (o *ListTasksOfWebhookExecutionUnauthorized) Error() string
func (*ListTasksOfWebhookExecutionUnauthorized) GetPayload ¶
func (o *ListTasksOfWebhookExecutionUnauthorized) GetPayload() *models.Errors
func (*ListTasksOfWebhookExecutionUnauthorized) IsClientError ¶
func (o *ListTasksOfWebhookExecutionUnauthorized) IsClientError() bool
IsClientError returns true when this list tasks of webhook execution unauthorized response has a 4xx status code
func (*ListTasksOfWebhookExecutionUnauthorized) IsCode ¶
func (o *ListTasksOfWebhookExecutionUnauthorized) IsCode(code int) bool
IsCode returns true when this list tasks of webhook execution unauthorized response a status code equal to that given
func (*ListTasksOfWebhookExecutionUnauthorized) IsRedirect ¶
func (o *ListTasksOfWebhookExecutionUnauthorized) IsRedirect() bool
IsRedirect returns true when this list tasks of webhook execution unauthorized response has a 3xx status code
func (*ListTasksOfWebhookExecutionUnauthorized) IsServerError ¶
func (o *ListTasksOfWebhookExecutionUnauthorized) IsServerError() bool
IsServerError returns true when this list tasks of webhook execution unauthorized response has a 5xx status code
func (*ListTasksOfWebhookExecutionUnauthorized) IsSuccess ¶
func (o *ListTasksOfWebhookExecutionUnauthorized) IsSuccess() bool
IsSuccess returns true when this list tasks of webhook execution unauthorized response has a 2xx status code
func (*ListTasksOfWebhookExecutionUnauthorized) String ¶
func (o *ListTasksOfWebhookExecutionUnauthorized) String() string
type ListWebhookPoliciesOfProjectBadRequest ¶
type ListWebhookPoliciesOfProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListWebhookPoliciesOfProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListWebhookPoliciesOfProjectBadRequest ¶
func NewListWebhookPoliciesOfProjectBadRequest() *ListWebhookPoliciesOfProjectBadRequest
NewListWebhookPoliciesOfProjectBadRequest creates a ListWebhookPoliciesOfProjectBadRequest with default headers values
func (*ListWebhookPoliciesOfProjectBadRequest) Error ¶
func (o *ListWebhookPoliciesOfProjectBadRequest) Error() string
func (*ListWebhookPoliciesOfProjectBadRequest) GetPayload ¶
func (o *ListWebhookPoliciesOfProjectBadRequest) GetPayload() *models.Errors
func (*ListWebhookPoliciesOfProjectBadRequest) IsClientError ¶
func (o *ListWebhookPoliciesOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this list webhook policies of project bad request response has a 4xx status code
func (*ListWebhookPoliciesOfProjectBadRequest) IsCode ¶
func (o *ListWebhookPoliciesOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this list webhook policies of project bad request response a status code equal to that given
func (*ListWebhookPoliciesOfProjectBadRequest) IsRedirect ¶
func (o *ListWebhookPoliciesOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this list webhook policies of project bad request response has a 3xx status code
func (*ListWebhookPoliciesOfProjectBadRequest) IsServerError ¶
func (o *ListWebhookPoliciesOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this list webhook policies of project bad request response has a 5xx status code
func (*ListWebhookPoliciesOfProjectBadRequest) IsSuccess ¶
func (o *ListWebhookPoliciesOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this list webhook policies of project bad request response has a 2xx status code
func (*ListWebhookPoliciesOfProjectBadRequest) String ¶
func (o *ListWebhookPoliciesOfProjectBadRequest) String() string
type ListWebhookPoliciesOfProjectForbidden ¶
type ListWebhookPoliciesOfProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListWebhookPoliciesOfProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListWebhookPoliciesOfProjectForbidden ¶
func NewListWebhookPoliciesOfProjectForbidden() *ListWebhookPoliciesOfProjectForbidden
NewListWebhookPoliciesOfProjectForbidden creates a ListWebhookPoliciesOfProjectForbidden with default headers values
func (*ListWebhookPoliciesOfProjectForbidden) Error ¶
func (o *ListWebhookPoliciesOfProjectForbidden) Error() string
func (*ListWebhookPoliciesOfProjectForbidden) GetPayload ¶
func (o *ListWebhookPoliciesOfProjectForbidden) GetPayload() *models.Errors
func (*ListWebhookPoliciesOfProjectForbidden) IsClientError ¶
func (o *ListWebhookPoliciesOfProjectForbidden) IsClientError() bool
IsClientError returns true when this list webhook policies of project forbidden response has a 4xx status code
func (*ListWebhookPoliciesOfProjectForbidden) IsCode ¶
func (o *ListWebhookPoliciesOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this list webhook policies of project forbidden response a status code equal to that given
func (*ListWebhookPoliciesOfProjectForbidden) IsRedirect ¶
func (o *ListWebhookPoliciesOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this list webhook policies of project forbidden response has a 3xx status code
func (*ListWebhookPoliciesOfProjectForbidden) IsServerError ¶
func (o *ListWebhookPoliciesOfProjectForbidden) IsServerError() bool
IsServerError returns true when this list webhook policies of project forbidden response has a 5xx status code
func (*ListWebhookPoliciesOfProjectForbidden) IsSuccess ¶
func (o *ListWebhookPoliciesOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this list webhook policies of project forbidden response has a 2xx status code
func (*ListWebhookPoliciesOfProjectForbidden) String ¶
func (o *ListWebhookPoliciesOfProjectForbidden) String() string
type ListWebhookPoliciesOfProjectInternalServerError ¶
type ListWebhookPoliciesOfProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListWebhookPoliciesOfProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListWebhookPoliciesOfProjectInternalServerError ¶
func NewListWebhookPoliciesOfProjectInternalServerError() *ListWebhookPoliciesOfProjectInternalServerError
NewListWebhookPoliciesOfProjectInternalServerError creates a ListWebhookPoliciesOfProjectInternalServerError with default headers values
func (*ListWebhookPoliciesOfProjectInternalServerError) Error ¶
func (o *ListWebhookPoliciesOfProjectInternalServerError) Error() string
func (*ListWebhookPoliciesOfProjectInternalServerError) GetPayload ¶
func (o *ListWebhookPoliciesOfProjectInternalServerError) GetPayload() *models.Errors
func (*ListWebhookPoliciesOfProjectInternalServerError) IsClientError ¶
func (o *ListWebhookPoliciesOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this list webhook policies of project internal server error response has a 4xx status code
func (*ListWebhookPoliciesOfProjectInternalServerError) IsCode ¶
func (o *ListWebhookPoliciesOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this list webhook policies of project internal server error response a status code equal to that given
func (*ListWebhookPoliciesOfProjectInternalServerError) IsRedirect ¶
func (o *ListWebhookPoliciesOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this list webhook policies of project internal server error response has a 3xx status code
func (*ListWebhookPoliciesOfProjectInternalServerError) IsServerError ¶
func (o *ListWebhookPoliciesOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this list webhook policies of project internal server error response has a 5xx status code
func (*ListWebhookPoliciesOfProjectInternalServerError) IsSuccess ¶
func (o *ListWebhookPoliciesOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this list webhook policies of project internal server error response has a 2xx status code
func (*ListWebhookPoliciesOfProjectInternalServerError) String ¶
func (o *ListWebhookPoliciesOfProjectInternalServerError) String() string
type ListWebhookPoliciesOfProjectOK ¶
type ListWebhookPoliciesOfProjectOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of webhook policies. */ XTotalCount int64 Payload []*models.WebhookPolicy }
ListWebhookPoliciesOfProjectOK describes a response with status code 200, with default header values.
Success
func NewListWebhookPoliciesOfProjectOK ¶
func NewListWebhookPoliciesOfProjectOK() *ListWebhookPoliciesOfProjectOK
NewListWebhookPoliciesOfProjectOK creates a ListWebhookPoliciesOfProjectOK with default headers values
func (*ListWebhookPoliciesOfProjectOK) Error ¶
func (o *ListWebhookPoliciesOfProjectOK) Error() string
func (*ListWebhookPoliciesOfProjectOK) GetPayload ¶
func (o *ListWebhookPoliciesOfProjectOK) GetPayload() []*models.WebhookPolicy
func (*ListWebhookPoliciesOfProjectOK) IsClientError ¶
func (o *ListWebhookPoliciesOfProjectOK) IsClientError() bool
IsClientError returns true when this list webhook policies of project o k response has a 4xx status code
func (*ListWebhookPoliciesOfProjectOK) IsCode ¶
func (o *ListWebhookPoliciesOfProjectOK) IsCode(code int) bool
IsCode returns true when this list webhook policies of project o k response a status code equal to that given
func (*ListWebhookPoliciesOfProjectOK) IsRedirect ¶
func (o *ListWebhookPoliciesOfProjectOK) IsRedirect() bool
IsRedirect returns true when this list webhook policies of project o k response has a 3xx status code
func (*ListWebhookPoliciesOfProjectOK) IsServerError ¶
func (o *ListWebhookPoliciesOfProjectOK) IsServerError() bool
IsServerError returns true when this list webhook policies of project o k response has a 5xx status code
func (*ListWebhookPoliciesOfProjectOK) IsSuccess ¶
func (o *ListWebhookPoliciesOfProjectOK) IsSuccess() bool
IsSuccess returns true when this list webhook policies of project o k response has a 2xx status code
func (*ListWebhookPoliciesOfProjectOK) String ¶
func (o *ListWebhookPoliciesOfProjectOK) String() string
type ListWebhookPoliciesOfProjectParams ¶
type ListWebhookPoliciesOfProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string /* Q. Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] */ Q *string /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListWebhookPoliciesOfProjectParams contains all the parameters to send to the API endpoint
for the list webhook policies of project operation. Typically these are written to a http.Request.
func NewListWebhookPoliciesOfProjectParams ¶
func NewListWebhookPoliciesOfProjectParams() *ListWebhookPoliciesOfProjectParams
NewListWebhookPoliciesOfProjectParams creates a new ListWebhookPoliciesOfProjectParams 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 NewListWebhookPoliciesOfProjectParamsWithContext ¶
func NewListWebhookPoliciesOfProjectParamsWithContext(ctx context.Context) *ListWebhookPoliciesOfProjectParams
NewListWebhookPoliciesOfProjectParamsWithContext creates a new ListWebhookPoliciesOfProjectParams object with the ability to set a context for a request.
func NewListWebhookPoliciesOfProjectParamsWithHTTPClient ¶
func NewListWebhookPoliciesOfProjectParamsWithHTTPClient(client *http.Client) *ListWebhookPoliciesOfProjectParams
NewListWebhookPoliciesOfProjectParamsWithHTTPClient creates a new ListWebhookPoliciesOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewListWebhookPoliciesOfProjectParamsWithTimeout ¶
func NewListWebhookPoliciesOfProjectParamsWithTimeout(timeout time.Duration) *ListWebhookPoliciesOfProjectParams
NewListWebhookPoliciesOfProjectParamsWithTimeout creates a new ListWebhookPoliciesOfProjectParams object with the ability to set a timeout on a request.
func (*ListWebhookPoliciesOfProjectParams) SetContext ¶
func (o *ListWebhookPoliciesOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) SetDefaults ¶
func (o *ListWebhookPoliciesOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the list webhook policies of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListWebhookPoliciesOfProjectParams) SetHTTPClient ¶
func (o *ListWebhookPoliciesOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) SetPage ¶
func (o *ListWebhookPoliciesOfProjectParams) SetPage(page *int64)
SetPage adds the page to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) SetPageSize ¶
func (o *ListWebhookPoliciesOfProjectParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) SetProjectNameOrID ¶
func (o *ListWebhookPoliciesOfProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) SetQ ¶
func (o *ListWebhookPoliciesOfProjectParams) SetQ(q *string)
SetQ adds the q to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) SetSort ¶
func (o *ListWebhookPoliciesOfProjectParams) SetSort(sort *string)
SetSort adds the sort to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) SetTimeout ¶
func (o *ListWebhookPoliciesOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) SetXIsResourceName ¶
func (o *ListWebhookPoliciesOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) SetXRequestID ¶
func (o *ListWebhookPoliciesOfProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithContext ¶
func (o *ListWebhookPoliciesOfProjectParams) WithContext(ctx context.Context) *ListWebhookPoliciesOfProjectParams
WithContext adds the context to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithDefaults ¶
func (o *ListWebhookPoliciesOfProjectParams) WithDefaults() *ListWebhookPoliciesOfProjectParams
WithDefaults hydrates default values in the list webhook policies of project params (not the query body).
All values with no default are reset to their zero value.
func (*ListWebhookPoliciesOfProjectParams) WithHTTPClient ¶
func (o *ListWebhookPoliciesOfProjectParams) WithHTTPClient(client *http.Client) *ListWebhookPoliciesOfProjectParams
WithHTTPClient adds the HTTPClient to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithPage ¶
func (o *ListWebhookPoliciesOfProjectParams) WithPage(page *int64) *ListWebhookPoliciesOfProjectParams
WithPage adds the page to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithPageSize ¶
func (o *ListWebhookPoliciesOfProjectParams) WithPageSize(pageSize *int64) *ListWebhookPoliciesOfProjectParams
WithPageSize adds the pageSize to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithProjectNameOrID ¶
func (o *ListWebhookPoliciesOfProjectParams) WithProjectNameOrID(projectNameOrID string) *ListWebhookPoliciesOfProjectParams
WithProjectNameOrID adds the projectNameOrID to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithQ ¶
func (o *ListWebhookPoliciesOfProjectParams) WithQ(q *string) *ListWebhookPoliciesOfProjectParams
WithQ adds the q to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithSort ¶
func (o *ListWebhookPoliciesOfProjectParams) WithSort(sort *string) *ListWebhookPoliciesOfProjectParams
WithSort adds the sort to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithTimeout ¶
func (o *ListWebhookPoliciesOfProjectParams) WithTimeout(timeout time.Duration) *ListWebhookPoliciesOfProjectParams
WithTimeout adds the timeout to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithXIsResourceName ¶
func (o *ListWebhookPoliciesOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *ListWebhookPoliciesOfProjectParams
WithXIsResourceName adds the xIsResourceName to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WithXRequestID ¶
func (o *ListWebhookPoliciesOfProjectParams) WithXRequestID(xRequestID *string) *ListWebhookPoliciesOfProjectParams
WithXRequestID adds the xRequestID to the list webhook policies of project params
func (*ListWebhookPoliciesOfProjectParams) WriteToRequest ¶
func (o *ListWebhookPoliciesOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListWebhookPoliciesOfProjectReader ¶
type ListWebhookPoliciesOfProjectReader struct {
// contains filtered or unexported fields
}
ListWebhookPoliciesOfProjectReader is a Reader for the ListWebhookPoliciesOfProject structure.
func (*ListWebhookPoliciesOfProjectReader) ReadResponse ¶
func (o *ListWebhookPoliciesOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListWebhookPoliciesOfProjectUnauthorized ¶
type ListWebhookPoliciesOfProjectUnauthorized struct { string }XRequestID
ListWebhookPoliciesOfProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListWebhookPoliciesOfProjectUnauthorized ¶
func NewListWebhookPoliciesOfProjectUnauthorized() *ListWebhookPoliciesOfProjectUnauthorized
NewListWebhookPoliciesOfProjectUnauthorized creates a ListWebhookPoliciesOfProjectUnauthorized with default headers values
func (*ListWebhookPoliciesOfProjectUnauthorized) Error ¶
func (o *ListWebhookPoliciesOfProjectUnauthorized) Error() string
func (*ListWebhookPoliciesOfProjectUnauthorized) GetPayload ¶
func (o *ListWebhookPoliciesOfProjectUnauthorized) GetPayload() *models.Errors
func (*ListWebhookPoliciesOfProjectUnauthorized) IsClientError ¶
func (o *ListWebhookPoliciesOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this list webhook policies of project unauthorized response has a 4xx status code
func (*ListWebhookPoliciesOfProjectUnauthorized) IsCode ¶
func (o *ListWebhookPoliciesOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this list webhook policies of project unauthorized response a status code equal to that given
func (*ListWebhookPoliciesOfProjectUnauthorized) IsRedirect ¶
func (o *ListWebhookPoliciesOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this list webhook policies of project unauthorized response has a 3xx status code
func (*ListWebhookPoliciesOfProjectUnauthorized) IsServerError ¶
func (o *ListWebhookPoliciesOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this list webhook policies of project unauthorized response has a 5xx status code
func (*ListWebhookPoliciesOfProjectUnauthorized) IsSuccess ¶
func (o *ListWebhookPoliciesOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this list webhook policies of project unauthorized response has a 2xx status code
func (*ListWebhookPoliciesOfProjectUnauthorized) String ¶
func (o *ListWebhookPoliciesOfProjectUnauthorized) String() string
type UpdateWebhookPolicyOfProjectBadRequest ¶
type UpdateWebhookPolicyOfProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateWebhookPolicyOfProjectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateWebhookPolicyOfProjectBadRequest ¶
func NewUpdateWebhookPolicyOfProjectBadRequest() *UpdateWebhookPolicyOfProjectBadRequest
NewUpdateWebhookPolicyOfProjectBadRequest creates a UpdateWebhookPolicyOfProjectBadRequest with default headers values
func (*UpdateWebhookPolicyOfProjectBadRequest) Error ¶
func (o *UpdateWebhookPolicyOfProjectBadRequest) Error() string
func (*UpdateWebhookPolicyOfProjectBadRequest) GetPayload ¶
func (o *UpdateWebhookPolicyOfProjectBadRequest) GetPayload() *models.Errors
func (*UpdateWebhookPolicyOfProjectBadRequest) IsClientError ¶
func (o *UpdateWebhookPolicyOfProjectBadRequest) IsClientError() bool
IsClientError returns true when this update webhook policy of project bad request response has a 4xx status code
func (*UpdateWebhookPolicyOfProjectBadRequest) IsCode ¶
func (o *UpdateWebhookPolicyOfProjectBadRequest) IsCode(code int) bool
IsCode returns true when this update webhook policy of project bad request response a status code equal to that given
func (*UpdateWebhookPolicyOfProjectBadRequest) IsRedirect ¶
func (o *UpdateWebhookPolicyOfProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this update webhook policy of project bad request response has a 3xx status code
func (*UpdateWebhookPolicyOfProjectBadRequest) IsServerError ¶
func (o *UpdateWebhookPolicyOfProjectBadRequest) IsServerError() bool
IsServerError returns true when this update webhook policy of project bad request response has a 5xx status code
func (*UpdateWebhookPolicyOfProjectBadRequest) IsSuccess ¶
func (o *UpdateWebhookPolicyOfProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this update webhook policy of project bad request response has a 2xx status code
func (*UpdateWebhookPolicyOfProjectBadRequest) String ¶
func (o *UpdateWebhookPolicyOfProjectBadRequest) String() string
type UpdateWebhookPolicyOfProjectForbidden ¶
type UpdateWebhookPolicyOfProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateWebhookPolicyOfProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateWebhookPolicyOfProjectForbidden ¶
func NewUpdateWebhookPolicyOfProjectForbidden() *UpdateWebhookPolicyOfProjectForbidden
NewUpdateWebhookPolicyOfProjectForbidden creates a UpdateWebhookPolicyOfProjectForbidden with default headers values
func (*UpdateWebhookPolicyOfProjectForbidden) Error ¶
func (o *UpdateWebhookPolicyOfProjectForbidden) Error() string
func (*UpdateWebhookPolicyOfProjectForbidden) GetPayload ¶
func (o *UpdateWebhookPolicyOfProjectForbidden) GetPayload() *models.Errors
func (*UpdateWebhookPolicyOfProjectForbidden) IsClientError ¶
func (o *UpdateWebhookPolicyOfProjectForbidden) IsClientError() bool
IsClientError returns true when this update webhook policy of project forbidden response has a 4xx status code
func (*UpdateWebhookPolicyOfProjectForbidden) IsCode ¶
func (o *UpdateWebhookPolicyOfProjectForbidden) IsCode(code int) bool
IsCode returns true when this update webhook policy of project forbidden response a status code equal to that given
func (*UpdateWebhookPolicyOfProjectForbidden) IsRedirect ¶
func (o *UpdateWebhookPolicyOfProjectForbidden) IsRedirect() bool
IsRedirect returns true when this update webhook policy of project forbidden response has a 3xx status code
func (*UpdateWebhookPolicyOfProjectForbidden) IsServerError ¶
func (o *UpdateWebhookPolicyOfProjectForbidden) IsServerError() bool
IsServerError returns true when this update webhook policy of project forbidden response has a 5xx status code
func (*UpdateWebhookPolicyOfProjectForbidden) IsSuccess ¶
func (o *UpdateWebhookPolicyOfProjectForbidden) IsSuccess() bool
IsSuccess returns true when this update webhook policy of project forbidden response has a 2xx status code
func (*UpdateWebhookPolicyOfProjectForbidden) String ¶
func (o *UpdateWebhookPolicyOfProjectForbidden) String() string
type UpdateWebhookPolicyOfProjectInternalServerError ¶
type UpdateWebhookPolicyOfProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateWebhookPolicyOfProjectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateWebhookPolicyOfProjectInternalServerError ¶
func NewUpdateWebhookPolicyOfProjectInternalServerError() *UpdateWebhookPolicyOfProjectInternalServerError
NewUpdateWebhookPolicyOfProjectInternalServerError creates a UpdateWebhookPolicyOfProjectInternalServerError with default headers values
func (*UpdateWebhookPolicyOfProjectInternalServerError) Error ¶
func (o *UpdateWebhookPolicyOfProjectInternalServerError) Error() string
func (*UpdateWebhookPolicyOfProjectInternalServerError) GetPayload ¶
func (o *UpdateWebhookPolicyOfProjectInternalServerError) GetPayload() *models.Errors
func (*UpdateWebhookPolicyOfProjectInternalServerError) IsClientError ¶
func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsClientError() bool
IsClientError returns true when this update webhook policy of project internal server error response has a 4xx status code
func (*UpdateWebhookPolicyOfProjectInternalServerError) IsCode ¶
func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this update webhook policy of project internal server error response a status code equal to that given
func (*UpdateWebhookPolicyOfProjectInternalServerError) IsRedirect ¶
func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this update webhook policy of project internal server error response has a 3xx status code
func (*UpdateWebhookPolicyOfProjectInternalServerError) IsServerError ¶
func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsServerError() bool
IsServerError returns true when this update webhook policy of project internal server error response has a 5xx status code
func (*UpdateWebhookPolicyOfProjectInternalServerError) IsSuccess ¶
func (o *UpdateWebhookPolicyOfProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this update webhook policy of project internal server error response has a 2xx status code
func (*UpdateWebhookPolicyOfProjectInternalServerError) String ¶
func (o *UpdateWebhookPolicyOfProjectInternalServerError) String() string
type UpdateWebhookPolicyOfProjectNotFound ¶
type UpdateWebhookPolicyOfProjectNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateWebhookPolicyOfProjectNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateWebhookPolicyOfProjectNotFound ¶
func NewUpdateWebhookPolicyOfProjectNotFound() *UpdateWebhookPolicyOfProjectNotFound
NewUpdateWebhookPolicyOfProjectNotFound creates a UpdateWebhookPolicyOfProjectNotFound with default headers values
func (*UpdateWebhookPolicyOfProjectNotFound) Error ¶
func (o *UpdateWebhookPolicyOfProjectNotFound) Error() string
func (*UpdateWebhookPolicyOfProjectNotFound) GetPayload ¶
func (o *UpdateWebhookPolicyOfProjectNotFound) GetPayload() *models.Errors
func (*UpdateWebhookPolicyOfProjectNotFound) IsClientError ¶
func (o *UpdateWebhookPolicyOfProjectNotFound) IsClientError() bool
IsClientError returns true when this update webhook policy of project not found response has a 4xx status code
func (*UpdateWebhookPolicyOfProjectNotFound) IsCode ¶
func (o *UpdateWebhookPolicyOfProjectNotFound) IsCode(code int) bool
IsCode returns true when this update webhook policy of project not found response a status code equal to that given
func (*UpdateWebhookPolicyOfProjectNotFound) IsRedirect ¶
func (o *UpdateWebhookPolicyOfProjectNotFound) IsRedirect() bool
IsRedirect returns true when this update webhook policy of project not found response has a 3xx status code
func (*UpdateWebhookPolicyOfProjectNotFound) IsServerError ¶
func (o *UpdateWebhookPolicyOfProjectNotFound) IsServerError() bool
IsServerError returns true when this update webhook policy of project not found response has a 5xx status code
func (*UpdateWebhookPolicyOfProjectNotFound) IsSuccess ¶
func (o *UpdateWebhookPolicyOfProjectNotFound) IsSuccess() bool
IsSuccess returns true when this update webhook policy of project not found response has a 2xx status code
func (*UpdateWebhookPolicyOfProjectNotFound) String ¶
func (o *UpdateWebhookPolicyOfProjectNotFound) String() string
type UpdateWebhookPolicyOfProjectOK ¶
type UpdateWebhookPolicyOfProjectOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
UpdateWebhookPolicyOfProjectOK describes a response with status code 200, with default header values.
Success
func NewUpdateWebhookPolicyOfProjectOK ¶
func NewUpdateWebhookPolicyOfProjectOK() *UpdateWebhookPolicyOfProjectOK
NewUpdateWebhookPolicyOfProjectOK creates a UpdateWebhookPolicyOfProjectOK with default headers values
func (*UpdateWebhookPolicyOfProjectOK) Error ¶
func (o *UpdateWebhookPolicyOfProjectOK) Error() string
func (*UpdateWebhookPolicyOfProjectOK) IsClientError ¶
func (o *UpdateWebhookPolicyOfProjectOK) IsClientError() bool
IsClientError returns true when this update webhook policy of project o k response has a 4xx status code
func (*UpdateWebhookPolicyOfProjectOK) IsCode ¶
func (o *UpdateWebhookPolicyOfProjectOK) IsCode(code int) bool
IsCode returns true when this update webhook policy of project o k response a status code equal to that given
func (*UpdateWebhookPolicyOfProjectOK) IsRedirect ¶
func (o *UpdateWebhookPolicyOfProjectOK) IsRedirect() bool
IsRedirect returns true when this update webhook policy of project o k response has a 3xx status code
func (*UpdateWebhookPolicyOfProjectOK) IsServerError ¶
func (o *UpdateWebhookPolicyOfProjectOK) IsServerError() bool
IsServerError returns true when this update webhook policy of project o k response has a 5xx status code
func (*UpdateWebhookPolicyOfProjectOK) IsSuccess ¶
func (o *UpdateWebhookPolicyOfProjectOK) IsSuccess() bool
IsSuccess returns true when this update webhook policy of project o k response has a 2xx status code
func (*UpdateWebhookPolicyOfProjectOK) String ¶
func (o *UpdateWebhookPolicyOfProjectOK) String() string
type UpdateWebhookPolicyOfProjectParams ¶
type UpdateWebhookPolicyOfProjectParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* Policy. All properties needed except "id", "project_id", "creation_time", "update_time". */ Policy *models.WebhookPolicy /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string /* WebhookPolicyID. The ID of the webhook policy Format: int64 */ WebhookPolicyID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateWebhookPolicyOfProjectParams contains all the parameters to send to the API endpoint
for the update webhook policy of project operation. Typically these are written to a http.Request.
func NewUpdateWebhookPolicyOfProjectParams ¶
func NewUpdateWebhookPolicyOfProjectParams() *UpdateWebhookPolicyOfProjectParams
NewUpdateWebhookPolicyOfProjectParams creates a new UpdateWebhookPolicyOfProjectParams 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 NewUpdateWebhookPolicyOfProjectParamsWithContext ¶
func NewUpdateWebhookPolicyOfProjectParamsWithContext(ctx context.Context) *UpdateWebhookPolicyOfProjectParams
NewUpdateWebhookPolicyOfProjectParamsWithContext creates a new UpdateWebhookPolicyOfProjectParams object with the ability to set a context for a request.
func NewUpdateWebhookPolicyOfProjectParamsWithHTTPClient ¶
func NewUpdateWebhookPolicyOfProjectParamsWithHTTPClient(client *http.Client) *UpdateWebhookPolicyOfProjectParams
NewUpdateWebhookPolicyOfProjectParamsWithHTTPClient creates a new UpdateWebhookPolicyOfProjectParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateWebhookPolicyOfProjectParamsWithTimeout ¶
func NewUpdateWebhookPolicyOfProjectParamsWithTimeout(timeout time.Duration) *UpdateWebhookPolicyOfProjectParams
NewUpdateWebhookPolicyOfProjectParamsWithTimeout creates a new UpdateWebhookPolicyOfProjectParams object with the ability to set a timeout on a request.
func (*UpdateWebhookPolicyOfProjectParams) SetContext ¶
func (o *UpdateWebhookPolicyOfProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) SetDefaults ¶
func (o *UpdateWebhookPolicyOfProjectParams) SetDefaults()
SetDefaults hydrates default values in the update webhook policy of project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateWebhookPolicyOfProjectParams) SetHTTPClient ¶
func (o *UpdateWebhookPolicyOfProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) SetPolicy ¶
func (o *UpdateWebhookPolicyOfProjectParams) SetPolicy(policy *models.WebhookPolicy)
SetPolicy adds the policy to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) SetProjectNameOrID ¶
func (o *UpdateWebhookPolicyOfProjectParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) SetTimeout ¶
func (o *UpdateWebhookPolicyOfProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) SetWebhookPolicyID ¶
func (o *UpdateWebhookPolicyOfProjectParams) SetWebhookPolicyID(webhookPolicyID int64)
SetWebhookPolicyID adds the webhookPolicyId to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) SetXIsResourceName ¶
func (o *UpdateWebhookPolicyOfProjectParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) SetXRequestID ¶
func (o *UpdateWebhookPolicyOfProjectParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) WithContext ¶
func (o *UpdateWebhookPolicyOfProjectParams) WithContext(ctx context.Context) *UpdateWebhookPolicyOfProjectParams
WithContext adds the context to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) WithDefaults ¶
func (o *UpdateWebhookPolicyOfProjectParams) WithDefaults() *UpdateWebhookPolicyOfProjectParams
WithDefaults hydrates default values in the update webhook policy of project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateWebhookPolicyOfProjectParams) WithHTTPClient ¶
func (o *UpdateWebhookPolicyOfProjectParams) WithHTTPClient(client *http.Client) *UpdateWebhookPolicyOfProjectParams
WithHTTPClient adds the HTTPClient to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) WithPolicy ¶
func (o *UpdateWebhookPolicyOfProjectParams) WithPolicy(policy *models.WebhookPolicy) *UpdateWebhookPolicyOfProjectParams
WithPolicy adds the policy to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) WithProjectNameOrID ¶
func (o *UpdateWebhookPolicyOfProjectParams) WithProjectNameOrID(projectNameOrID string) *UpdateWebhookPolicyOfProjectParams
WithProjectNameOrID adds the projectNameOrID to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) WithTimeout ¶
func (o *UpdateWebhookPolicyOfProjectParams) WithTimeout(timeout time.Duration) *UpdateWebhookPolicyOfProjectParams
WithTimeout adds the timeout to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) WithWebhookPolicyID ¶
func (o *UpdateWebhookPolicyOfProjectParams) WithWebhookPolicyID(webhookPolicyID int64) *UpdateWebhookPolicyOfProjectParams
WithWebhookPolicyID adds the webhookPolicyID to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) WithXIsResourceName ¶
func (o *UpdateWebhookPolicyOfProjectParams) WithXIsResourceName(xIsResourceName *bool) *UpdateWebhookPolicyOfProjectParams
WithXIsResourceName adds the xIsResourceName to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) WithXRequestID ¶
func (o *UpdateWebhookPolicyOfProjectParams) WithXRequestID(xRequestID *string) *UpdateWebhookPolicyOfProjectParams
WithXRequestID adds the xRequestID to the update webhook policy of project params
func (*UpdateWebhookPolicyOfProjectParams) WriteToRequest ¶
func (o *UpdateWebhookPolicyOfProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateWebhookPolicyOfProjectReader ¶
type UpdateWebhookPolicyOfProjectReader struct {
// contains filtered or unexported fields
}
UpdateWebhookPolicyOfProjectReader is a Reader for the UpdateWebhookPolicyOfProject structure.
func (*UpdateWebhookPolicyOfProjectReader) ReadResponse ¶
func (o *UpdateWebhookPolicyOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateWebhookPolicyOfProjectUnauthorized ¶
type UpdateWebhookPolicyOfProjectUnauthorized struct { string }XRequestID
UpdateWebhookPolicyOfProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateWebhookPolicyOfProjectUnauthorized ¶
func NewUpdateWebhookPolicyOfProjectUnauthorized() *UpdateWebhookPolicyOfProjectUnauthorized
NewUpdateWebhookPolicyOfProjectUnauthorized creates a UpdateWebhookPolicyOfProjectUnauthorized with default headers values
func (*UpdateWebhookPolicyOfProjectUnauthorized) Error ¶
func (o *UpdateWebhookPolicyOfProjectUnauthorized) Error() string
func (*UpdateWebhookPolicyOfProjectUnauthorized) GetPayload ¶
func (o *UpdateWebhookPolicyOfProjectUnauthorized) GetPayload() *models.Errors
func (*UpdateWebhookPolicyOfProjectUnauthorized) IsClientError ¶
func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsClientError() bool
IsClientError returns true when this update webhook policy of project unauthorized response has a 4xx status code
func (*UpdateWebhookPolicyOfProjectUnauthorized) IsCode ¶
func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this update webhook policy of project unauthorized response a status code equal to that given
func (*UpdateWebhookPolicyOfProjectUnauthorized) IsRedirect ¶
func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this update webhook policy of project unauthorized response has a 3xx status code
func (*UpdateWebhookPolicyOfProjectUnauthorized) IsServerError ¶
func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsServerError() bool
IsServerError returns true when this update webhook policy of project unauthorized response has a 5xx status code
func (*UpdateWebhookPolicyOfProjectUnauthorized) IsSuccess ¶
func (o *UpdateWebhookPolicyOfProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this update webhook policy of project unauthorized response has a 2xx status code
func (*UpdateWebhookPolicyOfProjectUnauthorized) String ¶
func (o *UpdateWebhookPolicyOfProjectUnauthorized) String() string
Source Files ¶
- create_webhook_policy_of_project_parameters.go
- create_webhook_policy_of_project_responses.go
- delete_webhook_policy_of_project_parameters.go
- delete_webhook_policy_of_project_responses.go
- get_logs_of_webhook_task_parameters.go
- get_logs_of_webhook_task_responses.go
- get_supported_event_types_parameters.go
- get_supported_event_types_responses.go
- get_webhook_policy_of_project_parameters.go
- get_webhook_policy_of_project_responses.go
- last_trigger_parameters.go
- last_trigger_responses.go
- list_executions_of_webhook_policy_parameters.go
- list_executions_of_webhook_policy_responses.go
- list_tasks_of_webhook_execution_parameters.go
- list_tasks_of_webhook_execution_responses.go
- list_webhook_policies_of_project_parameters.go
- list_webhook_policies_of_project_responses.go
- update_webhook_policy_of_project_parameters.go
- update_webhook_policy_of_project_responses.go
- webhook_client.go