webhook

package
v0.210.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 (*CreateWebhookPolicyOfProjectBadRequest) GetPayload

func (*CreateWebhookPolicyOfProjectBadRequest) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this create webhook policy of project bad request response a status code equal to that given

func (*CreateWebhookPolicyOfProjectBadRequest) IsRedirect added in v0.26.2

IsRedirect returns true when this create webhook policy of project bad request response has a 3xx status code

func (*CreateWebhookPolicyOfProjectBadRequest) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this create webhook policy of project bad request response has a 2xx status code

func (*CreateWebhookPolicyOfProjectBadRequest) String added in v0.26.2

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 (*CreateWebhookPolicyOfProjectCreated) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this create webhook policy of project created response a status code equal to that given

func (*CreateWebhookPolicyOfProjectCreated) IsRedirect added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this create webhook policy of project created response has a 2xx status code

func (*CreateWebhookPolicyOfProjectCreated) String added in v0.26.2

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 (*CreateWebhookPolicyOfProjectForbidden) GetPayload

func (*CreateWebhookPolicyOfProjectForbidden) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this create webhook policy of project forbidden response a status code equal to that given

func (*CreateWebhookPolicyOfProjectForbidden) IsRedirect added in v0.26.2

IsRedirect returns true when this create webhook policy of project forbidden response has a 3xx status code

func (*CreateWebhookPolicyOfProjectForbidden) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this create webhook policy of project forbidden response has a 2xx status code

func (*CreateWebhookPolicyOfProjectForbidden) String added in v0.26.2

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 (*CreateWebhookPolicyOfProjectInternalServerError) GetPayload

func (*CreateWebhookPolicyOfProjectInternalServerError) IsClientError added in v0.26.2

IsClientError returns true when this create webhook policy of project internal server error response has a 4xx status code

func (*CreateWebhookPolicyOfProjectInternalServerError) IsCode added in v0.26.2

IsCode returns true when this create webhook policy of project internal server error response a status code equal to that given

func (*CreateWebhookPolicyOfProjectInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this create webhook policy of project internal server error response has a 3xx status code

func (*CreateWebhookPolicyOfProjectInternalServerError) IsServerError added in v0.26.2

IsServerError returns true when this create webhook policy of project internal server error response has a 5xx status code

func (*CreateWebhookPolicyOfProjectInternalServerError) IsSuccess added in v0.26.2

IsSuccess returns true when this create webhook policy of project internal server error response has a 2xx status code

func (*CreateWebhookPolicyOfProjectInternalServerError) String added in v0.26.2

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

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

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

WithContext adds the context to the create webhook policy of project params

func (*CreateWebhookPolicyOfProjectParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create webhook policy of project params

func (*CreateWebhookPolicyOfProjectParams) WithPolicy

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

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

WithXRequestID adds the xRequestID to the create webhook policy of project params

func (*CreateWebhookPolicyOfProjectParams) WriteToRequest

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*CreateWebhookPolicyOfProjectUnauthorized) GetPayload

func (*CreateWebhookPolicyOfProjectUnauthorized) IsClientError added in v0.26.2

IsClientError returns true when this create webhook policy of project unauthorized response has a 4xx status code

func (*CreateWebhookPolicyOfProjectUnauthorized) IsCode added in v0.26.2

IsCode returns true when this create webhook policy of project unauthorized response a status code equal to that given

func (*CreateWebhookPolicyOfProjectUnauthorized) IsRedirect added in v0.26.2

IsRedirect returns true when this create webhook policy of project unauthorized response has a 3xx status code

func (*CreateWebhookPolicyOfProjectUnauthorized) IsServerError added in v0.26.2

IsServerError returns true when this create webhook policy of project unauthorized response has a 5xx status code

func (*CreateWebhookPolicyOfProjectUnauthorized) IsSuccess added in v0.26.2

IsSuccess returns true when this create webhook policy of project unauthorized response has a 2xx status code

func (*CreateWebhookPolicyOfProjectUnauthorized) String added in v0.26.2

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 (*DeleteWebhookPolicyOfProjectBadRequest) GetPayload

func (*DeleteWebhookPolicyOfProjectBadRequest) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this delete webhook policy of project bad request response a status code equal to that given

func (*DeleteWebhookPolicyOfProjectBadRequest) IsRedirect added in v0.26.2

IsRedirect returns true when this delete webhook policy of project bad request response has a 3xx status code

func (*DeleteWebhookPolicyOfProjectBadRequest) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this delete webhook policy of project bad request response has a 2xx status code

func (*DeleteWebhookPolicyOfProjectBadRequest) String added in v0.26.2

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 (*DeleteWebhookPolicyOfProjectForbidden) GetPayload

func (*DeleteWebhookPolicyOfProjectForbidden) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this delete webhook policy of project forbidden response a status code equal to that given

func (*DeleteWebhookPolicyOfProjectForbidden) IsRedirect added in v0.26.2

IsRedirect returns true when this delete webhook policy of project forbidden response has a 3xx status code

func (*DeleteWebhookPolicyOfProjectForbidden) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this delete webhook policy of project forbidden response has a 2xx status code

func (*DeleteWebhookPolicyOfProjectForbidden) String added in v0.26.2

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 (*DeleteWebhookPolicyOfProjectInternalServerError) GetPayload

func (*DeleteWebhookPolicyOfProjectInternalServerError) IsClientError added in v0.26.2

IsClientError returns true when this delete webhook policy of project internal server error response has a 4xx status code

func (*DeleteWebhookPolicyOfProjectInternalServerError) IsCode added in v0.26.2

IsCode returns true when this delete webhook policy of project internal server error response a status code equal to that given

func (*DeleteWebhookPolicyOfProjectInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this delete webhook policy of project internal server error response has a 3xx status code

func (*DeleteWebhookPolicyOfProjectInternalServerError) IsServerError added in v0.26.2

IsServerError returns true when this delete webhook policy of project internal server error response has a 5xx status code

func (*DeleteWebhookPolicyOfProjectInternalServerError) IsSuccess added in v0.26.2

IsSuccess returns true when this delete webhook policy of project internal server error response has a 2xx status code

func (*DeleteWebhookPolicyOfProjectInternalServerError) String added in v0.26.2

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 (*DeleteWebhookPolicyOfProjectNotFound) GetPayload

func (*DeleteWebhookPolicyOfProjectNotFound) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this delete webhook policy of project not found response a status code equal to that given

func (*DeleteWebhookPolicyOfProjectNotFound) IsRedirect added in v0.26.2

IsRedirect returns true when this delete webhook policy of project not found response has a 3xx status code

func (*DeleteWebhookPolicyOfProjectNotFound) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this delete webhook policy of project not found response has a 2xx status code

func (*DeleteWebhookPolicyOfProjectNotFound) String added in v0.26.2

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 (*DeleteWebhookPolicyOfProjectOK) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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

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

WithContext adds the context to the delete webhook policy of project params

func (*DeleteWebhookPolicyOfProjectParams) WithDefaults

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

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

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

WithXRequestID adds the xRequestID to the delete webhook policy of project params

func (*DeleteWebhookPolicyOfProjectParams) WriteToRequest

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*DeleteWebhookPolicyOfProjectUnauthorized) GetPayload

func (*DeleteWebhookPolicyOfProjectUnauthorized) IsClientError added in v0.26.2

IsClientError returns true when this delete webhook policy of project unauthorized response has a 4xx status code

func (*DeleteWebhookPolicyOfProjectUnauthorized) IsCode added in v0.26.2

IsCode returns true when this delete webhook policy of project unauthorized response a status code equal to that given

func (*DeleteWebhookPolicyOfProjectUnauthorized) IsRedirect added in v0.26.2

IsRedirect returns true when this delete webhook policy of project unauthorized response has a 3xx status code

func (*DeleteWebhookPolicyOfProjectUnauthorized) IsServerError added in v0.26.2

IsServerError returns true when this delete webhook policy of project unauthorized response has a 5xx status code

func (*DeleteWebhookPolicyOfProjectUnauthorized) IsSuccess added in v0.26.2

IsSuccess returns true when this delete webhook policy of project unauthorized response has a 2xx status code

func (*DeleteWebhookPolicyOfProjectUnauthorized) String added in v0.26.2

type GetLogsOfWebhookTaskBadRequest added in v0.28.2

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 added in v0.28.2

func NewGetLogsOfWebhookTaskBadRequest() *GetLogsOfWebhookTaskBadRequest

NewGetLogsOfWebhookTaskBadRequest creates a GetLogsOfWebhookTaskBadRequest with default headers values

func (*GetLogsOfWebhookTaskBadRequest) Error added in v0.28.2

func (*GetLogsOfWebhookTaskBadRequest) GetPayload added in v0.28.2

func (o *GetLogsOfWebhookTaskBadRequest) GetPayload() *models.Errors

func (*GetLogsOfWebhookTaskBadRequest) IsClientError added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

type GetLogsOfWebhookTaskForbidden added in v0.28.2

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 added in v0.28.2

func NewGetLogsOfWebhookTaskForbidden() *GetLogsOfWebhookTaskForbidden

NewGetLogsOfWebhookTaskForbidden creates a GetLogsOfWebhookTaskForbidden with default headers values

func (*GetLogsOfWebhookTaskForbidden) Error added in v0.28.2

func (*GetLogsOfWebhookTaskForbidden) GetPayload added in v0.28.2

func (o *GetLogsOfWebhookTaskForbidden) GetPayload() *models.Errors

func (*GetLogsOfWebhookTaskForbidden) IsClientError added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

type GetLogsOfWebhookTaskInternalServerError added in v0.28.2

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 added in v0.28.2

func NewGetLogsOfWebhookTaskInternalServerError() *GetLogsOfWebhookTaskInternalServerError

NewGetLogsOfWebhookTaskInternalServerError creates a GetLogsOfWebhookTaskInternalServerError with default headers values

func (*GetLogsOfWebhookTaskInternalServerError) Error added in v0.28.2

func (*GetLogsOfWebhookTaskInternalServerError) GetPayload added in v0.28.2

func (*GetLogsOfWebhookTaskInternalServerError) IsClientError added in v0.28.2

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 added in v0.28.2

IsCode returns true when this get logs of webhook task internal server error response a status code equal to that given

func (*GetLogsOfWebhookTaskInternalServerError) IsRedirect added in v0.28.2

IsRedirect returns true when this get logs of webhook task internal server error response has a 3xx status code

func (*GetLogsOfWebhookTaskInternalServerError) IsServerError added in v0.28.2

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 added in v0.28.2

IsSuccess returns true when this get logs of webhook task internal server error response has a 2xx status code

func (*GetLogsOfWebhookTaskInternalServerError) String added in v0.28.2

type GetLogsOfWebhookTaskNotFound added in v0.28.2

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 added in v0.28.2

func NewGetLogsOfWebhookTaskNotFound() *GetLogsOfWebhookTaskNotFound

NewGetLogsOfWebhookTaskNotFound creates a GetLogsOfWebhookTaskNotFound with default headers values

func (*GetLogsOfWebhookTaskNotFound) Error added in v0.28.2

func (*GetLogsOfWebhookTaskNotFound) GetPayload added in v0.28.2

func (o *GetLogsOfWebhookTaskNotFound) GetPayload() *models.Errors

func (*GetLogsOfWebhookTaskNotFound) IsClientError added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

type GetLogsOfWebhookTaskOK added in v0.28.2

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 added in v0.28.2

func NewGetLogsOfWebhookTaskOK() *GetLogsOfWebhookTaskOK

NewGetLogsOfWebhookTaskOK creates a GetLogsOfWebhookTaskOK with default headers values

func (*GetLogsOfWebhookTaskOK) Error added in v0.28.2

func (o *GetLogsOfWebhookTaskOK) Error() string

func (*GetLogsOfWebhookTaskOK) GetPayload added in v0.28.2

func (o *GetLogsOfWebhookTaskOK) GetPayload() string

func (*GetLogsOfWebhookTaskOK) IsClientError added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

func (o *GetLogsOfWebhookTaskOK) String() string

type GetLogsOfWebhookTaskParams added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

func NewGetLogsOfWebhookTaskParamsWithContext(ctx context.Context) *GetLogsOfWebhookTaskParams

NewGetLogsOfWebhookTaskParamsWithContext creates a new GetLogsOfWebhookTaskParams object with the ability to set a context for a request.

func NewGetLogsOfWebhookTaskParamsWithHTTPClient added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) SetContext(ctx context.Context)

SetContext adds the context to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) SetDefaults added in v0.28.2

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 added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) SetHTTPClient added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) SetProjectNameOrID added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) SetProjectNameOrID(projectNameOrID string)

SetProjectNameOrID adds the projectNameOrId to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) SetTaskID added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) SetTaskID(taskID int64)

SetTaskID adds the taskId to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) SetTimeout added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) SetWebhookPolicyID added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) SetWebhookPolicyID(webhookPolicyID int64)

SetWebhookPolicyID adds the webhookPolicyId to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) SetXIsResourceName added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) SetXIsResourceName(xIsResourceName *bool)

SetXIsResourceName adds the xIsResourceName to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) SetXRequestID added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WithContext added in v0.28.2

WithContext adds the context to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WithDefaults added in v0.28.2

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 added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) WithExecutionID(executionID int64) *GetLogsOfWebhookTaskParams

WithExecutionID adds the executionID to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WithHTTPClient added in v0.28.2

WithHTTPClient adds the HTTPClient to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WithProjectNameOrID added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) WithProjectNameOrID(projectNameOrID string) *GetLogsOfWebhookTaskParams

