trigger

package
v0.0.0-...-eff1da9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 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 ActivateBuildTriggerBadRequest

type ActivateBuildTriggerBadRequest struct {
	Payload *models.APIError
}

ActivateBuildTriggerBadRequest handles this case with default header values.

Bad Request

func NewActivateBuildTriggerBadRequest

func NewActivateBuildTriggerBadRequest() *ActivateBuildTriggerBadRequest

NewActivateBuildTriggerBadRequest creates a ActivateBuildTriggerBadRequest with default headers values

func (*ActivateBuildTriggerBadRequest) Error

func (*ActivateBuildTriggerBadRequest) GetPayload

type ActivateBuildTriggerCreated

type ActivateBuildTriggerCreated struct {
}

ActivateBuildTriggerCreated handles this case with default header values.

Successful creation

func NewActivateBuildTriggerCreated

func NewActivateBuildTriggerCreated() *ActivateBuildTriggerCreated

NewActivateBuildTriggerCreated creates a ActivateBuildTriggerCreated with default headers values

func (*ActivateBuildTriggerCreated) Error

type ActivateBuildTriggerForbidden

type ActivateBuildTriggerForbidden struct {
	Payload *models.APIError
}

ActivateBuildTriggerForbidden handles this case with default header values.

Unauthorized access

func NewActivateBuildTriggerForbidden

func NewActivateBuildTriggerForbidden() *ActivateBuildTriggerForbidden

NewActivateBuildTriggerForbidden creates a ActivateBuildTriggerForbidden with default headers values

func (*ActivateBuildTriggerForbidden) Error

func (*ActivateBuildTriggerForbidden) GetPayload

type ActivateBuildTriggerNotFound

type ActivateBuildTriggerNotFound struct {
	Payload *models.APIError
}

ActivateBuildTriggerNotFound handles this case with default header values.

Not found

func NewActivateBuildTriggerNotFound

func NewActivateBuildTriggerNotFound() *ActivateBuildTriggerNotFound

NewActivateBuildTriggerNotFound creates a ActivateBuildTriggerNotFound with default headers values

func (*ActivateBuildTriggerNotFound) Error

func (*ActivateBuildTriggerNotFound) GetPayload

func (o *ActivateBuildTriggerNotFound) GetPayload() *models.APIError

type ActivateBuildTriggerParams

type ActivateBuildTriggerParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.BuildTriggerActivateRequest
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*TriggerUUID
	  The UUID of the build trigger

	*/
	TriggerUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ActivateBuildTriggerParams contains all the parameters to send to the API endpoint for the activate build trigger operation typically these are written to a http.Request

func NewActivateBuildTriggerParams

func NewActivateBuildTriggerParams() *ActivateBuildTriggerParams

NewActivateBuildTriggerParams creates a new ActivateBuildTriggerParams object with the default values initialized.

func NewActivateBuildTriggerParamsWithContext

func NewActivateBuildTriggerParamsWithContext(ctx context.Context) *ActivateBuildTriggerParams

NewActivateBuildTriggerParamsWithContext creates a new ActivateBuildTriggerParams object with the default values initialized, and the ability to set a context for a request

func NewActivateBuildTriggerParamsWithHTTPClient

func NewActivateBuildTriggerParamsWithHTTPClient(client *http.Client) *ActivateBuildTriggerParams

NewActivateBuildTriggerParamsWithHTTPClient creates a new ActivateBuildTriggerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewActivateBuildTriggerParamsWithTimeout

func NewActivateBuildTriggerParamsWithTimeout(timeout time.Duration) *ActivateBuildTriggerParams

NewActivateBuildTriggerParamsWithTimeout creates a new ActivateBuildTriggerParams object with the default values initialized, and the ability to set a timeout on a request

func (*ActivateBuildTriggerParams) SetBody

SetBody adds the body to the activate build trigger params

func (*ActivateBuildTriggerParams) SetContext

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

SetContext adds the context to the activate build trigger params

