pack

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppendBuildToVersionDefault

type AppendBuildToVersionDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

AppendBuildToVersionDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewAppendBuildToVersionDefault

func NewAppendBuildToVersionDefault(code int) *AppendBuildToVersionDefault

NewAppendBuildToVersionDefault creates a AppendBuildToVersionDefault with default headers values

func (*AppendBuildToVersionDefault) Code

func (o *AppendBuildToVersionDefault) Code() int

Code gets the status code for the append build to version default response

func (*AppendBuildToVersionDefault) Error

func (*AppendBuildToVersionDefault) GetPayload

func (*AppendBuildToVersionDefault) IsClientError

func (o *AppendBuildToVersionDefault) IsClientError() bool

IsClientError returns true when this append build to version default response has a 4xx status code

func (*AppendBuildToVersionDefault) IsCode

func (o *AppendBuildToVersionDefault) IsCode(code int) bool

IsCode returns true when this append build to version default response a status code equal to that given

func (*AppendBuildToVersionDefault) IsRedirect

func (o *AppendBuildToVersionDefault) IsRedirect() bool

IsRedirect returns true when this append build to version default response has a 3xx status code

func (*AppendBuildToVersionDefault) IsServerError

func (o *AppendBuildToVersionDefault) IsServerError() bool

IsServerError returns true when this append build to version default response has a 5xx status code

func (*AppendBuildToVersionDefault) IsSuccess

func (o *AppendBuildToVersionDefault) IsSuccess() bool

IsSuccess returns true when this append build to version default response has a 2xx status code

func (*AppendBuildToVersionDefault) String

func (o *AppendBuildToVersionDefault) String() string

type AppendBuildToVersionForbidden

type AppendBuildToVersionForbidden struct {
	Payload *models.GeneralError
}

AppendBuildToVersionForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewAppendBuildToVersionForbidden

func NewAppendBuildToVersionForbidden() *AppendBuildToVersionForbidden

NewAppendBuildToVersionForbidden creates a AppendBuildToVersionForbidden with default headers values

func (*AppendBuildToVersionForbidden) Code

Code gets the status code for the append build to version forbidden response

func (*AppendBuildToVersionForbidden) Error

func (*AppendBuildToVersionForbidden) GetPayload

func (*AppendBuildToVersionForbidden) IsClientError

func (o *AppendBuildToVersionForbidden) IsClientError() bool

IsClientError returns true when this append build to version forbidden response has a 4xx status code

func (*AppendBuildToVersionForbidden) IsCode

func (o *AppendBuildToVersionForbidden) IsCode(code int) bool

IsCode returns true when this append build to version forbidden response a status code equal to that given

func (*AppendBuildToVersionForbidden) IsRedirect

func (o *AppendBuildToVersionForbidden) IsRedirect() bool

IsRedirect returns true when this append build to version forbidden response has a 3xx status code

func (*AppendBuildToVersionForbidden) IsServerError

func (o *AppendBuildToVersionForbidden) IsServerError() bool

IsServerError returns true when this append build to version forbidden response has a 5xx status code

func (*AppendBuildToVersionForbidden) IsSuccess

func (o *AppendBuildToVersionForbidden) IsSuccess() bool

IsSuccess returns true when this append build to version forbidden response has a 2xx status code

func (*AppendBuildToVersionForbidden) String

type AppendBuildToVersionNotFound

type AppendBuildToVersionNotFound struct {
	Payload *models.GeneralError
}

AppendBuildToVersionNotFound describes a response with status code 404, with default header values.

Build or pack not found

func NewAppendBuildToVersionNotFound

func NewAppendBuildToVersionNotFound() *AppendBuildToVersionNotFound

NewAppendBuildToVersionNotFound creates a AppendBuildToVersionNotFound with default headers values

func (*AppendBuildToVersionNotFound) Code

Code gets the status code for the append build to version not found response

func (*AppendBuildToVersionNotFound) Error

func (*AppendBuildToVersionNotFound) GetPayload

func (*AppendBuildToVersionNotFound) IsClientError

func (o *AppendBuildToVersionNotFound) IsClientError() bool

IsClientError returns true when this append build to version not found response has a 4xx status code

func (*AppendBuildToVersionNotFound) IsCode

func (o *AppendBuildToVersionNotFound) IsCode(code int) bool

IsCode returns true when this append build to version not found response a status code equal to that given

func (*AppendBuildToVersionNotFound) IsRedirect

func (o *AppendBuildToVersionNotFound) IsRedirect() bool

IsRedirect returns true when this append build to version not found response has a 3xx status code

func (*AppendBuildToVersionNotFound) IsServerError

func (o *AppendBuildToVersionNotFound) IsServerError() bool

IsServerError returns true when this append build to version not found response has a 5xx status code

func (*AppendBuildToVersionNotFound) IsSuccess

func (o *AppendBuildToVersionNotFound) IsSuccess() bool

IsSuccess returns true when this append build to version not found response has a 2xx status code

func (*AppendBuildToVersionNotFound) String

type AppendBuildToVersionOK

type AppendBuildToVersionOK struct {
	Payload *models.GeneralError
}

AppendBuildToVersionOK describes a response with status code 200, with default header values.

Plain success message

func NewAppendBuildToVersionOK

func NewAppendBuildToVersionOK() *AppendBuildToVersionOK

NewAppendBuildToVersionOK creates a AppendBuildToVersionOK with default headers values

func (*AppendBuildToVersionOK) Code

func (o *AppendBuildToVersionOK) Code() int

Code gets the status code for the append build to version o k response

func (*AppendBuildToVersionOK) Error

func (o *AppendBuildToVersionOK) Error() string

func (*AppendBuildToVersionOK) GetPayload

func (o *AppendBuildToVersionOK) GetPayload() *models.GeneralError

func (*AppendBuildToVersionOK) IsClientError

func (o *AppendBuildToVersionOK) IsClientError() bool

IsClientError returns true when this append build to version o k response has a 4xx status code

func (*AppendBuildToVersionOK) IsCode

func (o *AppendBuildToVersionOK) IsCode(code int) bool

IsCode returns true when this append build to version o k response a status code equal to that given

func (*AppendBuildToVersionOK) IsRedirect

func (o *AppendBuildToVersionOK) IsRedirect() bool

IsRedirect returns true when this append build to version o k response has a 3xx status code

func (*AppendBuildToVersionOK) IsServerError

func (o *AppendBuildToVersionOK) IsServerError() bool

IsServerError returns true when this append build to version o k response has a 5xx status code

func (*AppendBuildToVersionOK) IsSuccess

func (o *AppendBuildToVersionOK) IsSuccess() bool

IsSuccess returns true when this append build to version o k response has a 2xx status code

func (*AppendBuildToVersionOK) String

func (o *AppendBuildToVersionOK) String() string

type AppendBuildToVersionParams