WithProjectNameOrID adds the projectNameOrID to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WithTaskID added in v0.28.2

WithTaskID adds the taskID to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WithTimeout added in v0.28.2

WithTimeout adds the timeout to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WithWebhookPolicyID added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) WithWebhookPolicyID(webhookPolicyID int64) *GetLogsOfWebhookTaskParams

WithWebhookPolicyID adds the webhookPolicyID to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WithXIsResourceName added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) WithXIsResourceName(xIsResourceName *bool) *GetLogsOfWebhookTaskParams

WithXIsResourceName adds the xIsResourceName to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WithXRequestID added in v0.28.2

func (o *GetLogsOfWebhookTaskParams) WithXRequestID(xRequestID *string) *GetLogsOfWebhookTaskParams

WithXRequestID adds the xRequestID to the get logs of webhook task params

func (*GetLogsOfWebhookTaskParams) WriteToRequest added in v0.28.2

WriteToRequest writes these params to a swagger request

type GetLogsOfWebhookTaskReader added in v0.28.2

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

GetLogsOfWebhookTaskReader is a Reader for the GetLogsOfWebhookTask structure.

func (*GetLogsOfWebhookTaskReader) ReadResponse added in v0.28.2

func (o *GetLogsOfWebhookTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetLogsOfWebhookTaskUnauthorized added in v0.28.2

type GetLogsOfWebhookTaskUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetLogsOfWebhookTaskUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetLogsOfWebhookTaskUnauthorized added in v0.28.2

func NewGetLogsOfWebhookTaskUnauthorized() *GetLogsOfWebhookTaskUnauthorized

NewGetLogsOfWebhookTaskUnauthorized creates a GetLogsOfWebhookTaskUnauthorized with default headers values

func (*GetLogsOfWebhookTaskUnauthorized) Error added in v0.28.2

func (*GetLogsOfWebhookTaskUnauthorized) GetPayload added in v0.28.2

func (*GetLogsOfWebhookTaskUnauthorized) IsClientError added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 (*GetSupportedEventTypesForbidden) GetPayload

func (*GetSupportedEventTypesForbidden) IsClientError added in v0.26.2

func (o *GetSupportedEventTypesForbidden) IsClientError() bool

IsClientError returns true when this get supported event types forbidden response has a 4xx status code

func (*GetSupportedEventTypesForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetSupportedEventTypesForbidden) IsRedirect() bool

IsRedirect returns true when this get supported event types forbidden response has a 3xx status code

func (*GetSupportedEventTypesForbidden) IsServerError added in v0.26.2

func (o *GetSupportedEventTypesForbidden) IsServerError() bool

IsServerError returns true when this get supported event types forbidden response has a 5xx status code

func (*GetSupportedEventTypesForbidden) IsSuccess added in v0.26.2

func (o *GetSupportedEventTypesForbidden) IsSuccess() bool

IsSuccess returns true when this get supported event types forbidden response has a 2xx status code

func (*GetSupportedEventTypesForbidden) String added in v0.26.2

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 (*GetSupportedEventTypesInternalServerError) GetPayload

func (*GetSupportedEventTypesInternalServerError) IsClientError added in v0.26.2

IsClientError returns true when this get supported event types internal server error response has a 4xx status code

func (*GetSupportedEventTypesInternalServerError) IsCode added in v0.26.2

IsCode returns true when this get supported event types internal server error response a status code equal to that given

func (*GetSupportedEventTypesInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this get supported event types internal server error response has a 3xx status code

func (*GetSupportedEventTypesInternalServerError) IsServerError added in v0.26.2

IsServerError returns true when this get supported event types internal server error response has a 5xx status code

func (*GetSupportedEventTypesInternalServerError) IsSuccess added in v0.26.2

IsSuccess returns true when this get supported event types internal server error response has a 2xx status code

func (*GetSupportedEventTypesInternalServerError) String added in v0.26.2

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 (*GetSupportedEventTypesOK) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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

WithContext adds the context to the get supported event types params

func (*GetSupportedEventTypesParams) WithDefaults

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

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*GetSupportedEventTypesUnauthorized) GetPayload

func (*GetSupportedEventTypesUnauthorized) IsClientError added in v0.26.2

func (o *GetSupportedEventTypesUnauthorized) IsClientError() bool

IsClientError returns true when this get supported event types unauthorized response has a 4xx status code

func (*GetSupportedEventTypesUnauthorized) IsCode added in v0.26.2

IsCode returns true when this get supported event types unauthorized response a status code equal to that given

func (*GetSupportedEventTypesUnauthorized) IsRedirect added in v0.26.2

func (o *GetSupportedEventTypesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get supported event types unauthorized response has a 3xx status code

func (*GetSupportedEventTypesUnauthorized) IsServerError added in v0.26.2

func (o *GetSupportedEventTypesUnauthorized) IsServerError() bool

IsServerError returns true when this get supported event types unauthorized response has a 5xx status code

func (*GetSupportedEventTypesUnauthorized) IsSuccess added in v0.26.2

IsSuccess returns true when this get supported event types unauthorized response has a 2xx status code

func (*GetSupportedEventTypesUnauthorized) String added in v0.26.2

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 (*GetWebhookPolicyOfProjectBadRequest) GetPayload

func (*GetWebhookPolicyOfProjectBadRequest) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this get webhook policy of project bad request response a status code equal to that given

func (*GetWebhookPolicyOfProjectBadRequest) IsRedirect added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this get webhook policy of project bad request response has a 2xx status code

func (*GetWebhookPolicyOfProjectBadRequest) String added in v0.26.2

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 (*GetWebhookPolicyOfProjectForbidden) GetPayload

func (*GetWebhookPolicyOfProjectForbidden) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this get webhook policy of project forbidden response a status code equal to that given

func (*GetWebhookPolicyOfProjectForbidden) IsRedirect added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this get webhook policy of project forbidden response has a 2xx status code

func (*GetWebhookPolicyOfProjectForbidden) String added in v0.26.2

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 (*GetWebhookPolicyOfProjectInternalServerError) GetPayload

func (*GetWebhookPolicyOfProjectInternalServerError) IsClientError added in v0.26.2

IsClientError returns true when this get webhook policy of project internal server error response has a 4xx status code

func (*GetWebhookPolicyOfProjectInternalServerError) IsCode added in v0.26.2

IsCode returns true when this get webhook policy of project internal server error response a status code equal to that given

func (*GetWebhookPolicyOfProjectInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this get webhook policy of project internal server error response has a 3xx status code

func (*GetWebhookPolicyOfProjectInternalServerError) IsServerError added in v0.26.2

IsServerError returns true when this get webhook policy of project internal server error response has a 5xx status code

func (*GetWebhookPolicyOfProjectInternalServerError) IsSuccess added in v0.26.2

IsSuccess returns true when this get webhook policy of project internal server error response has a 2xx status code

func (*GetWebhookPolicyOfProjectInternalServerError) String added in v0.26.2

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 (*GetWebhookPolicyOfProjectNotFound) GetPayload

func (*GetWebhookPolicyOfProjectNotFound) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 (*GetWebhookPolicyOfProjectOK) GetPayload

func (*GetWebhookPolicyOfProjectOK) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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

WithContext adds the context to the get webhook policy of project params

func (*GetWebhookPolicyOfProjectParams) WithDefaults

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

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

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

WithXRequestID adds the xRequestID to the get webhook policy of project params

func (*GetWebhookPolicyOfProjectParams) WriteToRequest

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*GetWebhookPolicyOfProjectUnauthorized) GetPayload

func (*GetWebhookPolicyOfProjectUnauthorized) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this get webhook policy of project unauthorized response a status code equal to that given

func (*GetWebhookPolicyOfProjectUnauthorized) IsRedirect added in v0.26.2

IsRedirect returns true when this get webhook policy of project unauthorized response has a 3xx status code

func (*GetWebhookPolicyOfProjectUnauthorized) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this get webhook policy of project unauthorized response has a 2xx status code

func (*GetWebhookPolicyOfProjectUnauthorized) String added in v0.26.2

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 added in v0.26.2

func (o *LastTriggerBadRequest) IsClientError() bool

IsClientError returns true when this last trigger bad request response has a 4xx status code

func (*LastTriggerBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *LastTriggerBadRequest) IsRedirect() bool

IsRedirect returns true when this last trigger bad request response has a 3xx status code

func (*LastTriggerBadRequest) IsServerError added in v0.26.2

func (o *LastTriggerBadRequest) IsServerError() bool

IsServerError returns true when this last trigger bad request response has a 5xx status code

func (*LastTriggerBadRequest) IsSuccess added in v0.26.2

func (o *LastTriggerBadRequest) IsSuccess() bool

IsSuccess returns true when this last trigger bad request response has a 2xx status code

func (*LastTriggerBadRequest) String added in v0.26.2

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 added in v0.26.2

func (o *LastTriggerForbidden) IsClientError() bool

IsClientError returns true when this last trigger forbidden response has a 4xx status code

func (*LastTriggerForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *LastTriggerForbidden) IsRedirect() bool

IsRedirect returns true when this last trigger forbidden response has a 3xx status code

func (*LastTriggerForbidden) IsServerError added in v0.26.2

func (o *LastTriggerForbidden) IsServerError() bool

IsServerError returns true when this last trigger forbidden response has a 5xx status code

func (*LastTriggerForbidden) IsSuccess added in v0.26.2

func (o *LastTriggerForbidden) IsSuccess() bool

IsSuccess returns true when this last trigger forbidden response has a 2xx status code

func (*LastTriggerForbidden) String added in v0.26.2

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 (*LastTriggerInternalServerError) GetPayload

func (o *LastTriggerInternalServerError) GetPayload() *models.Errors

func (*LastTriggerInternalServerError) IsClientError added in v0.26.2

func (o *LastTriggerInternalServerError) IsClientError() bool

IsClientError returns true when this last trigger internal server error response has a 4xx status code

func (*LastTriggerInternalServerError) IsCode added in v0.26.2

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 added in v0.26.2

func (o *LastTriggerInternalServerError) IsRedirect() bool

IsRedirect returns true when this last trigger internal server error response has a 3xx status code

func (*LastTriggerInternalServerError) IsServerError added in v0.26.2

func (o *LastTriggerInternalServerError) IsServerError() bool

IsServerError returns true when this last trigger internal server error response has a 5xx status code

func (*LastTriggerInternalServerError) IsSuccess added in v0.26.2

func (o *LastTriggerInternalServerError) IsSuccess() bool

IsSuccess returns true when this last trigger internal server error response has a 2xx status code

func (*LastTriggerInternalServerError) String added in v0.26.2

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 added in v0.26.2

func (o *LastTriggerOK) IsClientError() bool

IsClientError returns true when this last trigger o k response has a 4xx status code

func (*LastTriggerOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *LastTriggerOK) IsRedirect() bool

IsRedirect returns true when this last trigger o k response has a 3xx status code

func (*LastTriggerOK) IsServerError added in v0.26.2

func (o *LastTriggerOK) IsServerError() bool

IsServerError returns true when this last trigger o k response has a 5xx status code

func (*LastTriggerOK) IsSuccess added in v0.26.2

func (o *LastTriggerOK) IsSuccess() bool

IsSuccess returns true when this last trigger o k response has a 2xx status code

func (*LastTriggerOK) String added in v0.26.2

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 added in v0.26.2

func (o *LastTriggerUnauthorized) IsClientError() bool

IsClientError returns true when this last trigger unauthorized response has a 4xx status code

func (*LastTriggerUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *LastTriggerUnauthorized) IsRedirect() bool

IsRedirect returns true when this last trigger unauthorized response has a 3xx status code

func (*LastTriggerUnauthorized) IsServerError added in v0.26.2

func (o *LastTriggerUnauthorized) IsServerError() bool

IsServerError returns true when this last trigger unauthorized response has a 5xx status code

func (*LastTriggerUnauthorized) IsSuccess added in v0.26.2

func (o *LastTriggerUnauthorized) IsSuccess() bool

IsSuccess returns true when this last trigger unauthorized response has a 2xx status code

func (*LastTriggerUnauthorized) String added in v0.26.2

func (o *LastTriggerUnauthorized) String() string

type ListExecutionsOfWebhookPolicyBadRequest added in v0.28.2

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 added in v0.28.2

func NewListExecutionsOfWebhookPolicyBadRequest() *ListExecutionsOfWebhookPolicyBadRequest

NewListExecutionsOfWebhookPolicyBadRequest creates a ListExecutionsOfWebhookPolicyBadRequest with default headers values

func (*ListExecutionsOfWebhookPolicyBadRequest) Error added in v0.28.2

func (*ListExecutionsOfWebhookPolicyBadRequest) GetPayload added in v0.28.2

func (*ListExecutionsOfWebhookPolicyBadRequest) IsClientError added in v0.28.2

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 added in v0.28.2

IsCode returns true when this list executions of webhook policy bad request response a status code equal to that given

func (*ListExecutionsOfWebhookPolicyBadRequest) IsRedirect added in v0.28.2

IsRedirect returns true when this list executions of webhook policy bad request response has a 3xx status code

func (*ListExecutionsOfWebhookPolicyBadRequest) IsServerError added in v0.28.2

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 added in v0.28.2

IsSuccess returns true when this list executions of webhook policy bad request response has a 2xx status code

func (*ListExecutionsOfWebhookPolicyBadRequest) String added in v0.28.2

type ListExecutionsOfWebhookPolicyForbidden added in v0.28.2

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 added in v0.28.2

func NewListExecutionsOfWebhookPolicyForbidden() *ListExecutionsOfWebhookPolicyForbidden

NewListExecutionsOfWebhookPolicyForbidden creates a ListExecutionsOfWebhookPolicyForbidden with default headers values

func (*ListExecutionsOfWebhookPolicyForbidden) Error added in v0.28.2

func (*ListExecutionsOfWebhookPolicyForbidden) GetPayload added in v0.28.2

func (*ListExecutionsOfWebhookPolicyForbidden) IsClientError added in v0.28.2

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 added in v0.28.2

IsCode returns true when this list executions of webhook policy forbidden response a status code equal to that given

func (*ListExecutionsOfWebhookPolicyForbidden) IsRedirect added in v0.28.2

IsRedirect returns true when this list executions of webhook policy forbidden response has a 3xx status code

func (*ListExecutionsOfWebhookPolicyForbidden) IsServerError added in v0.28.2

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 added in v0.28.2

IsSuccess returns true when this list executions of webhook policy forbidden response has a 2xx status code

func (*ListExecutionsOfWebhookPolicyForbidden) String added in v0.28.2

type ListExecutionsOfWebhookPolicyInternalServerError added in v0.28.2

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 added in v0.28.2

func NewListExecutionsOfWebhookPolicyInternalServerError() *ListExecutionsOfWebhookPolicyInternalServerError

NewListExecutionsOfWebhookPolicyInternalServerError creates a ListExecutionsOfWebhookPolicyInternalServerError with default headers values

func (*ListExecutionsOfWebhookPolicyInternalServerError) Error added in v0.28.2

func (*ListExecutionsOfWebhookPolicyInternalServerError) GetPayload added in v0.28.2

func (*ListExecutionsOfWebhookPolicyInternalServerError) IsClientError added in v0.28.2

IsClientError returns true when this list executions of webhook policy internal server error response has a 4xx status code

func (*ListExecutionsOfWebhookPolicyInternalServerError) IsCode added in v0.28.2

IsCode returns true when this list executions of webhook policy internal server error response a status code equal to that given

func (*ListExecutionsOfWebhookPolicyInternalServerError) IsRedirect added in v0.28.2

IsRedirect returns true when this list executions of webhook policy internal server error response has a 3xx status code

func (*ListExecutionsOfWebhookPolicyInternalServerError) IsServerError added in v0.28.2

IsServerError returns true when this list executions of webhook policy internal server error response has a 5xx status code

func (*ListExecutionsOfWebhookPolicyInternalServerError) IsSuccess added in v0.28.2

IsSuccess returns true when this list executions of webhook policy internal server error response has a 2xx status code

func (*ListExecutionsOfWebhookPolicyInternalServerError) String added in v0.28.2

type ListExecutionsOfWebhookPolicyNotFound added in v0.28.2

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 added in v0.28.2

func NewListExecutionsOfWebhookPolicyNotFound() *ListExecutionsOfWebhookPolicyNotFound

NewListExecutionsOfWebhookPolicyNotFound creates a ListExecutionsOfWebhookPolicyNotFound with default headers values

func (*ListExecutionsOfWebhookPolicyNotFound) Error added in v0.28.2

func (*ListExecutionsOfWebhookPolicyNotFound) GetPayload added in v0.28.2

func (*ListExecutionsOfWebhookPolicyNotFound) IsClientError added in v0.28.2

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 added in v0.28.2

IsCode returns true when this list executions of webhook policy not found response a status code equal to that given

func (*ListExecutionsOfWebhookPolicyNotFound) IsRedirect added in v0.28.2

IsRedirect returns true when this list executions of webhook policy not found response has a 3xx status code

func (*ListExecutionsOfWebhookPolicyNotFound) IsServerError added in v0.28.2

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 added in v0.28.2

IsSuccess returns true when this list executions of webhook policy not found response has a 2xx status code

func (*ListExecutionsOfWebhookPolicyNotFound) String added in v0.28.2

type ListExecutionsOfWebhookPolicyOK added in v0.28.2

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 added in v0.28.2

func NewListExecutionsOfWebhookPolicyOK() *ListExecutionsOfWebhookPolicyOK

NewListExecutionsOfWebhookPolicyOK creates a ListExecutionsOfWebhookPolicyOK with default headers values

func (*ListExecutionsOfWebhookPolicyOK) Error added in v0.28.2

func (*ListExecutionsOfWebhookPolicyOK) GetPayload added in v0.28.2

func (*ListExecutionsOfWebhookPolicyOK) IsClientError added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

type ListExecutionsOfWebhookPolicyParams added in v0.28.2

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 order 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 added in v0.28.2

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 added in v0.28.2

func NewListExecutionsOfWebhookPolicyParamsWithContext(ctx context.Context) *ListExecutionsOfWebhookPolicyParams

NewListExecutionsOfWebhookPolicyParamsWithContext creates a new ListExecutionsOfWebhookPolicyParams object with the ability to set a context for a request.

func NewListExecutionsOfWebhookPolicyParamsWithHTTPClient added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

SetContext adds the context to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetDefaults added in v0.28.2

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 added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetPage added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) SetPage(page *int64)

SetPage adds the page to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetPageSize added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetProjectNameOrID added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) SetProjectNameOrID(projectNameOrID string)