func (*ActivateBuildTriggerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the activate build trigger params

func (*ActivateBuildTriggerParams) SetRepository

func (o *ActivateBuildTriggerParams) SetRepository(repository string)

SetRepository adds the repository to the activate build trigger params

func (*ActivateBuildTriggerParams) SetTimeout

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

SetTimeout adds the timeout to the activate build trigger params

func (*ActivateBuildTriggerParams) SetTriggerUUID

func (o *ActivateBuildTriggerParams) SetTriggerUUID(triggerUUID string)

SetTriggerUUID adds the triggerUuid to the activate build trigger params

func (*ActivateBuildTriggerParams) WithBody

WithBody adds the body to the activate build trigger params

func (*ActivateBuildTriggerParams) WithContext

WithContext adds the context to the activate build trigger params

func (*ActivateBuildTriggerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the activate build trigger params

func (*ActivateBuildTriggerParams) WithRepository

func (o *ActivateBuildTriggerParams) WithRepository(repository string) *ActivateBuildTriggerParams

WithRepository adds the repository to the activate build trigger params

func (*ActivateBuildTriggerParams) WithTimeout

WithTimeout adds the timeout to the activate build trigger params

func (*ActivateBuildTriggerParams) WithTriggerUUID

func (o *ActivateBuildTriggerParams) WithTriggerUUID(triggerUUID string) *ActivateBuildTriggerParams

WithTriggerUUID adds the triggerUUID to the activate build trigger params

func (*ActivateBuildTriggerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ActivateBuildTriggerReader

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

ActivateBuildTriggerReader is a Reader for the ActivateBuildTrigger structure.

func (*ActivateBuildTriggerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ActivateBuildTriggerUnauthorized

type ActivateBuildTriggerUnauthorized struct {
	Payload *models.APIError
}

ActivateBuildTriggerUnauthorized handles this case with default header values.

Session required

func NewActivateBuildTriggerUnauthorized

func NewActivateBuildTriggerUnauthorized() *ActivateBuildTriggerUnauthorized

NewActivateBuildTriggerUnauthorized creates a ActivateBuildTriggerUnauthorized with default headers values

func (*ActivateBuildTriggerUnauthorized) Error

func (*ActivateBuildTriggerUnauthorized) GetPayload

type Client

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

Client for trigger API

func (*Client) ActivateBuildTrigger

func (a *Client) ActivateBuildTrigger(params *ActivateBuildTriggerParams, authInfo runtime.ClientAuthInfoWriter) (*ActivateBuildTriggerCreated, error)

ActivateBuildTrigger Activate the specified build trigger.

func (*Client) DeleteBuildTrigger

DeleteBuildTrigger Delete the specified build trigger.

func (*Client) GetBuildTrigger

func (a *Client) GetBuildTrigger(params *GetBuildTriggerParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildTriggerOK, error)

GetBuildTrigger Get information for the specified build trigger.

func (*Client) ListBuildTriggers

func (a *Client) ListBuildTriggers(params *ListBuildTriggersParams, authInfo runtime.ClientAuthInfoWriter) (*ListBuildTriggersOK, error)

ListBuildTriggers List the triggers for the specified repository.

func (*Client) ListTriggerRecentBuilds

func (a *Client) ListTriggerRecentBuilds(params *ListTriggerRecentBuildsParams, authInfo runtime.ClientAuthInfoWriter) (*ListTriggerRecentBuildsOK, error)

ListTriggerRecentBuilds List the builds started by the specified trigger.

func (*Client) ManuallyStartBuildTrigger

ManuallyStartBuildTrigger Manually start a build from the specified trigger.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateBuildTrigger

func (a *Client) UpdateBuildTrigger(params *UpdateBuildTriggerParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateBuildTriggerOK, error)

UpdateBuildTrigger Updates the specified build trigger.

type ClientService

type ClientService interface {
	ActivateBuildTrigger(params *ActivateBuildTriggerParams, authInfo runtime.ClientAuthInfoWriter) (*ActivateBuildTriggerCreated, error)

	DeleteBuildTrigger(params *DeleteBuildTriggerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBuildTriggerNoContent, error)

	GetBuildTrigger(params *GetBuildTriggerParams, authInfo runtime.ClientAuthInfoWriter) (*GetBuildTriggerOK, error)

	ListBuildTriggers(params *ListBuildTriggersParams, authInfo runtime.ClientAuthInfoWriter) (*ListBuildTriggersOK, error)

	ListTriggerRecentBuilds(params *ListTriggerRecentBuildsParams, authInfo runtime.ClientAuthInfoWriter) (*ListTriggerRecentBuildsOK, error)

	ManuallyStartBuildTrigger(params *ManuallyStartBuildTriggerParams, authInfo runtime.ClientAuthInfoWriter) (*ManuallyStartBuildTriggerCreated, error)

	UpdateBuildTrigger(params *UpdateBuildTriggerParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateBuildTriggerOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new trigger API client.

type DeleteBuildTriggerBadRequest

type DeleteBuildTriggerBadRequest struct {
	Payload *models.APIError
}

DeleteBuildTriggerBadRequest handles this case with default header values.

Bad Request

func NewDeleteBuildTriggerBadRequest

func NewDeleteBuildTriggerBadRequest() *DeleteBuildTriggerBadRequest

NewDeleteBuildTriggerBadRequest creates a DeleteBuildTriggerBadRequest with default headers values

func (*DeleteBuildTriggerBadRequest) Error

func (*DeleteBuildTriggerBadRequest) GetPayload

func (o *DeleteBuildTriggerBadRequest) GetPayload() *models.APIError

type DeleteBuildTriggerForbidden

type DeleteBuildTriggerForbidden struct {
	Payload *models.APIError
}

DeleteBuildTriggerForbidden handles this case with default header values.

Unauthorized access

func NewDeleteBuildTriggerForbidden

func NewDeleteBuildTriggerForbidden() *DeleteBuildTriggerForbidden

NewDeleteBuildTriggerForbidden creates a DeleteBuildTriggerForbidden with default headers values

func (*DeleteBuildTriggerForbidden) Error

func (*DeleteBuildTriggerForbidden) GetPayload

func (o *DeleteBuildTriggerForbidden) GetPayload() *models.APIError

type DeleteBuildTriggerNoContent

type DeleteBuildTriggerNoContent struct {
}

DeleteBuildTriggerNoContent handles this case with default header values.

Deleted

func NewDeleteBuildTriggerNoContent

func NewDeleteBuildTriggerNoContent() *DeleteBuildTriggerNoContent

NewDeleteBuildTriggerNoContent creates a DeleteBuildTriggerNoContent with default headers values

func (*DeleteBuildTriggerNoContent) Error

type DeleteBuildTriggerNotFound

type DeleteBuildTriggerNotFound struct {
	Payload *models.APIError
}

DeleteBuildTriggerNotFound handles this case with default header values.

Not found

func NewDeleteBuildTriggerNotFound

func NewDeleteBuildTriggerNotFound() *DeleteBuildTriggerNotFound

NewDeleteBuildTriggerNotFound creates a DeleteBuildTriggerNotFound with default headers values

func (*DeleteBuildTriggerNotFound) Error

func (*DeleteBuildTriggerNotFound) GetPayload

func (o *DeleteBuildTriggerNotFound) GetPayload() *models.APIError

type DeleteBuildTriggerParams

type DeleteBuildTriggerParams struct {

	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*TriggerUUID
	  The UUID of the build trigger

	*/
	TriggerUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteBuildTriggerParams contains all the parameters to send to the API endpoint for the delete build trigger operation typically these are written to a http.Request

func NewDeleteBuildTriggerParams

func NewDeleteBuildTriggerParams() *DeleteBuildTriggerParams

NewDeleteBuildTriggerParams creates a new DeleteBuildTriggerParams object with the default values initialized.

func NewDeleteBuildTriggerParamsWithContext

func NewDeleteBuildTriggerParamsWithContext(ctx context.Context) *DeleteBuildTriggerParams

NewDeleteBuildTriggerParamsWithContext creates a new DeleteBuildTriggerParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteBuildTriggerParamsWithHTTPClient

func NewDeleteBuildTriggerParamsWithHTTPClient(client *http.Client) *DeleteBuildTriggerParams

NewDeleteBuildTriggerParamsWithHTTPClient creates a new DeleteBuildTriggerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteBuildTriggerParamsWithTimeout

func NewDeleteBuildTriggerParamsWithTimeout(timeout time.Duration) *DeleteBuildTriggerParams

NewDeleteBuildTriggerParamsWithTimeout creates a new DeleteBuildTriggerParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteBuildTriggerParams) SetContext

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

SetContext adds the context to the delete build trigger params

func (*DeleteBuildTriggerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete build trigger params

func (*DeleteBuildTriggerParams) SetRepository

func (o *DeleteBuildTriggerParams) SetRepository(repository string)

SetRepository adds the repository to the delete build trigger params

func (*DeleteBuildTriggerParams) SetTimeout

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

SetTimeout adds the timeout to the delete build trigger params

func (*DeleteBuildTriggerParams) SetTriggerUUID

func (o *DeleteBuildTriggerParams) SetTriggerUUID(triggerUUID string)

SetTriggerUUID adds the triggerUuid to the delete build trigger params

func (*DeleteBuildTriggerParams) WithContext

WithContext adds the context to the delete build trigger params

func (*DeleteBuildTriggerParams) WithHTTPClient

func (o *DeleteBuildTriggerParams) WithHTTPClient(client *http.Client) *DeleteBuildTriggerParams

WithHTTPClient adds the HTTPClient to the delete build trigger params

func (*DeleteBuildTriggerParams) WithRepository

func (o *DeleteBuildTriggerParams) WithRepository(repository string) *DeleteBuildTriggerParams

WithRepository adds the repository to the delete build trigger params

func (*DeleteBuildTriggerParams) WithTimeout

WithTimeout adds the timeout to the delete build trigger params

func (*DeleteBuildTriggerParams) WithTriggerUUID

func (o *DeleteBuildTriggerParams) WithTriggerUUID(triggerUUID string) *DeleteBuildTriggerParams

WithTriggerUUID adds the triggerUUID to the delete build trigger params

func (*DeleteBuildTriggerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBuildTriggerReader

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

DeleteBuildTriggerReader is a Reader for the DeleteBuildTrigger structure.

func (*DeleteBuildTriggerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBuildTriggerUnauthorized

type DeleteBuildTriggerUnauthorized struct {
	Payload *models.APIError
}

DeleteBuildTriggerUnauthorized handles this case with default header values.

Session required

func NewDeleteBuildTriggerUnauthorized

func NewDeleteBuildTriggerUnauthorized() *DeleteBuildTriggerUnauthorized

NewDeleteBuildTriggerUnauthorized creates a DeleteBuildTriggerUnauthorized with default headers values

func (*DeleteBuildTriggerUnauthorized) Error

func (*DeleteBuildTriggerUnauthorized) GetPayload

type GetBuildTriggerBadRequest

type GetBuildTriggerBadRequest struct {
	Payload *models.APIError
}

GetBuildTriggerBadRequest handles this case with default header values.

Bad Request

func NewGetBuildTriggerBadRequest

func NewGetBuildTriggerBadRequest() *GetBuildTriggerBadRequest

NewGetBuildTriggerBadRequest creates a GetBuildTriggerBadRequest with default headers values

func (*GetBuildTriggerBadRequest) Error

func (o *GetBuildTriggerBadRequest) Error() string

func (*GetBuildTriggerBadRequest) GetPayload

func (o *GetBuildTriggerBadRequest) GetPayload() *models.APIError

type GetBuildTriggerForbidden

type GetBuildTriggerForbidden struct {
	Payload *models.APIError
}

GetBuildTriggerForbidden handles this case with default header values.

Unauthorized access

func NewGetBuildTriggerForbidden

func NewGetBuildTriggerForbidden() *GetBuildTriggerForbidden

NewGetBuildTriggerForbidden creates a GetBuildTriggerForbidden with default headers values

func (*GetBuildTriggerForbidden) Error

func (o *GetBuildTriggerForbidden) Error() string

func (*GetBuildTriggerForbidden) GetPayload

func (o *GetBuildTriggerForbidden) GetPayload() *models.APIError

type GetBuildTriggerNotFound

type GetBuildTriggerNotFound struct {
	Payload *models.APIError
}

GetBuildTriggerNotFound handles this case with default header values.

Not found

func NewGetBuildTriggerNotFound

func NewGetBuildTriggerNotFound() *GetBuildTriggerNotFound

NewGetBuildTriggerNotFound creates a GetBuildTriggerNotFound with default headers values

func (*GetBuildTriggerNotFound) Error

func (o *GetBuildTriggerNotFound) Error() string

func (*GetBuildTriggerNotFound) GetPayload

func (o *GetBuildTriggerNotFound) GetPayload() *models.APIError

type GetBuildTriggerOK

type GetBuildTriggerOK struct {
}

GetBuildTriggerOK handles this case with default header values.

Successful invocation

func NewGetBuildTriggerOK

func NewGetBuildTriggerOK() *GetBuildTriggerOK

NewGetBuildTriggerOK creates a GetBuildTriggerOK with default headers values

func (*GetBuildTriggerOK) Error

func (o *GetBuildTriggerOK) Error() string

type GetBuildTriggerParams

type GetBuildTriggerParams struct {

	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*TriggerUUID
	  The UUID of the build trigger

	*/
	TriggerUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetBuildTriggerParams contains all the parameters to send to the API endpoint for the get build trigger operation typically these are written to a http.Request

func NewGetBuildTriggerParams

func NewGetBuildTriggerParams() *GetBuildTriggerParams

NewGetBuildTriggerParams creates a new GetBuildTriggerParams object with the default values initialized.

func NewGetBuildTriggerParamsWithContext

func NewGetBuildTriggerParamsWithContext(ctx context.Context) *GetBuildTriggerParams

NewGetBuildTriggerParamsWithContext creates a new GetBuildTriggerParams object with the default values initialized, and the ability to set a context for a request

func NewGetBuildTriggerParamsWithHTTPClient

func NewGetBuildTriggerParamsWithHTTPClient(client *http.Client) *GetBuildTriggerParams

NewGetBuildTriggerParamsWithHTTPClient creates a new GetBuildTriggerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetBuildTriggerParamsWithTimeout

func NewGetBuildTriggerParamsWithTimeout(timeout time.Duration) *GetBuildTriggerParams

NewGetBuildTriggerParamsWithTimeout creates a new GetBuildTriggerParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetBuildTriggerParams) SetContext

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

SetContext adds the context to the get build trigger params

func (*GetBuildTriggerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get build trigger params

func (*GetBuildTriggerParams) SetRepository

func (o *GetBuildTriggerParams) SetRepository(repository string)

SetRepository adds the repository to the get build trigger params

func (*GetBuildTriggerParams) SetTimeout

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

SetTimeout adds the timeout to the get build trigger params

func (*GetBuildTriggerParams) SetTriggerUUID

func (o *GetBuildTriggerParams) SetTriggerUUID(triggerUUID string)

SetTriggerUUID adds the triggerUuid to the get build trigger params

func (*GetBuildTriggerParams) WithContext

WithContext adds the context to the get build trigger params

func (*GetBuildTriggerParams) WithHTTPClient

func (o *GetBuildTriggerParams) WithHTTPClient(client *http.Client) *GetBuildTriggerParams

WithHTTPClient adds the HTTPClient to the get build trigger params

func (*GetBuildTriggerParams) WithRepository

func (o *GetBuildTriggerParams) WithRepository(repository string) *GetBuildTriggerParams

WithRepository adds the repository to the get build trigger params

func (*GetBuildTriggerParams) WithTimeout

func (o *GetBuildTriggerParams) WithTimeout(timeout time.Duration) *GetBuildTriggerParams

WithTimeout adds the timeout to the get build trigger params

func (*GetBuildTriggerParams) WithTriggerUUID

func (o *GetBuildTriggerParams) WithTriggerUUID(triggerUUID string) *GetBuildTriggerParams

WithTriggerUUID adds the triggerUUID to the get build trigger params

func (*GetBuildTriggerParams) WriteToRequest

func (o *GetBuildTriggerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBuildTriggerReader

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

GetBuildTriggerReader is a Reader for the GetBuildTrigger structure.

func (*GetBuildTriggerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildTriggerUnauthorized

type GetBuildTriggerUnauthorized struct {
	Payload *models.APIError
}

GetBuildTriggerUnauthorized handles this case with default header values.

Session required

func NewGetBuildTriggerUnauthorized

func NewGetBuildTriggerUnauthorized() *GetBuildTriggerUnauthorized

NewGetBuildTriggerUnauthorized creates a GetBuildTriggerUnauthorized with default headers values

func (*GetBuildTriggerUnauthorized) Error

func (*GetBuildTriggerUnauthorized) GetPayload

func (o *GetBuildTriggerUnauthorized) GetPayload() *models.APIError

type ListBuildTriggersBadRequest

type ListBuildTriggersBadRequest struct {
	Payload *models.APIError
}

ListBuildTriggersBadRequest handles this case with default header values.

Bad Request

func NewListBuildTriggersBadRequest

func NewListBuildTriggersBadRequest() *ListBuildTriggersBadRequest

NewListBuildTriggersBadRequest creates a ListBuildTriggersBadRequest with default headers values

func (*ListBuildTriggersBadRequest) Error

func (*ListBuildTriggersBadRequest) GetPayload

func (o *ListBuildTriggersBadRequest) GetPayload() *models.APIError

type ListBuildTriggersForbidden

type ListBuildTriggersForbidden struct {
	Payload *models.APIError
}

ListBuildTriggersForbidden handles this case with default header values.

Unauthorized access

func NewListBuildTriggersForbidden

func NewListBuildTriggersForbidden() *ListBuildTriggersForbidden

NewListBuildTriggersForbidden creates a ListBuildTriggersForbidden with default headers values

func (*ListBuildTriggersForbidden) Error

func (*ListBuildTriggersForbidden) GetPayload

func (o *ListBuildTriggersForbidden) GetPayload() *models.APIError

type ListBuildTriggersNotFound

type ListBuildTriggersNotFound struct {
	Payload *models.APIError
}

ListBuildTriggersNotFound handles this case with default header values.

Not found

func NewListBuildTriggersNotFound

func NewListBuildTriggersNotFound() *ListBuildTriggersNotFound

NewListBuildTriggersNotFound creates a ListBuildTriggersNotFound with default headers values

func (*ListBuildTriggersNotFound) Error

func (o *ListBuildTriggersNotFound) Error() string

func (*ListBuildTriggersNotFound) GetPayload

func (o *ListBuildTriggersNotFound) GetPayload() *models.APIError

type ListBuildTriggersOK

type ListBuildTriggersOK struct {
}

ListBuildTriggersOK handles this case with default header values.

Successful invocation

func NewListBuildTriggersOK

func NewListBuildTriggersOK() *ListBuildTriggersOK

NewListBuildTriggersOK creates a ListBuildTriggersOK with default headers values

func (*ListBuildTriggersOK) Error

func (o *ListBuildTriggersOK) Error() string

type ListBuildTriggersParams

type ListBuildTriggersParams struct {

	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListBuildTriggersParams contains all the parameters to send to the API endpoint for the list build triggers operation typically these are written to a http.Request

func NewListBuildTriggersParams

func NewListBuildTriggersParams() *ListBuildTriggersParams

NewListBuildTriggersParams creates a new ListBuildTriggersParams object with the default values initialized.

func NewListBuildTriggersParamsWithContext

func NewListBuildTriggersParamsWithContext(ctx context.Context) *ListBuildTriggersParams

NewListBuildTriggersParamsWithContext creates a new ListBuildTriggersParams object with the default values initialized, and the ability to set a context for a request

func NewListBuildTriggersParamsWithHTTPClient

func NewListBuildTriggersParamsWithHTTPClient(client *http.Client) *ListBuildTriggersParams

NewListBuildTriggersParamsWithHTTPClient creates a new ListBuildTriggersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListBuildTriggersParamsWithTimeout

func NewListBuildTriggersParamsWithTimeout(timeout time.Duration) *ListBuildTriggersParams

NewListBuildTriggersParamsWithTimeout creates a new ListBuildTriggersParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListBuildTriggersParams) SetContext

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

SetContext adds the context to the list build triggers params

func (*ListBuildTriggersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list build triggers params

func (*ListBuildTriggersParams) SetRepository

func (o *ListBuildTriggersParams) SetRepository(repository string)

SetRepository adds the repository to the list build triggers params

func (*ListBuildTriggersParams) SetTimeout

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

SetTimeout adds the timeout to the list build triggers params

func (*ListBuildTriggersParams) WithContext

WithContext adds the context to the list build triggers params

func (*ListBuildTriggersParams) WithHTTPClient

func (o *ListBuildTriggersParams) WithHTTPClient(client *http.Client) *ListBuildTriggersParams

WithHTTPClient adds the HTTPClient to the list build triggers params

func (*ListBuildTriggersParams) WithRepository

func (o *ListBuildTriggersParams) WithRepository(repository string) *ListBuildTriggersParams

WithRepository adds the repository to the list build triggers params

func (*ListBuildTriggersParams) WithTimeout

WithTimeout adds the timeout to the list build triggers params

func (*ListBuildTriggersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListBuildTriggersReader

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

ListBuildTriggersReader is a Reader for the ListBuildTriggers structure.

func (*ListBuildTriggersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBuildTriggersUnauthorized

type ListBuildTriggersUnauthorized struct {
	Payload *models.APIError
}

ListBuildTriggersUnauthorized handles this case with default header values.

Session required

func NewListBuildTriggersUnauthorized

func NewListBuildTriggersUnauthorized() *ListBuildTriggersUnauthorized

NewListBuildTriggersUnauthorized creates a ListBuildTriggersUnauthorized with default headers values

func (*ListBuildTriggersUnauthorized) Error

func (*ListBuildTriggersUnauthorized) GetPayload

type ListTriggerRecentBuildsBadRequest

type ListTriggerRecentBuildsBadRequest struct {
	Payload *models.APIError
}

ListTriggerRecentBuildsBadRequest handles this case with default header values.

Bad Request

func NewListTriggerRecentBuildsBadRequest

func NewListTriggerRecentBuildsBadRequest() *ListTriggerRecentBuildsBadRequest

NewListTriggerRecentBuildsBadRequest creates a ListTriggerRecentBuildsBadRequest with default headers values

func (*ListTriggerRecentBuildsBadRequest) Error

func (*ListTriggerRecentBuildsBadRequest) GetPayload

type ListTriggerRecentBuildsForbidden

type ListTriggerRecentBuildsForbidden struct {
	Payload *models.APIError
}

ListTriggerRecentBuildsForbidden handles this case with default header values.

Unauthorized access

func NewListTriggerRecentBuildsForbidden

func NewListTriggerRecentBuildsForbidden() *ListTriggerRecentBuildsForbidden

NewListTriggerRecentBuildsForbidden creates a ListTriggerRecentBuildsForbidden with default headers values

func (*ListTriggerRecentBuildsForbidden) Error

func (*ListTriggerRecentBuildsForbidden) GetPayload

type ListTriggerRecentBuildsNotFound

type ListTriggerRecentBuildsNotFound struct {
	Payload *models.APIError
}

ListTriggerRecentBuildsNotFound handles this case with default header values.

Not found

func NewListTriggerRecentBuildsNotFound

func NewListTriggerRecentBuildsNotFound() *ListTriggerRecentBuildsNotFound

NewListTriggerRecentBuildsNotFound creates a ListTriggerRecentBuildsNotFound with default headers values

func (*ListTriggerRecentBuildsNotFound) Error

func (*ListTriggerRecentBuildsNotFound) GetPayload

type ListTriggerRecentBuildsOK

type ListTriggerRecentBuildsOK struct {
}

ListTriggerRecentBuildsOK handles this case with default header values.

Successful invocation

func NewListTriggerRecentBuildsOK

func NewListTriggerRecentBuildsOK() *ListTriggerRecentBuildsOK

NewListTriggerRecentBuildsOK creates a ListTriggerRecentBuildsOK with default headers values

func (*ListTriggerRecentBuildsOK) Error

func (o *ListTriggerRecentBuildsOK) Error() string

type ListTriggerRecentBuildsParams

type ListTriggerRecentBuildsParams struct {

	/*Limit
	  The maximum number of builds to return

	*/
	Limit *int64
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*TriggerUUID
	  The UUID of the build trigger

	*/
	TriggerUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListTriggerRecentBuildsParams contains all the parameters to send to the API endpoint for the list trigger recent builds operation typically these are written to a http.Request

func NewListTriggerRecentBuildsParams

func NewListTriggerRecentBuildsParams() *ListTriggerRecentBuildsParams

NewListTriggerRecentBuildsParams creates a new ListTriggerRecentBuildsParams object with the default values initialized.

func NewListTriggerRecentBuildsParamsWithContext

func NewListTriggerRecentBuildsParamsWithContext(ctx context.Context) *ListTriggerRecentBuildsParams

NewListTriggerRecentBuildsParamsWithContext creates a new ListTriggerRecentBuildsParams object with the default values initialized, and the ability to set a context for a request

func NewListTriggerRecentBuildsParamsWithHTTPClient

func NewListTriggerRecentBuildsParamsWithHTTPClient(client *http.Client) *ListTriggerRecentBuildsParams

NewListTriggerRecentBuildsParamsWithHTTPClient creates a new ListTriggerRecentBuildsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListTriggerRecentBuildsParamsWithTimeout

func NewListTriggerRecentBuildsParamsWithTimeout(timeout time.Duration) *ListTriggerRecentBuildsParams

NewListTriggerRecentBuildsParamsWithTimeout creates a new ListTriggerRecentBuildsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListTriggerRecentBuildsParams) SetContext

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

SetContext adds the context to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) SetLimit

func (o *ListTriggerRecentBuildsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) SetRepository

func (o *ListTriggerRecentBuildsParams) SetRepository(repository string)

SetRepository adds the repository to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) SetTimeout

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

SetTimeout adds the timeout to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) SetTriggerUUID

func (o *ListTriggerRecentBuildsParams) SetTriggerUUID(triggerUUID string)

SetTriggerUUID adds the triggerUuid to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) WithContext

WithContext adds the context to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) WithLimit

WithLimit adds the limit to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) WithRepository

WithRepository adds the repository to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) WithTimeout

WithTimeout adds the timeout to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) WithTriggerUUID

func (o *ListTriggerRecentBuildsParams) WithTriggerUUID(triggerUUID string) *ListTriggerRecentBuildsParams

WithTriggerUUID adds the triggerUUID to the list trigger recent builds params

func (*ListTriggerRecentBuildsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListTriggerRecentBuildsReader

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

ListTriggerRecentBuildsReader is a Reader for the ListTriggerRecentBuilds structure.

func (*ListTriggerRecentBuildsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTriggerRecentBuildsUnauthorized

type ListTriggerRecentBuildsUnauthorized struct {
	Payload *models.APIError
}

ListTriggerRecentBuildsUnauthorized handles this case with default header values.

Session required

func NewListTriggerRecentBuildsUnauthorized

func NewListTriggerRecentBuildsUnauthorized() *ListTriggerRecentBuildsUnauthorized

NewListTriggerRecentBuildsUnauthorized creates a ListTriggerRecentBuildsUnauthorized with default headers values

func (*ListTriggerRecentBuildsUnauthorized) Error

func (*ListTriggerRecentBuildsUnauthorized) GetPayload

type ManuallyStartBuildTriggerBadRequest

type ManuallyStartBuildTriggerBadRequest struct {
	Payload *models.APIError
}

ManuallyStartBuildTriggerBadRequest handles this case with default header values.

Bad Request

func NewManuallyStartBuildTriggerBadRequest

func NewManuallyStartBuildTriggerBadRequest() *ManuallyStartBuildTriggerBadRequest

NewManuallyStartBuildTriggerBadRequest creates a ManuallyStartBuildTriggerBadRequest with default headers values

func (*ManuallyStartBuildTriggerBadRequest) Error

func (*ManuallyStartBuildTriggerBadRequest) GetPayload

type ManuallyStartBuildTriggerCreated

type ManuallyStartBuildTriggerCreated struct {
}

ManuallyStartBuildTriggerCreated handles this case with default header values.

Successful creation

func NewManuallyStartBuildTriggerCreated

func NewManuallyStartBuildTriggerCreated() *ManuallyStartBuildTriggerCreated

NewManuallyStartBuildTriggerCreated creates a ManuallyStartBuildTriggerCreated with default headers values

func (*ManuallyStartBuildTriggerCreated) Error

type ManuallyStartBuildTriggerForbidden

type ManuallyStartBuildTriggerForbidden struct {
	Payload *models.APIError
}

ManuallyStartBuildTriggerForbidden handles this case with default header values.

Unauthorized access

func NewManuallyStartBuildTriggerForbidden

func NewManuallyStartBuildTriggerForbidden() *ManuallyStartBuildTriggerForbidden

NewManuallyStartBuildTriggerForbidden creates a ManuallyStartBuildTriggerForbidden with default headers values

func (*ManuallyStartBuildTriggerForbidden) Error

func (*ManuallyStartBuildTriggerForbidden) GetPayload

type ManuallyStartBuildTriggerNotFound

type ManuallyStartBuildTriggerNotFound struct {
	Payload *models.APIError
}

ManuallyStartBuildTriggerNotFound handles this case with default header values.

Not found

func NewManuallyStartBuildTriggerNotFound

func NewManuallyStartBuildTriggerNotFound() *ManuallyStartBuildTriggerNotFound

NewManuallyStartBuildTriggerNotFound creates a ManuallyStartBuildTriggerNotFound with default headers values

func (*ManuallyStartBuildTriggerNotFound) Error

func (*ManuallyStartBuildTriggerNotFound) GetPayload

type ManuallyStartBuildTriggerParams

type ManuallyStartBuildTriggerParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.RunParameters
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*TriggerUUID
	  The UUID of the build trigger

	*/
	TriggerUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ManuallyStartBuildTriggerParams contains all the parameters to send to the API endpoint for the manually start build trigger operation typically these are written to a http.Request

func NewManuallyStartBuildTriggerParams

func NewManuallyStartBuildTriggerParams() *ManuallyStartBuildTriggerParams

NewManuallyStartBuildTriggerParams creates a new ManuallyStartBuildTriggerParams object with the default values initialized.

func NewManuallyStartBuildTriggerParamsWithContext

func NewManuallyStartBuildTriggerParamsWithContext(ctx context.Context) *ManuallyStartBuildTriggerParams

NewManuallyStartBuildTriggerParamsWithContext creates a new ManuallyStartBuildTriggerParams object with the default values initialized, and the ability to set a context for a request

func NewManuallyStartBuildTriggerParamsWithHTTPClient

func NewManuallyStartBuildTriggerParamsWithHTTPClient(client *http.Client) *ManuallyStartBuildTriggerParams

NewManuallyStartBuildTriggerParamsWithHTTPClient creates a new ManuallyStartBuildTriggerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewManuallyStartBuildTriggerParamsWithTimeout

func NewManuallyStartBuildTriggerParamsWithTimeout(timeout time.Duration) *ManuallyStartBuildTriggerParams

NewManuallyStartBuildTriggerParamsWithTimeout creates a new ManuallyStartBuildTriggerParams object with the default values initialized, and the ability to set a timeout on a request

func (*ManuallyStartBuildTriggerParams) SetBody

SetBody adds the body to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) SetContext

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

SetContext adds the context to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) SetRepository

func (o *ManuallyStartBuildTriggerParams) SetRepository(repository string)

SetRepository adds the repository to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) SetTimeout

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

SetTimeout adds the timeout to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) SetTriggerUUID

func (o *ManuallyStartBuildTriggerParams) SetTriggerUUID(triggerUUID string)

SetTriggerUUID adds the triggerUuid to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) WithBody

WithBody adds the body to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) WithContext

WithContext adds the context to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) WithRepository

WithRepository adds the repository to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) WithTimeout

WithTimeout adds the timeout to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) WithTriggerUUID