type AppendBuildToVersionParams struct {

	/* BuildID.

	   A build UUID or slug
	*/
	BuildID string

	/* BuildVersion.

	   The version data to append to build
	*/
	BuildVersion *models.BuildVersionParams

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

AppendBuildToVersionParams contains all the parameters to send to the API endpoint

for the append build to version operation.

Typically these are written to a http.Request.

func NewAppendBuildToVersionParams

func NewAppendBuildToVersionParams() *AppendBuildToVersionParams

NewAppendBuildToVersionParams creates a new AppendBuildToVersionParams 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 NewAppendBuildToVersionParamsWithContext

func NewAppendBuildToVersionParamsWithContext(ctx context.Context) *AppendBuildToVersionParams

NewAppendBuildToVersionParamsWithContext creates a new AppendBuildToVersionParams object with the ability to set a context for a request.

func NewAppendBuildToVersionParamsWithHTTPClient

func NewAppendBuildToVersionParamsWithHTTPClient(client *http.Client) *AppendBuildToVersionParams

NewAppendBuildToVersionParamsWithHTTPClient creates a new AppendBuildToVersionParams object with the ability to set a custom HTTPClient for a request.

func NewAppendBuildToVersionParamsWithTimeout

func NewAppendBuildToVersionParamsWithTimeout(timeout time.Duration) *AppendBuildToVersionParams

NewAppendBuildToVersionParamsWithTimeout creates a new AppendBuildToVersionParams object with the ability to set a timeout on a request.

func (*AppendBuildToVersionParams) SetBuildID

func (o *AppendBuildToVersionParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the append build to version params

func (*AppendBuildToVersionParams) SetBuildVersion

func (o *AppendBuildToVersionParams) SetBuildVersion(buildVersion *models.BuildVersionParams)

SetBuildVersion adds the buildVersion to the append build to version params

func (*AppendBuildToVersionParams) SetContext

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

SetContext adds the context to the append build to version params

func (*AppendBuildToVersionParams) SetDefaults

func (o *AppendBuildToVersionParams) SetDefaults()

SetDefaults hydrates default values in the append build to version params (not the query body).

All values with no default are reset to their zero value.

func (*AppendBuildToVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the append build to version params

func (*AppendBuildToVersionParams) SetPackID

func (o *AppendBuildToVersionParams) SetPackID(packID string)

SetPackID adds the packId to the append build to version params

func (*AppendBuildToVersionParams) SetTimeout

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

SetTimeout adds the timeout to the append build to version params

func (*AppendBuildToVersionParams) WithBuildID

WithBuildID adds the buildID to the append build to version params

func (*AppendBuildToVersionParams) WithBuildVersion

WithBuildVersion adds the buildVersion to the append build to version params

func (*AppendBuildToVersionParams) WithContext

WithContext adds the context to the append build to version params

func (*AppendBuildToVersionParams) WithDefaults

WithDefaults hydrates default values in the append build to version params (not the query body).

All values with no default are reset to their zero value.

func (*AppendBuildToVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the append build to version params

func (*AppendBuildToVersionParams) WithPackID

WithPackID adds the packID to the append build to version params

func (*AppendBuildToVersionParams) WithTimeout

WithTimeout adds the timeout to the append build to version params

func (*AppendBuildToVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppendBuildToVersionPreconditionFailed

type AppendBuildToVersionPreconditionFailed struct {
	Payload *models.GeneralError
}

AppendBuildToVersionPreconditionFailed describes a response with status code 412, with default header values.

Version is already assigned

func NewAppendBuildToVersionPreconditionFailed

func NewAppendBuildToVersionPreconditionFailed() *AppendBuildToVersionPreconditionFailed

NewAppendBuildToVersionPreconditionFailed creates a AppendBuildToVersionPreconditionFailed with default headers values

func (*AppendBuildToVersionPreconditionFailed) Code

Code gets the status code for the append build to version precondition failed response

func (*AppendBuildToVersionPreconditionFailed) Error

func (*AppendBuildToVersionPreconditionFailed) GetPayload

func (*AppendBuildToVersionPreconditionFailed) IsClientError

func (o *AppendBuildToVersionPreconditionFailed) IsClientError() bool

IsClientError returns true when this append build to version precondition failed response has a 4xx status code

func (*AppendBuildToVersionPreconditionFailed) IsCode

IsCode returns true when this append build to version precondition failed response a status code equal to that given

func (*AppendBuildToVersionPreconditionFailed) IsRedirect

IsRedirect returns true when this append build to version precondition failed response has a 3xx status code

func (*AppendBuildToVersionPreconditionFailed) IsServerError

func (o *AppendBuildToVersionPreconditionFailed) IsServerError() bool

IsServerError returns true when this append build to version precondition failed response has a 5xx status code

func (*AppendBuildToVersionPreconditionFailed) IsSuccess

IsSuccess returns true when this append build to version precondition failed response has a 2xx status code

func (*AppendBuildToVersionPreconditionFailed) String

type AppendBuildToVersionReader

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

AppendBuildToVersionReader is a Reader for the AppendBuildToVersion structure.

func (*AppendBuildToVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AppendBuildToVersionUnprocessableEntity

type AppendBuildToVersionUnprocessableEntity struct {
	Payload *models.ValidationError
}

AppendBuildToVersionUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewAppendBuildToVersionUnprocessableEntity

func NewAppendBuildToVersionUnprocessableEntity() *AppendBuildToVersionUnprocessableEntity

NewAppendBuildToVersionUnprocessableEntity creates a AppendBuildToVersionUnprocessableEntity with default headers values

func (*AppendBuildToVersionUnprocessableEntity) Code

Code gets the status code for the append build to version unprocessable entity response

func (*AppendBuildToVersionUnprocessableEntity) Error

func (*AppendBuildToVersionUnprocessableEntity) GetPayload

func (*AppendBuildToVersionUnprocessableEntity) IsClientError

func (o *AppendBuildToVersionUnprocessableEntity) IsClientError() bool

IsClientError returns true when this append build to version unprocessable entity response has a 4xx status code

func (*AppendBuildToVersionUnprocessableEntity) IsCode

IsCode returns true when this append build to version unprocessable entity response a status code equal to that given

func (*AppendBuildToVersionUnprocessableEntity) IsRedirect

IsRedirect returns true when this append build to version unprocessable entity response has a 3xx status code

func (*AppendBuildToVersionUnprocessableEntity) IsServerError

func (o *AppendBuildToVersionUnprocessableEntity) IsServerError() bool

IsServerError returns true when this append build to version unprocessable entity response has a 5xx status code

func (*AppendBuildToVersionUnprocessableEntity) IsSuccess

IsSuccess returns true when this append build to version unprocessable entity response has a 2xx status code

func (*AppendBuildToVersionUnprocessableEntity) String

type AttachPackToTeamDefault

type AttachPackToTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

AttachPackToTeamDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewAttachPackToTeamDefault

func NewAttachPackToTeamDefault(code int) *AttachPackToTeamDefault

NewAttachPackToTeamDefault creates a AttachPackToTeamDefault with default headers values

func (*AttachPackToTeamDefault) Code

func (o *AttachPackToTeamDefault) Code() int

Code gets the status code for the attach pack to team default response

func (*AttachPackToTeamDefault) Error

func (o *AttachPackToTeamDefault) Error() string

func (*AttachPackToTeamDefault) GetPayload

func (o *AttachPackToTeamDefault) GetPayload() *models.GeneralError

func (*AttachPackToTeamDefault) IsClientError

func (o *AttachPackToTeamDefault) IsClientError() bool

IsClientError returns true when this attach pack to team default response has a 4xx status code

func (*AttachPackToTeamDefault) IsCode

func (o *AttachPackToTeamDefault) IsCode(code int) bool

IsCode returns true when this attach pack to team default response a status code equal to that given

func (*AttachPackToTeamDefault) IsRedirect

func (o *AttachPackToTeamDefault) IsRedirect() bool

IsRedirect returns true when this attach pack to team default response has a 3xx status code

func (*AttachPackToTeamDefault) IsServerError

func (o *AttachPackToTeamDefault) IsServerError() bool

IsServerError returns true when this attach pack to team default response has a 5xx status code

func (*AttachPackToTeamDefault) IsSuccess

func (o *AttachPackToTeamDefault) IsSuccess() bool

IsSuccess returns true when this attach pack to team default response has a 2xx status code

func (*AttachPackToTeamDefault) String

func (o *AttachPackToTeamDefault) String() string

type AttachPackToTeamForbidden

type AttachPackToTeamForbidden struct {
	Payload *models.GeneralError
}

AttachPackToTeamForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewAttachPackToTeamForbidden

func NewAttachPackToTeamForbidden() *AttachPackToTeamForbidden

NewAttachPackToTeamForbidden creates a AttachPackToTeamForbidden with default headers values

func (*AttachPackToTeamForbidden) Code

func (o *AttachPackToTeamForbidden) Code() int

Code gets the status code for the attach pack to team forbidden response

func (*AttachPackToTeamForbidden) Error

func (o *AttachPackToTeamForbidden) Error() string

func (*AttachPackToTeamForbidden) GetPayload

func (*AttachPackToTeamForbidden) IsClientError

func (o *AttachPackToTeamForbidden) IsClientError() bool

IsClientError returns true when this attach pack to team forbidden response has a 4xx status code

func (*AttachPackToTeamForbidden) IsCode

func (o *AttachPackToTeamForbidden) IsCode(code int) bool

IsCode returns true when this attach pack to team forbidden response a status code equal to that given

func (*AttachPackToTeamForbidden) IsRedirect

func (o *AttachPackToTeamForbidden) IsRedirect() bool

IsRedirect returns true when this attach pack to team forbidden response has a 3xx status code

func (*AttachPackToTeamForbidden) IsServerError

func (o *AttachPackToTeamForbidden) IsServerError() bool

IsServerError returns true when this attach pack to team forbidden response has a 5xx status code

func (*AttachPackToTeamForbidden) IsSuccess

func (o *AttachPackToTeamForbidden) IsSuccess() bool

IsSuccess returns true when this attach pack to team forbidden response has a 2xx status code

func (*AttachPackToTeamForbidden) String

func (o *AttachPackToTeamForbidden) String() string

type AttachPackToTeamNotFound

type AttachPackToTeamNotFound struct {
	Payload *models.GeneralError
}

AttachPackToTeamNotFound describes a response with status code 404, with default header values.

Pack or team not found

func NewAttachPackToTeamNotFound

func NewAttachPackToTeamNotFound() *AttachPackToTeamNotFound

NewAttachPackToTeamNotFound creates a AttachPackToTeamNotFound with default headers values

func (*AttachPackToTeamNotFound) Code

func (o *AttachPackToTeamNotFound) Code() int

Code gets the status code for the attach pack to team not found response

func (*AttachPackToTeamNotFound) Error

func (o *AttachPackToTeamNotFound) Error() string

func (*AttachPackToTeamNotFound) GetPayload

func (o *AttachPackToTeamNotFound) GetPayload() *models.GeneralError

func (*AttachPackToTeamNotFound) IsClientError

func (o *AttachPackToTeamNotFound) IsClientError() bool

IsClientError returns true when this attach pack to team not found response has a 4xx status code

func (*AttachPackToTeamNotFound) IsCode

func (o *AttachPackToTeamNotFound) IsCode(code int) bool

IsCode returns true when this attach pack to team not found response a status code equal to that given

func (*AttachPackToTeamNotFound) IsRedirect

func (o *AttachPackToTeamNotFound) IsRedirect() bool

IsRedirect returns true when this attach pack to team not found response has a 3xx status code

func (*AttachPackToTeamNotFound) IsServerError

func (o *AttachPackToTeamNotFound) IsServerError() bool

IsServerError returns true when this attach pack to team not found response has a 5xx status code

func (*AttachPackToTeamNotFound) IsSuccess

func (o *AttachPackToTeamNotFound) IsSuccess() bool

IsSuccess returns true when this attach pack to team not found response has a 2xx status code

func (*AttachPackToTeamNotFound) String

func (o *AttachPackToTeamNotFound) String() string

type AttachPackToTeamOK

type AttachPackToTeamOK struct {
	Payload *models.GeneralError
}

AttachPackToTeamOK describes a response with status code 200, with default header values.

Plain success message

func NewAttachPackToTeamOK

func NewAttachPackToTeamOK() *AttachPackToTeamOK

NewAttachPackToTeamOK creates a AttachPackToTeamOK with default headers values

func (*AttachPackToTeamOK) Code

func (o *AttachPackToTeamOK) Code() int

Code gets the status code for the attach pack to team o k response

func (*AttachPackToTeamOK) Error

func (o *AttachPackToTeamOK) Error() string

func (*AttachPackToTeamOK) GetPayload

func (o *AttachPackToTeamOK) GetPayload() *models.GeneralError

func (*AttachPackToTeamOK) IsClientError

func (o *AttachPackToTeamOK) IsClientError() bool

IsClientError returns true when this attach pack to team o k response has a 4xx status code

func (*AttachPackToTeamOK) IsCode

func (o *AttachPackToTeamOK) IsCode(code int) bool

IsCode returns true when this attach pack to team o k response a status code equal to that given

func (*AttachPackToTeamOK) IsRedirect

func (o *AttachPackToTeamOK) IsRedirect() bool

IsRedirect returns true when this attach pack to team o k response has a 3xx status code

func (*AttachPackToTeamOK) IsServerError

func (o *AttachPackToTeamOK) IsServerError() bool

IsServerError returns true when this attach pack to team o k response has a 5xx status code

func (*AttachPackToTeamOK) IsSuccess

func (o *AttachPackToTeamOK) IsSuccess() bool

IsSuccess returns true when this attach pack to team o k response has a 2xx status code

func (*AttachPackToTeamOK) String

func (o *AttachPackToTeamOK) String() string

type AttachPackToTeamParams

type AttachPackToTeamParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

	/* PackTeam.

	   The pack team data to attach
	*/
	PackTeam *models.PackTeamParams

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

AttachPackToTeamParams contains all the parameters to send to the API endpoint

for the attach pack to team operation.

Typically these are written to a http.Request.

func NewAttachPackToTeamParams

func NewAttachPackToTeamParams() *AttachPackToTeamParams

NewAttachPackToTeamParams creates a new AttachPackToTeamParams 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 NewAttachPackToTeamParamsWithContext

func NewAttachPackToTeamParamsWithContext(ctx context.Context) *AttachPackToTeamParams

NewAttachPackToTeamParamsWithContext creates a new AttachPackToTeamParams object with the ability to set a context for a request.

func NewAttachPackToTeamParamsWithHTTPClient

func NewAttachPackToTeamParamsWithHTTPClient(client *http.Client) *AttachPackToTeamParams

NewAttachPackToTeamParamsWithHTTPClient creates a new AttachPackToTeamParams object with the ability to set a custom HTTPClient for a request.

func NewAttachPackToTeamParamsWithTimeout

func NewAttachPackToTeamParamsWithTimeout(timeout time.Duration) *AttachPackToTeamParams

NewAttachPackToTeamParamsWithTimeout creates a new AttachPackToTeamParams object with the ability to set a timeout on a request.

func (*AttachPackToTeamParams) SetContext

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

SetContext adds the context to the attach pack to team params

func (*AttachPackToTeamParams) SetDefaults

func (o *AttachPackToTeamParams) SetDefaults()

SetDefaults hydrates default values in the attach pack to team params (not the query body).

All values with no default are reset to their zero value.

func (*AttachPackToTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the attach pack to team params

func (*AttachPackToTeamParams) SetPackID

func (o *AttachPackToTeamParams) SetPackID(packID string)

SetPackID adds the packId to the attach pack to team params

func (*AttachPackToTeamParams) SetPackTeam

func (o *AttachPackToTeamParams) SetPackTeam(packTeam *models.PackTeamParams)

SetPackTeam adds the packTeam to the attach pack to team params

func (*AttachPackToTeamParams) SetTimeout

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

SetTimeout adds the timeout to the attach pack to team params

func (*AttachPackToTeamParams) WithContext

WithContext adds the context to the attach pack to team params

func (*AttachPackToTeamParams) WithDefaults

WithDefaults hydrates default values in the attach pack to team params (not the query body).

All values with no default are reset to their zero value.

func (*AttachPackToTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the attach pack to team params

func (*AttachPackToTeamParams) WithPackID

func (o *AttachPackToTeamParams) WithPackID(packID string) *AttachPackToTeamParams

WithPackID adds the packID to the attach pack to team params

func (*AttachPackToTeamParams) WithPackTeam

WithPackTeam adds the packTeam to the attach pack to team params

func (*AttachPackToTeamParams) WithTimeout

WithTimeout adds the timeout to the attach pack to team params

func (*AttachPackToTeamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AttachPackToTeamPreconditionFailed

type AttachPackToTeamPreconditionFailed struct {
	Payload *models.GeneralError
}

AttachPackToTeamPreconditionFailed describes a response with status code 412, with default header values.

Team is already attached

func NewAttachPackToTeamPreconditionFailed

func NewAttachPackToTeamPreconditionFailed() *AttachPackToTeamPreconditionFailed

NewAttachPackToTeamPreconditionFailed creates a AttachPackToTeamPreconditionFailed with default headers values

func (*AttachPackToTeamPreconditionFailed) Code

Code gets the status code for the attach pack to team precondition failed response

func (*AttachPackToTeamPreconditionFailed) Error

func (*AttachPackToTeamPreconditionFailed) GetPayload

func (*AttachPackToTeamPreconditionFailed) IsClientError

func (o *AttachPackToTeamPreconditionFailed) IsClientError() bool

IsClientError returns true when this attach pack to team precondition failed response has a 4xx status code

func (*AttachPackToTeamPreconditionFailed) IsCode

IsCode returns true when this attach pack to team precondition failed response a status code equal to that given

func (*AttachPackToTeamPreconditionFailed) IsRedirect

func (o *AttachPackToTeamPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this attach pack to team precondition failed response has a 3xx status code

func (*AttachPackToTeamPreconditionFailed) IsServerError

func (o *AttachPackToTeamPreconditionFailed) IsServerError() bool

IsServerError returns true when this attach pack to team precondition failed response has a 5xx status code

func (*AttachPackToTeamPreconditionFailed) IsSuccess

IsSuccess returns true when this attach pack to team precondition failed response has a 2xx status code

func (*AttachPackToTeamPreconditionFailed) String

type AttachPackToTeamReader

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

AttachPackToTeamReader is a Reader for the AttachPackToTeam structure.

func (*AttachPackToTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AttachPackToTeamUnprocessableEntity

type AttachPackToTeamUnprocessableEntity struct {
	Payload *models.ValidationError
}

AttachPackToTeamUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewAttachPackToTeamUnprocessableEntity

func NewAttachPackToTeamUnprocessableEntity() *AttachPackToTeamUnprocessableEntity

NewAttachPackToTeamUnprocessableEntity creates a AttachPackToTeamUnprocessableEntity with default headers values

func (*AttachPackToTeamUnprocessableEntity) Code

Code gets the status code for the attach pack to team unprocessable entity response

func (*AttachPackToTeamUnprocessableEntity) Error

func (*AttachPackToTeamUnprocessableEntity) GetPayload

func (*AttachPackToTeamUnprocessableEntity) IsClientError

func (o *AttachPackToTeamUnprocessableEntity) IsClientError() bool

IsClientError returns true when this attach pack to team unprocessable entity response has a 4xx status code

func (*AttachPackToTeamUnprocessableEntity) IsCode

IsCode returns true when this attach pack to team unprocessable entity response a status code equal to that given

func (*AttachPackToTeamUnprocessableEntity) IsRedirect

func (o *AttachPackToTeamUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this attach pack to team unprocessable entity response has a 3xx status code

func (*AttachPackToTeamUnprocessableEntity) IsServerError

func (o *AttachPackToTeamUnprocessableEntity) IsServerError() bool

IsServerError returns true when this attach pack to team unprocessable entity response has a 5xx status code

func (*AttachPackToTeamUnprocessableEntity) IsSuccess

IsSuccess returns true when this attach pack to team unprocessable entity response has a 2xx status code

func (*AttachPackToTeamUnprocessableEntity) String

type AttachPackToUserDefault

type AttachPackToUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

AttachPackToUserDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewAttachPackToUserDefault

func NewAttachPackToUserDefault(code int) *AttachPackToUserDefault

NewAttachPackToUserDefault creates a AttachPackToUserDefault with default headers values

func (*AttachPackToUserDefault) Code

func (o *AttachPackToUserDefault) Code() int

Code gets the status code for the attach pack to user default response

func (*AttachPackToUserDefault) Error

func (o *AttachPackToUserDefault) Error() string

func (*AttachPackToUserDefault) GetPayload

func (o *AttachPackToUserDefault) GetPayload() *models.GeneralError

func (*AttachPackToUserDefault) IsClientError

func (o *AttachPackToUserDefault) IsClientError() bool

IsClientError returns true when this attach pack to user default response has a 4xx status code

func (*AttachPackToUserDefault) IsCode

func (o *AttachPackToUserDefault) IsCode(code int) bool

IsCode returns true when this attach pack to user default response a status code equal to that given

func (*AttachPackToUserDefault) IsRedirect

func (o *AttachPackToUserDefault) IsRedirect() bool

IsRedirect returns true when this attach pack to user default response has a 3xx status code

func (*AttachPackToUserDefault) IsServerError

func (o *AttachPackToUserDefault) IsServerError() bool

IsServerError returns true when this attach pack to user default response has a 5xx status code

func (*AttachPackToUserDefault) IsSuccess

func (o *AttachPackToUserDefault) IsSuccess() bool

IsSuccess returns true when this attach pack to user default response has a 2xx status code

func (*AttachPackToUserDefault) String

func (o *AttachPackToUserDefault) String() string

type AttachPackToUserForbidden

type AttachPackToUserForbidden struct {
	Payload *models.GeneralError
}

AttachPackToUserForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewAttachPackToUserForbidden

func NewAttachPackToUserForbidden() *AttachPackToUserForbidden

NewAttachPackToUserForbidden creates a AttachPackToUserForbidden with default headers values

func (*AttachPackToUserForbidden) Code

func (o *AttachPackToUserForbidden) Code() int

Code gets the status code for the attach pack to user forbidden response

func (*AttachPackToUserForbidden) Error

func (o *AttachPackToUserForbidden) Error() string

func (*AttachPackToUserForbidden) GetPayload

func (*AttachPackToUserForbidden) IsClientError

func (o *AttachPackToUserForbidden) IsClientError() bool

IsClientError returns true when this attach pack to user forbidden response has a 4xx status code

func (*AttachPackToUserForbidden) IsCode

func (o *AttachPackToUserForbidden) IsCode(code int) bool

IsCode returns true when this attach pack to user forbidden response a status code equal to that given

func (*AttachPackToUserForbidden) IsRedirect

func (o *AttachPackToUserForbidden) IsRedirect() bool

IsRedirect returns true when this attach pack to user forbidden response has a 3xx status code

func (*AttachPackToUserForbidden) IsServerError

func (o *AttachPackToUserForbidden) IsServerError() bool

IsServerError returns true when this attach pack to user forbidden response has a 5xx status code

func (*AttachPackToUserForbidden) IsSuccess

func (o *AttachPackToUserForbidden) IsSuccess() bool

IsSuccess returns true when this attach pack to user forbidden response has a 2xx status code

func (*AttachPackToUserForbidden) String

func (o *AttachPackToUserForbidden) String() string

type AttachPackToUserNotFound

type AttachPackToUserNotFound struct {
	Payload *models.GeneralError
}

AttachPackToUserNotFound describes a response with status code 404, with default header values.

Pack or user not found

func NewAttachPackToUserNotFound

func NewAttachPackToUserNotFound() *AttachPackToUserNotFound

NewAttachPackToUserNotFound creates a AttachPackToUserNotFound with default headers values

func (*AttachPackToUserNotFound) Code

func (o *AttachPackToUserNotFound) Code() int

Code gets the status code for the attach pack to user not found response

func (*AttachPackToUserNotFound) Error

func (o *AttachPackToUserNotFound) Error() string

func (*AttachPackToUserNotFound) GetPayload

func (o *AttachPackToUserNotFound) GetPayload() *models.GeneralError

func (*AttachPackToUserNotFound) IsClientError

func (o *AttachPackToUserNotFound) IsClientError() bool

IsClientError returns true when this attach pack to user not found response has a 4xx status code

func (*AttachPackToUserNotFound) IsCode

func (o *AttachPackToUserNotFound) IsCode(code int) bool

IsCode returns true when this attach pack to user not found response a status code equal to that given

func (*AttachPackToUserNotFound) IsRedirect

func (o *AttachPackToUserNotFound) IsRedirect() bool

IsRedirect returns true when this attach pack to user not found response has a 3xx status code

func (*AttachPackToUserNotFound) IsServerError

func (o *AttachPackToUserNotFound) IsServerError() bool

IsServerError returns true when this attach pack to user not found response has a 5xx status code

func (*AttachPackToUserNotFound) IsSuccess

func (o *AttachPackToUserNotFound) IsSuccess() bool

IsSuccess returns true when this attach pack to user not found response has a 2xx status code

func (*AttachPackToUserNotFound) String

func (o *AttachPackToUserNotFound) String() string

type AttachPackToUserOK

type AttachPackToUserOK struct {
	Payload *models.GeneralError
}

AttachPackToUserOK describes a response with status code 200, with default header values.

Plain success message

func NewAttachPackToUserOK

func NewAttachPackToUserOK() *AttachPackToUserOK

NewAttachPackToUserOK creates a AttachPackToUserOK with default headers values

func (*AttachPackToUserOK) Code

func (o *AttachPackToUserOK) Code() int

Code gets the status code for the attach pack to user o k response

func (*AttachPackToUserOK) Error

func (o *AttachPackToUserOK) Error() string

func (*AttachPackToUserOK) GetPayload

func (o *AttachPackToUserOK) GetPayload() *models.GeneralError

func (*AttachPackToUserOK) IsClientError

func (o *AttachPackToUserOK) IsClientError() bool

IsClientError returns true when this attach pack to user o k response has a 4xx status code

func (*AttachPackToUserOK) IsCode

func (o *AttachPackToUserOK) IsCode(code int) bool

IsCode returns true when this attach pack to user o k response a status code equal to that given

func (*AttachPackToUserOK) IsRedirect

func (o *AttachPackToUserOK) IsRedirect() bool

IsRedirect returns true when this attach pack to user o k response has a 3xx status code

func (*AttachPackToUserOK) IsServerError

func (o *AttachPackToUserOK) IsServerError() bool

IsServerError returns true when this attach pack to user o k response has a 5xx status code

func (*AttachPackToUserOK) IsSuccess

func (o *AttachPackToUserOK) IsSuccess() bool

IsSuccess returns true when this attach pack to user o k response has a 2xx status code

func (*AttachPackToUserOK) String

func (o *AttachPackToUserOK) String() string

type AttachPackToUserParams

type AttachPackToUserParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

	/* PackUser.

	   The pack user data to attach
	*/
	PackUser *models.PackUserParams

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

AttachPackToUserParams contains all the parameters to send to the API endpoint

for the attach pack to user operation.

Typically these are written to a http.Request.

func NewAttachPackToUserParams

func NewAttachPackToUserParams() *AttachPackToUserParams

NewAttachPackToUserParams creates a new AttachPackToUserParams 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 NewAttachPackToUserParamsWithContext

func NewAttachPackToUserParamsWithContext(ctx context.Context) *AttachPackToUserParams

NewAttachPackToUserParamsWithContext creates a new AttachPackToUserParams object with the ability to set a context for a request.

func NewAttachPackToUserParamsWithHTTPClient

func NewAttachPackToUserParamsWithHTTPClient(client *http.Client) *AttachPackToUserParams

NewAttachPackToUserParamsWithHTTPClient creates a new AttachPackToUserParams object with the ability to set a custom HTTPClient for a request.

func NewAttachPackToUserParamsWithTimeout

func NewAttachPackToUserParamsWithTimeout(timeout time.Duration) *AttachPackToUserParams

NewAttachPackToUserParamsWithTimeout creates a new AttachPackToUserParams object with the ability to set a timeout on a request.

func (*AttachPackToUserParams) SetContext

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

SetContext adds the context to the attach pack to user params

func (*AttachPackToUserParams) SetDefaults

func (o *AttachPackToUserParams) SetDefaults()

SetDefaults hydrates default values in the attach pack to user params (not the query body).

All values with no default are reset to their zero value.

func (*AttachPackToUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the attach pack to user params

func (*AttachPackToUserParams) SetPackID

func (o *AttachPackToUserParams) SetPackID(packID string)

SetPackID adds the packId to the attach pack to user params

func (*AttachPackToUserParams) SetPackUser

func (o *AttachPackToUserParams) SetPackUser(packUser *models.PackUserParams)

SetPackUser adds the packUser to the attach pack to user params

func (*AttachPackToUserParams) SetTimeout

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

SetTimeout adds the timeout to the attach pack to user params

func (*AttachPackToUserParams) WithContext

WithContext adds the context to the attach pack to user params

func (*AttachPackToUserParams) WithDefaults

WithDefaults hydrates default values in the attach pack to user params (not the query body).

All values with no default are reset to their zero value.

func (*AttachPackToUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the attach pack to user params

func (*AttachPackToUserParams) WithPackID

func (o *AttachPackToUserParams) WithPackID(packID string) *AttachPackToUserParams

WithPackID adds the packID to the attach pack to user params

func (*AttachPackToUserParams) WithPackUser

WithPackUser adds the packUser to the attach pack to user params

func (*AttachPackToUserParams) WithTimeout

WithTimeout adds the timeout to the attach pack to user params

func (*AttachPackToUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AttachPackToUserPreconditionFailed

type AttachPackToUserPreconditionFailed struct {
	Payload *models.GeneralError
}

AttachPackToUserPreconditionFailed describes a response with status code 412, with default header values.

User is already attached

func NewAttachPackToUserPreconditionFailed

func NewAttachPackToUserPreconditionFailed() *AttachPackToUserPreconditionFailed

NewAttachPackToUserPreconditionFailed creates a AttachPackToUserPreconditionFailed with default headers values

func (*AttachPackToUserPreconditionFailed) Code

Code gets the status code for the attach pack to user precondition failed response

func (*AttachPackToUserPreconditionFailed) Error

func (*AttachPackToUserPreconditionFailed) GetPayload

func (*AttachPackToUserPreconditionFailed) IsClientError

func (o *AttachPackToUserPreconditionFailed) IsClientError() bool

IsClientError returns true when this attach pack to user precondition failed response has a 4xx status code

func (*AttachPackToUserPreconditionFailed) IsCode

IsCode returns true when this attach pack to user precondition failed response a status code equal to that given

func (*AttachPackToUserPreconditionFailed) IsRedirect

func (o *AttachPackToUserPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this attach pack to user precondition failed response has a 3xx status code

func (*AttachPackToUserPreconditionFailed) IsServerError

func (o *AttachPackToUserPreconditionFailed) IsServerError() bool

IsServerError returns true when this attach pack to user precondition failed response has a 5xx status code

func (*AttachPackToUserPreconditionFailed) IsSuccess

IsSuccess returns true when this attach pack to user precondition failed response has a 2xx status code

func (*AttachPackToUserPreconditionFailed) String

type AttachPackToUserReader

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

AttachPackToUserReader is a Reader for the AttachPackToUser structure.

func (*AttachPackToUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AttachPackToUserUnprocessableEntity

type AttachPackToUserUnprocessableEntity struct {
	Payload *models.ValidationError
}

AttachPackToUserUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewAttachPackToUserUnprocessableEntity

func NewAttachPackToUserUnprocessableEntity() *AttachPackToUserUnprocessableEntity

NewAttachPackToUserUnprocessableEntity creates a AttachPackToUserUnprocessableEntity with default headers values

func (*AttachPackToUserUnprocessableEntity) Code

Code gets the status code for the attach pack to user unprocessable entity response

func (*AttachPackToUserUnprocessableEntity) Error

func (*AttachPackToUserUnprocessableEntity) GetPayload

func (*AttachPackToUserUnprocessableEntity) IsClientError

func (o *AttachPackToUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this attach pack to user unprocessable entity response has a 4xx status code

func (*AttachPackToUserUnprocessableEntity) IsCode

IsCode returns true when this attach pack to user unprocessable entity response a status code equal to that given

func (*AttachPackToUserUnprocessableEntity) IsRedirect

func (o *AttachPackToUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this attach pack to user unprocessable entity response has a 3xx status code

func (*AttachPackToUserUnprocessableEntity) IsServerError

func (o *AttachPackToUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this attach pack to user unprocessable entity response has a 5xx status code

func (*AttachPackToUserUnprocessableEntity) IsSuccess

IsSuccess returns true when this attach pack to user unprocessable entity response has a 2xx status code

func (*AttachPackToUserUnprocessableEntity) String

type Client

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

Client for pack API

func (*Client) AppendBuildToVersion

func (a *Client) AppendBuildToVersion(params *AppendBuildToVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendBuildToVersionOK, error)

AppendBuildToVersion assigns a version to a build

func (*Client) AttachPackToTeam

func (a *Client) AttachPackToTeam(params *AttachPackToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachPackToTeamOK, error)

AttachPackToTeam attaches a team to pack

func (*Client) AttachPackToUser

func (a *Client) AttachPackToUser(params *AttachPackToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachPackToUserOK, error)

AttachPackToUser attaches a user to pack

func (*Client) CreateBuild

func (a *Client) CreateBuild(params *CreateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBuildOK, error)

CreateBuild creates a new build for a pack

func (*Client) CreatePack

func (a *Client) CreatePack(params *CreatePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePackOK, error)

CreatePack creates a new pack

func (*Client) DeleteBuild

func (a *Client) DeleteBuild(params *DeleteBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBuildOK, error)

DeleteBuild deletes a specific build for a pack

func (*Client) DeleteBuildFromVersion

func (a *Client) DeleteBuildFromVersion(params *DeleteBuildFromVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBuildFromVersionOK, error)

DeleteBuildFromVersion unlinks a version from a build

func (*Client) DeletePack

func (a *Client) DeletePack(params *DeletePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackOK, error)

DeletePack deletes a specific pack

func (*Client) DeletePackFromTeam

func (a *Client) DeletePackFromTeam(params *DeletePackFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackFromTeamOK, error)

DeletePackFromTeam removes a team from pack

func (*Client) DeletePackFromUser

func (a *Client) DeletePackFromUser(params *DeletePackFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackFromUserOK, error)

DeletePackFromUser removes a user from pack

func (*Client) ListBuildVersions

func (a *Client) ListBuildVersions(params *ListBuildVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBuildVersionsOK, error)

ListBuildVersions fetches all versions assigned to build

func (*Client) ListBuilds

func (a *Client) ListBuilds(params *ListBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBuildsOK, error)

ListBuilds fetches all available builds for a pack

func (*Client) ListPackTeams

func (a *Client) ListPackTeams(params *ListPackTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPackTeamsOK, error)

ListPackTeams fetches all teams attached to pack

func (*Client) ListPackUsers

func (a *Client) ListPackUsers(params *ListPackUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPackUsersOK, error)

ListPackUsers fetches all users attached to pack

func (*Client) ListPacks

func (a *Client) ListPacks(params *ListPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPacksOK, error)

ListPacks fetches all available packs

func (*Client) PermitPackTeam

func (a *Client) PermitPackTeam(params *PermitPackTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitPackTeamOK, error)

PermitPackTeam updates team perms for pack

func (*Client) PermitPackUser

func (a *Client) PermitPackUser(params *PermitPackUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitPackUserOK, error)

PermitPackUser updates user perms for pack

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ShowBuild

func (a *Client) ShowBuild(params *ShowBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowBuildOK, error)

ShowBuild fetches a specific build for a pack

func (*Client) ShowPack

func (a *Client) ShowPack(params *ShowPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowPackOK, error)

ShowPack fetches a specific pack

func (*Client) UpdateBuild

func (a *Client) UpdateBuild(params *UpdateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBuildOK, error)

UpdateBuild updates a specific build for a pack

func (*Client) UpdatePack

func (a *Client) UpdatePack(params *UpdatePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePackOK, error)

UpdatePack updates a specific pack

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AppendBuildToVersion(params *AppendBuildToVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendBuildToVersionOK, error)

	AttachPackToTeam(params *AttachPackToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachPackToTeamOK, error)

	AttachPackToUser(params *AttachPackToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachPackToUserOK, error)

	CreateBuild(params *CreateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBuildOK, error)

	CreatePack(params *CreatePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePackOK, error)

	DeleteBuild(params *DeleteBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBuildOK, error)

	DeleteBuildFromVersion(params *DeleteBuildFromVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBuildFromVersionOK, error)

	DeletePack(params *DeletePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackOK, error)

	DeletePackFromTeam(params *DeletePackFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackFromTeamOK, error)

	DeletePackFromUser(params *DeletePackFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePackFromUserOK, error)

	ListBuildVersions(params *ListBuildVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBuildVersionsOK, error)

	ListBuilds(params *ListBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBuildsOK, error)

	ListPackTeams(params *ListPackTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPackTeamsOK, error)

	ListPackUsers(params *ListPackUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPackUsersOK, error)

	ListPacks(params *ListPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPacksOK, error)

	PermitPackTeam(params *PermitPackTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitPackTeamOK, error)

	PermitPackUser(params *PermitPackUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitPackUserOK, error)

	ShowBuild(params *ShowBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowBuildOK, error)

	ShowPack(params *ShowPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowPackOK, error)

	UpdateBuild(params *UpdateBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBuildOK, error)

	UpdatePack(params *UpdatePackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePackOK, 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 pack API client.

type CreateBuildDefault

type CreateBuildDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

CreateBuildDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewCreateBuildDefault

func NewCreateBuildDefault(code int) *CreateBuildDefault

NewCreateBuildDefault creates a CreateBuildDefault with default headers values

func (*CreateBuildDefault) Code

func (o *CreateBuildDefault) Code() int

Code gets the status code for the create build default response

func (*CreateBuildDefault) Error

func (o *CreateBuildDefault) Error() string

func (*CreateBuildDefault) GetPayload

func (o *CreateBuildDefault) GetPayload() *models.GeneralError

func (*CreateBuildDefault) IsClientError

func (o *CreateBuildDefault) IsClientError() bool

IsClientError returns true when this create build default response has a 4xx status code

func (*CreateBuildDefault) IsCode

func (o *CreateBuildDefault) IsCode(code int) bool

IsCode returns true when this create build default response a status code equal to that given

func (*CreateBuildDefault) IsRedirect

func (o *CreateBuildDefault) IsRedirect() bool

IsRedirect returns true when this create build default response has a 3xx status code

func (*CreateBuildDefault) IsServerError

func (o *CreateBuildDefault) IsServerError() bool

IsServerError returns true when this create build default response has a 5xx status code

func (*CreateBuildDefault) IsSuccess

func (o *CreateBuildDefault) IsSuccess() bool

IsSuccess returns true when this create build default response has a 2xx status code

func (*CreateBuildDefault) String

func (o *CreateBuildDefault) String() string

type CreateBuildForbidden

type CreateBuildForbidden struct {
	Payload *models.GeneralError
}

CreateBuildForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewCreateBuildForbidden

func NewCreateBuildForbidden() *CreateBuildForbidden

NewCreateBuildForbidden creates a CreateBuildForbidden with default headers values

func (*CreateBuildForbidden) Code

func (o *CreateBuildForbidden) Code() int

Code gets the status code for the create build forbidden response

func (*CreateBuildForbidden) Error

func (o *CreateBuildForbidden) Error() string

func (*CreateBuildForbidden) GetPayload

func (o *CreateBuildForbidden) GetPayload() *models.GeneralError

func (*CreateBuildForbidden) IsClientError

func (o *CreateBuildForbidden) IsClientError() bool

IsClientError returns true when this create build forbidden response has a 4xx status code

func (*CreateBuildForbidden) IsCode

func (o *CreateBuildForbidden) IsCode(code int) bool

IsCode returns true when this create build forbidden response a status code equal to that given

func (*CreateBuildForbidden) IsRedirect

func (o *CreateBuildForbidden) IsRedirect() bool

IsRedirect returns true when this create build forbidden response has a 3xx status code

func (*CreateBuildForbidden) IsServerError

func (o *CreateBuildForbidden) IsServerError() bool

IsServerError returns true when this create build forbidden response has a 5xx status code

func (*CreateBuildForbidden) IsSuccess

func (o *CreateBuildForbidden) IsSuccess() bool

IsSuccess returns true when this create build forbidden response has a 2xx status code

func (*CreateBuildForbidden) String

func (o *CreateBuildForbidden) String() string

type CreateBuildNotFound

type CreateBuildNotFound struct {
	Payload *models.GeneralError
}

CreateBuildNotFound describes a response with status code 404, with default header values.

Pack not found

func NewCreateBuildNotFound

func NewCreateBuildNotFound() *CreateBuildNotFound

NewCreateBuildNotFound creates a CreateBuildNotFound with default headers values

func (*CreateBuildNotFound) Code

func (o *CreateBuildNotFound) Code() int

Code gets the status code for the create build not found response

func (*CreateBuildNotFound) Error

func (o *CreateBuildNotFound) Error() string

func (*CreateBuildNotFound) GetPayload

func (o *CreateBuildNotFound) GetPayload() *models.GeneralError

func (*CreateBuildNotFound) IsClientError

func (o *CreateBuildNotFound) IsClientError() bool

IsClientError returns true when this create build not found response has a 4xx status code

func (*CreateBuildNotFound) IsCode

func (o *CreateBuildNotFound) IsCode(code int) bool

IsCode returns true when this create build not found response a status code equal to that given

func (*CreateBuildNotFound) IsRedirect

func (o *CreateBuildNotFound) IsRedirect() bool

IsRedirect returns true when this create build not found response has a 3xx status code

func (*CreateBuildNotFound) IsServerError

func (o *CreateBuildNotFound) IsServerError() bool

IsServerError returns true when this create build not found response has a 5xx status code

func (*CreateBuildNotFound) IsSuccess

func (o *CreateBuildNotFound) IsSuccess() bool

IsSuccess returns true when this create build not found response has a 2xx status code

func (*CreateBuildNotFound) String

func (o *CreateBuildNotFound) String() string

type CreateBuildOK

type CreateBuildOK struct {
	Payload *models.Build
}

CreateBuildOK describes a response with status code 200, with default header values.

The created build data

func NewCreateBuildOK

func NewCreateBuildOK() *CreateBuildOK

NewCreateBuildOK creates a CreateBuildOK with default headers values

func (*CreateBuildOK) Code

func (o *CreateBuildOK) Code() int

Code gets the status code for the create build o k response

func (*CreateBuildOK) Error

func (o *CreateBuildOK) Error() string

func (*CreateBuildOK) GetPayload

func (o *CreateBuildOK) GetPayload() *models.Build

func (*CreateBuildOK) IsClientError

func (o *CreateBuildOK) IsClientError() bool

IsClientError returns true when this create build o k response has a 4xx status code

func (*CreateBuildOK) IsCode

func (o *CreateBuildOK) IsCode(code int) bool

IsCode returns true when this create build o k response a status code equal to that given

func (*CreateBuildOK) IsRedirect

func (o *CreateBuildOK) IsRedirect() bool

IsRedirect returns true when this create build o k response has a 3xx status code

func (*CreateBuildOK) IsServerError

func (o *CreateBuildOK) IsServerError() bool

IsServerError returns true when this create build o k response has a 5xx status code

func (*CreateBuildOK) IsSuccess

func (o *CreateBuildOK) IsSuccess() bool

IsSuccess returns true when this create build o k response has a 2xx status code

func (*CreateBuildOK) String

func (o *CreateBuildOK) String() string

type CreateBuildParams

type CreateBuildParams struct {

	/* Build.

	   The build data to create
	*/
	Build *models.Build

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

CreateBuildParams contains all the parameters to send to the API endpoint

for the create build operation.

Typically these are written to a http.Request.

func NewCreateBuildParams

func NewCreateBuildParams() *CreateBuildParams

NewCreateBuildParams creates a new CreateBuildParams 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 NewCreateBuildParamsWithContext

func NewCreateBuildParamsWithContext(ctx context.Context) *CreateBuildParams

NewCreateBuildParamsWithContext creates a new CreateBuildParams object with the ability to set a context for a request.

func NewCreateBuildParamsWithHTTPClient

func NewCreateBuildParamsWithHTTPClient(client *http.Client) *CreateBuildParams

NewCreateBuildParamsWithHTTPClient creates a new CreateBuildParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBuildParamsWithTimeout

func NewCreateBuildParamsWithTimeout(timeout time.Duration) *CreateBuildParams

NewCreateBuildParamsWithTimeout creates a new CreateBuildParams object with the ability to set a timeout on a request.

func (*CreateBuildParams) SetBuild

func (o *CreateBuildParams) SetBuild(build *models.Build)

SetBuild adds the build to the create build params

func (*CreateBuildParams) SetContext

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

SetContext adds the context to the create build params

func (*CreateBuildParams) SetDefaults

func (o *CreateBuildParams) SetDefaults()

SetDefaults hydrates default values in the create build params (not the query body).

All values with no default are reset to their zero value.

func (*CreateBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create build params

func (*CreateBuildParams) SetPackID

func (o *CreateBuildParams) SetPackID(packID string)

SetPackID adds the packId to the create build params

func (*CreateBuildParams) SetTimeout

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

SetTimeout adds the timeout to the create build params

func (*CreateBuildParams) WithBuild

func (o *CreateBuildParams) WithBuild(build *models.Build) *CreateBuildParams

WithBuild adds the build to the create build params

func (*CreateBuildParams) WithContext

func (o *CreateBuildParams) WithContext(ctx context.Context) *CreateBuildParams

WithContext adds the context to the create build params

func (*CreateBuildParams) WithDefaults

func (o *CreateBuildParams) WithDefaults() *CreateBuildParams

WithDefaults hydrates default values in the create build params (not the query body).

All values with no default are reset to their zero value.

func (*CreateBuildParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create build params

func (*CreateBuildParams) WithPackID

func (o *CreateBuildParams) WithPackID(packID string) *CreateBuildParams

WithPackID adds the packID to the create build params

func (*CreateBuildParams) WithTimeout

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

WithTimeout adds the timeout to the create build params

func (*CreateBuildParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateBuildReader

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

CreateBuildReader is a Reader for the CreateBuild structure.

func (*CreateBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateBuildUnprocessableEntity

type CreateBuildUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateBuildUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewCreateBuildUnprocessableEntity

func NewCreateBuildUnprocessableEntity() *CreateBuildUnprocessableEntity

NewCreateBuildUnprocessableEntity creates a CreateBuildUnprocessableEntity with default headers values

func (*CreateBuildUnprocessableEntity) Code

Code gets the status code for the create build unprocessable entity response

func (*CreateBuildUnprocessableEntity) Error

func (*CreateBuildUnprocessableEntity) GetPayload

func (*CreateBuildUnprocessableEntity) IsClientError

func (o *CreateBuildUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create build unprocessable entity response has a 4xx status code

func (*CreateBuildUnprocessableEntity) IsCode

func (o *CreateBuildUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this create build unprocessable entity response a status code equal to that given

func (*CreateBuildUnprocessableEntity) IsRedirect

func (o *CreateBuildUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create build unprocessable entity response has a 3xx status code

func (*CreateBuildUnprocessableEntity) IsServerError

func (o *CreateBuildUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create build unprocessable entity response has a 5xx status code

func (*CreateBuildUnprocessableEntity) IsSuccess

func (o *CreateBuildUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create build unprocessable entity response has a 2xx status code

func (*CreateBuildUnprocessableEntity) String

type CreatePackDefault

type CreatePackDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

CreatePackDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewCreatePackDefault

func NewCreatePackDefault(code int) *CreatePackDefault

NewCreatePackDefault creates a CreatePackDefault with default headers values

func (*CreatePackDefault) Code

func (o *CreatePackDefault) Code() int

Code gets the status code for the create pack default response

func (*CreatePackDefault) Error

func (o *CreatePackDefault) Error() string

func (*CreatePackDefault) GetPayload

func (o *CreatePackDefault) GetPayload() *models.GeneralError

func (*CreatePackDefault) IsClientError

func (o *CreatePackDefault) IsClientError() bool

IsClientError returns true when this create pack default response has a 4xx status code

func (*CreatePackDefault) IsCode

func (o *CreatePackDefault) IsCode(code int) bool

IsCode returns true when this create pack default response a status code equal to that given

func (*CreatePackDefault) IsRedirect

func (o *CreatePackDefault) IsRedirect() bool

IsRedirect returns true when this create pack default response has a 3xx status code

func (*CreatePackDefault) IsServerError

func (o *CreatePackDefault) IsServerError() bool

IsServerError returns true when this create pack default response has a 5xx status code

func (*CreatePackDefault) IsSuccess

func (o *CreatePackDefault) IsSuccess() bool

IsSuccess returns true when this create pack default response has a 2xx status code

func (*CreatePackDefault) String

func (o *CreatePackDefault) String() string

type CreatePackForbidden

type CreatePackForbidden struct {
	Payload *models.GeneralError
}

CreatePackForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewCreatePackForbidden

func NewCreatePackForbidden() *CreatePackForbidden

NewCreatePackForbidden creates a CreatePackForbidden with default headers values

func (*CreatePackForbidden) Code

func (o *CreatePackForbidden) Code() int

Code gets the status code for the create pack forbidden response

func (*CreatePackForbidden) Error

func (o *CreatePackForbidden) Error() string

func (*CreatePackForbidden) GetPayload

func (o *CreatePackForbidden) GetPayload() *models.GeneralError

func (*CreatePackForbidden) IsClientError

func (o *CreatePackForbidden) IsClientError() bool

IsClientError returns true when this create pack forbidden response has a 4xx status code

func (*CreatePackForbidden) IsCode

func (o *CreatePackForbidden) IsCode(code int) bool

IsCode returns true when this create pack forbidden response a status code equal to that given

func (*CreatePackForbidden) IsRedirect

func (o *CreatePackForbidden) IsRedirect() bool

IsRedirect returns true when this create pack forbidden response has a 3xx status code

func (*CreatePackForbidden) IsServerError

func (o *CreatePackForbidden) IsServerError() bool

IsServerError returns true when this create pack forbidden response has a 5xx status code

func (*CreatePackForbidden) IsSuccess

func (o *CreatePackForbidden) IsSuccess() bool

IsSuccess returns true when this create pack forbidden response has a 2xx status code

func (*CreatePackForbidden) String

func (o *CreatePackForbidden) String() string

type CreatePackOK

type CreatePackOK struct {
	Payload *models.Pack
}

CreatePackOK describes a response with status code 200, with default header values.

The created pack data

func NewCreatePackOK

func NewCreatePackOK() *CreatePackOK

NewCreatePackOK creates a CreatePackOK with default headers values

func (*CreatePackOK) Code

func (o *CreatePackOK) Code() int

Code gets the status code for the create pack o k response

func (*CreatePackOK) Error

func (o *CreatePackOK) Error() string

func (*CreatePackOK) GetPayload

func (o *CreatePackOK) GetPayload() *models.Pack

func (*CreatePackOK) IsClientError

func (o *CreatePackOK) IsClientError() bool

IsClientError returns true when this create pack o k response has a 4xx status code

func (*CreatePackOK) IsCode

func (o *CreatePackOK) IsCode(code int) bool

IsCode returns true when this create pack o k response a status code equal to that given

func (*CreatePackOK) IsRedirect

func (o *CreatePackOK) IsRedirect() bool

IsRedirect returns true when this create pack o k response has a 3xx status code

func (*CreatePackOK) IsServerError

func (o *CreatePackOK) IsServerError() bool

IsServerError returns true when this create pack o k response has a 5xx status code

func (*CreatePackOK) IsSuccess

func (o *CreatePackOK) IsSuccess() bool

IsSuccess returns true when this create pack o k response has a 2xx status code

func (*CreatePackOK) String

func (o *CreatePackOK) String() string

type CreatePackParams

type CreatePackParams struct {

	/* Pack.

	   The pack data to create
	*/
	Pack *models.Pack

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

CreatePackParams contains all the parameters to send to the API endpoint

for the create pack operation.

Typically these are written to a http.Request.

func NewCreatePackParams

func NewCreatePackParams() *CreatePackParams

NewCreatePackParams creates a new CreatePackParams 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 NewCreatePackParamsWithContext

func NewCreatePackParamsWithContext(ctx context.Context) *CreatePackParams

NewCreatePackParamsWithContext creates a new CreatePackParams object with the ability to set a context for a request.

func NewCreatePackParamsWithHTTPClient

func NewCreatePackParamsWithHTTPClient(client *http.Client) *CreatePackParams

NewCreatePackParamsWithHTTPClient creates a new CreatePackParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePackParamsWithTimeout

func NewCreatePackParamsWithTimeout(timeout time.Duration) *CreatePackParams

NewCreatePackParamsWithTimeout creates a new CreatePackParams object with the ability to set a timeout on a request.

func (*CreatePackParams) SetContext

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

SetContext adds the context to the create pack params

func (*CreatePackParams) SetDefaults

func (o *CreatePackParams) SetDefaults()

SetDefaults hydrates default values in the create pack params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create pack params

func (*CreatePackParams) SetPack

func (o *CreatePackParams) SetPack(pack *models.Pack)

SetPack adds the pack to the create pack params

func (*CreatePackParams) SetTimeout

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

SetTimeout adds the timeout to the create pack params

func (*CreatePackParams) WithContext

func (o *CreatePackParams) WithContext(ctx context.Context) *CreatePackParams

WithContext adds the context to the create pack params

func (*CreatePackParams) WithDefaults

func (o *CreatePackParams) WithDefaults() *CreatePackParams

WithDefaults hydrates default values in the create pack params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create pack params

func (*CreatePackParams) WithPack

func (o *CreatePackParams) WithPack(pack *models.Pack) *CreatePackParams

WithPack adds the pack to the create pack params

func (*CreatePackParams) WithTimeout

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

WithTimeout adds the timeout to the create pack params

func (*CreatePackParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreatePackReader

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

CreatePackReader is a Reader for the CreatePack structure.

func (*CreatePackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePackUnprocessableEntity

type CreatePackUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreatePackUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewCreatePackUnprocessableEntity

func NewCreatePackUnprocessableEntity() *CreatePackUnprocessableEntity

NewCreatePackUnprocessableEntity creates a CreatePackUnprocessableEntity with default headers values

func (*CreatePackUnprocessableEntity) Code

Code gets the status code for the create pack unprocessable entity response

func (*CreatePackUnprocessableEntity) Error

func (*CreatePackUnprocessableEntity) GetPayload

func (*CreatePackUnprocessableEntity) IsClientError

func (o *CreatePackUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create pack unprocessable entity response has a 4xx status code

func (*CreatePackUnprocessableEntity) IsCode

func (o *CreatePackUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this create pack unprocessable entity response a status code equal to that given

func (*CreatePackUnprocessableEntity) IsRedirect

func (o *CreatePackUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create pack unprocessable entity response has a 3xx status code

func (*CreatePackUnprocessableEntity) IsServerError

func (o *CreatePackUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create pack unprocessable entity response has a 5xx status code

func (*CreatePackUnprocessableEntity) IsSuccess

func (o *CreatePackUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create pack unprocessable entity response has a 2xx status code

func (*CreatePackUnprocessableEntity) String

type DeleteBuildBadRequest

type DeleteBuildBadRequest struct {
	Payload *models.GeneralError
}

DeleteBuildBadRequest describes a response with status code 400, with default header values.

Failed to delete the build

func NewDeleteBuildBadRequest

func NewDeleteBuildBadRequest() *DeleteBuildBadRequest

NewDeleteBuildBadRequest creates a DeleteBuildBadRequest with default headers values

func (*DeleteBuildBadRequest) Code

func (o *DeleteBuildBadRequest) Code() int

Code gets the status code for the delete build bad request response

func (*DeleteBuildBadRequest) Error

func (o *DeleteBuildBadRequest) Error() string

func (*DeleteBuildBadRequest) GetPayload

func (o *DeleteBuildBadRequest) GetPayload() *models.GeneralError

func (*DeleteBuildBadRequest) IsClientError

func (o *DeleteBuildBadRequest) IsClientError() bool

IsClientError returns true when this delete build bad request response has a 4xx status code

func (*DeleteBuildBadRequest) IsCode

func (o *DeleteBuildBadRequest) IsCode(code int) bool

IsCode returns true when this delete build bad request response a status code equal to that given

func (*DeleteBuildBadRequest) IsRedirect

func (o *DeleteBuildBadRequest) IsRedirect() bool

IsRedirect returns true when this delete build bad request response has a 3xx status code

func (*DeleteBuildBadRequest) IsServerError

func (o *DeleteBuildBadRequest) IsServerError() bool

IsServerError returns true when this delete build bad request response has a 5xx status code

func (*DeleteBuildBadRequest) IsSuccess

func (o *DeleteBuildBadRequest) IsSuccess() bool

IsSuccess returns true when this delete build bad request response has a 2xx status code

func (*DeleteBuildBadRequest) String

func (o *DeleteBuildBadRequest) String() string

type DeleteBuildDefault

type DeleteBuildDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeleteBuildDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewDeleteBuildDefault

func NewDeleteBuildDefault(code int) *DeleteBuildDefault

NewDeleteBuildDefault creates a DeleteBuildDefault with default headers values

func (*DeleteBuildDefault) Code

func (o *DeleteBuildDefault) Code() int

Code gets the status code for the delete build default response

func (*DeleteBuildDefault) Error

func (o *DeleteBuildDefault) Error() string

func (*DeleteBuildDefault) GetPayload

func (o *DeleteBuildDefault) GetPayload() *models.GeneralError

func (*DeleteBuildDefault) IsClientError

func (o *DeleteBuildDefault) IsClientError() bool

IsClientError returns true when this delete build default response has a 4xx status code

func (*DeleteBuildDefault) IsCode

func (o *DeleteBuildDefault) IsCode(code int) bool

IsCode returns true when this delete build default response a status code equal to that given

func (*DeleteBuildDefault) IsRedirect

func (o *DeleteBuildDefault) IsRedirect() bool

IsRedirect returns true when this delete build default response has a 3xx status code

func (*DeleteBuildDefault) IsServerError

func (o *DeleteBuildDefault) IsServerError() bool

IsServerError returns true when this delete build default response has a 5xx status code

func (*DeleteBuildDefault) IsSuccess

func (o *DeleteBuildDefault) IsSuccess() bool

IsSuccess returns true when this delete build default response has a 2xx status code

func (*DeleteBuildDefault) String

func (o *DeleteBuildDefault) String() string

type DeleteBuildForbidden

type DeleteBuildForbidden struct {
	Payload *models.GeneralError
}

DeleteBuildForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeleteBuildForbidden

func NewDeleteBuildForbidden() *DeleteBuildForbidden

NewDeleteBuildForbidden creates a DeleteBuildForbidden with default headers values

func (*DeleteBuildForbidden) Code

func (o *DeleteBuildForbidden) Code() int

Code gets the status code for the delete build forbidden response

func (*DeleteBuildForbidden) Error

func (o *DeleteBuildForbidden) Error() string

func (*DeleteBuildForbidden) GetPayload

func (o *DeleteBuildForbidden) GetPayload() *models.GeneralError

func (*DeleteBuildForbidden) IsClientError

func (o *DeleteBuildForbidden) IsClientError() bool

IsClientError returns true when this delete build forbidden response has a 4xx status code

func (*DeleteBuildForbidden) IsCode

func (o *DeleteBuildForbidden) IsCode(code int) bool

IsCode returns true when this delete build forbidden response a status code equal to that given

func (*DeleteBuildForbidden) IsRedirect

func (o *DeleteBuildForbidden) IsRedirect() bool

IsRedirect returns true when this delete build forbidden response has a 3xx status code

func (*DeleteBuildForbidden) IsServerError

func (o *DeleteBuildForbidden) IsServerError() bool

IsServerError returns true when this delete build forbidden response has a 5xx status code

func (*DeleteBuildForbidden) IsSuccess

func (o *DeleteBuildForbidden) IsSuccess() bool

IsSuccess returns true when this delete build forbidden response has a 2xx status code

func (*DeleteBuildForbidden) String

func (o *DeleteBuildForbidden) String() string

type DeleteBuildFromVersionBadRequest

type DeleteBuildFromVersionBadRequest struct {
	Payload *models.GeneralError
}

DeleteBuildFromVersionBadRequest describes a response with status code 400, with default header values.

Failed to unlink build

func NewDeleteBuildFromVersionBadRequest

func NewDeleteBuildFromVersionBadRequest() *DeleteBuildFromVersionBadRequest

NewDeleteBuildFromVersionBadRequest creates a DeleteBuildFromVersionBadRequest with default headers values

func (*DeleteBuildFromVersionBadRequest) Code

Code gets the status code for the delete build from version bad request response

func (*DeleteBuildFromVersionBadRequest) Error

func (*DeleteBuildFromVersionBadRequest) GetPayload

func (*DeleteBuildFromVersionBadRequest) IsClientError

func (o *DeleteBuildFromVersionBadRequest) IsClientError() bool

IsClientError returns true when this delete build from version bad request response has a 4xx status code

func (*DeleteBuildFromVersionBadRequest) IsCode

func (o *DeleteBuildFromVersionBadRequest) IsCode(code int) bool

IsCode returns true when this delete build from version bad request response a status code equal to that given

func (*DeleteBuildFromVersionBadRequest) IsRedirect

func (o *DeleteBuildFromVersionBadRequest) IsRedirect() bool

IsRedirect returns true when this delete build from version bad request response has a 3xx status code

func (*DeleteBuildFromVersionBadRequest) IsServerError

func (o *DeleteBuildFromVersionBadRequest) IsServerError() bool

IsServerError returns true when this delete build from version bad request response has a 5xx status code

func (*DeleteBuildFromVersionBadRequest) IsSuccess

func (o *DeleteBuildFromVersionBadRequest) IsSuccess() bool

IsSuccess returns true when this delete build from version bad request response has a 2xx status code

func (*DeleteBuildFromVersionBadRequest) String

type DeleteBuildFromVersionDefault

type DeleteBuildFromVersionDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeleteBuildFromVersionDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewDeleteBuildFromVersionDefault

func NewDeleteBuildFromVersionDefault(code int) *DeleteBuildFromVersionDefault

NewDeleteBuildFromVersionDefault creates a DeleteBuildFromVersionDefault with default headers values

func (*DeleteBuildFromVersionDefault) Code

Code gets the status code for the delete build from version default response

func (*DeleteBuildFromVersionDefault) Error

func (*DeleteBuildFromVersionDefault) GetPayload

func (*DeleteBuildFromVersionDefault) IsClientError

func (o *DeleteBuildFromVersionDefault) IsClientError() bool

IsClientError returns true when this delete build from version default response has a 4xx status code

func (*DeleteBuildFromVersionDefault) IsCode

func (o *DeleteBuildFromVersionDefault) IsCode(code int) bool

IsCode returns true when this delete build from version default response a status code equal to that given

func (*DeleteBuildFromVersionDefault) IsRedirect

func (o *DeleteBuildFromVersionDefault) IsRedirect() bool

IsRedirect returns true when this delete build from version default response has a 3xx status code

func (*DeleteBuildFromVersionDefault) IsServerError

func (o *DeleteBuildFromVersionDefault) IsServerError() bool

IsServerError returns true when this delete build from version default response has a 5xx status code

func (*DeleteBuildFromVersionDefault) IsSuccess

func (o *DeleteBuildFromVersionDefault) IsSuccess() bool

IsSuccess returns true when this delete build from version default response has a 2xx status code

func (*DeleteBuildFromVersionDefault) String

type DeleteBuildFromVersionForbidden

type DeleteBuildFromVersionForbidden struct {
	Payload *models.GeneralError
}

DeleteBuildFromVersionForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeleteBuildFromVersionForbidden

func NewDeleteBuildFromVersionForbidden() *DeleteBuildFromVersionForbidden

NewDeleteBuildFromVersionForbidden creates a DeleteBuildFromVersionForbidden with default headers values

func (*DeleteBuildFromVersionForbidden) Code

Code gets the status code for the delete build from version forbidden response

func (*DeleteBuildFromVersionForbidden) Error

func (*DeleteBuildFromVersionForbidden) GetPayload

func (*DeleteBuildFromVersionForbidden) IsClientError

func (o *DeleteBuildFromVersionForbidden) IsClientError() bool

IsClientError returns true when this delete build from version forbidden response has a 4xx status code

func (*DeleteBuildFromVersionForbidden) IsCode

func (o *DeleteBuildFromVersionForbidden) IsCode(code int) bool

IsCode returns true when this delete build from version forbidden response a status code equal to that given

func (*DeleteBuildFromVersionForbidden) IsRedirect

func (o *DeleteBuildFromVersionForbidden) IsRedirect() bool

IsRedirect returns true when this delete build from version forbidden response has a 3xx status code

func (*DeleteBuildFromVersionForbidden) IsServerError

func (o *DeleteBuildFromVersionForbidden) IsServerError() bool

IsServerError returns true when this delete build from version forbidden response has a 5xx status code

func (*DeleteBuildFromVersionForbidden) IsSuccess

func (o *DeleteBuildFromVersionForbidden) IsSuccess() bool

IsSuccess returns true when this delete build from version forbidden response has a 2xx status code

func (*DeleteBuildFromVersionForbidden) String

type DeleteBuildFromVersionNotFound

type DeleteBuildFromVersionNotFound struct {
	Payload *models.GeneralError
}

DeleteBuildFromVersionNotFound describes a response with status code 404, with default header values.

Build or pack not found

func NewDeleteBuildFromVersionNotFound

func NewDeleteBuildFromVersionNotFound() *DeleteBuildFromVersionNotFound

NewDeleteBuildFromVersionNotFound creates a DeleteBuildFromVersionNotFound with default headers values

func (*DeleteBuildFromVersionNotFound) Code

Code gets the status code for the delete build from version not found response

func (*DeleteBuildFromVersionNotFound) Error

func (*DeleteBuildFromVersionNotFound) GetPayload

func (*DeleteBuildFromVersionNotFound) IsClientError

func (o *DeleteBuildFromVersionNotFound) IsClientError() bool

IsClientError returns true when this delete build from version not found response has a 4xx status code

func (*DeleteBuildFromVersionNotFound) IsCode

func (o *DeleteBuildFromVersionNotFound) IsCode(code int) bool

IsCode returns true when this delete build from version not found response a status code equal to that given

func (*DeleteBuildFromVersionNotFound) IsRedirect

func (o *DeleteBuildFromVersionNotFound) IsRedirect() bool

IsRedirect returns true when this delete build from version not found response has a 3xx status code

func (*DeleteBuildFromVersionNotFound) IsServerError

func (o *DeleteBuildFromVersionNotFound) IsServerError() bool

IsServerError returns true when this delete build from version not found response has a 5xx status code

func (*DeleteBuildFromVersionNotFound) IsSuccess

func (o *DeleteBuildFromVersionNotFound) IsSuccess() bool

IsSuccess returns true when this delete build from version not found response has a 2xx status code

func (*DeleteBuildFromVersionNotFound) String

type DeleteBuildFromVersionOK

type DeleteBuildFromVersionOK struct {
	Payload *models.GeneralError
}

DeleteBuildFromVersionOK describes a response with status code 200, with default header values.

Plain success message

func NewDeleteBuildFromVersionOK

func NewDeleteBuildFromVersionOK() *DeleteBuildFromVersionOK

NewDeleteBuildFromVersionOK creates a DeleteBuildFromVersionOK with default headers values

func (*DeleteBuildFromVersionOK) Code

func (o *DeleteBuildFromVersionOK) Code() int

Code gets the status code for the delete build from version o k response

func (*DeleteBuildFromVersionOK) Error

func (o *DeleteBuildFromVersionOK) Error() string

func (*DeleteBuildFromVersionOK) GetPayload

func (o *DeleteBuildFromVersionOK) GetPayload() *models.GeneralError

func (*DeleteBuildFromVersionOK) IsClientError

func (o *DeleteBuildFromVersionOK) IsClientError() bool

IsClientError returns true when this delete build from version o k response has a 4xx status code

func (*DeleteBuildFromVersionOK) IsCode

func (o *DeleteBuildFromVersionOK) IsCode(code int) bool

IsCode returns true when this delete build from version o k response a status code equal to that given

func (*DeleteBuildFromVersionOK) IsRedirect

func (o *DeleteBuildFromVersionOK) IsRedirect() bool

IsRedirect returns true when this delete build from version o k response has a 3xx status code

func (*DeleteBuildFromVersionOK) IsServerError

func (o *DeleteBuildFromVersionOK) IsServerError() bool

IsServerError returns true when this delete build from version o k response has a 5xx status code

func (*DeleteBuildFromVersionOK) IsSuccess

func (o *DeleteBuildFromVersionOK) IsSuccess() bool

IsSuccess returns true when this delete build from version o k response has a 2xx status code

func (*DeleteBuildFromVersionOK) String

func (o *DeleteBuildFromVersionOK) String() string

type DeleteBuildFromVersionParams

type DeleteBuildFromVersionParams struct {

	/* BuildID.

	   A build UUID or slug
	*/
	BuildID string

	/* BuildVersion.

	   The version data to unlink from build
	*/
	BuildVersion *models.BuildVersionParams

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

DeleteBuildFromVersionParams contains all the parameters to send to the API endpoint

for the delete build from version operation.

Typically these are written to a http.Request.

func NewDeleteBuildFromVersionParams

func NewDeleteBuildFromVersionParams() *DeleteBuildFromVersionParams

NewDeleteBuildFromVersionParams creates a new DeleteBuildFromVersionParams 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 NewDeleteBuildFromVersionParamsWithContext

func NewDeleteBuildFromVersionParamsWithContext(ctx context.Context) *DeleteBuildFromVersionParams

NewDeleteBuildFromVersionParamsWithContext creates a new DeleteBuildFromVersionParams object with the ability to set a context for a request.

func NewDeleteBuildFromVersionParamsWithHTTPClient

func NewDeleteBuildFromVersionParamsWithHTTPClient(client *http.Client) *DeleteBuildFromVersionParams

NewDeleteBuildFromVersionParamsWithHTTPClient creates a new DeleteBuildFromVersionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBuildFromVersionParamsWithTimeout

func NewDeleteBuildFromVersionParamsWithTimeout(timeout time.Duration) *DeleteBuildFromVersionParams

NewDeleteBuildFromVersionParamsWithTimeout creates a new DeleteBuildFromVersionParams object with the ability to set a timeout on a request.

func (*DeleteBuildFromVersionParams) SetBuildID

func (o *DeleteBuildFromVersionParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the delete build from version params

func (*DeleteBuildFromVersionParams) SetBuildVersion

func (o *DeleteBuildFromVersionParams) SetBuildVersion(buildVersion *models.BuildVersionParams)

SetBuildVersion adds the buildVersion to the delete build from version params

func (*DeleteBuildFromVersionParams) SetContext

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

SetContext adds the context to the delete build from version params

func (*DeleteBuildFromVersionParams) SetDefaults

func (o *DeleteBuildFromVersionParams) SetDefaults()

SetDefaults hydrates default values in the delete build from version params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBuildFromVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete build from version params

func (*DeleteBuildFromVersionParams) SetPackID

func (o *DeleteBuildFromVersionParams) SetPackID(packID string)

SetPackID adds the packId to the delete build from version params

func (*DeleteBuildFromVersionParams) SetTimeout

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

SetTimeout adds the timeout to the delete build from version params

func (*DeleteBuildFromVersionParams) WithBuildID

WithBuildID adds the buildID to the delete build from version params

func (*DeleteBuildFromVersionParams) WithBuildVersion

WithBuildVersion adds the buildVersion to the delete build from version params

func (*DeleteBuildFromVersionParams) WithContext

WithContext adds the context to the delete build from version params

func (*DeleteBuildFromVersionParams) WithDefaults

WithDefaults hydrates default values in the delete build from version params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBuildFromVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete build from version params

func (*DeleteBuildFromVersionParams) WithPackID

WithPackID adds the packID to the delete build from version params

func (*DeleteBuildFromVersionParams) WithTimeout

WithTimeout adds the timeout to the delete build from version params

func (*DeleteBuildFromVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBuildFromVersionPreconditionFailed

type DeleteBuildFromVersionPreconditionFailed struct {
	Payload *models.GeneralError
}

DeleteBuildFromVersionPreconditionFailed describes a response with status code 412, with default header values.

Version is not assigned

func NewDeleteBuildFromVersionPreconditionFailed

func NewDeleteBuildFromVersionPreconditionFailed() *DeleteBuildFromVersionPreconditionFailed

NewDeleteBuildFromVersionPreconditionFailed creates a DeleteBuildFromVersionPreconditionFailed with default headers values

func (*DeleteBuildFromVersionPreconditionFailed) Code

Code gets the status code for the delete build from version precondition failed response

func (*DeleteBuildFromVersionPreconditionFailed) Error

func (*DeleteBuildFromVersionPreconditionFailed) GetPayload

func (*DeleteBuildFromVersionPreconditionFailed) IsClientError

IsClientError returns true when this delete build from version precondition failed response has a 4xx status code

func (*DeleteBuildFromVersionPreconditionFailed) IsCode

IsCode returns true when this delete build from version precondition failed response a status code equal to that given

func (*DeleteBuildFromVersionPreconditionFailed) IsRedirect

IsRedirect returns true when this delete build from version precondition failed response has a 3xx status code

func (*DeleteBuildFromVersionPreconditionFailed) IsServerError

IsServerError returns true when this delete build from version precondition failed response has a 5xx status code

func (*DeleteBuildFromVersionPreconditionFailed) IsSuccess

IsSuccess returns true when this delete build from version precondition failed response has a 2xx status code

func (*DeleteBuildFromVersionPreconditionFailed) String

type DeleteBuildFromVersionReader

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

DeleteBuildFromVersionReader is a Reader for the DeleteBuildFromVersion structure.

func (*DeleteBuildFromVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBuildNotFound

type DeleteBuildNotFound struct {
	Payload *models.GeneralError
}

DeleteBuildNotFound describes a response with status code 404, with default header values.

Build or pack not found

func NewDeleteBuildNotFound

func NewDeleteBuildNotFound() *DeleteBuildNotFound

NewDeleteBuildNotFound creates a DeleteBuildNotFound with default headers values

func (*DeleteBuildNotFound) Code

func (o *DeleteBuildNotFound) Code() int

Code gets the status code for the delete build not found response

func (*DeleteBuildNotFound) Error

func (o *DeleteBuildNotFound) Error() string

func (*DeleteBuildNotFound) GetPayload

func (o *DeleteBuildNotFound) GetPayload() *models.GeneralError

func (*DeleteBuildNotFound) IsClientError

func (o *DeleteBuildNotFound) IsClientError() bool

IsClientError returns true when this delete build not found response has a 4xx status code

func (*DeleteBuildNotFound) IsCode

func (o *DeleteBuildNotFound) IsCode(code int) bool

IsCode returns true when this delete build not found response a status code equal to that given

func (*DeleteBuildNotFound) IsRedirect

func (o *DeleteBuildNotFound) IsRedirect() bool

IsRedirect returns true when this delete build not found response has a 3xx status code

func (*DeleteBuildNotFound) IsServerError

func (o *DeleteBuildNotFound) IsServerError() bool

IsServerError returns true when this delete build not found response has a 5xx status code

func (*DeleteBuildNotFound) IsSuccess

func (o *DeleteBuildNotFound) IsSuccess() bool

IsSuccess returns true when this delete build not found response has a 2xx status code

func (*DeleteBuildNotFound) String

func (o *DeleteBuildNotFound) String() string

type DeleteBuildOK

type DeleteBuildOK struct {
	Payload *models.GeneralError
}

DeleteBuildOK describes a response with status code 200, with default header values.

Plain success message

func NewDeleteBuildOK

func NewDeleteBuildOK() *DeleteBuildOK

NewDeleteBuildOK creates a DeleteBuildOK with default headers values

func (*DeleteBuildOK) Code

func (o *DeleteBuildOK) Code() int

Code gets the status code for the delete build o k response

func (*DeleteBuildOK) Error

func (o *DeleteBuildOK) Error() string

func (*DeleteBuildOK) GetPayload

func (o *DeleteBuildOK) GetPayload() *models.GeneralError

func (*DeleteBuildOK) IsClientError

func (o *DeleteBuildOK) IsClientError() bool

IsClientError returns true when this delete build o k response has a 4xx status code

func (*DeleteBuildOK) IsCode

func (o *DeleteBuildOK) IsCode(code int) bool

IsCode returns true when this delete build o k response a status code equal to that given

func (*DeleteBuildOK) IsRedirect

func (o *DeleteBuildOK) IsRedirect() bool

IsRedirect returns true when this delete build o k response has a 3xx status code

func (*DeleteBuildOK) IsServerError

func (o *DeleteBuildOK) IsServerError() bool

IsServerError returns true when this delete build o k response has a 5xx status code

func (*DeleteBuildOK) IsSuccess

func (o *DeleteBuildOK) IsSuccess() bool

IsSuccess returns true when this delete build o k response has a 2xx status code

func (*DeleteBuildOK) String

func (o *DeleteBuildOK) String() string

type DeleteBuildParams

type DeleteBuildParams struct {

	/* BuildID.

	   A build UUID or slug
	*/
	BuildID string

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

DeleteBuildParams contains all the parameters to send to the API endpoint

for the delete build operation.

Typically these are written to a http.Request.

func NewDeleteBuildParams

func NewDeleteBuildParams() *DeleteBuildParams

NewDeleteBuildParams creates a new DeleteBuildParams 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 NewDeleteBuildParamsWithContext

func NewDeleteBuildParamsWithContext(ctx context.Context) *DeleteBuildParams

NewDeleteBuildParamsWithContext creates a new DeleteBuildParams object with the ability to set a context for a request.

func NewDeleteBuildParamsWithHTTPClient

func NewDeleteBuildParamsWithHTTPClient(client *http.Client) *DeleteBuildParams

NewDeleteBuildParamsWithHTTPClient creates a new DeleteBuildParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBuildParamsWithTimeout

func NewDeleteBuildParamsWithTimeout(timeout time.Duration) *DeleteBuildParams

NewDeleteBuildParamsWithTimeout creates a new DeleteBuildParams object with the ability to set a timeout on a request.

func (*DeleteBuildParams) SetBuildID

func (o *DeleteBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the delete build params

func (*DeleteBuildParams) SetContext

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

SetContext adds the context to the delete build params

func (*DeleteBuildParams) SetDefaults

func (o *DeleteBuildParams) SetDefaults()

SetDefaults hydrates default values in the delete build params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete build params

func (*DeleteBuildParams) SetPackID

func (o *DeleteBuildParams) SetPackID(packID string)

SetPackID adds the packId to the delete build params

func (*DeleteBuildParams) SetTimeout

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

SetTimeout adds the timeout to the delete build params

func (*DeleteBuildParams) WithBuildID

func (o *DeleteBuildParams) WithBuildID(buildID string) *DeleteBuildParams

WithBuildID adds the buildID to the delete build params

func (*DeleteBuildParams) WithContext

func (o *DeleteBuildParams) WithContext(ctx context.Context) *DeleteBuildParams

WithContext adds the context to the delete build params

func (*DeleteBuildParams) WithDefaults

func (o *DeleteBuildParams) WithDefaults() *DeleteBuildParams

WithDefaults hydrates default values in the delete build params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBuildParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete build params

func (*DeleteBuildParams) WithPackID

func (o *DeleteBuildParams) WithPackID(packID string) *DeleteBuildParams

WithPackID adds the packID to the delete build params

func (*DeleteBuildParams) WithTimeout

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

WithTimeout adds the timeout to the delete build params

func (*DeleteBuildParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteBuildReader

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

DeleteBuildReader is a Reader for the DeleteBuild structure.

func (*DeleteBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePackBadRequest

type DeletePackBadRequest struct {
	Payload *models.GeneralError
}

DeletePackBadRequest describes a response with status code 400, with default header values.

Failed to delete the pack

func NewDeletePackBadRequest

func NewDeletePackBadRequest() *DeletePackBadRequest

NewDeletePackBadRequest creates a DeletePackBadRequest with default headers values

func (*DeletePackBadRequest) Code

func (o *DeletePackBadRequest) Code() int

Code gets the status code for the delete pack bad request response

func (*DeletePackBadRequest) Error

func (o *DeletePackBadRequest) Error() string

func (*DeletePackBadRequest) GetPayload

func (o *DeletePackBadRequest) GetPayload() *models.GeneralError

func (*DeletePackBadRequest) IsClientError

func (o *DeletePackBadRequest) IsClientError() bool

IsClientError returns true when this delete pack bad request response has a 4xx status code

func (*DeletePackBadRequest) IsCode

func (o *DeletePackBadRequest) IsCode(code int) bool

IsCode returns true when this delete pack bad request response a status code equal to that given

func (*DeletePackBadRequest) IsRedirect

func (o *DeletePackBadRequest) IsRedirect() bool

IsRedirect returns true when this delete pack bad request response has a 3xx status code

func (*DeletePackBadRequest) IsServerError

func (o *DeletePackBadRequest) IsServerError() bool

IsServerError returns true when this delete pack bad request response has a 5xx status code

func (*DeletePackBadRequest) IsSuccess

func (o *DeletePackBadRequest) IsSuccess() bool

IsSuccess returns true when this delete pack bad request response has a 2xx status code

func (*DeletePackBadRequest) String

func (o *DeletePackBadRequest) String() string

type DeletePackDefault

type DeletePackDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeletePackDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewDeletePackDefault

func NewDeletePackDefault(code int) *DeletePackDefault

NewDeletePackDefault creates a DeletePackDefault with default headers values

func (*DeletePackDefault) Code

func (o *DeletePackDefault) Code() int

Code gets the status code for the delete pack default response

func (*DeletePackDefault) Error

func (o *DeletePackDefault) Error() string

func (*DeletePackDefault) GetPayload

func (o *DeletePackDefault) GetPayload() *models.GeneralError

func (*DeletePackDefault) IsClientError

func (o *DeletePackDefault) IsClientError() bool

IsClientError returns true when this delete pack default response has a 4xx status code

func (*DeletePackDefault) IsCode

func (o *DeletePackDefault) IsCode(code int) bool

IsCode returns true when this delete pack default response a status code equal to that given

func (*DeletePackDefault) IsRedirect

func (o *DeletePackDefault) IsRedirect() bool

IsRedirect returns true when this delete pack default response has a 3xx status code

func (*DeletePackDefault) IsServerError

func (o *DeletePackDefault) IsServerError() bool

IsServerError returns true when this delete pack default response has a 5xx status code

func (*DeletePackDefault) IsSuccess

func (o *DeletePackDefault) IsSuccess() bool

IsSuccess returns true when this delete pack default response has a 2xx status code

func (*DeletePackDefault) String

func (o *DeletePackDefault) String() string

type DeletePackForbidden

type DeletePackForbidden struct {
	Payload *models.GeneralError
}

DeletePackForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeletePackForbidden

func NewDeletePackForbidden() *DeletePackForbidden

NewDeletePackForbidden creates a DeletePackForbidden with default headers values

func (*DeletePackForbidden) Code

func (o *DeletePackForbidden) Code() int

Code gets the status code for the delete pack forbidden response

func (*DeletePackForbidden) Error

func (o *DeletePackForbidden) Error() string

func (*DeletePackForbidden) GetPayload

func (o *DeletePackForbidden) GetPayload() *models.GeneralError

func (*DeletePackForbidden) IsClientError

func (o *DeletePackForbidden) IsClientError() bool

IsClientError returns true when this delete pack forbidden response has a 4xx status code

func (*DeletePackForbidden) IsCode

func (o *DeletePackForbidden) IsCode(code int) bool

IsCode returns true when this delete pack forbidden response a status code equal to that given

func (*DeletePackForbidden) IsRedirect

func (o *DeletePackForbidden) IsRedirect() bool

IsRedirect returns true when this delete pack forbidden response has a 3xx status code

func (*DeletePackForbidden) IsServerError

func (o *DeletePackForbidden) IsServerError() bool

IsServerError returns true when this delete pack forbidden response has a 5xx status code

func (*DeletePackForbidden) IsSuccess

func (o *DeletePackForbidden) IsSuccess() bool

IsSuccess returns true when this delete pack forbidden response has a 2xx status code

func (*DeletePackForbidden) String

func (o *DeletePackForbidden) String() string

type DeletePackFromTeamDefault

type DeletePackFromTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeletePackFromTeamDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewDeletePackFromTeamDefault

func NewDeletePackFromTeamDefault(code int) *DeletePackFromTeamDefault

NewDeletePackFromTeamDefault creates a DeletePackFromTeamDefault with default headers values

func (*DeletePackFromTeamDefault) Code

func (o *DeletePackFromTeamDefault) Code() int

Code gets the status code for the delete pack from team default response

func (*DeletePackFromTeamDefault) Error

func (o *DeletePackFromTeamDefault) Error() string

func (*DeletePackFromTeamDefault) GetPayload

func (*DeletePackFromTeamDefault) IsClientError

func (o *DeletePackFromTeamDefault) IsClientError() bool

IsClientError returns true when this delete pack from team default response has a 4xx status code

func (*DeletePackFromTeamDefault) IsCode

func (o *DeletePackFromTeamDefault) IsCode(code int) bool

IsCode returns true when this delete pack from team default response a status code equal to that given

func (*DeletePackFromTeamDefault) IsRedirect

func (o *DeletePackFromTeamDefault) IsRedirect() bool

IsRedirect returns true when this delete pack from team default response has a 3xx status code

func (*DeletePackFromTeamDefault) IsServerError

func (o *DeletePackFromTeamDefault) IsServerError() bool

IsServerError returns true when this delete pack from team default response has a 5xx status code

func (*DeletePackFromTeamDefault) IsSuccess

func (o *DeletePackFromTeamDefault) IsSuccess() bool

IsSuccess returns true when this delete pack from team default response has a 2xx status code

func (*DeletePackFromTeamDefault) String

func (o *DeletePackFromTeamDefault) String() string

type DeletePackFromTeamForbidden

type DeletePackFromTeamForbidden struct {
	Payload *models.GeneralError
}

DeletePackFromTeamForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeletePackFromTeamForbidden

func NewDeletePackFromTeamForbidden() *DeletePackFromTeamForbidden

NewDeletePackFromTeamForbidden creates a DeletePackFromTeamForbidden with default headers values

func (*DeletePackFromTeamForbidden) Code

func (o *DeletePackFromTeamForbidden) Code() int

Code gets the status code for the delete pack from team forbidden response

func (*DeletePackFromTeamForbidden) Error

func (*DeletePackFromTeamForbidden) GetPayload

func (*DeletePackFromTeamForbidden) IsClientError

func (o *DeletePackFromTeamForbidden) IsClientError() bool

IsClientError returns true when this delete pack from team forbidden response has a 4xx status code

func (*DeletePackFromTeamForbidden) IsCode

func (o *DeletePackFromTeamForbidden) IsCode(code int) bool

IsCode returns true when this delete pack from team forbidden response a status code equal to that given

func (*DeletePackFromTeamForbidden) IsRedirect

func (o *DeletePackFromTeamForbidden) IsRedirect() bool

IsRedirect returns true when this delete pack from team forbidden response has a 3xx status code

func (*DeletePackFromTeamForbidden) IsServerError

func (o *DeletePackFromTeamForbidden) IsServerError() bool

IsServerError returns true when this delete pack from team forbidden response has a 5xx status code

func (*DeletePackFromTeamForbidden) IsSuccess

func (o *DeletePackFromTeamForbidden) IsSuccess() bool

IsSuccess returns true when this delete pack from team forbidden response has a 2xx status code

func (*DeletePackFromTeamForbidden) String

func (o *DeletePackFromTeamForbidden) String() string

type DeletePackFromTeamNotFound

type DeletePackFromTeamNotFound struct {
	Payload *models.GeneralError
}

DeletePackFromTeamNotFound describes a response with status code 404, with default header values.

Pack or team not found

func NewDeletePackFromTeamNotFound

func NewDeletePackFromTeamNotFound() *DeletePackFromTeamNotFound

NewDeletePackFromTeamNotFound creates a DeletePackFromTeamNotFound with default headers values

func (*DeletePackFromTeamNotFound) Code

func (o *DeletePackFromTeamNotFound) Code() int

Code gets the status code for the delete pack from team not found response

func (*DeletePackFromTeamNotFound) Error

func (*DeletePackFromTeamNotFound) GetPayload

func (*DeletePackFromTeamNotFound) IsClientError

func (o *DeletePackFromTeamNotFound) IsClientError() bool

IsClientError returns true when this delete pack from team not found response has a 4xx status code

func (*DeletePackFromTeamNotFound) IsCode

func (o *DeletePackFromTeamNotFound) IsCode(code int) bool

IsCode returns true when this delete pack from team not found response a status code equal to that given

func (*DeletePackFromTeamNotFound) IsRedirect

func (o *DeletePackFromTeamNotFound) IsRedirect() bool

IsRedirect returns true when this delete pack from team not found response has a 3xx status code

func (*DeletePackFromTeamNotFound) IsServerError

func (o *DeletePackFromTeamNotFound) IsServerError() bool

IsServerError returns true when this delete pack from team not found response has a 5xx status code

func (*DeletePackFromTeamNotFound) IsSuccess

func (o *DeletePackFromTeamNotFound) IsSuccess() bool

IsSuccess returns true when this delete pack from team not found response has a 2xx status code

func (*DeletePackFromTeamNotFound) String

func (o *DeletePackFromTeamNotFound) String() string

type DeletePackFromTeamOK

type DeletePackFromTeamOK struct {
	Payload *models.GeneralError
}

DeletePackFromTeamOK describes a response with status code 200, with default header values.

Plain success message

func NewDeletePackFromTeamOK

func NewDeletePackFromTeamOK() *DeletePackFromTeamOK

NewDeletePackFromTeamOK creates a DeletePackFromTeamOK with default headers values

func (*DeletePackFromTeamOK) Code

func (o *DeletePackFromTeamOK) Code() int

Code gets the status code for the delete pack from team o k response

func (*DeletePackFromTeamOK) Error

func (o *DeletePackFromTeamOK) Error() string

func (*DeletePackFromTeamOK) GetPayload

func (o *DeletePackFromTeamOK) GetPayload() *models.GeneralError

func (*DeletePackFromTeamOK) IsClientError

func (o *DeletePackFromTeamOK) IsClientError() bool

IsClientError returns true when this delete pack from team o k response has a 4xx status code

func (*DeletePackFromTeamOK) IsCode

func (o *DeletePackFromTeamOK) IsCode(code int) bool

IsCode returns true when this delete pack from team o k response a status code equal to that given

func (*DeletePackFromTeamOK) IsRedirect

func (o *DeletePackFromTeamOK) IsRedirect() bool

IsRedirect returns true when this delete pack from team o k response has a 3xx status code

func (*DeletePackFromTeamOK) IsServerError

func (o *DeletePackFromTeamOK) IsServerError() bool

IsServerError returns true when this delete pack from team o k response has a 5xx status code

func (*DeletePackFromTeamOK) IsSuccess

func (o *DeletePackFromTeamOK) IsSuccess() bool

IsSuccess returns true when this delete pack from team o k response has a 2xx status code

func (*DeletePackFromTeamOK) String

func (o *DeletePackFromTeamOK) String() string

type DeletePackFromTeamParams

type DeletePackFromTeamParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

	/* PackTeam.

	   The pack team data to delete
	*/
	PackTeam *models.PackTeamParams

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

DeletePackFromTeamParams contains all the parameters to send to the API endpoint

for the delete pack from team operation.

Typically these are written to a http.Request.

func NewDeletePackFromTeamParams

func NewDeletePackFromTeamParams() *DeletePackFromTeamParams

NewDeletePackFromTeamParams creates a new DeletePackFromTeamParams 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 NewDeletePackFromTeamParamsWithContext

func NewDeletePackFromTeamParamsWithContext(ctx context.Context) *DeletePackFromTeamParams

NewDeletePackFromTeamParamsWithContext creates a new DeletePackFromTeamParams object with the ability to set a context for a request.

func NewDeletePackFromTeamParamsWithHTTPClient

func NewDeletePackFromTeamParamsWithHTTPClient(client *http.Client) *DeletePackFromTeamParams

NewDeletePackFromTeamParamsWithHTTPClient creates a new DeletePackFromTeamParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePackFromTeamParamsWithTimeout

func NewDeletePackFromTeamParamsWithTimeout(timeout time.Duration) *DeletePackFromTeamParams

NewDeletePackFromTeamParamsWithTimeout creates a new DeletePackFromTeamParams object with the ability to set a timeout on a request.

func (*DeletePackFromTeamParams) SetContext

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

SetContext adds the context to the delete pack from team params

func (*DeletePackFromTeamParams) SetDefaults

func (o *DeletePackFromTeamParams) SetDefaults()

SetDefaults hydrates default values in the delete pack from team params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePackFromTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete pack from team params

func (*DeletePackFromTeamParams) SetPackID

func (o *DeletePackFromTeamParams) SetPackID(packID string)

SetPackID adds the packId to the delete pack from team params

func (*DeletePackFromTeamParams) SetPackTeam

func (o *DeletePackFromTeamParams) SetPackTeam(packTeam *models.PackTeamParams)

SetPackTeam adds the packTeam to the delete pack from team params

func (*DeletePackFromTeamParams) SetTimeout

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

SetTimeout adds the timeout to the delete pack from team params

func (*DeletePackFromTeamParams) WithContext

WithContext adds the context to the delete pack from team params

func (*DeletePackFromTeamParams) WithDefaults

WithDefaults hydrates default values in the delete pack from team params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePackFromTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete pack from team params

func (*DeletePackFromTeamParams) WithPackID

WithPackID adds the packID to the delete pack from team params

func (*DeletePackFromTeamParams) WithPackTeam

WithPackTeam adds the packTeam to the delete pack from team params

func (*DeletePackFromTeamParams) WithTimeout

WithTimeout adds the timeout to the delete pack from team params

func (*DeletePackFromTeamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePackFromTeamPreconditionFailed

type DeletePackFromTeamPreconditionFailed struct {
	Payload *models.GeneralError
}

DeletePackFromTeamPreconditionFailed describes a response with status code 412, with default header values.

Team is not attached

func NewDeletePackFromTeamPreconditionFailed

func NewDeletePackFromTeamPreconditionFailed() *DeletePackFromTeamPreconditionFailed

NewDeletePackFromTeamPreconditionFailed creates a DeletePackFromTeamPreconditionFailed with default headers values

func (*DeletePackFromTeamPreconditionFailed) Code

Code gets the status code for the delete pack from team precondition failed response

func (*DeletePackFromTeamPreconditionFailed) Error

func (*DeletePackFromTeamPreconditionFailed) GetPayload

func (*DeletePackFromTeamPreconditionFailed) IsClientError

func (o *DeletePackFromTeamPreconditionFailed) IsClientError() bool

IsClientError returns true when this delete pack from team precondition failed response has a 4xx status code

func (*DeletePackFromTeamPreconditionFailed) IsCode

IsCode returns true when this delete pack from team precondition failed response a status code equal to that given

func (*DeletePackFromTeamPreconditionFailed) IsRedirect

IsRedirect returns true when this delete pack from team precondition failed response has a 3xx status code

func (*DeletePackFromTeamPreconditionFailed) IsServerError

func (o *DeletePackFromTeamPreconditionFailed) IsServerError() bool

IsServerError returns true when this delete pack from team precondition failed response has a 5xx status code

func (*DeletePackFromTeamPreconditionFailed) IsSuccess

IsSuccess returns true when this delete pack from team precondition failed response has a 2xx status code

func (*DeletePackFromTeamPreconditionFailed) String

type DeletePackFromTeamReader

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

DeletePackFromTeamReader is a Reader for the DeletePackFromTeam structure.

func (*DeletePackFromTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePackFromUserDefault

type DeletePackFromUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeletePackFromUserDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewDeletePackFromUserDefault

func NewDeletePackFromUserDefault(code int) *DeletePackFromUserDefault

NewDeletePackFromUserDefault creates a DeletePackFromUserDefault with default headers values

func (*DeletePackFromUserDefault) Code

func (o *DeletePackFromUserDefault) Code() int

Code gets the status code for the delete pack from user default response

func (*DeletePackFromUserDefault) Error

func (o *DeletePackFromUserDefault) Error() string

func (*DeletePackFromUserDefault) GetPayload

func (*DeletePackFromUserDefault) IsClientError

func (o *DeletePackFromUserDefault) IsClientError() bool

IsClientError returns true when this delete pack from user default response has a 4xx status code

func (*DeletePackFromUserDefault) IsCode

func (o *DeletePackFromUserDefault) IsCode(code int) bool

IsCode returns true when this delete pack from user default response a status code equal to that given

func (*DeletePackFromUserDefault) IsRedirect

func (o *DeletePackFromUserDefault) IsRedirect() bool

IsRedirect returns true when this delete pack from user default response has a 3xx status code

func (*DeletePackFromUserDefault) IsServerError

func (o *DeletePackFromUserDefault) IsServerError() bool

IsServerError returns true when this delete pack from user default response has a 5xx status code

func (*DeletePackFromUserDefault) IsSuccess

func (o *DeletePackFromUserDefault) IsSuccess() bool

IsSuccess returns true when this delete pack from user default response has a 2xx status code

func (*DeletePackFromUserDefault) String

func (o *DeletePackFromUserDefault) String() string

type DeletePackFromUserForbidden

type DeletePackFromUserForbidden struct {
	Payload *models.GeneralError
}

DeletePackFromUserForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeletePackFromUserForbidden

func NewDeletePackFromUserForbidden() *DeletePackFromUserForbidden

NewDeletePackFromUserForbidden creates a DeletePackFromUserForbidden with default headers values

func (*DeletePackFromUserForbidden) Code

func (o *DeletePackFromUserForbidden) Code() int

Code gets the status code for the delete pack from user forbidden response

func (*DeletePackFromUserForbidden) Error

func (*DeletePackFromUserForbidden) GetPayload

func (*DeletePackFromUserForbidden) IsClientError

func (o *DeletePackFromUserForbidden) IsClientError() bool

IsClientError returns true when this delete pack from user forbidden response has a 4xx status code

func (*DeletePackFromUserForbidden) IsCode

func (o *DeletePackFromUserForbidden) IsCode(code int) bool

IsCode returns true when this delete pack from user forbidden response a status code equal to that given

func (*DeletePackFromUserForbidden) IsRedirect

func (o *DeletePackFromUserForbidden) IsRedirect() bool

IsRedirect returns true when this delete pack from user forbidden response has a 3xx status code

func (*DeletePackFromUserForbidden) IsServerError

func (o *DeletePackFromUserForbidden) IsServerError() bool

IsServerError returns true when this delete pack from user forbidden response has a 5xx status code

func (*DeletePackFromUserForbidden) IsSuccess

func (o *DeletePackFromUserForbidden) IsSuccess() bool

IsSuccess returns true when this delete pack from user forbidden response has a 2xx status code

func (*DeletePackFromUserForbidden) String

func (o *DeletePackFromUserForbidden) String() string

type DeletePackFromUserNotFound

type DeletePackFromUserNotFound struct {
	Payload *models.GeneralError
}

DeletePackFromUserNotFound describes a response with status code 404, with default header values.

Pack or user not found

func NewDeletePackFromUserNotFound

func NewDeletePackFromUserNotFound() *DeletePackFromUserNotFound

NewDeletePackFromUserNotFound creates a DeletePackFromUserNotFound with default headers values

func (*DeletePackFromUserNotFound) Code

func (o *DeletePackFromUserNotFound) Code() int

Code gets the status code for the delete pack from user not found response

func (*DeletePackFromUserNotFound) Error

func (*DeletePackFromUserNotFound) GetPayload

func (*DeletePackFromUserNotFound) IsClientError

func (o *DeletePackFromUserNotFound) IsClientError() bool

IsClientError returns true when this delete pack from user not found response has a 4xx status code

func (*DeletePackFromUserNotFound) IsCode

func (o *DeletePackFromUserNotFound) IsCode(code int) bool

IsCode returns true when this delete pack from user not found response a status code equal to that given

func (*DeletePackFromUserNotFound) IsRedirect

func (o *DeletePackFromUserNotFound) IsRedirect() bool

IsRedirect returns true when this delete pack from user not found response has a 3xx status code

func (*DeletePackFromUserNotFound) IsServerError

func (o *DeletePackFromUserNotFound) IsServerError() bool

IsServerError returns true when this delete pack from user not found response has a 5xx status code

func (*DeletePackFromUserNotFound) IsSuccess

func (o *DeletePackFromUserNotFound) IsSuccess() bool

IsSuccess returns true when this delete pack from user not found response has a 2xx status code

func (*DeletePackFromUserNotFound) String

func (o *DeletePackFromUserNotFound) String() string

type DeletePackFromUserOK

type DeletePackFromUserOK struct {
	Payload *models.GeneralError
}

DeletePackFromUserOK describes a response with status code 200, with default header values.

Plain success message

func NewDeletePackFromUserOK

func NewDeletePackFromUserOK() *DeletePackFromUserOK

NewDeletePackFromUserOK creates a DeletePackFromUserOK with default headers values

func (*DeletePackFromUserOK) Code

func (o *DeletePackFromUserOK) Code() int

Code gets the status code for the delete pack from user o k response

func (*DeletePackFromUserOK) Error

func (o *DeletePackFromUserOK) Error() string

func (*DeletePackFromUserOK) GetPayload

func (o *DeletePackFromUserOK) GetPayload() *models.GeneralError

func (*DeletePackFromUserOK) IsClientError

func (o *DeletePackFromUserOK) IsClientError() bool

IsClientError returns true when this delete pack from user o k response has a 4xx status code

func (*DeletePackFromUserOK) IsCode

func (o *DeletePackFromUserOK) IsCode(code int) bool

IsCode returns true when this delete pack from user o k response a status code equal to that given

func (*DeletePackFromUserOK) IsRedirect

func (o *DeletePackFromUserOK) IsRedirect() bool

IsRedirect returns true when this delete pack from user o k response has a 3xx status code

func (*DeletePackFromUserOK) IsServerError

func (o *DeletePackFromUserOK) IsServerError() bool

IsServerError returns true when this delete pack from user o k response has a 5xx status code

func (*DeletePackFromUserOK) IsSuccess

func (o *DeletePackFromUserOK) IsSuccess() bool

IsSuccess returns true when this delete pack from user o k response has a 2xx status code

func (*DeletePackFromUserOK) String

func (o *DeletePackFromUserOK) String() string

type DeletePackFromUserParams

type DeletePackFromUserParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

	/* PackUser.

	   The pack user data to delete
	*/
	PackUser *models.PackUserParams

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

DeletePackFromUserParams contains all the parameters to send to the API endpoint

for the delete pack from user operation.

Typically these are written to a http.Request.

func NewDeletePackFromUserParams

func NewDeletePackFromUserParams() *DeletePackFromUserParams

NewDeletePackFromUserParams creates a new DeletePackFromUserParams 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 NewDeletePackFromUserParamsWithContext

func NewDeletePackFromUserParamsWithContext(ctx context.Context) *DeletePackFromUserParams

NewDeletePackFromUserParamsWithContext creates a new DeletePackFromUserParams object with the ability to set a context for a request.

func NewDeletePackFromUserParamsWithHTTPClient

func NewDeletePackFromUserParamsWithHTTPClient(client *http.Client) *DeletePackFromUserParams

NewDeletePackFromUserParamsWithHTTPClient creates a new DeletePackFromUserParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePackFromUserParamsWithTimeout

func NewDeletePackFromUserParamsWithTimeout(timeout time.Duration) *DeletePackFromUserParams

NewDeletePackFromUserParamsWithTimeout creates a new DeletePackFromUserParams object with the ability to set a timeout on a request.

func (*DeletePackFromUserParams) SetContext

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

SetContext adds the context to the delete pack from user params

func (*DeletePackFromUserParams) SetDefaults

func (o *DeletePackFromUserParams) SetDefaults()

SetDefaults hydrates default values in the delete pack from user params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePackFromUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete pack from user params

func (*DeletePackFromUserParams) SetPackID

func (o *DeletePackFromUserParams) SetPackID(packID string)

SetPackID adds the packId to the delete pack from user params

func (*DeletePackFromUserParams) SetPackUser

func (o *DeletePackFromUserParams) SetPackUser(packUser *models.PackUserParams)

SetPackUser adds the packUser to the delete pack from user params

func (*DeletePackFromUserParams) SetTimeout

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

SetTimeout adds the timeout to the delete pack from user params

func (*DeletePackFromUserParams) WithContext

WithContext adds the context to the delete pack from user params

func (*DeletePackFromUserParams) WithDefaults

WithDefaults hydrates default values in the delete pack from user params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePackFromUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete pack from user params

func (*DeletePackFromUserParams) WithPackID

WithPackID adds the packID to the delete pack from user params

func (*DeletePackFromUserParams) WithPackUser

WithPackUser adds the packUser to the delete pack from user params

func (*DeletePackFromUserParams) WithTimeout

WithTimeout adds the timeout to the delete pack from user params

func (*DeletePackFromUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePackFromUserPreconditionFailed

type DeletePackFromUserPreconditionFailed struct {
	Payload *models.GeneralError
}

DeletePackFromUserPreconditionFailed describes a response with status code 412, with default header values.

User is not attached

func NewDeletePackFromUserPreconditionFailed

func NewDeletePackFromUserPreconditionFailed() *DeletePackFromUserPreconditionFailed

NewDeletePackFromUserPreconditionFailed creates a DeletePackFromUserPreconditionFailed with default headers values

func (*DeletePackFromUserPreconditionFailed) Code

Code gets the status code for the delete pack from user precondition failed response

func (*DeletePackFromUserPreconditionFailed) Error

func (*DeletePackFromUserPreconditionFailed) GetPayload

func (*DeletePackFromUserPreconditionFailed) IsClientError

func (o *DeletePackFromUserPreconditionFailed) IsClientError() bool

IsClientError returns true when this delete pack from user precondition failed response has a 4xx status code

func (*DeletePackFromUserPreconditionFailed) IsCode

IsCode returns true when this delete pack from user precondition failed response a status code equal to that given

func (*DeletePackFromUserPreconditionFailed) IsRedirect

IsRedirect returns true when this delete pack from user precondition failed response has a 3xx status code

func (*DeletePackFromUserPreconditionFailed) IsServerError

func (o *DeletePackFromUserPreconditionFailed) IsServerError() bool

IsServerError returns true when this delete pack from user precondition failed response has a 5xx status code

func (*DeletePackFromUserPreconditionFailed) IsSuccess

IsSuccess returns true when this delete pack from user precondition failed response has a 2xx status code

func (*DeletePackFromUserPreconditionFailed) String

type DeletePackFromUserReader

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

DeletePackFromUserReader is a Reader for the DeletePackFromUser structure.

func (*DeletePackFromUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePackNotFound

type DeletePackNotFound struct {
	Payload *models.GeneralError
}

DeletePackNotFound describes a response with status code 404, with default header values.

Pack not found

func NewDeletePackNotFound

func NewDeletePackNotFound() *DeletePackNotFound

NewDeletePackNotFound creates a DeletePackNotFound with default headers values

func (*DeletePackNotFound) Code

func (o *DeletePackNotFound) Code() int

Code gets the status code for the delete pack not found response

func (*DeletePackNotFound) Error

func (o *DeletePackNotFound) Error() string

func (*DeletePackNotFound) GetPayload

func (o *DeletePackNotFound) GetPayload() *models.GeneralError

func (*DeletePackNotFound) IsClientError

func (o *DeletePackNotFound) IsClientError() bool

IsClientError returns true when this delete pack not found response has a 4xx status code

func (*DeletePackNotFound) IsCode

func (o *DeletePackNotFound) IsCode(code int) bool

IsCode returns true when this delete pack not found response a status code equal to that given

func (*DeletePackNotFound) IsRedirect

func (o *DeletePackNotFound) IsRedirect() bool

IsRedirect returns true when this delete pack not found response has a 3xx status code

func (*DeletePackNotFound) IsServerError

func (o *DeletePackNotFound) IsServerError() bool

IsServerError returns true when this delete pack not found response has a 5xx status code

func (*DeletePackNotFound) IsSuccess

func (o *DeletePackNotFound) IsSuccess() bool

IsSuccess returns true when this delete pack not found response has a 2xx status code

func (*DeletePackNotFound) String

func (o *DeletePackNotFound) String() string

type DeletePackOK

type DeletePackOK struct {
	Payload *models.GeneralError
}

DeletePackOK describes a response with status code 200, with default header values.

Plain success message

func NewDeletePackOK

func NewDeletePackOK() *DeletePackOK

NewDeletePackOK creates a DeletePackOK with default headers values

func (*DeletePackOK) Code

func (o *DeletePackOK) Code() int

Code gets the status code for the delete pack o k response

func (*DeletePackOK) Error

func (o *DeletePackOK) Error() string

func (*DeletePackOK) GetPayload

func (o *DeletePackOK) GetPayload() *models.GeneralError

func (*DeletePackOK) IsClientError

func (o *DeletePackOK) IsClientError() bool

IsClientError returns true when this delete pack o k response has a 4xx status code

func (*DeletePackOK) IsCode

func (o *DeletePackOK) IsCode(code int) bool

IsCode returns true when this delete pack o k response a status code equal to that given

func (*DeletePackOK) IsRedirect

func (o *DeletePackOK) IsRedirect() bool

IsRedirect returns true when this delete pack o k response has a 3xx status code

func (*DeletePackOK) IsServerError

func (o *DeletePackOK) IsServerError() bool

IsServerError returns true when this delete pack o k response has a 5xx status code

func (*DeletePackOK) IsSuccess

func (o *DeletePackOK) IsSuccess() bool

IsSuccess returns true when this delete pack o k response has a 2xx status code

func (*DeletePackOK) String

func (o *DeletePackOK) String() string

type DeletePackParams

type DeletePackParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

DeletePackParams contains all the parameters to send to the API endpoint

for the delete pack operation.

Typically these are written to a http.Request.

func NewDeletePackParams

func NewDeletePackParams() *DeletePackParams

NewDeletePackParams creates a new DeletePackParams 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 NewDeletePackParamsWithContext

func NewDeletePackParamsWithContext(ctx context.Context) *DeletePackParams

NewDeletePackParamsWithContext creates a new DeletePackParams object with the ability to set a context for a request.

func NewDeletePackParamsWithHTTPClient

func NewDeletePackParamsWithHTTPClient(client *http.Client) *DeletePackParams

NewDeletePackParamsWithHTTPClient creates a new DeletePackParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePackParamsWithTimeout

func NewDeletePackParamsWithTimeout(timeout time.Duration) *DeletePackParams

NewDeletePackParamsWithTimeout creates a new DeletePackParams object with the ability to set a timeout on a request.

func (*DeletePackParams) SetContext

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

SetContext adds the context to the delete pack params

func (*DeletePackParams) SetDefaults

func (o *DeletePackParams) SetDefaults()

SetDefaults hydrates default values in the delete pack params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete pack params

func (*DeletePackParams) SetPackID

func (o *DeletePackParams) SetPackID(packID string)

SetPackID adds the packId to the delete pack params

func (*DeletePackParams) SetTimeout

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

SetTimeout adds the timeout to the delete pack params

func (*DeletePackParams) WithContext

func (o *DeletePackParams) WithContext(ctx context.Context) *DeletePackParams

WithContext adds the context to the delete pack params

func (*DeletePackParams) WithDefaults

func (o *DeletePackParams) WithDefaults() *DeletePackParams

WithDefaults hydrates default values in the delete pack params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete pack params

func (*DeletePackParams) WithPackID

func (o *DeletePackParams) WithPackID(packID string) *DeletePackParams

WithPackID adds the packID to the delete pack params

func (*DeletePackParams) WithTimeout

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

WithTimeout adds the timeout to the delete pack params

func (*DeletePackParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeletePackReader

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

DeletePackReader is a Reader for the DeletePack structure.

func (*DeletePackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBuildVersionsDefault

type ListBuildVersionsDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListBuildVersionsDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewListBuildVersionsDefault

func NewListBuildVersionsDefault(code int) *ListBuildVersionsDefault

NewListBuildVersionsDefault creates a ListBuildVersionsDefault with default headers values

func (*ListBuildVersionsDefault) Code

func (o *ListBuildVersionsDefault) Code() int

Code gets the status code for the list build versions default response

func (*ListBuildVersionsDefault) Error

func (o *ListBuildVersionsDefault) Error() string

func (*ListBuildVersionsDefault) GetPayload

func (o *ListBuildVersionsDefault) GetPayload() *models.GeneralError

func (*ListBuildVersionsDefault) IsClientError

func (o *ListBuildVersionsDefault) IsClientError() bool

IsClientError returns true when this list build versions default response has a 4xx status code

func (*ListBuildVersionsDefault) IsCode

func (o *ListBuildVersionsDefault) IsCode(code int) bool

IsCode returns true when this list build versions default response a status code equal to that given

func (*ListBuildVersionsDefault) IsRedirect

func (o *ListBuildVersionsDefault) IsRedirect() bool

IsRedirect returns true when this list build versions default response has a 3xx status code

func (*ListBuildVersionsDefault) IsServerError

func (o *ListBuildVersionsDefault) IsServerError() bool

IsServerError returns true when this list build versions default response has a 5xx status code

func (*ListBuildVersionsDefault) IsSuccess

func (o *ListBuildVersionsDefault) IsSuccess() bool

IsSuccess returns true when this list build versions default response has a 2xx status code

func (*ListBuildVersionsDefault) String

func (o *ListBuildVersionsDefault) String() string

type ListBuildVersionsForbidden

type ListBuildVersionsForbidden struct {
	Payload *models.GeneralError
}

ListBuildVersionsForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListBuildVersionsForbidden

func NewListBuildVersionsForbidden() *ListBuildVersionsForbidden

NewListBuildVersionsForbidden creates a ListBuildVersionsForbidden with default headers values

func (*ListBuildVersionsForbidden) Code

func (o *ListBuildVersionsForbidden) Code() int

Code gets the status code for the list build versions forbidden response

func (*ListBuildVersionsForbidden) Error

func (*ListBuildVersionsForbidden) GetPayload

func (*ListBuildVersionsForbidden) IsClientError

func (o *ListBuildVersionsForbidden) IsClientError() bool

IsClientError returns true when this list build versions forbidden response has a 4xx status code

func (*ListBuildVersionsForbidden) IsCode

func (o *ListBuildVersionsForbidden) IsCode(code int) bool

IsCode returns true when this list build versions forbidden response a status code equal to that given

func (*ListBuildVersionsForbidden) IsRedirect

func (o *ListBuildVersionsForbidden) IsRedirect() bool

IsRedirect returns true when this list build versions forbidden response has a 3xx status code

func (*ListBuildVersionsForbidden) IsServerError

func (o *ListBuildVersionsForbidden) IsServerError() bool

IsServerError returns true when this list build versions forbidden response has a 5xx status code

func (*ListBuildVersionsForbidden) IsSuccess

func (o *ListBuildVersionsForbidden) IsSuccess() bool

IsSuccess returns true when this list build versions forbidden response has a 2xx status code

func (*ListBuildVersionsForbidden) String

func (o *ListBuildVersionsForbidden) String() string

type ListBuildVersionsNotFound

type ListBuildVersionsNotFound struct {
	Payload *models.GeneralError
}

ListBuildVersionsNotFound describes a response with status code 404, with default header values.

Build or pack not found

func NewListBuildVersionsNotFound

func NewListBuildVersionsNotFound() *ListBuildVersionsNotFound

NewListBuildVersionsNotFound creates a ListBuildVersionsNotFound with default headers values

func (*ListBuildVersionsNotFound) Code

func (o *ListBuildVersionsNotFound) Code() int

Code gets the status code for the list build versions not found response

func (*ListBuildVersionsNotFound) Error

func (o *ListBuildVersionsNotFound) Error() string

func (*ListBuildVersionsNotFound) GetPayload

func (*ListBuildVersionsNotFound) IsClientError

func (o *ListBuildVersionsNotFound) IsClientError() bool

IsClientError returns true when this list build versions not found response has a 4xx status code

func (*ListBuildVersionsNotFound) IsCode

func (o *ListBuildVersionsNotFound) IsCode(code int) bool

IsCode returns true when this list build versions not found response a status code equal to that given

func (*ListBuildVersionsNotFound) IsRedirect

func (o *ListBuildVersionsNotFound) IsRedirect() bool

IsRedirect returns true when this list build versions not found response has a 3xx status code

func (*ListBuildVersionsNotFound) IsServerError

func (o *ListBuildVersionsNotFound) IsServerError() bool

IsServerError returns true when this list build versions not found response has a 5xx status code

func (*ListBuildVersionsNotFound) IsSuccess

func (o *ListBuildVersionsNotFound) IsSuccess() bool

IsSuccess returns true when this list build versions not found response has a 2xx status code

func (*ListBuildVersionsNotFound) String

func (o *ListBuildVersionsNotFound) String() string

type ListBuildVersionsOK

type ListBuildVersionsOK struct {
	Payload *models.BuildVersions
}

ListBuildVersionsOK describes a response with status code 200, with default header values.

A collection of build versions

func NewListBuildVersionsOK

func NewListBuildVersionsOK() *ListBuildVersionsOK

NewListBuildVersionsOK creates a ListBuildVersionsOK with default headers values

func (*ListBuildVersionsOK) Code

func (o *ListBuildVersionsOK) Code() int

Code gets the status code for the list build versions o k response

func (*ListBuildVersionsOK) Error

func (o *ListBuildVersionsOK) Error() string

func (*ListBuildVersionsOK) GetPayload

func (o *ListBuildVersionsOK) GetPayload() *models.BuildVersions

func (*ListBuildVersionsOK) IsClientError

func (o *ListBuildVersionsOK) IsClientError() bool

IsClientError returns true when this list build versions o k response has a 4xx status code

func (*ListBuildVersionsOK) IsCode

func (o *ListBuildVersionsOK) IsCode(code int) bool

IsCode returns true when this list build versions o k response a status code equal to that given

func (*ListBuildVersionsOK) IsRedirect

func (o *ListBuildVersionsOK) IsRedirect() bool

IsRedirect returns true when this list build versions o k response has a 3xx status code

func (*ListBuildVersionsOK) IsServerError

func (o *ListBuildVersionsOK) IsServerError() bool

IsServerError returns true when this list build versions o k response has a 5xx status code

func (*ListBuildVersionsOK) IsSuccess

func (o *ListBuildVersionsOK) IsSuccess() bool

IsSuccess returns true when this list build versions o k response has a 2xx status code

func (*ListBuildVersionsOK) String

func (o *ListBuildVersionsOK) String() string

type ListBuildVersionsParams

type ListBuildVersionsParams struct {

	/* BuildID.

	   A build UUID or slug
	*/
	BuildID string

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

ListBuildVersionsParams contains all the parameters to send to the API endpoint

for the list build versions operation.

Typically these are written to a http.Request.

func NewListBuildVersionsParams

func NewListBuildVersionsParams() *ListBuildVersionsParams

NewListBuildVersionsParams creates a new ListBuildVersionsParams 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 NewListBuildVersionsParamsWithContext

func NewListBuildVersionsParamsWithContext(ctx context.Context) *ListBuildVersionsParams

NewListBuildVersionsParamsWithContext creates a new ListBuildVersionsParams object with the ability to set a context for a request.

func NewListBuildVersionsParamsWithHTTPClient

func NewListBuildVersionsParamsWithHTTPClient(client *http.Client) *ListBuildVersionsParams

NewListBuildVersionsParamsWithHTTPClient creates a new ListBuildVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewListBuildVersionsParamsWithTimeout

func NewListBuildVersionsParamsWithTimeout(timeout time.Duration) *ListBuildVersionsParams

NewListBuildVersionsParamsWithTimeout creates a new ListBuildVersionsParams object with the ability to set a timeout on a request.

func (*ListBuildVersionsParams) SetBuildID

func (o *ListBuildVersionsParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the list build versions params

func (*ListBuildVersionsParams) SetContext

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

SetContext adds the context to the list build versions params

func (*ListBuildVersionsParams) SetDefaults

func (o *ListBuildVersionsParams) SetDefaults()

SetDefaults hydrates default values in the list build versions params (not the query body).

All values with no default are reset to their zero value.

func (*ListBuildVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list build versions params

func (*ListBuildVersionsParams) SetPackID

func (o *ListBuildVersionsParams) SetPackID(packID string)

SetPackID adds the packId to the list build versions params

func (*ListBuildVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the list build versions params

func (*ListBuildVersionsParams) WithBuildID

func (o *ListBuildVersionsParams) WithBuildID(buildID string) *ListBuildVersionsParams

WithBuildID adds the buildID to the list build versions params

func (*ListBuildVersionsParams) WithContext

WithContext adds the context to the list build versions params

func (*ListBuildVersionsParams) WithDefaults

WithDefaults hydrates default values in the list build versions params (not the query body).

All values with no default are reset to their zero value.

func (*ListBuildVersionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list build versions params

func (*ListBuildVersionsParams) WithPackID

WithPackID adds the packID to the list build versions params

func (*ListBuildVersionsParams) WithTimeout

WithTimeout adds the timeout to the list build versions params

func (*ListBuildVersionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListBuildVersionsReader

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

ListBuildVersionsReader is a Reader for the ListBuildVersions structure.

func (*ListBuildVersionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBuildsDefault

type ListBuildsDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListBuildsDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewListBuildsDefault

func NewListBuildsDefault(code int) *ListBuildsDefault

NewListBuildsDefault creates a ListBuildsDefault with default headers values

func (*ListBuildsDefault) Code

func (o *ListBuildsDefault) Code() int

Code gets the status code for the list builds default response

func (*ListBuildsDefault) Error

func (o *ListBuildsDefault) Error() string

func (*ListBuildsDefault) GetPayload

func (o *ListBuildsDefault) GetPayload() *models.GeneralError

func (*ListBuildsDefault) IsClientError

func (o *ListBuildsDefault) IsClientError() bool

IsClientError returns true when this list builds default response has a 4xx status code

func (*ListBuildsDefault) IsCode

func (o *ListBuildsDefault) IsCode(code int) bool

IsCode returns true when this list builds default response a status code equal to that given

func (*ListBuildsDefault) IsRedirect

func (o *ListBuildsDefault) IsRedirect() bool

IsRedirect returns true when this list builds default response has a 3xx status code

func (*ListBuildsDefault) IsServerError

func (o *ListBuildsDefault) IsServerError() bool

IsServerError returns true when this list builds default response has a 5xx status code

func (*ListBuildsDefault) IsSuccess

func (o *ListBuildsDefault) IsSuccess() bool

IsSuccess returns true when this list builds default response has a 2xx status code

func (*ListBuildsDefault) String

func (o *ListBuildsDefault) String() string

type ListBuildsForbidden

type ListBuildsForbidden struct {
	Payload *models.GeneralError
}

ListBuildsForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListBuildsForbidden

func NewListBuildsForbidden() *ListBuildsForbidden

NewListBuildsForbidden creates a ListBuildsForbidden with default headers values

func (*ListBuildsForbidden) Code

func (o *ListBuildsForbidden) Code() int

Code gets the status code for the list builds forbidden response

func (*ListBuildsForbidden) Error

func (o *ListBuildsForbidden) Error() string

func (*ListBuildsForbidden) GetPayload

func (o *ListBuildsForbidden) GetPayload() *models.GeneralError

func (*ListBuildsForbidden) IsClientError

func (o *ListBuildsForbidden) IsClientError() bool

IsClientError returns true when this list builds forbidden response has a 4xx status code

func (*ListBuildsForbidden) IsCode

func (o *ListBuildsForbidden) IsCode(code int) bool

IsCode returns true when this list builds forbidden response a status code equal to that given

func (*ListBuildsForbidden) IsRedirect

func (o *ListBuildsForbidden) IsRedirect() bool

IsRedirect returns true when this list builds forbidden response has a 3xx status code

func (*ListBuildsForbidden) IsServerError

func (o *ListBuildsForbidden) IsServerError() bool

IsServerError returns true when this list builds forbidden response has a 5xx status code

func (*ListBuildsForbidden) IsSuccess

func (o *ListBuildsForbidden) IsSuccess() bool

IsSuccess returns true when this list builds forbidden response has a 2xx status code

func (*ListBuildsForbidden) String

func (o *ListBuildsForbidden) String() string

type ListBuildsNotFound

type ListBuildsNotFound struct {
	Payload *models.GeneralError
}

ListBuildsNotFound describes a response with status code 404, with default header values.

Pack not found

func NewListBuildsNotFound

func NewListBuildsNotFound() *ListBuildsNotFound

NewListBuildsNotFound creates a ListBuildsNotFound with default headers values

func (*ListBuildsNotFound) Code

func (o *ListBuildsNotFound) Code() int

Code gets the status code for the list builds not found response

func (*ListBuildsNotFound) Error

func (o *ListBuildsNotFound) Error() string

func (*ListBuildsNotFound) GetPayload

func (o *ListBuildsNotFound) GetPayload() *models.GeneralError

func (*ListBuildsNotFound) IsClientError

func (o *ListBuildsNotFound) IsClientError() bool

IsClientError returns true when this list builds not found response has a 4xx status code

func (*ListBuildsNotFound) IsCode

func (o *ListBuildsNotFound) IsCode(code int) bool

IsCode returns true when this list builds not found response a status code equal to that given

func (*ListBuildsNotFound) IsRedirect

func (o *ListBuildsNotFound) IsRedirect() bool

IsRedirect returns true when this list builds not found response has a 3xx status code

func (*ListBuildsNotFound) IsServerError

func (o *ListBuildsNotFound) IsServerError() bool

IsServerError returns true when this list builds not found response has a 5xx status code

func (*ListBuildsNotFound) IsSuccess

func (o *ListBuildsNotFound) IsSuccess() bool

IsSuccess returns true when this list builds not found response has a 2xx status code

func (*ListBuildsNotFound) String

func (o *ListBuildsNotFound) String() string

type ListBuildsOK

type ListBuildsOK struct {
	Payload *models.Builds
}

ListBuildsOK describes a response with status code 200, with default header values.

A collection of builds

func NewListBuildsOK

func NewListBuildsOK() *ListBuildsOK

NewListBuildsOK creates a ListBuildsOK with default headers values

func (*ListBuildsOK) Code

func (o *ListBuildsOK) Code() int

Code gets the status code for the list builds o k response

func (*ListBuildsOK) Error

func (o *ListBuildsOK) Error() string

func (*ListBuildsOK) GetPayload

func (o *ListBuildsOK) GetPayload() *models.Builds

func (*ListBuildsOK) IsClientError

func (o *ListBuildsOK) IsClientError() bool

IsClientError returns true when this list builds o k response has a 4xx status code

func (*ListBuildsOK) IsCode

func (o *ListBuildsOK) IsCode(code int) bool

IsCode returns true when this list builds o k response a status code equal to that given

func (*ListBuildsOK) IsRedirect

func (o *ListBuildsOK) IsRedirect() bool

IsRedirect returns true when this list builds o k response has a 3xx status code

func (*ListBuildsOK) IsServerError

func (o *ListBuildsOK) IsServerError() bool

IsServerError returns true when this list builds o k response has a 5xx status code

func (*ListBuildsOK) IsSuccess

func (o *ListBuildsOK) IsSuccess() bool

IsSuccess returns true when this list builds o k response has a 2xx status code

func (*ListBuildsOK) String

func (o *ListBuildsOK) String() string

type ListBuildsParams

type ListBuildsParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

ListBuildsParams contains all the parameters to send to the API endpoint

for the list builds operation.

Typically these are written to a http.Request.

func NewListBuildsParams

func NewListBuildsParams() *ListBuildsParams

NewListBuildsParams creates a new ListBuildsParams 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 NewListBuildsParamsWithContext

func NewListBuildsParamsWithContext(ctx context.Context) *ListBuildsParams

NewListBuildsParamsWithContext creates a new ListBuildsParams object with the ability to set a context for a request.

func NewListBuildsParamsWithHTTPClient

func NewListBuildsParamsWithHTTPClient(client *http.Client) *ListBuildsParams

NewListBuildsParamsWithHTTPClient creates a new ListBuildsParams object with the ability to set a custom HTTPClient for a request.

func NewListBuildsParamsWithTimeout

func NewListBuildsParamsWithTimeout(timeout time.Duration) *ListBuildsParams

NewListBuildsParamsWithTimeout creates a new ListBuildsParams object with the ability to set a timeout on a request.

func (*ListBuildsParams) SetContext

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

SetContext adds the context to the list builds params

func (*ListBuildsParams) SetDefaults

func (o *ListBuildsParams) SetDefaults()

SetDefaults hydrates default values in the list builds params (not the query body).

All values with no default are reset to their zero value.

func (*ListBuildsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list builds params

func (*ListBuildsParams) SetPackID

func (o *ListBuildsParams) SetPackID(packID string)

SetPackID adds the packId to the list builds params

func (*ListBuildsParams) SetTimeout

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

SetTimeout adds the timeout to the list builds params

func (*ListBuildsParams) WithContext

func (o *ListBuildsParams) WithContext(ctx context.Context) *ListBuildsParams

WithContext adds the context to the list builds params

func (*ListBuildsParams) WithDefaults

func (o *ListBuildsParams) WithDefaults() *ListBuildsParams

WithDefaults hydrates default values in the list builds params (not the query body).

All values with no default are reset to their zero value.

func (*ListBuildsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list builds params

func (*ListBuildsParams) WithPackID

func (o *ListBuildsParams) WithPackID(packID string) *ListBuildsParams

WithPackID adds the packID to the list builds params

func (*ListBuildsParams) WithTimeout

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

WithTimeout adds the timeout to the list builds params

func (*ListBuildsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListBuildsReader

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

ListBuildsReader is a Reader for the ListBuilds structure.

func (*ListBuildsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPackTeamsDefault

type ListPackTeamsDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListPackTeamsDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewListPackTeamsDefault

func NewListPackTeamsDefault(code int) *ListPackTeamsDefault

NewListPackTeamsDefault creates a ListPackTeamsDefault with default headers values

func (*ListPackTeamsDefault) Code

func (o *ListPackTeamsDefault) Code() int

Code gets the status code for the list pack teams default response

func (*ListPackTeamsDefault) Error

func (o *ListPackTeamsDefault) Error() string

func (*ListPackTeamsDefault) GetPayload

func (o *ListPackTeamsDefault) GetPayload() *models.GeneralError

func (*ListPackTeamsDefault) IsClientError

func (o *ListPackTeamsDefault) IsClientError() bool

IsClientError returns true when this list pack teams default response has a 4xx status code

func (*ListPackTeamsDefault) IsCode

func (o *ListPackTeamsDefault) IsCode(code int) bool

IsCode returns true when this list pack teams default response a status code equal to that given

func (*ListPackTeamsDefault) IsRedirect

func (o *ListPackTeamsDefault) IsRedirect() bool

IsRedirect returns true when this list pack teams default response has a 3xx status code

func (*ListPackTeamsDefault) IsServerError

func (o *ListPackTeamsDefault) IsServerError() bool

IsServerError returns true when this list pack teams default response has a 5xx status code

func (*ListPackTeamsDefault) IsSuccess

func (o *ListPackTeamsDefault) IsSuccess() bool

IsSuccess returns true when this list pack teams default response has a 2xx status code

func (*ListPackTeamsDefault) String

func (o *ListPackTeamsDefault) String() string

type ListPackTeamsForbidden

type ListPackTeamsForbidden struct {
	Payload *models.GeneralError
}

ListPackTeamsForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListPackTeamsForbidden

func NewListPackTeamsForbidden() *ListPackTeamsForbidden

NewListPackTeamsForbidden creates a ListPackTeamsForbidden with default headers values

func (*ListPackTeamsForbidden) Code

func (o *ListPackTeamsForbidden) Code() int

Code gets the status code for the list pack teams forbidden response

func (*ListPackTeamsForbidden) Error

func (o *ListPackTeamsForbidden) Error() string

func (*ListPackTeamsForbidden) GetPayload

func (o *ListPackTeamsForbidden) GetPayload() *models.GeneralError

func (*ListPackTeamsForbidden) IsClientError

func (o *ListPackTeamsForbidden) IsClientError() bool

IsClientError returns true when this list pack teams forbidden response has a 4xx status code

func (*ListPackTeamsForbidden) IsCode

func (o *ListPackTeamsForbidden) IsCode(code int) bool

IsCode returns true when this list pack teams forbidden response a status code equal to that given

func (*ListPackTeamsForbidden) IsRedirect

func (o *ListPackTeamsForbidden) IsRedirect() bool

IsRedirect returns true when this list pack teams forbidden response has a 3xx status code

func (*ListPackTeamsForbidden) IsServerError

func (o *ListPackTeamsForbidden) IsServerError() bool

IsServerError returns true when this list pack teams forbidden response has a 5xx status code

func (*ListPackTeamsForbidden) IsSuccess

func (o *ListPackTeamsForbidden) IsSuccess() bool

IsSuccess returns true when this list pack teams forbidden response has a 2xx status code

func (*ListPackTeamsForbidden) String

func (o *ListPackTeamsForbidden) String() string

type ListPackTeamsNotFound

type ListPackTeamsNotFound struct {
	Payload *models.GeneralError
}

ListPackTeamsNotFound describes a response with status code 404, with default header values.

Pack not found

func NewListPackTeamsNotFound

func NewListPackTeamsNotFound() *ListPackTeamsNotFound

NewListPackTeamsNotFound creates a ListPackTeamsNotFound with default headers values

func (*ListPackTeamsNotFound) Code

func (o *ListPackTeamsNotFound) Code() int

Code gets the status code for the list pack teams not found response

func (*ListPackTeamsNotFound) Error

func (o *ListPackTeamsNotFound) Error() string

func (*ListPackTeamsNotFound) GetPayload

func (o *ListPackTeamsNotFound) GetPayload() *models.GeneralError

func (*ListPackTeamsNotFound) IsClientError

func (o *ListPackTeamsNotFound) IsClientError() bool

IsClientError returns true when this list pack teams not found response has a 4xx status code

func (*ListPackTeamsNotFound) IsCode

func (o *ListPackTeamsNotFound) IsCode(code int) bool

IsCode returns true when this list pack teams not found response a status code equal to that given

func (*ListPackTeamsNotFound) IsRedirect

func (o *ListPackTeamsNotFound) IsRedirect() bool

IsRedirect returns true when this list pack teams not found response has a 3xx status code

func (*ListPackTeamsNotFound) IsServerError

func (o *ListPackTeamsNotFound) IsServerError() bool

IsServerError returns true when this list pack teams not found response has a 5xx status code

func (*ListPackTeamsNotFound) IsSuccess

func (o *ListPackTeamsNotFound) IsSuccess() bool

IsSuccess returns true when this list pack teams not found response has a 2xx status code

func (*ListPackTeamsNotFound) String

func (o *ListPackTeamsNotFound) String() string

type ListPackTeamsOK

type ListPackTeamsOK struct {
	Payload *models.PackTeams
}

ListPackTeamsOK describes a response with status code 200, with default header values.

A collection of pack teams

func NewListPackTeamsOK

func NewListPackTeamsOK() *ListPackTeamsOK

NewListPackTeamsOK creates a ListPackTeamsOK with default headers values

func (*ListPackTeamsOK) Code

func (o *ListPackTeamsOK) Code() int

Code gets the status code for the list pack teams o k response

func (*ListPackTeamsOK) Error

func (o *ListPackTeamsOK) Error() string

func (*ListPackTeamsOK) GetPayload

func (o *ListPackTeamsOK) GetPayload() *models.PackTeams

func (*ListPackTeamsOK) IsClientError

func (o *ListPackTeamsOK) IsClientError() bool

IsClientError returns true when this list pack teams o k response has a 4xx status code

func (*ListPackTeamsOK) IsCode

func (o *ListPackTeamsOK) IsCode(code int) bool

IsCode returns true when this list pack teams o k response a status code equal to that given

func (*ListPackTeamsOK) IsRedirect

func (o *ListPackTeamsOK) IsRedirect() bool

IsRedirect returns true when this list pack teams o k response has a 3xx status code

func (*ListPackTeamsOK) IsServerError

func (o *ListPackTeamsOK) IsServerError() bool

IsServerError returns true when this list pack teams o k response has a 5xx status code

func (*ListPackTeamsOK) IsSuccess

func (o *ListPackTeamsOK) IsSuccess() bool

IsSuccess returns true when this list pack teams o k response has a 2xx status code

func (*ListPackTeamsOK) String

func (o *ListPackTeamsOK) String() string

type ListPackTeamsParams

type ListPackTeamsParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

ListPackTeamsParams contains all the parameters to send to the API endpoint

for the list pack teams operation.

Typically these are written to a http.Request.

func NewListPackTeamsParams

func NewListPackTeamsParams() *ListPackTeamsParams

NewListPackTeamsParams creates a new ListPackTeamsParams 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 NewListPackTeamsParamsWithContext

func NewListPackTeamsParamsWithContext(ctx context.Context) *ListPackTeamsParams

NewListPackTeamsParamsWithContext creates a new ListPackTeamsParams object with the ability to set a context for a request.

func NewListPackTeamsParamsWithHTTPClient

func NewListPackTeamsParamsWithHTTPClient(client *http.Client) *ListPackTeamsParams

NewListPackTeamsParamsWithHTTPClient creates a new ListPackTeamsParams object with the ability to set a custom HTTPClient for a request.

func NewListPackTeamsParamsWithTimeout

func NewListPackTeamsParamsWithTimeout(timeout time.Duration) *ListPackTeamsParams

NewListPackTeamsParamsWithTimeout creates a new ListPackTeamsParams object with the ability to set a timeout on a request.

func (*ListPackTeamsParams) SetContext

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

SetContext adds the context to the list pack teams params

func (*ListPackTeamsParams) SetDefaults

func (o *ListPackTeamsParams) SetDefaults()

SetDefaults hydrates default values in the list pack teams params (not the query body).

All values with no default are reset to their zero value.

func (*ListPackTeamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list pack teams params

func (*ListPackTeamsParams) SetPackID

func (o *ListPackTeamsParams) SetPackID(packID string)

SetPackID adds the packId to the list pack teams params

func (*ListPackTeamsParams) SetTimeout

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

SetTimeout adds the timeout to the list pack teams params

func (*ListPackTeamsParams) WithContext

WithContext adds the context to the list pack teams params

func (*ListPackTeamsParams) WithDefaults

func (o *ListPackTeamsParams) WithDefaults() *ListPackTeamsParams

WithDefaults hydrates default values in the list pack teams params (not the query body).

All values with no default are reset to their zero value.

func (*ListPackTeamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list pack teams params

func (*ListPackTeamsParams) WithPackID

func (o *ListPackTeamsParams) WithPackID(packID string) *ListPackTeamsParams

WithPackID adds the packID to the list pack teams params

func (*ListPackTeamsParams) WithTimeout

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

WithTimeout adds the timeout to the list pack teams params

func (*ListPackTeamsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListPackTeamsReader

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

ListPackTeamsReader is a Reader for the ListPackTeams structure.

func (*ListPackTeamsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPackUsersDefault

type ListPackUsersDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListPackUsersDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewListPackUsersDefault

func NewListPackUsersDefault(code int) *ListPackUsersDefault

NewListPackUsersDefault creates a ListPackUsersDefault with default headers values

func (*ListPackUsersDefault) Code

func (o *ListPackUsersDefault) Code() int

Code gets the status code for the list pack users default response

func (*ListPackUsersDefault) Error

func (o *ListPackUsersDefault) Error() string

func (*ListPackUsersDefault) GetPayload

func (o *ListPackUsersDefault) GetPayload() *models.GeneralError

func (*ListPackUsersDefault) IsClientError

func (o *ListPackUsersDefault) IsClientError() bool

IsClientError returns true when this list pack users default response has a 4xx status code

func (*ListPackUsersDefault) IsCode

func (o *ListPackUsersDefault) IsCode(code int) bool

IsCode returns true when this list pack users default response a status code equal to that given

func (*ListPackUsersDefault) IsRedirect

func (o *ListPackUsersDefault) IsRedirect() bool

IsRedirect returns true when this list pack users default response has a 3xx status code

func (*ListPackUsersDefault) IsServerError

func (o *ListPackUsersDefault) IsServerError() bool

IsServerError returns true when this list pack users default response has a 5xx status code

func (*ListPackUsersDefault) IsSuccess

func (o *ListPackUsersDefault) IsSuccess() bool

IsSuccess returns true when this list pack users default response has a 2xx status code

func (*ListPackUsersDefault) String

func (o *ListPackUsersDefault) String() string

type ListPackUsersForbidden

type ListPackUsersForbidden struct {
	Payload *models.GeneralError
}

ListPackUsersForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListPackUsersForbidden

func NewListPackUsersForbidden() *ListPackUsersForbidden

NewListPackUsersForbidden creates a ListPackUsersForbidden with default headers values

func (*ListPackUsersForbidden) Code

func (o *ListPackUsersForbidden) Code() int

Code gets the status code for the list pack users forbidden response

func (*ListPackUsersForbidden) Error

func (o *ListPackUsersForbidden) Error() string

func (*ListPackUsersForbidden) GetPayload

func (o *ListPackUsersForbidden) GetPayload() *models.GeneralError

func (*ListPackUsersForbidden) IsClientError

func (o *ListPackUsersForbidden) IsClientError() bool

IsClientError returns true when this list pack users forbidden response has a 4xx status code

func (*ListPackUsersForbidden) IsCode

func (o *ListPackUsersForbidden) IsCode(code int) bool

IsCode returns true when this list pack users forbidden response a status code equal to that given

func (*ListPackUsersForbidden) IsRedirect

func (o *ListPackUsersForbidden) IsRedirect() bool

IsRedirect returns true when this list pack users forbidden response has a 3xx status code

func (*ListPackUsersForbidden) IsServerError

func (o *ListPackUsersForbidden) IsServerError() bool

IsServerError returns true when this list pack users forbidden response has a 5xx status code

func (*ListPackUsersForbidden) IsSuccess

func (o *ListPackUsersForbidden) IsSuccess() bool

IsSuccess returns true when this list pack users forbidden response has a 2xx status code

func (*ListPackUsersForbidden) String

func (o *ListPackUsersForbidden) String() string

type ListPackUsersNotFound

type ListPackUsersNotFound struct {
	Payload *models.GeneralError
}

ListPackUsersNotFound describes a response with status code 404, with default header values.

Pack not found

func NewListPackUsersNotFound

func NewListPackUsersNotFound() *ListPackUsersNotFound

NewListPackUsersNotFound creates a ListPackUsersNotFound with default headers values

func (*ListPackUsersNotFound) Code

func (o *ListPackUsersNotFound) Code() int

Code gets the status code for the list pack users not found response

func (*ListPackUsersNotFound) Error

func (o *ListPackUsersNotFound) Error() string

func (*ListPackUsersNotFound) GetPayload

func (o *ListPackUsersNotFound) GetPayload() *models.GeneralError

func (*ListPackUsersNotFound) IsClientError

func (o *ListPackUsersNotFound) IsClientError() bool

IsClientError returns true when this list pack users not found response has a 4xx status code

func (*ListPackUsersNotFound) IsCode

func (o *ListPackUsersNotFound) IsCode(code int) bool

IsCode returns true when this list pack users not found response a status code equal to that given

func (*ListPackUsersNotFound) IsRedirect

func (o *ListPackUsersNotFound) IsRedirect() bool

IsRedirect returns true when this list pack users not found response has a 3xx status code

func (*ListPackUsersNotFound) IsServerError

func (o *ListPackUsersNotFound) IsServerError() bool

IsServerError returns true when this list pack users not found response has a 5xx status code

func (*ListPackUsersNotFound) IsSuccess

func (o *ListPackUsersNotFound) IsSuccess() bool

IsSuccess returns true when this list pack users not found response has a 2xx status code

func (*ListPackUsersNotFound) String

func (o *ListPackUsersNotFound) String() string

type ListPackUsersOK

type ListPackUsersOK struct {
	Payload *models.PackUsers
}

ListPackUsersOK describes a response with status code 200, with default header values.

A collection of pack users

func NewListPackUsersOK

func NewListPackUsersOK() *ListPackUsersOK

NewListPackUsersOK creates a ListPackUsersOK with default headers values

func (*ListPackUsersOK) Code

func (o *ListPackUsersOK) Code() int

Code gets the status code for the list pack users o k response

func (*ListPackUsersOK) Error

func (o *ListPackUsersOK) Error() string

func (*ListPackUsersOK) GetPayload

func (o *ListPackUsersOK) GetPayload() *models.PackUsers

func (*ListPackUsersOK) IsClientError

func (o *ListPackUsersOK) IsClientError() bool

IsClientError returns true when this list pack users o k response has a 4xx status code

func (*ListPackUsersOK) IsCode

func (o *ListPackUsersOK) IsCode(code int) bool

IsCode returns true when this list pack users o k response a status code equal to that given

func (*ListPackUsersOK) IsRedirect

func (o *ListPackUsersOK) IsRedirect() bool

IsRedirect returns true when this list pack users o k response has a 3xx status code

func (*ListPackUsersOK) IsServerError

func (o *ListPackUsersOK) IsServerError() bool

IsServerError returns true when this list pack users o k response has a 5xx status code

func (*ListPackUsersOK) IsSuccess

func (o *ListPackUsersOK) IsSuccess() bool

IsSuccess returns true when this list pack users o k response has a 2xx status code

func (*ListPackUsersOK) String

func (o *ListPackUsersOK) String() string

type ListPackUsersParams

type ListPackUsersParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

ListPackUsersParams contains all the parameters to send to the API endpoint

for the list pack users operation.

Typically these are written to a http.Request.

func NewListPackUsersParams

func NewListPackUsersParams() *ListPackUsersParams

NewListPackUsersParams creates a new ListPackUsersParams 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 NewListPackUsersParamsWithContext

func NewListPackUsersParamsWithContext(ctx context.Context) *ListPackUsersParams

NewListPackUsersParamsWithContext creates a new ListPackUsersParams object with the ability to set a context for a request.

func NewListPackUsersParamsWithHTTPClient

func NewListPackUsersParamsWithHTTPClient(client *http.Client) *ListPackUsersParams

NewListPackUsersParamsWithHTTPClient creates a new ListPackUsersParams object with the ability to set a custom HTTPClient for a request.

func NewListPackUsersParamsWithTimeout

func NewListPackUsersParamsWithTimeout(timeout time.Duration) *ListPackUsersParams

NewListPackUsersParamsWithTimeout creates a new ListPackUsersParams object with the ability to set a timeout on a request.

func (*ListPackUsersParams) SetContext

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

SetContext adds the context to the list pack users params

func (*ListPackUsersParams) SetDefaults

func (o *ListPackUsersParams) SetDefaults()

SetDefaults hydrates default values in the list pack users params (not the query body).

All values with no default are reset to their zero value.

func (*ListPackUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list pack users params

func (*ListPackUsersParams) SetPackID

func (o *ListPackUsersParams) SetPackID(packID string)

SetPackID adds the packId to the list pack users params

func (*ListPackUsersParams) SetTimeout

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

SetTimeout adds the timeout to the list pack users params

func (*ListPackUsersParams) WithContext

WithContext adds the context to the list pack users params

func (*ListPackUsersParams) WithDefaults

func (o *ListPackUsersParams) WithDefaults() *ListPackUsersParams

WithDefaults hydrates default values in the list pack users params (not the query body).

All values with no default are reset to their zero value.

func (*ListPackUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list pack users params

func (*ListPackUsersParams) WithPackID

func (o *ListPackUsersParams) WithPackID(packID string) *ListPackUsersParams

WithPackID adds the packID to the list pack users params

func (*ListPackUsersParams) WithTimeout

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

WithTimeout adds the timeout to the list pack users params

func (*ListPackUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListPackUsersReader

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

ListPackUsersReader is a Reader for the ListPackUsers structure.

func (*ListPackUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPacksDefault

type ListPacksDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListPacksDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewListPacksDefault

func NewListPacksDefault(code int) *ListPacksDefault

NewListPacksDefault creates a ListPacksDefault with default headers values

func (*ListPacksDefault) Code

func (o *ListPacksDefault) Code() int

Code gets the status code for the list packs default response

func (*ListPacksDefault) Error

func (o *ListPacksDefault) Error() string

func (*ListPacksDefault) GetPayload

func (o *ListPacksDefault) GetPayload() *models.GeneralError

func (*ListPacksDefault) IsClientError

func (o *ListPacksDefault) IsClientError() bool

IsClientError returns true when this list packs default response has a 4xx status code

func (*ListPacksDefault) IsCode

func (o *ListPacksDefault) IsCode(code int) bool

IsCode returns true when this list packs default response a status code equal to that given

func (*ListPacksDefault) IsRedirect

func (o *ListPacksDefault) IsRedirect() bool

IsRedirect returns true when this list packs default response has a 3xx status code

func (*ListPacksDefault) IsServerError

func (o *ListPacksDefault) IsServerError() bool

IsServerError returns true when this list packs default response has a 5xx status code

func (*ListPacksDefault) IsSuccess

func (o *ListPacksDefault) IsSuccess() bool

IsSuccess returns true when this list packs default response has a 2xx status code

func (*ListPacksDefault) String

func (o *ListPacksDefault) String() string

type ListPacksForbidden

type ListPacksForbidden struct {
	Payload *models.GeneralError
}

ListPacksForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListPacksForbidden

func NewListPacksForbidden() *ListPacksForbidden

NewListPacksForbidden creates a ListPacksForbidden with default headers values

func (*ListPacksForbidden) Code

func (o *ListPacksForbidden) Code() int

Code gets the status code for the list packs forbidden response

func (*ListPacksForbidden) Error

func (o *ListPacksForbidden) Error() string

func (*ListPacksForbidden) GetPayload

func (o *ListPacksForbidden) GetPayload() *models.GeneralError

func (*ListPacksForbidden) IsClientError

func (o *ListPacksForbidden) IsClientError() bool

IsClientError returns true when this list packs forbidden response has a 4xx status code

func (*ListPacksForbidden) IsCode

func (o *ListPacksForbidden) IsCode(code int) bool

IsCode returns true when this list packs forbidden response a status code equal to that given

func (*ListPacksForbidden) IsRedirect

func (o *ListPacksForbidden) IsRedirect() bool

IsRedirect returns true when this list packs forbidden response has a 3xx status code

func (*ListPacksForbidden) IsServerError

func (o *ListPacksForbidden) IsServerError() bool

IsServerError returns true when this list packs forbidden response has a 5xx status code

func (*ListPacksForbidden) IsSuccess

func (o *ListPacksForbidden) IsSuccess() bool

IsSuccess returns true when this list packs forbidden response has a 2xx status code

func (*ListPacksForbidden) String

func (o *ListPacksForbidden) String() string

type ListPacksOK

type ListPacksOK struct {
	Payload *models.Packs
}

ListPacksOK describes a response with status code 200, with default header values.

A collection of packs

func NewListPacksOK

func NewListPacksOK() *ListPacksOK

NewListPacksOK creates a ListPacksOK with default headers values

func (*ListPacksOK) Code

func (o *ListPacksOK) Code() int

Code gets the status code for the list packs o k response

func (*ListPacksOK) Error

func (o *ListPacksOK) Error() string

func (*ListPacksOK) GetPayload

func (o *ListPacksOK) GetPayload() *models.Packs

func (*ListPacksOK) IsClientError

func (o *ListPacksOK) IsClientError() bool

IsClientError returns true when this list packs o k response has a 4xx status code

func (*ListPacksOK) IsCode

func (o *ListPacksOK) IsCode(code int) bool

IsCode returns true when this list packs o k response a status code equal to that given

func (*ListPacksOK) IsRedirect

func (o *ListPacksOK) IsRedirect() bool

IsRedirect returns true when this list packs o k response has a 3xx status code

func (*ListPacksOK) IsServerError

func (o *ListPacksOK) IsServerError() bool

IsServerError returns true when this list packs o k response has a 5xx status code

func (*ListPacksOK) IsSuccess

func (o *ListPacksOK) IsSuccess() bool

IsSuccess returns true when this list packs o k response has a 2xx status code

func (*ListPacksOK) String

func (o *ListPacksOK) String() string

type ListPacksParams

type ListPacksParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPacksParams contains all the parameters to send to the API endpoint

for the list packs operation.

Typically these are written to a http.Request.

func NewListPacksParams

func NewListPacksParams() *ListPacksParams

NewListPacksParams creates a new ListPacksParams 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 NewListPacksParamsWithContext

func NewListPacksParamsWithContext(ctx context.Context) *ListPacksParams

NewListPacksParamsWithContext creates a new ListPacksParams object with the ability to set a context for a request.

func NewListPacksParamsWithHTTPClient

func NewListPacksParamsWithHTTPClient(client *http.Client) *ListPacksParams

NewListPacksParamsWithHTTPClient creates a new ListPacksParams object with the ability to set a custom HTTPClient for a request.

func NewListPacksParamsWithTimeout

func NewListPacksParamsWithTimeout(timeout time.Duration) *ListPacksParams

NewListPacksParamsWithTimeout creates a new ListPacksParams object with the ability to set a timeout on a request.

func (*ListPacksParams) SetContext

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

SetContext adds the context to the list packs params

func (*ListPacksParams) SetDefaults

func (o *ListPacksParams) SetDefaults()

SetDefaults hydrates default values in the list packs params (not the query body).

All values with no default are reset to their zero value.

func (*ListPacksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list packs params

func (*ListPacksParams) SetTimeout

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

SetTimeout adds the timeout to the list packs params

func (*ListPacksParams) WithContext

func (o *ListPacksParams) WithContext(ctx context.Context) *ListPacksParams

WithContext adds the context to the list packs params

func (*ListPacksParams) WithDefaults

func (o *ListPacksParams) WithDefaults() *ListPacksParams

WithDefaults hydrates default values in the list packs params (not the query body).

All values with no default are reset to their zero value.

func (*ListPacksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list packs params

func (*ListPacksParams) WithTimeout

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

WithTimeout adds the timeout to the list packs params

func (*ListPacksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListPacksReader

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

ListPacksReader is a Reader for the ListPacks structure.

func (*ListPacksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitPackTeamDefault

type PermitPackTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

PermitPackTeamDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewPermitPackTeamDefault

func NewPermitPackTeamDefault(code int) *PermitPackTeamDefault

NewPermitPackTeamDefault creates a PermitPackTeamDefault with default headers values

func (*PermitPackTeamDefault) Code

func (o *PermitPackTeamDefault) Code() int

Code gets the status code for the permit pack team default response

func (*PermitPackTeamDefault) Error

func (o *PermitPackTeamDefault) Error() string

func (*PermitPackTeamDefault) GetPayload

func (o *PermitPackTeamDefault) GetPayload() *models.GeneralError

func (*PermitPackTeamDefault) IsClientError

func (o *PermitPackTeamDefault) IsClientError() bool

IsClientError returns true when this permit pack team default response has a 4xx status code

func (*PermitPackTeamDefault) IsCode

func (o *PermitPackTeamDefault) IsCode(code int) bool

IsCode returns true when this permit pack team default response a status code equal to that given

func (*PermitPackTeamDefault) IsRedirect

func (o *PermitPackTeamDefault) IsRedirect() bool

IsRedirect returns true when this permit pack team default response has a 3xx status code

func (*PermitPackTeamDefault) IsServerError

func (o *PermitPackTeamDefault) IsServerError() bool

IsServerError returns true when this permit pack team default response has a 5xx status code

func (*PermitPackTeamDefault) IsSuccess

func (o *PermitPackTeamDefault) IsSuccess() bool

IsSuccess returns true when this permit pack team default response has a 2xx status code

func (*PermitPackTeamDefault) String

func (o *PermitPackTeamDefault) String() string

type PermitPackTeamForbidden

type PermitPackTeamForbidden struct {
	Payload *models.GeneralError
}

PermitPackTeamForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewPermitPackTeamForbidden

func NewPermitPackTeamForbidden() *PermitPackTeamForbidden

NewPermitPackTeamForbidden creates a PermitPackTeamForbidden with default headers values

func (*PermitPackTeamForbidden) Code

func (o *PermitPackTeamForbidden) Code() int

Code gets the status code for the permit pack team forbidden response

func (*PermitPackTeamForbidden) Error

func (o *PermitPackTeamForbidden) Error() string

func (*PermitPackTeamForbidden) GetPayload

func (o *PermitPackTeamForbidden) GetPayload() *models.GeneralError

func (*PermitPackTeamForbidden) IsClientError

func (o *PermitPackTeamForbidden) IsClientError() bool

IsClientError returns true when this permit pack team forbidden response has a 4xx status code

func (*PermitPackTeamForbidden) IsCode

func (o *PermitPackTeamForbidden) IsCode(code int) bool

IsCode returns true when this permit pack team forbidden response a status code equal to that given

func (*PermitPackTeamForbidden) IsRedirect

func (o *PermitPackTeamForbidden) IsRedirect() bool

IsRedirect returns true when this permit pack team forbidden response has a 3xx status code

func (*PermitPackTeamForbidden) IsServerError

func (o *PermitPackTeamForbidden) IsServerError() bool

IsServerError returns true when this permit pack team forbidden response has a 5xx status code

func (*PermitPackTeamForbidden) IsSuccess

func (o *PermitPackTeamForbidden) IsSuccess() bool

IsSuccess returns true when this permit pack team forbidden response has a 2xx status code

func (*PermitPackTeamForbidden) String

func (o *PermitPackTeamForbidden) String() string

type PermitPackTeamNotFound

type PermitPackTeamNotFound struct {
	Payload *models.GeneralError
}

PermitPackTeamNotFound describes a response with status code 404, with default header values.

Pack or team not found

func NewPermitPackTeamNotFound

func NewPermitPackTeamNotFound() *PermitPackTeamNotFound

NewPermitPackTeamNotFound creates a PermitPackTeamNotFound with default headers values

func (*PermitPackTeamNotFound) Code

func (o *PermitPackTeamNotFound) Code() int

Code gets the status code for the permit pack team not found response

func (*PermitPackTeamNotFound) Error

func (o *PermitPackTeamNotFound) Error() string

func (*PermitPackTeamNotFound) GetPayload

func (o *PermitPackTeamNotFound) GetPayload() *models.GeneralError

func (*PermitPackTeamNotFound) IsClientError

func (o *PermitPackTeamNotFound) IsClientError() bool

IsClientError returns true when this permit pack team not found response has a 4xx status code

func (*PermitPackTeamNotFound) IsCode

func (o *PermitPackTeamNotFound) IsCode(code int) bool

IsCode returns true when this permit pack team not found response a status code equal to that given

func (*PermitPackTeamNotFound) IsRedirect

func (o *PermitPackTeamNotFound) IsRedirect() bool

IsRedirect returns true when this permit pack team not found response has a 3xx status code

func (*PermitPackTeamNotFound) IsServerError

func (o *PermitPackTeamNotFound) IsServerError() bool

IsServerError returns true when this permit pack team not found response has a 5xx status code

func (*PermitPackTeamNotFound) IsSuccess

func (o *PermitPackTeamNotFound) IsSuccess() bool

IsSuccess returns true when this permit pack team not found response has a 2xx status code

func (*PermitPackTeamNotFound) String

func (o *PermitPackTeamNotFound) String() string

type PermitPackTeamOK

type PermitPackTeamOK struct {
	Payload *models.GeneralError
}

PermitPackTeamOK describes a response with status code 200, with default header values.

Plain success message

func NewPermitPackTeamOK

func NewPermitPackTeamOK() *PermitPackTeamOK

NewPermitPackTeamOK creates a PermitPackTeamOK with default headers values

func (*PermitPackTeamOK) Code

func (o *PermitPackTeamOK) Code() int

Code gets the status code for the permit pack team o k response

func (*PermitPackTeamOK) Error

func (o *PermitPackTeamOK) Error() string

func (*PermitPackTeamOK) GetPayload

func (o *PermitPackTeamOK) GetPayload() *models.GeneralError

func (*PermitPackTeamOK) IsClientError

func (o *PermitPackTeamOK) IsClientError() bool

IsClientError returns true when this permit pack team o k response has a 4xx status code

func (*PermitPackTeamOK) IsCode

func (o *PermitPackTeamOK) IsCode(code int) bool

IsCode returns true when this permit pack team o k response a status code equal to that given

func (*PermitPackTeamOK) IsRedirect

func (o *PermitPackTeamOK) IsRedirect() bool

IsRedirect returns true when this permit pack team o k response has a 3xx status code

func (*PermitPackTeamOK) IsServerError

func (o *PermitPackTeamOK) IsServerError() bool

IsServerError returns true when this permit pack team o k response has a 5xx status code

func (*PermitPackTeamOK) IsSuccess

func (o *PermitPackTeamOK) IsSuccess() bool

IsSuccess returns true when this permit pack team o k response has a 2xx status code

func (*PermitPackTeamOK) String

func (o *PermitPackTeamOK) String() string

type PermitPackTeamParams

type PermitPackTeamParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

	/* PackTeam.

	   The pack team data to update
	*/
	PackTeam *models.PackTeamParams

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

PermitPackTeamParams contains all the parameters to send to the API endpoint

for the permit pack team operation.

Typically these are written to a http.Request.

func NewPermitPackTeamParams

func NewPermitPackTeamParams() *PermitPackTeamParams

NewPermitPackTeamParams creates a new PermitPackTeamParams 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 NewPermitPackTeamParamsWithContext

func NewPermitPackTeamParamsWithContext(ctx context.Context) *PermitPackTeamParams

NewPermitPackTeamParamsWithContext creates a new PermitPackTeamParams object with the ability to set a context for a request.

func NewPermitPackTeamParamsWithHTTPClient

func NewPermitPackTeamParamsWithHTTPClient(client *http.Client) *PermitPackTeamParams

NewPermitPackTeamParamsWithHTTPClient creates a new PermitPackTeamParams object with the ability to set a custom HTTPClient for a request.

func NewPermitPackTeamParamsWithTimeout

func NewPermitPackTeamParamsWithTimeout(timeout time.Duration) *PermitPackTeamParams

NewPermitPackTeamParamsWithTimeout creates a new PermitPackTeamParams object with the ability to set a timeout on a request.

func (*PermitPackTeamParams) SetContext

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

SetContext adds the context to the permit pack team params

func (*PermitPackTeamParams) SetDefaults

func (o *PermitPackTeamParams) SetDefaults()

SetDefaults hydrates default values in the permit pack team params (not the query body).

All values with no default are reset to their zero value.

func (*PermitPackTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the permit pack team params

func (*PermitPackTeamParams) SetPackID

func (o *PermitPackTeamParams) SetPackID(packID string)

SetPackID adds the packId to the permit pack team params

func (*PermitPackTeamParams) SetPackTeam

func (o *PermitPackTeamParams) SetPackTeam(packTeam *models.PackTeamParams)

SetPackTeam adds the packTeam to the permit pack team params

func (*PermitPackTeamParams) SetTimeout

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

SetTimeout adds the timeout to the permit pack team params

func (*PermitPackTeamParams) WithContext

WithContext adds the context to the permit pack team params

func (*PermitPackTeamParams) WithDefaults

func (o *PermitPackTeamParams) WithDefaults() *PermitPackTeamParams

WithDefaults hydrates default values in the permit pack team params (not the query body).

All values with no default are reset to their zero value.

func (*PermitPackTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the permit pack team params

func (*PermitPackTeamParams) WithPackID

func (o *PermitPackTeamParams) WithPackID(packID string) *PermitPackTeamParams

WithPackID adds the packID to the permit pack team params

func (*PermitPackTeamParams) WithPackTeam

func (o *PermitPackTeamParams) WithPackTeam(packTeam *models.PackTeamParams) *PermitPackTeamParams

WithPackTeam adds the packTeam to the permit pack team params

func (*PermitPackTeamParams) WithTimeout

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

WithTimeout adds the timeout to the permit pack team params

func (*PermitPackTeamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PermitPackTeamPreconditionFailed

type PermitPackTeamPreconditionFailed struct {
	Payload *models.GeneralError
}

PermitPackTeamPreconditionFailed describes a response with status code 412, with default header values.

Team is not attached

func NewPermitPackTeamPreconditionFailed

func NewPermitPackTeamPreconditionFailed() *PermitPackTeamPreconditionFailed

NewPermitPackTeamPreconditionFailed creates a PermitPackTeamPreconditionFailed with default headers values

func (*PermitPackTeamPreconditionFailed) Code

Code gets the status code for the permit pack team precondition failed response

func (*PermitPackTeamPreconditionFailed) Error

func (*PermitPackTeamPreconditionFailed) GetPayload

func (*PermitPackTeamPreconditionFailed) IsClientError

func (o *PermitPackTeamPreconditionFailed) IsClientError() bool

IsClientError returns true when this permit pack team precondition failed response has a 4xx status code

func (*PermitPackTeamPreconditionFailed) IsCode

func (o *PermitPackTeamPreconditionFailed) IsCode(code int) bool

IsCode returns true when this permit pack team precondition failed response a status code equal to that given

func (*PermitPackTeamPreconditionFailed) IsRedirect

func (o *PermitPackTeamPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this permit pack team precondition failed response has a 3xx status code

func (*PermitPackTeamPreconditionFailed) IsServerError

func (o *PermitPackTeamPreconditionFailed) IsServerError() bool

IsServerError returns true when this permit pack team precondition failed response has a 5xx status code

func (*PermitPackTeamPreconditionFailed) IsSuccess

func (o *PermitPackTeamPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this permit pack team precondition failed response has a 2xx status code

func (*PermitPackTeamPreconditionFailed) String

type PermitPackTeamReader

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

PermitPackTeamReader is a Reader for the PermitPackTeam structure.

func (*PermitPackTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitPackTeamUnprocessableEntity

type PermitPackTeamUnprocessableEntity struct {
	Payload *models.ValidationError
}

PermitPackTeamUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewPermitPackTeamUnprocessableEntity

func NewPermitPackTeamUnprocessableEntity() *PermitPackTeamUnprocessableEntity

NewPermitPackTeamUnprocessableEntity creates a PermitPackTeamUnprocessableEntity with default headers values

func (*PermitPackTeamUnprocessableEntity) Code

Code gets the status code for the permit pack team unprocessable entity response

func (*PermitPackTeamUnprocessableEntity) Error

func (*PermitPackTeamUnprocessableEntity) GetPayload

func (*PermitPackTeamUnprocessableEntity) IsClientError

func (o *PermitPackTeamUnprocessableEntity) IsClientError() bool

IsClientError returns true when this permit pack team unprocessable entity response has a 4xx status code

func (*PermitPackTeamUnprocessableEntity) IsCode

func (o *PermitPackTeamUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this permit pack team unprocessable entity response a status code equal to that given

func (*PermitPackTeamUnprocessableEntity) IsRedirect

func (o *PermitPackTeamUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this permit pack team unprocessable entity response has a 3xx status code

func (*PermitPackTeamUnprocessableEntity) IsServerError

func (o *PermitPackTeamUnprocessableEntity) IsServerError() bool

IsServerError returns true when this permit pack team unprocessable entity response has a 5xx status code

func (*PermitPackTeamUnprocessableEntity) IsSuccess

func (o *PermitPackTeamUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this permit pack team unprocessable entity response has a 2xx status code

func (*PermitPackTeamUnprocessableEntity) String

type PermitPackUserDefault

type PermitPackUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

PermitPackUserDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewPermitPackUserDefault

func NewPermitPackUserDefault(code int) *PermitPackUserDefault

NewPermitPackUserDefault creates a PermitPackUserDefault with default headers values

func (*PermitPackUserDefault) Code

func (o *PermitPackUserDefault) Code() int

Code gets the status code for the permit pack user default response

func (*PermitPackUserDefault) Error

func (o *PermitPackUserDefault) Error() string

func (*PermitPackUserDefault) GetPayload

func (o *PermitPackUserDefault) GetPayload() *models.GeneralError

func (*PermitPackUserDefault) IsClientError

func (o *PermitPackUserDefault) IsClientError() bool

IsClientError returns true when this permit pack user default response has a 4xx status code

func (*PermitPackUserDefault) IsCode

func (o *PermitPackUserDefault) IsCode(code int) bool

IsCode returns true when this permit pack user default response a status code equal to that given

func (*PermitPackUserDefault) IsRedirect

func (o *PermitPackUserDefault) IsRedirect() bool

IsRedirect returns true when this permit pack user default response has a 3xx status code

func (*PermitPackUserDefault) IsServerError

func (o *PermitPackUserDefault) IsServerError() bool

IsServerError returns true when this permit pack user default response has a 5xx status code

func (*PermitPackUserDefault) IsSuccess

func (o *PermitPackUserDefault) IsSuccess() bool

IsSuccess returns true when this permit pack user default response has a 2xx status code

func (*PermitPackUserDefault) String

func (o *PermitPackUserDefault) String() string

type PermitPackUserForbidden

type PermitPackUserForbidden struct {
	Payload *models.GeneralError
}

PermitPackUserForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewPermitPackUserForbidden

func NewPermitPackUserForbidden() *PermitPackUserForbidden

NewPermitPackUserForbidden creates a PermitPackUserForbidden with default headers values

func (*PermitPackUserForbidden) Code

func (o *PermitPackUserForbidden) Code() int

Code gets the status code for the permit pack user forbidden response

func (*PermitPackUserForbidden) Error

func (o *PermitPackUserForbidden) Error() string

func (*PermitPackUserForbidden) GetPayload

func (o *PermitPackUserForbidden) GetPayload() *models.GeneralError

func (*PermitPackUserForbidden) IsClientError

func (o *PermitPackUserForbidden) IsClientError() bool

IsClientError returns true when this permit pack user forbidden response has a 4xx status code

func (*PermitPackUserForbidden) IsCode

func (o *PermitPackUserForbidden) IsCode(code int) bool

IsCode returns true when this permit pack user forbidden response a status code equal to that given

func (*PermitPackUserForbidden) IsRedirect

func (o *PermitPackUserForbidden) IsRedirect() bool

IsRedirect returns true when this permit pack user forbidden response has a 3xx status code

func (*PermitPackUserForbidden) IsServerError

func (o *PermitPackUserForbidden) IsServerError() bool

IsServerError returns true when this permit pack user forbidden response has a 5xx status code

func (*PermitPackUserForbidden) IsSuccess

func (o *PermitPackUserForbidden) IsSuccess() bool

IsSuccess returns true when this permit pack user forbidden response has a 2xx status code

func (*PermitPackUserForbidden) String

func (o *PermitPackUserForbidden) String() string

type PermitPackUserNotFound

type PermitPackUserNotFound struct {
	Payload *models.GeneralError
}

PermitPackUserNotFound describes a response with status code 404, with default header values.

Pack or user not found

func NewPermitPackUserNotFound

func NewPermitPackUserNotFound() *PermitPackUserNotFound

NewPermitPackUserNotFound creates a PermitPackUserNotFound with default headers values

func (*PermitPackUserNotFound) Code

func (o *PermitPackUserNotFound) Code() int

Code gets the status code for the permit pack user not found response

func (*PermitPackUserNotFound) Error

func (o *PermitPackUserNotFound) Error() string

func (*PermitPackUserNotFound) GetPayload

func (o *PermitPackUserNotFound) GetPayload() *models.GeneralError

func (*PermitPackUserNotFound) IsClientError

func (o *PermitPackUserNotFound) IsClientError() bool

IsClientError returns true when this permit pack user not found response has a 4xx status code

func (*PermitPackUserNotFound) IsCode

func (o *PermitPackUserNotFound) IsCode(code int) bool

IsCode returns true when this permit pack user not found response a status code equal to that given

func (*PermitPackUserNotFound) IsRedirect

func (o *PermitPackUserNotFound) IsRedirect() bool

IsRedirect returns true when this permit pack user not found response has a 3xx status code

func (*PermitPackUserNotFound) IsServerError

func (o *PermitPackUserNotFound) IsServerError() bool

IsServerError returns true when this permit pack user not found response has a 5xx status code

func (*PermitPackUserNotFound) IsSuccess

func (o *PermitPackUserNotFound) IsSuccess() bool

IsSuccess returns true when this permit pack user not found response has a 2xx status code

func (*PermitPackUserNotFound) String

func (o *PermitPackUserNotFound) String() string

type PermitPackUserOK

type PermitPackUserOK struct {
	Payload *models.GeneralError
}

PermitPackUserOK describes a response with status code 200, with default header values.

Plain success message

func NewPermitPackUserOK

func NewPermitPackUserOK() *PermitPackUserOK

NewPermitPackUserOK creates a PermitPackUserOK with default headers values

func (*PermitPackUserOK) Code

func (o *PermitPackUserOK) Code() int

Code gets the status code for the permit pack user o k response

func (*PermitPackUserOK) Error

func (o *PermitPackUserOK) Error() string

func (*PermitPackUserOK) GetPayload

func (o *PermitPackUserOK) GetPayload() *models.GeneralError

func (*PermitPackUserOK) IsClientError

func (o *PermitPackUserOK) IsClientError() bool

IsClientError returns true when this permit pack user o k response has a 4xx status code

func (*PermitPackUserOK) IsCode

func (o *PermitPackUserOK) IsCode(code int) bool

IsCode returns true when this permit pack user o k response a status code equal to that given

func (*PermitPackUserOK) IsRedirect

func (o *PermitPackUserOK) IsRedirect() bool

IsRedirect returns true when this permit pack user o k response has a 3xx status code

func (*PermitPackUserOK) IsServerError

func (o *PermitPackUserOK) IsServerError() bool

IsServerError returns true when this permit pack user o k response has a 5xx status code

func (*PermitPackUserOK) IsSuccess

func (o *PermitPackUserOK) IsSuccess() bool

IsSuccess returns true when this permit pack user o k response has a 2xx status code

func (*PermitPackUserOK) String

func (o *PermitPackUserOK) String() string

type PermitPackUserParams

type PermitPackUserParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

	/* PackUser.

	   The pack user data to update
	*/
	PackUser *models.PackUserParams

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

PermitPackUserParams contains all the parameters to send to the API endpoint

for the permit pack user operation.

Typically these are written to a http.Request.

func NewPermitPackUserParams

func NewPermitPackUserParams() *PermitPackUserParams

NewPermitPackUserParams creates a new PermitPackUserParams 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 NewPermitPackUserParamsWithContext

func NewPermitPackUserParamsWithContext(ctx context.Context) *PermitPackUserParams

NewPermitPackUserParamsWithContext creates a new PermitPackUserParams object with the ability to set a context for a request.

func NewPermitPackUserParamsWithHTTPClient

func NewPermitPackUserParamsWithHTTPClient(client *http.Client) *PermitPackUserParams

NewPermitPackUserParamsWithHTTPClient creates a new PermitPackUserParams object with the ability to set a custom HTTPClient for a request.

func NewPermitPackUserParamsWithTimeout

func NewPermitPackUserParamsWithTimeout(timeout time.Duration) *PermitPackUserParams

NewPermitPackUserParamsWithTimeout creates a new PermitPackUserParams object with the ability to set a timeout on a request.

func (*PermitPackUserParams) SetContext

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

SetContext adds the context to the permit pack user params

func (*PermitPackUserParams) SetDefaults

func (o *PermitPackUserParams) SetDefaults()

SetDefaults hydrates default values in the permit pack user params (not the query body).

All values with no default are reset to their zero value.

func (*PermitPackUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the permit pack user params

func (*PermitPackUserParams) SetPackID

func (o *PermitPackUserParams) SetPackID(packID string)

SetPackID adds the packId to the permit pack user params

func (*PermitPackUserParams) SetPackUser

func (o *PermitPackUserParams) SetPackUser(packUser *models.PackUserParams)

SetPackUser adds the packUser to the permit pack user params

func (*PermitPackUserParams) SetTimeout

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

SetTimeout adds the timeout to the permit pack user params

func (*PermitPackUserParams) WithContext

WithContext adds the context to the permit pack user params

func (*PermitPackUserParams) WithDefaults

func (o *PermitPackUserParams) WithDefaults() *PermitPackUserParams

WithDefaults hydrates default values in the permit pack user params (not the query body).

All values with no default are reset to their zero value.

func (*PermitPackUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the permit pack user params

func (*PermitPackUserParams) WithPackID

func (o *PermitPackUserParams) WithPackID(packID string) *PermitPackUserParams

WithPackID adds the packID to the permit pack user params

func (*PermitPackUserParams) WithPackUser

func (o *PermitPackUserParams) WithPackUser(packUser *models.PackUserParams) *PermitPackUserParams

WithPackUser adds the packUser to the permit pack user params

func (*PermitPackUserParams) WithTimeout

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

WithTimeout adds the timeout to the permit pack user params

func (*PermitPackUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PermitPackUserPreconditionFailed

type PermitPackUserPreconditionFailed struct {
	Payload *models.GeneralError
}

PermitPackUserPreconditionFailed describes a response with status code 412, with default header values.

User is not attached

func NewPermitPackUserPreconditionFailed

func NewPermitPackUserPreconditionFailed() *PermitPackUserPreconditionFailed

NewPermitPackUserPreconditionFailed creates a PermitPackUserPreconditionFailed with default headers values

func (*PermitPackUserPreconditionFailed) Code

Code gets the status code for the permit pack user precondition failed response

func (*PermitPackUserPreconditionFailed) Error

func (*PermitPackUserPreconditionFailed) GetPayload

func (*PermitPackUserPreconditionFailed) IsClientError

func (o *PermitPackUserPreconditionFailed) IsClientError() bool

IsClientError returns true when this permit pack user precondition failed response has a 4xx status code

func (*PermitPackUserPreconditionFailed) IsCode

func (o *PermitPackUserPreconditionFailed) IsCode(code int) bool

IsCode returns true when this permit pack user precondition failed response a status code equal to that given

func (*PermitPackUserPreconditionFailed) IsRedirect

func (o *PermitPackUserPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this permit pack user precondition failed response has a 3xx status code

func (*PermitPackUserPreconditionFailed) IsServerError

func (o *PermitPackUserPreconditionFailed) IsServerError() bool

IsServerError returns true when this permit pack user precondition failed response has a 5xx status code

func (*PermitPackUserPreconditionFailed) IsSuccess

func (o *PermitPackUserPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this permit pack user precondition failed response has a 2xx status code

func (*PermitPackUserPreconditionFailed) String

type PermitPackUserReader

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

PermitPackUserReader is a Reader for the PermitPackUser structure.

func (*PermitPackUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitPackUserUnprocessableEntity

type PermitPackUserUnprocessableEntity struct {
	Payload *models.ValidationError
}

PermitPackUserUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewPermitPackUserUnprocessableEntity

func NewPermitPackUserUnprocessableEntity() *PermitPackUserUnprocessableEntity

NewPermitPackUserUnprocessableEntity creates a PermitPackUserUnprocessableEntity with default headers values

func (*PermitPackUserUnprocessableEntity) Code

Code gets the status code for the permit pack user unprocessable entity response

func (*PermitPackUserUnprocessableEntity) Error

func (*PermitPackUserUnprocessableEntity) GetPayload

func (*PermitPackUserUnprocessableEntity) IsClientError

func (o *PermitPackUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this permit pack user unprocessable entity response has a 4xx status code

func (*PermitPackUserUnprocessableEntity) IsCode

func (o *PermitPackUserUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this permit pack user unprocessable entity response a status code equal to that given

func (*PermitPackUserUnprocessableEntity) IsRedirect

func (o *PermitPackUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this permit pack user unprocessable entity response has a 3xx status code

func (*PermitPackUserUnprocessableEntity) IsServerError

func (o *PermitPackUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this permit pack user unprocessable entity response has a 5xx status code

func (*PermitPackUserUnprocessableEntity) IsSuccess

func (o *PermitPackUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this permit pack user unprocessable entity response has a 2xx status code

func (*PermitPackUserUnprocessableEntity) String

type ShowBuildDefault

type ShowBuildDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ShowBuildDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewShowBuildDefault

func NewShowBuildDefault(code int) *ShowBuildDefault

NewShowBuildDefault creates a ShowBuildDefault with default headers values

func (*ShowBuildDefault) Code

func (o *ShowBuildDefault) Code() int

Code gets the status code for the show build default response

func (*ShowBuildDefault) Error

func (o *ShowBuildDefault) Error() string

func (*ShowBuildDefault) GetPayload

func (o *ShowBuildDefault) GetPayload() *models.GeneralError

func (*ShowBuildDefault) IsClientError

func (o *ShowBuildDefault) IsClientError() bool

IsClientError returns true when this show build default response has a 4xx status code

func (*ShowBuildDefault) IsCode

func (o *ShowBuildDefault) IsCode(code int) bool

IsCode returns true when this show build default response a status code equal to that given

func (*ShowBuildDefault) IsRedirect

func (o *ShowBuildDefault) IsRedirect() bool

IsRedirect returns true when this show build default response has a 3xx status code

func (*ShowBuildDefault) IsServerError

func (o *ShowBuildDefault) IsServerError() bool

IsServerError returns true when this show build default response has a 5xx status code

func (*ShowBuildDefault) IsSuccess

func (o *ShowBuildDefault) IsSuccess() bool

IsSuccess returns true when this show build default response has a 2xx status code

func (*ShowBuildDefault) String

func (o *ShowBuildDefault) String() string

type ShowBuildForbidden

type ShowBuildForbidden struct {
	Payload *models.GeneralError
}

ShowBuildForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewShowBuildForbidden

func NewShowBuildForbidden() *ShowBuildForbidden

NewShowBuildForbidden creates a ShowBuildForbidden with default headers values

func (*ShowBuildForbidden) Code

func (o *ShowBuildForbidden) Code() int

Code gets the status code for the show build forbidden response

func (*ShowBuildForbidden) Error

func (o *ShowBuildForbidden) Error() string

func (*ShowBuildForbidden) GetPayload

func (o *ShowBuildForbidden) GetPayload() *models.GeneralError

func (*ShowBuildForbidden) IsClientError

func (o *ShowBuildForbidden) IsClientError() bool

IsClientError returns true when this show build forbidden response has a 4xx status code

func (*ShowBuildForbidden) IsCode

func (o *ShowBuildForbidden) IsCode(code int) bool

IsCode returns true when this show build forbidden response a status code equal to that given

func (*ShowBuildForbidden) IsRedirect

func (o *ShowBuildForbidden) IsRedirect() bool

IsRedirect returns true when this show build forbidden response has a 3xx status code

func (*ShowBuildForbidden) IsServerError

func (o *ShowBuildForbidden) IsServerError() bool

IsServerError returns true when this show build forbidden response has a 5xx status code

func (*ShowBuildForbidden) IsSuccess

func (o *ShowBuildForbidden) IsSuccess() bool

IsSuccess returns true when this show build forbidden response has a 2xx status code

func (*ShowBuildForbidden) String

func (o *ShowBuildForbidden) String() string

type ShowBuildNotFound

type ShowBuildNotFound struct {
	Payload *models.GeneralError
}

ShowBuildNotFound describes a response with status code 404, with default header values.

Build or pack not found

func NewShowBuildNotFound

func NewShowBuildNotFound() *ShowBuildNotFound

NewShowBuildNotFound creates a ShowBuildNotFound with default headers values

func (*ShowBuildNotFound) Code

func (o *ShowBuildNotFound) Code() int

Code gets the status code for the show build not found response

func (*ShowBuildNotFound) Error

func (o *ShowBuildNotFound) Error() string

func (*ShowBuildNotFound) GetPayload

func (o *ShowBuildNotFound) GetPayload() *models.GeneralError

func (*ShowBuildNotFound) IsClientError

func (o *ShowBuildNotFound) IsClientError() bool

IsClientError returns true when this show build not found response has a 4xx status code

func (*ShowBuildNotFound) IsCode

func (o *ShowBuildNotFound) IsCode(code int) bool

IsCode returns true when this show build not found response a status code equal to that given

func (*ShowBuildNotFound) IsRedirect

func (o *ShowBuildNotFound) IsRedirect() bool

IsRedirect returns true when this show build not found response has a 3xx status code

func (*ShowBuildNotFound) IsServerError

func (o *ShowBuildNotFound) IsServerError() bool

IsServerError returns true when this show build not found response has a 5xx status code

func (*ShowBuildNotFound) IsSuccess

func (o *ShowBuildNotFound) IsSuccess() bool

IsSuccess returns true when this show build not found response has a 2xx status code

func (*ShowBuildNotFound) String

func (o *ShowBuildNotFound) String() string

type ShowBuildOK

type ShowBuildOK struct {
	Payload *models.Build
}

ShowBuildOK describes a response with status code 200, with default header values.

The fetched build details

func NewShowBuildOK

func NewShowBuildOK() *ShowBuildOK

NewShowBuildOK creates a ShowBuildOK with default headers values

func (*ShowBuildOK) Code

func (o *ShowBuildOK) Code() int

Code gets the status code for the show build o k response

func (*ShowBuildOK) Error

func (o *ShowBuildOK) Error() string

func (*ShowBuildOK) GetPayload

func (o *ShowBuildOK) GetPayload() *models.Build

func (*ShowBuildOK) IsClientError

func (o *ShowBuildOK) IsClientError() bool

IsClientError returns true when this show build o k response has a 4xx status code

func (*ShowBuildOK) IsCode

func (o *ShowBuildOK) IsCode(code int) bool

IsCode returns true when this show build o k response a status code equal to that given

func (*ShowBuildOK) IsRedirect

func (o *ShowBuildOK) IsRedirect() bool

IsRedirect returns true when this show build o k response has a 3xx status code

func (*ShowBuildOK) IsServerError

func (o *ShowBuildOK) IsServerError() bool

IsServerError returns true when this show build o k response has a 5xx status code

func (*ShowBuildOK) IsSuccess

func (o *ShowBuildOK) IsSuccess() bool

IsSuccess returns true when this show build o k response has a 2xx status code

func (*ShowBuildOK) String

func (o *ShowBuildOK) String() string

type ShowBuildParams

type ShowBuildParams struct {

	/* BuildID.

	   A build UUID or slug
	*/
	BuildID string

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

ShowBuildParams contains all the parameters to send to the API endpoint

for the show build operation.

Typically these are written to a http.Request.

func NewShowBuildParams

func NewShowBuildParams() *ShowBuildParams

NewShowBuildParams creates a new ShowBuildParams 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 NewShowBuildParamsWithContext

func NewShowBuildParamsWithContext(ctx context.Context) *ShowBuildParams

NewShowBuildParamsWithContext creates a new ShowBuildParams object with the ability to set a context for a request.

func NewShowBuildParamsWithHTTPClient

func NewShowBuildParamsWithHTTPClient(client *http.Client) *ShowBuildParams

NewShowBuildParamsWithHTTPClient creates a new ShowBuildParams object with the ability to set a custom HTTPClient for a request.

func NewShowBuildParamsWithTimeout

func NewShowBuildParamsWithTimeout(timeout time.Duration) *ShowBuildParams

NewShowBuildParamsWithTimeout creates a new ShowBuildParams object with the ability to set a timeout on a request.

func (*ShowBuildParams) SetBuildID

func (o *ShowBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the show build params

func (*ShowBuildParams) SetContext

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

SetContext adds the context to the show build params

func (*ShowBuildParams) SetDefaults

func (o *ShowBuildParams) SetDefaults()

SetDefaults hydrates default values in the show build params (not the query body).

All values with no default are reset to their zero value.

func (*ShowBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the show build params

func (*ShowBuildParams) SetPackID

func (o *ShowBuildParams) SetPackID(packID string)

SetPackID adds the packId to the show build params

func (*ShowBuildParams) SetTimeout

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

SetTimeout adds the timeout to the show build params

func (*ShowBuildParams) WithBuildID

func (o *ShowBuildParams) WithBuildID(buildID string) *ShowBuildParams

WithBuildID adds the buildID to the show build params

func (*ShowBuildParams) WithContext

func (o *ShowBuildParams) WithContext(ctx context.Context) *ShowBuildParams

WithContext adds the context to the show build params

func (*ShowBuildParams) WithDefaults

func (o *ShowBuildParams) WithDefaults() *ShowBuildParams

WithDefaults hydrates default values in the show build params (not the query body).

All values with no default are reset to their zero value.

func (*ShowBuildParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the show build params

func (*ShowBuildParams) WithPackID

func (o *ShowBuildParams) WithPackID(packID string) *ShowBuildParams

WithPackID adds the packID to the show build params

func (*ShowBuildParams) WithTimeout

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

WithTimeout adds the timeout to the show build params

func (*ShowBuildParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ShowBuildReader

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

ShowBuildReader is a Reader for the ShowBuild structure.

func (*ShowBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ShowPackDefault

type ShowPackDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ShowPackDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewShowPackDefault

func NewShowPackDefault(code int) *ShowPackDefault

NewShowPackDefault creates a ShowPackDefault with default headers values

func (*ShowPackDefault) Code

func (o *ShowPackDefault) Code() int

Code gets the status code for the show pack default response

func (*ShowPackDefault) Error

func (o *ShowPackDefault) Error() string

func (*ShowPackDefault) GetPayload

func (o *ShowPackDefault) GetPayload() *models.GeneralError

func (*ShowPackDefault) IsClientError

func (o *ShowPackDefault) IsClientError() bool

IsClientError returns true when this show pack default response has a 4xx status code

func (*ShowPackDefault) IsCode

func (o *ShowPackDefault) IsCode(code int) bool

IsCode returns true when this show pack default response a status code equal to that given

func (*ShowPackDefault) IsRedirect

func (o *ShowPackDefault) IsRedirect() bool

IsRedirect returns true when this show pack default response has a 3xx status code

func (*ShowPackDefault) IsServerError

func (o *ShowPackDefault) IsServerError() bool

IsServerError returns true when this show pack default response has a 5xx status code

func (*ShowPackDefault) IsSuccess

func (o *ShowPackDefault) IsSuccess() bool

IsSuccess returns true when this show pack default response has a 2xx status code

func (*ShowPackDefault) String

func (o *ShowPackDefault) String() string

type ShowPackForbidden

type ShowPackForbidden struct {
	Payload *models.GeneralError
}

ShowPackForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewShowPackForbidden

func NewShowPackForbidden() *ShowPackForbidden

NewShowPackForbidden creates a ShowPackForbidden with default headers values

func (*ShowPackForbidden) Code

func (o *ShowPackForbidden) Code() int

Code gets the status code for the show pack forbidden response

func (*ShowPackForbidden) Error

func (o *ShowPackForbidden) Error() string

func (*ShowPackForbidden) GetPayload

func (o *ShowPackForbidden) GetPayload() *models.GeneralError

func (*ShowPackForbidden) IsClientError

func (o *ShowPackForbidden) IsClientError() bool

IsClientError returns true when this show pack forbidden response has a 4xx status code

func (*ShowPackForbidden) IsCode

func (o *ShowPackForbidden) IsCode(code int) bool

IsCode returns true when this show pack forbidden response a status code equal to that given

func (*ShowPackForbidden) IsRedirect

func (o *ShowPackForbidden) IsRedirect() bool

IsRedirect returns true when this show pack forbidden response has a 3xx status code

func (*ShowPackForbidden) IsServerError

func (o *ShowPackForbidden) IsServerError() bool

IsServerError returns true when this show pack forbidden response has a 5xx status code

func (*ShowPackForbidden) IsSuccess

func (o *ShowPackForbidden) IsSuccess() bool

IsSuccess returns true when this show pack forbidden response has a 2xx status code

func (*ShowPackForbidden) String

func (o *ShowPackForbidden) String() string

type ShowPackNotFound

type ShowPackNotFound struct {
	Payload *models.GeneralError
}

ShowPackNotFound describes a response with status code 404, with default header values.

Pack not found

func NewShowPackNotFound

func NewShowPackNotFound() *ShowPackNotFound

NewShowPackNotFound creates a ShowPackNotFound with default headers values

func (*ShowPackNotFound) Code

func (o *ShowPackNotFound) Code() int

Code gets the status code for the show pack not found response

func (*ShowPackNotFound) Error

func (o *ShowPackNotFound) Error() string

func (*ShowPackNotFound) GetPayload

func (o *ShowPackNotFound) GetPayload() *models.GeneralError

func (*ShowPackNotFound) IsClientError

func (o *ShowPackNotFound) IsClientError() bool

IsClientError returns true when this show pack not found response has a 4xx status code

func (*ShowPackNotFound) IsCode

func (o *ShowPackNotFound) IsCode(code int) bool

IsCode returns true when this show pack not found response a status code equal to that given

func (*ShowPackNotFound) IsRedirect

func (o *ShowPackNotFound) IsRedirect() bool

IsRedirect returns true when this show pack not found response has a 3xx status code

func (*ShowPackNotFound) IsServerError

func (o *ShowPackNotFound) IsServerError() bool

IsServerError returns true when this show pack not found response has a 5xx status code

func (*ShowPackNotFound) IsSuccess

func (o *ShowPackNotFound) IsSuccess() bool

IsSuccess returns true when this show pack not found response has a 2xx status code

func (*ShowPackNotFound) String

func (o *ShowPackNotFound) String() string

type ShowPackOK

type ShowPackOK struct {
	Payload *models.Pack
}

ShowPackOK describes a response with status code 200, with default header values.

The fetched pack details

func NewShowPackOK

func NewShowPackOK() *ShowPackOK

NewShowPackOK creates a ShowPackOK with default headers values

func (*ShowPackOK) Code

func (o *ShowPackOK) Code() int

Code gets the status code for the show pack o k response

func (*ShowPackOK) Error

func (o *ShowPackOK) Error() string

func (*ShowPackOK) GetPayload

func (o *ShowPackOK) GetPayload() *models.Pack

func (*ShowPackOK) IsClientError

func (o *ShowPackOK) IsClientError() bool

IsClientError returns true when this show pack o k response has a 4xx status code

func (*ShowPackOK) IsCode

func (o *ShowPackOK) IsCode(code int) bool

IsCode returns true when this show pack o k response a status code equal to that given

func (*ShowPackOK) IsRedirect

func (o *ShowPackOK) IsRedirect() bool

IsRedirect returns true when this show pack o k response has a 3xx status code

func (*ShowPackOK) IsServerError

func (o *ShowPackOK) IsServerError() bool

IsServerError returns true when this show pack o k response has a 5xx status code

func (*ShowPackOK) IsSuccess

func (o *ShowPackOK) IsSuccess() bool

IsSuccess returns true when this show pack o k response has a 2xx status code

func (*ShowPackOK) String

func (o *ShowPackOK) String() string

type ShowPackParams

type ShowPackParams struct {

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

ShowPackParams contains all the parameters to send to the API endpoint

for the show pack operation.

Typically these are written to a http.Request.

func NewShowPackParams

func NewShowPackParams() *ShowPackParams

NewShowPackParams creates a new ShowPackParams 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 NewShowPackParamsWithContext

func NewShowPackParamsWithContext(ctx context.Context) *ShowPackParams

NewShowPackParamsWithContext creates a new ShowPackParams object with the ability to set a context for a request.

func NewShowPackParamsWithHTTPClient

func NewShowPackParamsWithHTTPClient(client *http.Client) *ShowPackParams

NewShowPackParamsWithHTTPClient creates a new ShowPackParams object with the ability to set a custom HTTPClient for a request.

func NewShowPackParamsWithTimeout

func NewShowPackParamsWithTimeout(timeout time.Duration) *ShowPackParams

NewShowPackParamsWithTimeout creates a new ShowPackParams object with the ability to set a timeout on a request.

func (*ShowPackParams) SetContext

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

SetContext adds the context to the show pack params

func (*ShowPackParams) SetDefaults

func (o *ShowPackParams) SetDefaults()

SetDefaults hydrates default values in the show pack params (not the query body).

All values with no default are reset to their zero value.

func (*ShowPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the show pack params

func (*ShowPackParams) SetPackID

func (o *ShowPackParams) SetPackID(packID string)

SetPackID adds the packId to the show pack params

func (*ShowPackParams) SetTimeout

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

SetTimeout adds the timeout to the show pack params

func (*ShowPackParams) WithContext

func (o *ShowPackParams) WithContext(ctx context.Context) *ShowPackParams

WithContext adds the context to the show pack params

func (*ShowPackParams) WithDefaults

func (o *ShowPackParams) WithDefaults() *ShowPackParams

WithDefaults hydrates default values in the show pack params (not the query body).

All values with no default are reset to their zero value.

func (*ShowPackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the show pack params

func (*ShowPackParams) WithPackID

func (o *ShowPackParams) WithPackID(packID string) *ShowPackParams

WithPackID adds the packID to the show pack params

func (*ShowPackParams) WithTimeout

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

WithTimeout adds the timeout to the show pack params

func (*ShowPackParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ShowPackReader

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

ShowPackReader is a Reader for the ShowPack structure.

func (*ShowPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBuildDefault

type UpdateBuildDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

UpdateBuildDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewUpdateBuildDefault

func NewUpdateBuildDefault(code int) *UpdateBuildDefault

NewUpdateBuildDefault creates a UpdateBuildDefault with default headers values

func (*UpdateBuildDefault) Code

func (o *UpdateBuildDefault) Code() int

Code gets the status code for the update build default response

func (*UpdateBuildDefault) Error

func (o *UpdateBuildDefault) Error() string

func (*UpdateBuildDefault) GetPayload

func (o *UpdateBuildDefault) GetPayload() *models.GeneralError

func (*UpdateBuildDefault) IsClientError

func (o *UpdateBuildDefault) IsClientError() bool

IsClientError returns true when this update build default response has a 4xx status code

func (*UpdateBuildDefault) IsCode

func (o *UpdateBuildDefault) IsCode(code int) bool

IsCode returns true when this update build default response a status code equal to that given

func (*UpdateBuildDefault) IsRedirect

func (o *UpdateBuildDefault) IsRedirect() bool

IsRedirect returns true when this update build default response has a 3xx status code

func (*UpdateBuildDefault) IsServerError

func (o *UpdateBuildDefault) IsServerError() bool

IsServerError returns true when this update build default response has a 5xx status code

func (*UpdateBuildDefault) IsSuccess

func (o *UpdateBuildDefault) IsSuccess() bool

IsSuccess returns true when this update build default response has a 2xx status code

func (*UpdateBuildDefault) String

func (o *UpdateBuildDefault) String() string

type UpdateBuildForbidden

type UpdateBuildForbidden struct {
	Payload *models.GeneralError
}

UpdateBuildForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewUpdateBuildForbidden

func NewUpdateBuildForbidden() *UpdateBuildForbidden

NewUpdateBuildForbidden creates a UpdateBuildForbidden with default headers values

func (*UpdateBuildForbidden) Code

func (o *UpdateBuildForbidden) Code() int

Code gets the status code for the update build forbidden response

func (*UpdateBuildForbidden) Error

func (o *UpdateBuildForbidden) Error() string

func (*UpdateBuildForbidden) GetPayload

func (o *UpdateBuildForbidden) GetPayload() *models.GeneralError

func (*UpdateBuildForbidden) IsClientError

func (o *UpdateBuildForbidden) IsClientError() bool

IsClientError returns true when this update build forbidden response has a 4xx status code

func (*UpdateBuildForbidden) IsCode

func (o *UpdateBuildForbidden) IsCode(code int) bool

IsCode returns true when this update build forbidden response a status code equal to that given

func (*UpdateBuildForbidden) IsRedirect

func (o *UpdateBuildForbidden) IsRedirect() bool

IsRedirect returns true when this update build forbidden response has a 3xx status code

func (*UpdateBuildForbidden) IsServerError

func (o *UpdateBuildForbidden) IsServerError() bool

IsServerError returns true when this update build forbidden response has a 5xx status code

func (*UpdateBuildForbidden) IsSuccess

func (o *UpdateBuildForbidden) IsSuccess() bool

IsSuccess returns true when this update build forbidden response has a 2xx status code

func (*UpdateBuildForbidden) String

func (o *UpdateBuildForbidden) String() string

type UpdateBuildNotFound

type UpdateBuildNotFound struct {
	Payload *models.GeneralError
}

UpdateBuildNotFound describes a response with status code 404, with default header values.

Build or pack not found

func NewUpdateBuildNotFound

func NewUpdateBuildNotFound() *UpdateBuildNotFound

NewUpdateBuildNotFound creates a UpdateBuildNotFound with default headers values

func (*UpdateBuildNotFound) Code

func (o *UpdateBuildNotFound) Code() int

Code gets the status code for the update build not found response

func (*UpdateBuildNotFound) Error

func (o *UpdateBuildNotFound) Error() string

func (*UpdateBuildNotFound) GetPayload

func (o *UpdateBuildNotFound) GetPayload() *models.GeneralError

func (*UpdateBuildNotFound) IsClientError

func (o *UpdateBuildNotFound) IsClientError() bool

IsClientError returns true when this update build not found response has a 4xx status code

func (*UpdateBuildNotFound) IsCode

func (o *UpdateBuildNotFound) IsCode(code int) bool

IsCode returns true when this update build not found response a status code equal to that given

func (*UpdateBuildNotFound) IsRedirect

func (o *UpdateBuildNotFound) IsRedirect() bool

IsRedirect returns true when this update build not found response has a 3xx status code

func (*UpdateBuildNotFound) IsServerError

func (o *UpdateBuildNotFound) IsServerError() bool

IsServerError returns true when this update build not found response has a 5xx status code

func (*UpdateBuildNotFound) IsSuccess

func (o *UpdateBuildNotFound) IsSuccess() bool

IsSuccess returns true when this update build not found response has a 2xx status code

func (*UpdateBuildNotFound) String

func (o *UpdateBuildNotFound) String() string

type UpdateBuildOK

type UpdateBuildOK struct {
	Payload *models.Build
}

UpdateBuildOK describes a response with status code 200, with default header values.

The updated build details

func NewUpdateBuildOK

func NewUpdateBuildOK() *UpdateBuildOK

NewUpdateBuildOK creates a UpdateBuildOK with default headers values

func (*UpdateBuildOK) Code

func (o *UpdateBuildOK) Code() int

Code gets the status code for the update build o k response

func (*UpdateBuildOK) Error

func (o *UpdateBuildOK) Error() string

func (*UpdateBuildOK) GetPayload

func (o *UpdateBuildOK) GetPayload() *models.Build

func (*UpdateBuildOK) IsClientError

func (o *UpdateBuildOK) IsClientError() bool

IsClientError returns true when this update build o k response has a 4xx status code

func (*UpdateBuildOK) IsCode

func (o *UpdateBuildOK) IsCode(code int) bool

IsCode returns true when this update build o k response a status code equal to that given

func (*UpdateBuildOK) IsRedirect

func (o *UpdateBuildOK) IsRedirect() bool

IsRedirect returns true when this update build o k response has a 3xx status code

func (*UpdateBuildOK) IsServerError

func (o *UpdateBuildOK) IsServerError() bool

IsServerError returns true when this update build o k response has a 5xx status code

func (*UpdateBuildOK) IsSuccess

func (o *UpdateBuildOK) IsSuccess() bool

IsSuccess returns true when this update build o k response has a 2xx status code

func (*UpdateBuildOK) String

func (o *UpdateBuildOK) String() string

type UpdateBuildParams

type UpdateBuildParams struct {

	/* Build.

	   The build data to update
	*/
	Build *models.Build

	/* BuildID.

	   A build UUID or slug
	*/
	BuildID string

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

UpdateBuildParams contains all the parameters to send to the API endpoint

for the update build operation.

Typically these are written to a http.Request.

func NewUpdateBuildParams

func NewUpdateBuildParams() *UpdateBuildParams

NewUpdateBuildParams creates a new UpdateBuildParams 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 NewUpdateBuildParamsWithContext

func NewUpdateBuildParamsWithContext(ctx context.Context) *UpdateBuildParams

NewUpdateBuildParamsWithContext creates a new UpdateBuildParams object with the ability to set a context for a request.

func NewUpdateBuildParamsWithHTTPClient

func NewUpdateBuildParamsWithHTTPClient(client *http.Client) *UpdateBuildParams

NewUpdateBuildParamsWithHTTPClient creates a new UpdateBuildParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateBuildParamsWithTimeout

func NewUpdateBuildParamsWithTimeout(timeout time.Duration) *UpdateBuildParams

NewUpdateBuildParamsWithTimeout creates a new UpdateBuildParams object with the ability to set a timeout on a request.

func (*UpdateBuildParams) SetBuild

func (o *UpdateBuildParams) SetBuild(build *models.Build)

SetBuild adds the build to the update build params

func (*UpdateBuildParams) SetBuildID

func (o *UpdateBuildParams) SetBuildID(buildID string)

SetBuildID adds the buildId to the update build params

func (*UpdateBuildParams) SetContext

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

SetContext adds the context to the update build params

func (*UpdateBuildParams) SetDefaults

func (o *UpdateBuildParams) SetDefaults()

SetDefaults hydrates default values in the update build params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update build params

func (*UpdateBuildParams) SetPackID

func (o *UpdateBuildParams) SetPackID(packID string)

SetPackID adds the packId to the update build params

func (*UpdateBuildParams) SetTimeout

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

SetTimeout adds the timeout to the update build params

func (*UpdateBuildParams) WithBuild

func (o *UpdateBuildParams) WithBuild(build *models.Build) *UpdateBuildParams

WithBuild adds the build to the update build params

func (*UpdateBuildParams) WithBuildID

func (o *UpdateBuildParams) WithBuildID(buildID string) *UpdateBuildParams

WithBuildID adds the buildID to the update build params

func (*UpdateBuildParams) WithContext

func (o *UpdateBuildParams) WithContext(ctx context.Context) *UpdateBuildParams

WithContext adds the context to the update build params

func (*UpdateBuildParams) WithDefaults

func (o *UpdateBuildParams) WithDefaults() *UpdateBuildParams

WithDefaults hydrates default values in the update build params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBuildParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update build params

func (*UpdateBuildParams) WithPackID

func (o *UpdateBuildParams) WithPackID(packID string) *UpdateBuildParams

WithPackID adds the packID to the update build params

func (*UpdateBuildParams) WithTimeout

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

WithTimeout adds the timeout to the update build params

func (*UpdateBuildParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateBuildReader

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

UpdateBuildReader is a Reader for the UpdateBuild structure.

func (*UpdateBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBuildUnprocessableEntity

type UpdateBuildUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateBuildUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewUpdateBuildUnprocessableEntity

func NewUpdateBuildUnprocessableEntity() *UpdateBuildUnprocessableEntity

NewUpdateBuildUnprocessableEntity creates a UpdateBuildUnprocessableEntity with default headers values

func (*UpdateBuildUnprocessableEntity) Code

Code gets the status code for the update build unprocessable entity response

func (*UpdateBuildUnprocessableEntity) Error

func (*UpdateBuildUnprocessableEntity) GetPayload

func (*UpdateBuildUnprocessableEntity) IsClientError

func (o *UpdateBuildUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update build unprocessable entity response has a 4xx status code

func (*UpdateBuildUnprocessableEntity) IsCode

func (o *UpdateBuildUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this update build unprocessable entity response a status code equal to that given

func (*UpdateBuildUnprocessableEntity) IsRedirect

func (o *UpdateBuildUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update build unprocessable entity response has a 3xx status code

func (*UpdateBuildUnprocessableEntity) IsServerError

func (o *UpdateBuildUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update build unprocessable entity response has a 5xx status code

func (*UpdateBuildUnprocessableEntity) IsSuccess

func (o *UpdateBuildUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update build unprocessable entity response has a 2xx status code

func (*UpdateBuildUnprocessableEntity) String

type UpdatePackDefault

type UpdatePackDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

UpdatePackDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewUpdatePackDefault

func NewUpdatePackDefault(code int) *UpdatePackDefault

NewUpdatePackDefault creates a UpdatePackDefault with default headers values

func (*UpdatePackDefault) Code

func (o *UpdatePackDefault) Code() int

Code gets the status code for the update pack default response

func (*UpdatePackDefault) Error

func (o *UpdatePackDefault) Error() string

func (*UpdatePackDefault) GetPayload

func (o *UpdatePackDefault) GetPayload() *models.GeneralError

func (*UpdatePackDefault) IsClientError

func (o *UpdatePackDefault) IsClientError() bool

IsClientError returns true when this update pack default response has a 4xx status code

func (*UpdatePackDefault) IsCode

func (o *UpdatePackDefault) IsCode(code int) bool

IsCode returns true when this update pack default response a status code equal to that given

func (*UpdatePackDefault) IsRedirect

func (o *UpdatePackDefault) IsRedirect() bool

IsRedirect returns true when this update pack default response has a 3xx status code

func (*UpdatePackDefault) IsServerError

func (o *UpdatePackDefault) IsServerError() bool

IsServerError returns true when this update pack default response has a 5xx status code

func (*UpdatePackDefault) IsSuccess

func (o *UpdatePackDefault) IsSuccess() bool

IsSuccess returns true when this update pack default response has a 2xx status code

func (*UpdatePackDefault) String

func (o *UpdatePackDefault) String() string

type UpdatePackForbidden

type UpdatePackForbidden struct {
	Payload *models.GeneralError
}

UpdatePackForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewUpdatePackForbidden

func NewUpdatePackForbidden() *UpdatePackForbidden

NewUpdatePackForbidden creates a UpdatePackForbidden with default headers values

func (*UpdatePackForbidden) Code

func (o *UpdatePackForbidden) Code() int

Code gets the status code for the update pack forbidden response

func (*UpdatePackForbidden) Error

func (o *UpdatePackForbidden) Error() string

func (*UpdatePackForbidden) GetPayload

func (o *UpdatePackForbidden) GetPayload() *models.GeneralError

func (*UpdatePackForbidden) IsClientError

func (o *UpdatePackForbidden) IsClientError() bool

IsClientError returns true when this update pack forbidden response has a 4xx status code

func (*UpdatePackForbidden) IsCode

func (o *UpdatePackForbidden) IsCode(code int) bool

IsCode returns true when this update pack forbidden response a status code equal to that given

func (*UpdatePackForbidden) IsRedirect

func (o *UpdatePackForbidden) IsRedirect() bool

IsRedirect returns true when this update pack forbidden response has a 3xx status code

func (*UpdatePackForbidden) IsServerError

func (o *UpdatePackForbidden) IsServerError() bool

IsServerError returns true when this update pack forbidden response has a 5xx status code

func (*UpdatePackForbidden) IsSuccess

func (o *UpdatePackForbidden) IsSuccess() bool

IsSuccess returns true when this update pack forbidden response has a 2xx status code

func (*UpdatePackForbidden) String

func (o *UpdatePackForbidden) String() string

type UpdatePackNotFound

type UpdatePackNotFound struct {
	Payload *models.GeneralError
}

UpdatePackNotFound describes a response with status code 404, with default header values.

Pack not found

func NewUpdatePackNotFound

func NewUpdatePackNotFound() *UpdatePackNotFound

NewUpdatePackNotFound creates a UpdatePackNotFound with default headers values

func (*UpdatePackNotFound) Code

func (o *UpdatePackNotFound) Code() int

Code gets the status code for the update pack not found response

func (*UpdatePackNotFound) Error

func (o *UpdatePackNotFound) Error() string

func (*UpdatePackNotFound) GetPayload

func (o *UpdatePackNotFound) GetPayload() *models.GeneralError

func (*UpdatePackNotFound) IsClientError

func (o *UpdatePackNotFound) IsClientError() bool

IsClientError returns true when this update pack not found response has a 4xx status code

func (*UpdatePackNotFound) IsCode

func (o *UpdatePackNotFound) IsCode(code int) bool

IsCode returns true when this update pack not found response a status code equal to that given

func (*UpdatePackNotFound) IsRedirect

func (o *UpdatePackNotFound) IsRedirect() bool

IsRedirect returns true when this update pack not found response has a 3xx status code

func (*UpdatePackNotFound) IsServerError

func (o *UpdatePackNotFound) IsServerError() bool

IsServerError returns true when this update pack not found response has a 5xx status code

func (*UpdatePackNotFound) IsSuccess

func (o *UpdatePackNotFound) IsSuccess() bool

IsSuccess returns true when this update pack not found response has a 2xx status code

func (*UpdatePackNotFound) String

func (o *UpdatePackNotFound) String() string

type UpdatePackOK

type UpdatePackOK struct {
	Payload *models.Pack
}

UpdatePackOK describes a response with status code 200, with default header values.

The updated pack details

func NewUpdatePackOK

func NewUpdatePackOK() *UpdatePackOK

NewUpdatePackOK creates a UpdatePackOK with default headers values

func (*UpdatePackOK) Code

func (o *UpdatePackOK) Code() int

Code gets the status code for the update pack o k response

func (*UpdatePackOK) Error

func (o *UpdatePackOK) Error() string

func (*UpdatePackOK) GetPayload

func (o *UpdatePackOK) GetPayload() *models.Pack

func (*UpdatePackOK) IsClientError

func (o *UpdatePackOK) IsClientError() bool

IsClientError returns true when this update pack o k response has a 4xx status code

func (*UpdatePackOK) IsCode

func (o *UpdatePackOK) IsCode(code int) bool

IsCode returns true when this update pack o k response a status code equal to that given

func (*UpdatePackOK) IsRedirect

func (o *UpdatePackOK) IsRedirect() bool

IsRedirect returns true when this update pack o k response has a 3xx status code

func (*UpdatePackOK) IsServerError

func (o *UpdatePackOK) IsServerError() bool

IsServerError returns true when this update pack o k response has a 5xx status code

func (*UpdatePackOK) IsSuccess

func (o *UpdatePackOK) IsSuccess() bool

IsSuccess returns true when this update pack o k response has a 2xx status code

func (*UpdatePackOK) String

func (o *UpdatePackOK) String() string

type UpdatePackParams

type UpdatePackParams struct {

	/* Pack.

	   The pack data to update
	*/
	Pack *models.Pack

	/* PackID.

	   A pack UUID or slug
	*/
	PackID string

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

UpdatePackParams contains all the parameters to send to the API endpoint

for the update pack operation.

Typically these are written to a http.Request.

func NewUpdatePackParams

func NewUpdatePackParams() *UpdatePackParams

NewUpdatePackParams creates a new UpdatePackParams 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 NewUpdatePackParamsWithContext

func NewUpdatePackParamsWithContext(ctx context.Context) *UpdatePackParams

NewUpdatePackParamsWithContext creates a new UpdatePackParams object with the ability to set a context for a request.

func NewUpdatePackParamsWithHTTPClient

func NewUpdatePackParamsWithHTTPClient(client *http.Client) *UpdatePackParams

NewUpdatePackParamsWithHTTPClient creates a new UpdatePackParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePackParamsWithTimeout

func NewUpdatePackParamsWithTimeout(timeout time.Duration) *UpdatePackParams

NewUpdatePackParamsWithTimeout creates a new UpdatePackParams object with the ability to set a timeout on a request.

func (*UpdatePackParams) SetContext

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

SetContext adds the context to the update pack params

func (*UpdatePackParams) SetDefaults

func (o *UpdatePackParams) SetDefaults()

SetDefaults hydrates default values in the update pack params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update pack params

func (*UpdatePackParams) SetPack

func (o *UpdatePackParams) SetPack(pack *models.Pack)

SetPack adds the pack to the update pack params

func (*UpdatePackParams) SetPackID

func (o *UpdatePackParams) SetPackID(packID string)

SetPackID adds the packId to the update pack params

func (*UpdatePackParams) SetTimeout

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

SetTimeout adds the timeout to the update pack params

func (*UpdatePackParams) WithContext

func (o *UpdatePackParams) WithContext(ctx context.Context) *UpdatePackParams

WithContext adds the context to the update pack params

func (*UpdatePackParams) WithDefaults

func (o *UpdatePackParams) WithDefaults() *UpdatePackParams

WithDefaults hydrates default values in the update pack params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update pack params

func (*UpdatePackParams) WithPack

func (o *UpdatePackParams) WithPack(pack *models.Pack) *UpdatePackParams

WithPack adds the pack to the update pack params

func (*UpdatePackParams) WithPackID

func (o *UpdatePackParams) WithPackID(packID string) *UpdatePackParams

WithPackID adds the packID to the update pack params

func (*UpdatePackParams) WithTimeout

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

WithTimeout adds the timeout to the update pack params

func (*UpdatePackParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdatePackReader

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

UpdatePackReader is a Reader for the UpdatePack structure.

func (*UpdatePackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePackUnprocessableEntity

type UpdatePackUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdatePackUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewUpdatePackUnprocessableEntity

func NewUpdatePackUnprocessableEntity() *UpdatePackUnprocessableEntity

NewUpdatePackUnprocessableEntity creates a UpdatePackUnprocessableEntity with default headers values

func (*UpdatePackUnprocessableEntity) Code

Code gets the status code for the update pack unprocessable entity response

func (*UpdatePackUnprocessableEntity) Error

func (*UpdatePackUnprocessableEntity) GetPayload

func (*UpdatePackUnprocessableEntity) IsClientError

func (o *UpdatePackUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update pack unprocessable entity response has a 4xx status code

func (*UpdatePackUnprocessableEntity) IsCode

func (o *UpdatePackUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this update pack unprocessable entity response a status code equal to that given

func (*UpdatePackUnprocessableEntity) IsRedirect

func (o *UpdatePackUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update pack unprocessable entity response has a 3xx status code

func (*UpdatePackUnprocessableEntity) IsServerError

func (o *UpdatePackUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update pack unprocessable entity response has a 5xx status code

func (*UpdatePackUnprocessableEntity) IsSuccess

func (o *UpdatePackUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update pack unprocessable entity response has a 2xx status code

func (*UpdatePackUnprocessableEntity) String

Jump to

Keyboard shortcuts

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