SetProjectNameOrID adds the projectNameOrId to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetQ added in v0.28.2

SetQ adds the q to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetSort added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) SetSort(sort *string)

SetSort adds the sort to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetTimeout added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetWebhookPolicyID added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) SetWebhookPolicyID(webhookPolicyID int64)

SetWebhookPolicyID adds the webhookPolicyId to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetXIsResourceName added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) SetXIsResourceName(xIsResourceName *bool)

SetXIsResourceName adds the xIsResourceName to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) SetXRequestID added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithContext added in v0.28.2

WithContext adds the context to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithDefaults added in v0.28.2

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 added in v0.28.2

WithHTTPClient adds the HTTPClient to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithPage added in v0.28.2

WithPage adds the page to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithPageSize added in v0.28.2

WithPageSize adds the pageSize to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithProjectNameOrID added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) WithProjectNameOrID(projectNameOrID string) *ListExecutionsOfWebhookPolicyParams

WithProjectNameOrID adds the projectNameOrID to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithQ added in v0.28.2

WithQ adds the q to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithSort added in v0.28.2

WithSort adds the sort to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithTimeout added in v0.28.2

WithTimeout adds the timeout to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithWebhookPolicyID added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) WithWebhookPolicyID(webhookPolicyID int64) *ListExecutionsOfWebhookPolicyParams