WithTriggerUUID adds the triggerUUID to the manually start build trigger params

func (*ManuallyStartBuildTriggerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ManuallyStartBuildTriggerReader

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

ManuallyStartBuildTriggerReader is a Reader for the ManuallyStartBuildTrigger structure.

func (*ManuallyStartBuildTriggerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ManuallyStartBuildTriggerUnauthorized

type ManuallyStartBuildTriggerUnauthorized struct {
	Payload *models.APIError
}

ManuallyStartBuildTriggerUnauthorized handles this case with default header values.

Session required

func NewManuallyStartBuildTriggerUnauthorized

func NewManuallyStartBuildTriggerUnauthorized() *ManuallyStartBuildTriggerUnauthorized

NewManuallyStartBuildTriggerUnauthorized creates a ManuallyStartBuildTriggerUnauthorized with default headers values

func (*ManuallyStartBuildTriggerUnauthorized) Error

func (*ManuallyStartBuildTriggerUnauthorized) GetPayload

type UpdateBuildTriggerBadRequest

type UpdateBuildTriggerBadRequest struct {
	Payload *models.APIError
}

UpdateBuildTriggerBadRequest handles this case with default header values.

Bad Request

func NewUpdateBuildTriggerBadRequest

func NewUpdateBuildTriggerBadRequest() *UpdateBuildTriggerBadRequest

NewUpdateBuildTriggerBadRequest creates a UpdateBuildTriggerBadRequest with default headers values

func (*UpdateBuildTriggerBadRequest) Error

func (*UpdateBuildTriggerBadRequest) GetPayload

func (o *UpdateBuildTriggerBadRequest) GetPayload() *models.APIError

type UpdateBuildTriggerForbidden

type UpdateBuildTriggerForbidden struct {
	Payload *models.APIError
}

UpdateBuildTriggerForbidden handles this case with default header values.

Unauthorized access

func NewUpdateBuildTriggerForbidden

func NewUpdateBuildTriggerForbidden() *UpdateBuildTriggerForbidden

NewUpdateBuildTriggerForbidden creates a UpdateBuildTriggerForbidden with default headers values

func (*UpdateBuildTriggerForbidden) Error

func (*UpdateBuildTriggerForbidden) GetPayload

func (o *UpdateBuildTriggerForbidden) GetPayload() *models.APIError

type UpdateBuildTriggerNotFound

type UpdateBuildTriggerNotFound struct {
	Payload *models.APIError
}

UpdateBuildTriggerNotFound handles this case with default header values.

Not found

func NewUpdateBuildTriggerNotFound

func NewUpdateBuildTriggerNotFound() *UpdateBuildTriggerNotFound

NewUpdateBuildTriggerNotFound creates a UpdateBuildTriggerNotFound with default headers values

func (*UpdateBuildTriggerNotFound) Error

func (*UpdateBuildTriggerNotFound) GetPayload

func (o *UpdateBuildTriggerNotFound) GetPayload() *models.APIError

type UpdateBuildTriggerOK

type UpdateBuildTriggerOK struct {
}

UpdateBuildTriggerOK handles this case with default header values.

Successful invocation

func NewUpdateBuildTriggerOK

func NewUpdateBuildTriggerOK() *UpdateBuildTriggerOK

NewUpdateBuildTriggerOK creates a UpdateBuildTriggerOK with default headers values

func (*UpdateBuildTriggerOK) Error

func (o *UpdateBuildTriggerOK) Error() string

type UpdateBuildTriggerParams

type UpdateBuildTriggerParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.UpdateTrigger
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*TriggerUUID
	  The UUID of the build trigger

	*/
	TriggerUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateBuildTriggerParams contains all the parameters to send to the API endpoint for the update build trigger operation typically these are written to a http.Request

func NewUpdateBuildTriggerParams

func NewUpdateBuildTriggerParams() *UpdateBuildTriggerParams

NewUpdateBuildTriggerParams creates a new UpdateBuildTriggerParams object with the default values initialized.

func NewUpdateBuildTriggerParamsWithContext

func NewUpdateBuildTriggerParamsWithContext(ctx context.Context) *UpdateBuildTriggerParams

NewUpdateBuildTriggerParamsWithContext creates a new UpdateBuildTriggerParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateBuildTriggerParamsWithHTTPClient

func NewUpdateBuildTriggerParamsWithHTTPClient(client *http.Client) *UpdateBuildTriggerParams

NewUpdateBuildTriggerParamsWithHTTPClient creates a new UpdateBuildTriggerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateBuildTriggerParamsWithTimeout

func NewUpdateBuildTriggerParamsWithTimeout(timeout time.Duration) *UpdateBuildTriggerParams

NewUpdateBuildTriggerParamsWithTimeout creates a new UpdateBuildTriggerParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateBuildTriggerParams) SetBody

func (o *UpdateBuildTriggerParams) SetBody(body *models.UpdateTrigger)

SetBody adds the body to the update build trigger params

func (*UpdateBuildTriggerParams) SetContext

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

SetContext adds the context to the update build trigger params

func (*UpdateBuildTriggerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update build trigger params

func (*UpdateBuildTriggerParams) SetRepository

func (o *UpdateBuildTriggerParams) SetRepository(repository string)

SetRepository adds the repository to the update build trigger params

func (*UpdateBuildTriggerParams) SetTimeout

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

SetTimeout adds the timeout to the update build trigger params

func (*UpdateBuildTriggerParams) SetTriggerUUID

func (o *UpdateBuildTriggerParams) SetTriggerUUID(triggerUUID string)

SetTriggerUUID adds the triggerUuid to the update build trigger params

func (*UpdateBuildTriggerParams) WithBody

WithBody adds the body to the update build trigger params

func (*UpdateBuildTriggerParams) WithContext

WithContext adds the context to the update build trigger params

func (*UpdateBuildTriggerParams) WithHTTPClient

func (o *UpdateBuildTriggerParams) WithHTTPClient(client *http.Client) *UpdateBuildTriggerParams

WithHTTPClient adds the HTTPClient to the update build trigger params

func (*UpdateBuildTriggerParams) WithRepository

func (o *UpdateBuildTriggerParams) WithRepository(repository string) *UpdateBuildTriggerParams

WithRepository adds the repository to the update build trigger params

func (*UpdateBuildTriggerParams) WithTimeout

WithTimeout adds the timeout to the update build trigger params

func (*UpdateBuildTriggerParams) WithTriggerUUID

func (o *UpdateBuildTriggerParams) WithTriggerUUID(triggerUUID string) *UpdateBuildTriggerParams

WithTriggerUUID adds the triggerUUID to the update build trigger params

func (*UpdateBuildTriggerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateBuildTriggerReader

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

UpdateBuildTriggerReader is a Reader for the UpdateBuildTrigger structure.

func (*UpdateBuildTriggerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBuildTriggerUnauthorized

type UpdateBuildTriggerUnauthorized struct {
	Payload *models.APIError
}

UpdateBuildTriggerUnauthorized handles this case with default header values.

Session required

func NewUpdateBuildTriggerUnauthorized

func NewUpdateBuildTriggerUnauthorized() *UpdateBuildTriggerUnauthorized

NewUpdateBuildTriggerUnauthorized creates a UpdateBuildTriggerUnauthorized with default headers values

func (*UpdateBuildTriggerUnauthorized) Error

func (*UpdateBuildTriggerUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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