WithWebhookPolicyID adds the webhookPolicyID to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithXIsResourceName added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyParams) WithXIsResourceName(xIsResourceName *bool) *ListExecutionsOfWebhookPolicyParams

WithXIsResourceName adds the xIsResourceName to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WithXRequestID added in v0.28.2

WithXRequestID adds the xRequestID to the list executions of webhook policy params

func (*ListExecutionsOfWebhookPolicyParams) WriteToRequest added in v0.28.2

WriteToRequest writes these params to a swagger request

type ListExecutionsOfWebhookPolicyReader added in v0.28.2

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

ListExecutionsOfWebhookPolicyReader is a Reader for the ListExecutionsOfWebhookPolicy structure.

func (*ListExecutionsOfWebhookPolicyReader) ReadResponse added in v0.28.2

func (o *ListExecutionsOfWebhookPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListExecutionsOfWebhookPolicyUnauthorized added in v0.28.2

type ListExecutionsOfWebhookPolicyUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListExecutionsOfWebhookPolicyUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListExecutionsOfWebhookPolicyUnauthorized added in v0.28.2

func NewListExecutionsOfWebhookPolicyUnauthorized() *ListExecutionsOfWebhookPolicyUnauthorized

NewListExecutionsOfWebhookPolicyUnauthorized creates a ListExecutionsOfWebhookPolicyUnauthorized with default headers values

func (*ListExecutionsOfWebhookPolicyUnauthorized) Error added in v0.28.2

func (*ListExecutionsOfWebhookPolicyUnauthorized) GetPayload added in v0.28.2

func (*ListExecutionsOfWebhookPolicyUnauthorized) IsClientError added in v0.28.2

IsClientError returns true when this list executions of webhook policy unauthorized response has a 4xx status code

func (*ListExecutionsOfWebhookPolicyUnauthorized) IsCode added in v0.28.2

IsCode returns true when this list executions of webhook policy unauthorized response a status code equal to that given

func (*ListExecutionsOfWebhookPolicyUnauthorized) IsRedirect added in v0.28.2

IsRedirect returns true when this list executions of webhook policy unauthorized response has a 3xx status code

func (*ListExecutionsOfWebhookPolicyUnauthorized) IsServerError added in v0.28.2

IsServerError returns true when this list executions of webhook policy unauthorized response has a 5xx status code

func (*ListExecutionsOfWebhookPolicyUnauthorized) IsSuccess added in v0.28.2

IsSuccess returns true when this list executions of webhook policy unauthorized response has a 2xx status code

func (*ListExecutionsOfWebhookPolicyUnauthorized) String added in v0.28.2

type ListTasksOfWebhookExecutionBadRequest added in v0.28.2

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 added in v0.28.2

func NewListTasksOfWebhookExecutionBadRequest() *ListTasksOfWebhookExecutionBadRequest

NewListTasksOfWebhookExecutionBadRequest creates a ListTasksOfWebhookExecutionBadRequest with default headers values

func (*ListTasksOfWebhookExecutionBadRequest) Error added in v0.28.2

func (*ListTasksOfWebhookExecutionBadRequest) GetPayload added in v0.28.2

func (*ListTasksOfWebhookExecutionBadRequest) IsClientError added in v0.28.2

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 added in v0.28.2

IsCode returns true when this list tasks of webhook execution bad request response a status code equal to that given

func (*ListTasksOfWebhookExecutionBadRequest) IsRedirect added in v0.28.2

IsRedirect returns true when this list tasks of webhook execution bad request response has a 3xx status code

func (*ListTasksOfWebhookExecutionBadRequest) IsServerError added in v0.28.2

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 added in v0.28.2

IsSuccess returns true when this list tasks of webhook execution bad request response has a 2xx status code

func (*ListTasksOfWebhookExecutionBadRequest) String added in v0.28.2

type ListTasksOfWebhookExecutionForbidden added in v0.28.2

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 added in v0.28.2

func NewListTasksOfWebhookExecutionForbidden() *ListTasksOfWebhookExecutionForbidden

NewListTasksOfWebhookExecutionForbidden creates a ListTasksOfWebhookExecutionForbidden with default headers values

func (*ListTasksOfWebhookExecutionForbidden) Error added in v0.28.2

func (*ListTasksOfWebhookExecutionForbidden) GetPayload added in v0.28.2

func (*ListTasksOfWebhookExecutionForbidden) IsClientError added in v0.28.2

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 added in v0.28.2

IsCode returns true when this list tasks of webhook execution forbidden response a status code equal to that given

func (*ListTasksOfWebhookExecutionForbidden) IsRedirect added in v0.28.2

IsRedirect returns true when this list tasks of webhook execution forbidden response has a 3xx status code

func (*ListTasksOfWebhookExecutionForbidden) IsServerError added in v0.28.2

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 added in v0.28.2

IsSuccess returns true when this list tasks of webhook execution forbidden response has a 2xx status code

func (*ListTasksOfWebhookExecutionForbidden) String added in v0.28.2

type ListTasksOfWebhookExecutionInternalServerError added in v0.28.2

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 added in v0.28.2

func NewListTasksOfWebhookExecutionInternalServerError() *ListTasksOfWebhookExecutionInternalServerError

NewListTasksOfWebhookExecutionInternalServerError creates a ListTasksOfWebhookExecutionInternalServerError with default headers values

func (*ListTasksOfWebhookExecutionInternalServerError) Error added in v0.28.2

func (*ListTasksOfWebhookExecutionInternalServerError) GetPayload added in v0.28.2

func (*ListTasksOfWebhookExecutionInternalServerError) IsClientError added in v0.28.2

IsClientError returns true when this list tasks of webhook execution internal server error response has a 4xx status code

func (*ListTasksOfWebhookExecutionInternalServerError) IsCode added in v0.28.2

IsCode returns true when this list tasks of webhook execution internal server error response a status code equal to that given

func (*ListTasksOfWebhookExecutionInternalServerError) IsRedirect added in v0.28.2

IsRedirect returns true when this list tasks of webhook execution internal server error response has a 3xx status code

func (*ListTasksOfWebhookExecutionInternalServerError) IsServerError added in v0.28.2

IsServerError returns true when this list tasks of webhook execution internal server error response has a 5xx status code

func (*ListTasksOfWebhookExecutionInternalServerError) IsSuccess added in v0.28.2

IsSuccess returns true when this list tasks of webhook execution internal server error response has a 2xx status code

func (*ListTasksOfWebhookExecutionInternalServerError) String added in v0.28.2

type ListTasksOfWebhookExecutionNotFound added in v0.28.2

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 added in v0.28.2

func NewListTasksOfWebhookExecutionNotFound() *ListTasksOfWebhookExecutionNotFound

NewListTasksOfWebhookExecutionNotFound creates a ListTasksOfWebhookExecutionNotFound with default headers values

func (*ListTasksOfWebhookExecutionNotFound) Error added in v0.28.2

func (*ListTasksOfWebhookExecutionNotFound) GetPayload added in v0.28.2

func (*ListTasksOfWebhookExecutionNotFound) IsClientError added in v0.28.2

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 added in v0.28.2

IsCode returns true when this list tasks of webhook execution not found response a status code equal to that given

func (*ListTasksOfWebhookExecutionNotFound) IsRedirect added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

IsSuccess returns true when this list tasks of webhook execution not found response has a 2xx status code

func (*ListTasksOfWebhookExecutionNotFound) String added in v0.28.2

type ListTasksOfWebhookExecutionOK added in v0.28.2

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 added in v0.28.2

func NewListTasksOfWebhookExecutionOK() *ListTasksOfWebhookExecutionOK

NewListTasksOfWebhookExecutionOK creates a ListTasksOfWebhookExecutionOK with default headers values

func (*ListTasksOfWebhookExecutionOK) Error added in v0.28.2

func (*ListTasksOfWebhookExecutionOK) GetPayload added in v0.28.2

func (o *ListTasksOfWebhookExecutionOK) GetPayload() []*models.Task

func (*ListTasksOfWebhookExecutionOK) IsClientError added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

type ListTasksOfWebhookExecutionParams added in v0.28.2

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 order 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 added in v0.28.2

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 added in v0.28.2

func NewListTasksOfWebhookExecutionParamsWithContext(ctx context.Context) *ListTasksOfWebhookExecutionParams

NewListTasksOfWebhookExecutionParamsWithContext creates a new ListTasksOfWebhookExecutionParams object with the ability to set a context for a request.

func NewListTasksOfWebhookExecutionParamsWithHTTPClient added in v0.28.2

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 added in v0.28.2

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 added in v0.28.2

SetContext adds the context to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetDefaults added in v0.28.2

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 added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetHTTPClient added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetPage added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetPage(page *int64)

SetPage adds the page to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetPageSize added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetProjectNameOrID added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetProjectNameOrID(projectNameOrID string)

SetProjectNameOrID adds the projectNameOrId to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetQ added in v0.28.2

SetQ adds the q to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetSort added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetSort(sort *string)

SetSort adds the sort to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetTimeout added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetWebhookPolicyID added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetWebhookPolicyID(webhookPolicyID int64)

SetWebhookPolicyID adds the webhookPolicyId to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetXIsResourceName added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetXIsResourceName(xIsResourceName *bool)

SetXIsResourceName adds the xIsResourceName to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) SetXRequestID added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithContext added in v0.28.2

WithContext adds the context to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithDefaults added in v0.28.2

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 added in v0.28.2

WithExecutionID adds the executionID to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithHTTPClient added in v0.28.2

WithHTTPClient adds the HTTPClient to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithPage added in v0.28.2

WithPage adds the page to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithPageSize added in v0.28.2

WithPageSize adds the pageSize to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithProjectNameOrID added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) WithProjectNameOrID(projectNameOrID string) *ListTasksOfWebhookExecutionParams

WithProjectNameOrID adds the projectNameOrID to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithQ added in v0.28.2

WithQ adds the q to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithSort added in v0.28.2

WithSort adds the sort to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithTimeout added in v0.28.2

WithTimeout adds the timeout to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithWebhookPolicyID added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) WithWebhookPolicyID(webhookPolicyID int64) *ListTasksOfWebhookExecutionParams

WithWebhookPolicyID adds the webhookPolicyID to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithXIsResourceName added in v0.28.2

func (o *ListTasksOfWebhookExecutionParams) WithXIsResourceName(xIsResourceName *bool) *ListTasksOfWebhookExecutionParams

WithXIsResourceName adds the xIsResourceName to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WithXRequestID added in v0.28.2

WithXRequestID adds the xRequestID to the list tasks of webhook execution params

func (*ListTasksOfWebhookExecutionParams) WriteToRequest added in v0.28.2

WriteToRequest writes these params to a swagger request

type ListTasksOfWebhookExecutionReader added in v0.28.2

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

ListTasksOfWebhookExecutionReader is a Reader for the ListTasksOfWebhookExecution structure.

func (*ListTasksOfWebhookExecutionReader) ReadResponse added in v0.28.2

func (o *ListTasksOfWebhookExecutionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListTasksOfWebhookExecutionUnauthorized added in v0.28.2

type ListTasksOfWebhookExecutionUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListTasksOfWebhookExecutionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListTasksOfWebhookExecutionUnauthorized added in v0.28.2

func NewListTasksOfWebhookExecutionUnauthorized() *ListTasksOfWebhookExecutionUnauthorized

NewListTasksOfWebhookExecutionUnauthorized creates a ListTasksOfWebhookExecutionUnauthorized with default headers values

func (*ListTasksOfWebhookExecutionUnauthorized) Error added in v0.28.2

func (*ListTasksOfWebhookExecutionUnauthorized) GetPayload added in v0.28.2

func (*ListTasksOfWebhookExecutionUnauthorized) IsClientError added in v0.28.2

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 added in v0.28.2

IsCode returns true when this list tasks of webhook execution unauthorized response a status code equal to that given

func (*ListTasksOfWebhookExecutionUnauthorized) IsRedirect added in v0.28.2

IsRedirect returns true when this list tasks of webhook execution unauthorized response has a 3xx status code

func (*ListTasksOfWebhookExecutionUnauthorized) IsServerError added in v0.28.2

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 added in v0.28.2

IsSuccess returns true when this list tasks of webhook execution unauthorized response has a 2xx status code

func (*ListTasksOfWebhookExecutionUnauthorized) String added in v0.28.2

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 (*ListWebhookPoliciesOfProjectBadRequest) GetPayload

func (*ListWebhookPoliciesOfProjectBadRequest) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this list webhook policies of project bad request response a status code equal to that given

func (*ListWebhookPoliciesOfProjectBadRequest) IsRedirect added in v0.26.2

IsRedirect returns true when this list webhook policies of project bad request response has a 3xx status code

func (*ListWebhookPoliciesOfProjectBadRequest) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this list webhook policies of project bad request response has a 2xx status code

func (*ListWebhookPoliciesOfProjectBadRequest) String added in v0.26.2

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 (*ListWebhookPoliciesOfProjectForbidden) GetPayload

func (*ListWebhookPoliciesOfProjectForbidden) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this list webhook policies of project forbidden response a status code equal to that given

func (*ListWebhookPoliciesOfProjectForbidden) IsRedirect added in v0.26.2

IsRedirect returns true when this list webhook policies of project forbidden response has a 3xx status code

func (*ListWebhookPoliciesOfProjectForbidden) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this list webhook policies of project forbidden response has a 2xx status code

func (*ListWebhookPoliciesOfProjectForbidden) String added in v0.26.2

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 (*ListWebhookPoliciesOfProjectInternalServerError) GetPayload

func (*ListWebhookPoliciesOfProjectInternalServerError) IsClientError added in v0.26.2

IsClientError returns true when this list webhook policies of project internal server error response has a 4xx status code

func (*ListWebhookPoliciesOfProjectInternalServerError) IsCode added in v0.26.2

IsCode returns true when this list webhook policies of project internal server error response a status code equal to that given

func (*ListWebhookPoliciesOfProjectInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this list webhook policies of project internal server error response has a 3xx status code

func (*ListWebhookPoliciesOfProjectInternalServerError) IsServerError added in v0.26.2

IsServerError returns true when this list webhook policies of project internal server error response has a 5xx status code

func (*ListWebhookPoliciesOfProjectInternalServerError) IsSuccess added in v0.26.2

IsSuccess returns true when this list webhook policies of project internal server error response has a 2xx status code

func (*ListWebhookPoliciesOfProjectInternalServerError) String added in v0.26.2

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 (*ListWebhookPoliciesOfProjectOK) GetPayload

func (*ListWebhookPoliciesOfProjectOK) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 order 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

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

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

WithContext adds the context to the list webhook policies of project params

func (*ListWebhookPoliciesOfProjectParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list webhook policies of project params

func (*ListWebhookPoliciesOfProjectParams) WithPage

WithPage adds the page to the list webhook policies of project params

func (*ListWebhookPoliciesOfProjectParams) WithPageSize

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

WithQ adds the q to the list webhook policies of project params

func (*ListWebhookPoliciesOfProjectParams) WithSort

WithSort adds the sort to the list webhook policies of project params

func (*ListWebhookPoliciesOfProjectParams) WithTimeout

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

WithXRequestID adds the xRequestID to the list webhook policies of project params

func (*ListWebhookPoliciesOfProjectParams) WriteToRequest

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*ListWebhookPoliciesOfProjectUnauthorized) GetPayload

func (*ListWebhookPoliciesOfProjectUnauthorized) IsClientError added in v0.26.2

IsClientError returns true when this list webhook policies of project unauthorized response has a 4xx status code

func (*ListWebhookPoliciesOfProjectUnauthorized) IsCode added in v0.26.2

IsCode returns true when this list webhook policies of project unauthorized response a status code equal to that given

func (*ListWebhookPoliciesOfProjectUnauthorized) IsRedirect added in v0.26.2

IsRedirect returns true when this list webhook policies of project unauthorized response has a 3xx status code

func (*ListWebhookPoliciesOfProjectUnauthorized) IsServerError added in v0.26.2

IsServerError returns true when this list webhook policies of project unauthorized response has a 5xx status code

func (*ListWebhookPoliciesOfProjectUnauthorized) IsSuccess added in v0.26.2

IsSuccess returns true when this list webhook policies of project unauthorized response has a 2xx status code

func (*ListWebhookPoliciesOfProjectUnauthorized) String added in v0.26.2

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 (*UpdateWebhookPolicyOfProjectBadRequest) GetPayload

func (*UpdateWebhookPolicyOfProjectBadRequest) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this update webhook policy of project bad request response a status code equal to that given

func (*UpdateWebhookPolicyOfProjectBadRequest) IsRedirect added in v0.26.2

IsRedirect returns true when this update webhook policy of project bad request response has a 3xx status code

func (*UpdateWebhookPolicyOfProjectBadRequest) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this update webhook policy of project bad request response has a 2xx status code

func (*UpdateWebhookPolicyOfProjectBadRequest) String added in v0.26.2

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 (*UpdateWebhookPolicyOfProjectForbidden) GetPayload

func (*UpdateWebhookPolicyOfProjectForbidden) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this update webhook policy of project forbidden response a status code equal to that given

func (*UpdateWebhookPolicyOfProjectForbidden) IsRedirect added in v0.26.2

IsRedirect returns true when this update webhook policy of project forbidden response has a 3xx status code

func (*UpdateWebhookPolicyOfProjectForbidden) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this update webhook policy of project forbidden response has a 2xx status code

func (*UpdateWebhookPolicyOfProjectForbidden) String added in v0.26.2

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 (*UpdateWebhookPolicyOfProjectInternalServerError) GetPayload

func (*UpdateWebhookPolicyOfProjectInternalServerError) IsClientError added in v0.26.2

IsClientError returns true when this update webhook policy of project internal server error response has a 4xx status code

func (*UpdateWebhookPolicyOfProjectInternalServerError) IsCode added in v0.26.2

IsCode returns true when this update webhook policy of project internal server error response a status code equal to that given

func (*UpdateWebhookPolicyOfProjectInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this update webhook policy of project internal server error response has a 3xx status code

func (*UpdateWebhookPolicyOfProjectInternalServerError) IsServerError added in v0.26.2

IsServerError returns true when this update webhook policy of project internal server error response has a 5xx status code

func (*UpdateWebhookPolicyOfProjectInternalServerError) IsSuccess added in v0.26.2

IsSuccess returns true when this update webhook policy of project internal server error response has a 2xx status code

func (*UpdateWebhookPolicyOfProjectInternalServerError) String added in v0.26.2

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 (*UpdateWebhookPolicyOfProjectNotFound) GetPayload

func (*UpdateWebhookPolicyOfProjectNotFound) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this update webhook policy of project not found response a status code equal to that given

func (*UpdateWebhookPolicyOfProjectNotFound) IsRedirect added in v0.26.2

IsRedirect returns true when this update webhook policy of project not found response has a 3xx status code

func (*UpdateWebhookPolicyOfProjectNotFound) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this update webhook policy of project not found response has a 2xx status code

func (*UpdateWebhookPolicyOfProjectNotFound) String added in v0.26.2

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 (*UpdateWebhookPolicyOfProjectOK) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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

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

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

WithContext adds the context to the update webhook policy of project params

func (*UpdateWebhookPolicyOfProjectParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update webhook policy of project params

func (*UpdateWebhookPolicyOfProjectParams) WithPolicy

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

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

WithXRequestID adds the xRequestID to the update webhook policy of project params

func (*UpdateWebhookPolicyOfProjectParams) WriteToRequest

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*UpdateWebhookPolicyOfProjectUnauthorized) GetPayload

func (*UpdateWebhookPolicyOfProjectUnauthorized) IsClientError added in v0.26.2

IsClientError returns true when this update webhook policy of project unauthorized response has a 4xx status code

func (*UpdateWebhookPolicyOfProjectUnauthorized) IsCode added in v0.26.2

IsCode returns true when this update webhook policy of project unauthorized response a status code equal to that given

func (*UpdateWebhookPolicyOfProjectUnauthorized) IsRedirect added in v0.26.2

IsRedirect returns true when this update webhook policy of project unauthorized response has a 3xx status code

func (*UpdateWebhookPolicyOfProjectUnauthorized) IsServerError added in v0.26.2

IsServerError returns true when this update webhook policy of project unauthorized response has a 5xx status code

func (*UpdateWebhookPolicyOfProjectUnauthorized) IsSuccess added in v0.26.2

IsSuccess returns true when this update webhook policy of project unauthorized response has a 2xx status code

func (*UpdateWebhookPolicyOfProjectUnauthorized) String added in v0.26.2

Jump to

Keyboard shortcuts

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