component_pipeline_resources_versions

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationVndCycloidIoV1JSON

func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithAcceptApplicationVndCycloidIoV1JSON sets the Accept header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationVndCycloidIoV1JSON

func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithContentTypeApplicationVndCycloidIoV1JSON sets the Content-Type header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

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

Client for component pipeline resources versions API

func (*Client) DisableResourceVersion

func (a *Client) DisableResourceVersion(params *DisableResourceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableResourceVersionNoContent, error)

DisableResourceVersion Disable a specified version of a resource

func (*Client) EnableResourceVersion

func (a *Client) EnableResourceVersion(params *EnableResourceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableResourceVersionNoContent, error)

EnableResourceVersion Enable a specified version of a resource

func (*Client) GetBuildsWithVersionAsInput

func (a *Client) GetBuildsWithVersionAsInput(params *GetBuildsWithVersionAsInputParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBuildsWithVersionAsInputOK, error)

GetBuildsWithVersionAsInput Get builds that used a specified resource version as input.

func (*Client) GetBuildsWithVersionAsOutput

func (a *Client) GetBuildsWithVersionAsOutput(params *GetBuildsWithVersionAsOutputParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBuildsWithVersionAsOutputOK, error)

GetBuildsWithVersionAsOutput Get builds that used a specified resource version as output.

func (*Client) GetResourceVersions

func (a *Client) GetResourceVersions(params *GetResourceVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceVersionsOK, error)

GetResourceVersions Get versions of a pipeline's resource

func (*Client) PinResourceVersion

func (a *Client) PinResourceVersion(params *PinResourceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PinResourceVersionNoContent, error)

PinResourceVersion Pin a specified version of a resource

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	DisableResourceVersion(params *DisableResourceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableResourceVersionNoContent, error)

	EnableResourceVersion(params *EnableResourceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableResourceVersionNoContent, error)

	GetBuildsWithVersionAsInput(params *GetBuildsWithVersionAsInputParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBuildsWithVersionAsInputOK, error)

	GetBuildsWithVersionAsOutput(params *GetBuildsWithVersionAsOutputParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBuildsWithVersionAsOutputOK, error)

	GetResourceVersions(params *GetResourceVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceVersionsOK, error)

	PinResourceVersion(params *PinResourceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PinResourceVersionNoContent, 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 component pipeline resources versions API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new component pipeline resources versions API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new component pipeline resources versions API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DisableResourceVersionDefault

type DisableResourceVersionDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

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

The response sent when an unexpected error happened, as known as an internal server error.

func NewDisableResourceVersionDefault

func NewDisableResourceVersionDefault(code int) *DisableResourceVersionDefault

NewDisableResourceVersionDefault creates a DisableResourceVersionDefault with default headers values

func (*DisableResourceVersionDefault) Code

Code gets the status code for the disable resource version default response

func (*DisableResourceVersionDefault) Error

func (*DisableResourceVersionDefault) GetPayload

func (*DisableResourceVersionDefault) IsClientError

func (o *DisableResourceVersionDefault) IsClientError() bool

IsClientError returns true when this disable resource version default response has a 4xx status code

func (*DisableResourceVersionDefault) IsCode

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

IsCode returns true when this disable resource version default response a status code equal to that given

func (*DisableResourceVersionDefault) IsRedirect

func (o *DisableResourceVersionDefault) IsRedirect() bool

IsRedirect returns true when this disable resource version default response has a 3xx status code

func (*DisableResourceVersionDefault) IsServerError

func (o *DisableResourceVersionDefault) IsServerError() bool

IsServerError returns true when this disable resource version default response has a 5xx status code

func (*DisableResourceVersionDefault) IsSuccess

func (o *DisableResourceVersionDefault) IsSuccess() bool

IsSuccess returns true when this disable resource version default response has a 2xx status code

func (*DisableResourceVersionDefault) String

type DisableResourceVersionForbidden

type DisableResourceVersionForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewDisableResourceVersionForbidden

func NewDisableResourceVersionForbidden() *DisableResourceVersionForbidden

NewDisableResourceVersionForbidden creates a DisableResourceVersionForbidden with default headers values

func (*DisableResourceVersionForbidden) Code

Code gets the status code for the disable resource version forbidden response

func (*DisableResourceVersionForbidden) Error

func (*DisableResourceVersionForbidden) GetPayload

func (*DisableResourceVersionForbidden) IsClientError

func (o *DisableResourceVersionForbidden) IsClientError() bool

IsClientError returns true when this disable resource version forbidden response has a 4xx status code

func (*DisableResourceVersionForbidden) IsCode

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

IsCode returns true when this disable resource version forbidden response a status code equal to that given

func (*DisableResourceVersionForbidden) IsRedirect

func (o *DisableResourceVersionForbidden) IsRedirect() bool

IsRedirect returns true when this disable resource version forbidden response has a 3xx status code

func (*DisableResourceVersionForbidden) IsServerError

func (o *DisableResourceVersionForbidden) IsServerError() bool

IsServerError returns true when this disable resource version forbidden response has a 5xx status code

func (*DisableResourceVersionForbidden) IsSuccess

func (o *DisableResourceVersionForbidden) IsSuccess() bool

IsSuccess returns true when this disable resource version forbidden response has a 2xx status code

func (*DisableResourceVersionForbidden) String

type DisableResourceVersionNoContent

type DisableResourceVersionNoContent struct {
}

DisableResourceVersionNoContent describes a response with status code 204, with default header values.

Resource version have been disabled

func NewDisableResourceVersionNoContent

func NewDisableResourceVersionNoContent() *DisableResourceVersionNoContent

NewDisableResourceVersionNoContent creates a DisableResourceVersionNoContent with default headers values

func (*DisableResourceVersionNoContent) Code

Code gets the status code for the disable resource version no content response

func (*DisableResourceVersionNoContent) Error

func (*DisableResourceVersionNoContent) IsClientError

func (o *DisableResourceVersionNoContent) IsClientError() bool

IsClientError returns true when this disable resource version no content response has a 4xx status code

func (*DisableResourceVersionNoContent) IsCode

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

IsCode returns true when this disable resource version no content response a status code equal to that given

func (*DisableResourceVersionNoContent) IsRedirect

func (o *DisableResourceVersionNoContent) IsRedirect() bool

IsRedirect returns true when this disable resource version no content response has a 3xx status code

func (*DisableResourceVersionNoContent) IsServerError

func (o *DisableResourceVersionNoContent) IsServerError() bool

IsServerError returns true when this disable resource version no content response has a 5xx status code

func (*DisableResourceVersionNoContent) IsSuccess

func (o *DisableResourceVersionNoContent) IsSuccess() bool

IsSuccess returns true when this disable resource version no content response has a 2xx status code

func (*DisableResourceVersionNoContent) String

type DisableResourceVersionNotFound

type DisableResourceVersionNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewDisableResourceVersionNotFound

func NewDisableResourceVersionNotFound() *DisableResourceVersionNotFound

NewDisableResourceVersionNotFound creates a DisableResourceVersionNotFound with default headers values

func (*DisableResourceVersionNotFound) Code

Code gets the status code for the disable resource version not found response

func (*DisableResourceVersionNotFound) Error

func (*DisableResourceVersionNotFound) GetPayload

func (*DisableResourceVersionNotFound) IsClientError

func (o *DisableResourceVersionNotFound) IsClientError() bool

IsClientError returns true when this disable resource version not found response has a 4xx status code

func (*DisableResourceVersionNotFound) IsCode

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

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

func (*DisableResourceVersionNotFound) IsRedirect

func (o *DisableResourceVersionNotFound) IsRedirect() bool

IsRedirect returns true when this disable resource version not found response has a 3xx status code

func (*DisableResourceVersionNotFound) IsServerError

func (o *DisableResourceVersionNotFound) IsServerError() bool

IsServerError returns true when this disable resource version not found response has a 5xx status code

func (*DisableResourceVersionNotFound) IsSuccess

func (o *DisableResourceVersionNotFound) IsSuccess() bool

IsSuccess returns true when this disable resource version not found response has a 2xx status code

func (*DisableResourceVersionNotFound) String

type DisableResourceVersionParams

type DisableResourceVersionParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

	/* EnvironmentCanonical.

	   The environment canonical to use as part of a path
	*/
	EnvironmentCanonical string

	/* InpathPipelineName.

	   A pipeline name
	*/
	InpathPipelineName string

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	/* ProjectCanonical.

	   A canonical of a project.
	*/
	ProjectCanonical string

	/* ResourceName.

	   A resource name
	*/
	ResourceName string

	/* ResourceVersionID.

	   A resource's version id

	   Format: uint64
	*/
	ResourceVersionID uint64

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

DisableResourceVersionParams contains all the parameters to send to the API endpoint

for the disable resource version operation.

Typically these are written to a http.Request.

func NewDisableResourceVersionParams

func NewDisableResourceVersionParams() *DisableResourceVersionParams

NewDisableResourceVersionParams creates a new DisableResourceVersionParams 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 NewDisableResourceVersionParamsWithContext

func NewDisableResourceVersionParamsWithContext(ctx context.Context) *DisableResourceVersionParams

NewDisableResourceVersionParamsWithContext creates a new DisableResourceVersionParams object with the ability to set a context for a request.

func NewDisableResourceVersionParamsWithHTTPClient

func NewDisableResourceVersionParamsWithHTTPClient(client *http.Client) *DisableResourceVersionParams

NewDisableResourceVersionParamsWithHTTPClient creates a new DisableResourceVersionParams object with the ability to set a custom HTTPClient for a request.

func NewDisableResourceVersionParamsWithTimeout

func NewDisableResourceVersionParamsWithTimeout(timeout time.Duration) *DisableResourceVersionParams

NewDisableResourceVersionParamsWithTimeout creates a new DisableResourceVersionParams object with the ability to set a timeout on a request.

func (*DisableResourceVersionParams) SetComponentCanonical

func (o *DisableResourceVersionParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the disable resource version params

func (*DisableResourceVersionParams) SetContext

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

SetContext adds the context to the disable resource version params

func (*DisableResourceVersionParams) SetDefaults

func (o *DisableResourceVersionParams) SetDefaults()

SetDefaults hydrates default values in the disable resource version params (not the query body).

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

func (*DisableResourceVersionParams) SetEnvironmentCanonical

func (o *DisableResourceVersionParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the disable resource version params

func (*DisableResourceVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable resource version params

func (*DisableResourceVersionParams) SetInpathPipelineName

func (o *DisableResourceVersionParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the disable resource version params

func (*DisableResourceVersionParams) SetOrganizationCanonical

func (o *DisableResourceVersionParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the disable resource version params

func (*DisableResourceVersionParams) SetProjectCanonical

func (o *DisableResourceVersionParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the disable resource version params

func (*DisableResourceVersionParams) SetResourceName

func (o *DisableResourceVersionParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the disable resource version params

func (*DisableResourceVersionParams) SetResourceVersionID

func (o *DisableResourceVersionParams) SetResourceVersionID(resourceVersionID uint64)

SetResourceVersionID adds the resourceVersionId to the disable resource version params

func (*DisableResourceVersionParams) SetTimeout

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

SetTimeout adds the timeout to the disable resource version params

func (*DisableResourceVersionParams) WithComponentCanonical

func (o *DisableResourceVersionParams) WithComponentCanonical(componentCanonical string) *DisableResourceVersionParams

WithComponentCanonical adds the componentCanonical to the disable resource version params

func (*DisableResourceVersionParams) WithContext

WithContext adds the context to the disable resource version params

func (*DisableResourceVersionParams) WithDefaults

WithDefaults hydrates default values in the disable resource version params (not the query body).

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

func (*DisableResourceVersionParams) WithEnvironmentCanonical

func (o *DisableResourceVersionParams) WithEnvironmentCanonical(environmentCanonical string) *DisableResourceVersionParams

WithEnvironmentCanonical adds the environmentCanonical to the disable resource version params

func (*DisableResourceVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the disable resource version params

func (*DisableResourceVersionParams) WithInpathPipelineName

func (o *DisableResourceVersionParams) WithInpathPipelineName(inpathPipelineName string) *DisableResourceVersionParams

WithInpathPipelineName adds the inpathPipelineName to the disable resource version params

func (*DisableResourceVersionParams) WithOrganizationCanonical

func (o *DisableResourceVersionParams) WithOrganizationCanonical(organizationCanonical string) *DisableResourceVersionParams

WithOrganizationCanonical adds the organizationCanonical to the disable resource version params

func (*DisableResourceVersionParams) WithProjectCanonical

func (o *DisableResourceVersionParams) WithProjectCanonical(projectCanonical string) *DisableResourceVersionParams

WithProjectCanonical adds the projectCanonical to the disable resource version params

func (*DisableResourceVersionParams) WithResourceName

func (o *DisableResourceVersionParams) WithResourceName(resourceName string) *DisableResourceVersionParams

WithResourceName adds the resourceName to the disable resource version params

func (*DisableResourceVersionParams) WithResourceVersionID

func (o *DisableResourceVersionParams) WithResourceVersionID(resourceVersionID uint64) *DisableResourceVersionParams

WithResourceVersionID adds the resourceVersionID to the disable resource version params

func (*DisableResourceVersionParams) WithTimeout

WithTimeout adds the timeout to the disable resource version params

func (*DisableResourceVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DisableResourceVersionReader

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

DisableResourceVersionReader is a Reader for the DisableResourceVersion structure.

func (*DisableResourceVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableResourceVersionDefault

type EnableResourceVersionDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

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

The response sent when an unexpected error happened, as known as an internal server error.

func NewEnableResourceVersionDefault

func NewEnableResourceVersionDefault(code int) *EnableResourceVersionDefault

NewEnableResourceVersionDefault creates a EnableResourceVersionDefault with default headers values

func (*EnableResourceVersionDefault) Code

Code gets the status code for the enable resource version default response

func (*EnableResourceVersionDefault) Error

func (*EnableResourceVersionDefault) GetPayload

func (*EnableResourceVersionDefault) IsClientError

func (o *EnableResourceVersionDefault) IsClientError() bool

IsClientError returns true when this enable resource version default response has a 4xx status code

func (*EnableResourceVersionDefault) IsCode

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

IsCode returns true when this enable resource version default response a status code equal to that given

func (*EnableResourceVersionDefault) IsRedirect

func (o *EnableResourceVersionDefault) IsRedirect() bool

IsRedirect returns true when this enable resource version default response has a 3xx status code

func (*EnableResourceVersionDefault) IsServerError

func (o *EnableResourceVersionDefault) IsServerError() bool

IsServerError returns true when this enable resource version default response has a 5xx status code

func (*EnableResourceVersionDefault) IsSuccess

func (o *EnableResourceVersionDefault) IsSuccess() bool

IsSuccess returns true when this enable resource version default response has a 2xx status code

func (*EnableResourceVersionDefault) String

type EnableResourceVersionForbidden

type EnableResourceVersionForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewEnableResourceVersionForbidden

func NewEnableResourceVersionForbidden() *EnableResourceVersionForbidden

NewEnableResourceVersionForbidden creates a EnableResourceVersionForbidden with default headers values

func (*EnableResourceVersionForbidden) Code

Code gets the status code for the enable resource version forbidden response

func (*EnableResourceVersionForbidden) Error

func (*EnableResourceVersionForbidden) GetPayload

func (*EnableResourceVersionForbidden) IsClientError

func (o *EnableResourceVersionForbidden) IsClientError() bool

IsClientError returns true when this enable resource version forbidden response has a 4xx status code

func (*EnableResourceVersionForbidden) IsCode

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

IsCode returns true when this enable resource version forbidden response a status code equal to that given

func (*EnableResourceVersionForbidden) IsRedirect

func (o *EnableResourceVersionForbidden) IsRedirect() bool

IsRedirect returns true when this enable resource version forbidden response has a 3xx status code

func (*EnableResourceVersionForbidden) IsServerError

func (o *EnableResourceVersionForbidden) IsServerError() bool

IsServerError returns true when this enable resource version forbidden response has a 5xx status code

func (*EnableResourceVersionForbidden) IsSuccess

func (o *EnableResourceVersionForbidden) IsSuccess() bool

IsSuccess returns true when this enable resource version forbidden response has a 2xx status code

func (*EnableResourceVersionForbidden) String

type EnableResourceVersionNoContent

type EnableResourceVersionNoContent struct {
}

EnableResourceVersionNoContent describes a response with status code 204, with default header values.

Resource version have been enabled

func NewEnableResourceVersionNoContent

func NewEnableResourceVersionNoContent() *EnableResourceVersionNoContent

NewEnableResourceVersionNoContent creates a EnableResourceVersionNoContent with default headers values

func (*EnableResourceVersionNoContent) Code

Code gets the status code for the enable resource version no content response

func (*EnableResourceVersionNoContent) Error

func (*EnableResourceVersionNoContent) IsClientError

func (o *EnableResourceVersionNoContent) IsClientError() bool

IsClientError returns true when this enable resource version no content response has a 4xx status code

func (*EnableResourceVersionNoContent) IsCode

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

IsCode returns true when this enable resource version no content response a status code equal to that given

func (*EnableResourceVersionNoContent) IsRedirect

func (o *EnableResourceVersionNoContent) IsRedirect() bool

IsRedirect returns true when this enable resource version no content response has a 3xx status code

func (*EnableResourceVersionNoContent) IsServerError

func (o *EnableResourceVersionNoContent) IsServerError() bool

IsServerError returns true when this enable resource version no content response has a 5xx status code

func (*EnableResourceVersionNoContent) IsSuccess

func (o *EnableResourceVersionNoContent) IsSuccess() bool

IsSuccess returns true when this enable resource version no content response has a 2xx status code

func (*EnableResourceVersionNoContent) String

type EnableResourceVersionNotFound

type EnableResourceVersionNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewEnableResourceVersionNotFound

func NewEnableResourceVersionNotFound() *EnableResourceVersionNotFound

NewEnableResourceVersionNotFound creates a EnableResourceVersionNotFound with default headers values

func (*EnableResourceVersionNotFound) Code

Code gets the status code for the enable resource version not found response

func (*EnableResourceVersionNotFound) Error

func (*EnableResourceVersionNotFound) GetPayload

func (*EnableResourceVersionNotFound) IsClientError

func (o *EnableResourceVersionNotFound) IsClientError() bool

IsClientError returns true when this enable resource version not found response has a 4xx status code

func (*EnableResourceVersionNotFound) IsCode

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

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

func (*EnableResourceVersionNotFound) IsRedirect

func (o *EnableResourceVersionNotFound) IsRedirect() bool

IsRedirect returns true when this enable resource version not found response has a 3xx status code

func (*EnableResourceVersionNotFound) IsServerError

func (o *EnableResourceVersionNotFound) IsServerError() bool

IsServerError returns true when this enable resource version not found response has a 5xx status code

func (*EnableResourceVersionNotFound) IsSuccess

func (o *EnableResourceVersionNotFound) IsSuccess() bool

IsSuccess returns true when this enable resource version not found response has a 2xx status code

func (*EnableResourceVersionNotFound) String

type EnableResourceVersionParams

type EnableResourceVersionParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

	/* EnvironmentCanonical.

	   The environment canonical to use as part of a path
	*/
	EnvironmentCanonical string

	/* InpathPipelineName.

	   A pipeline name
	*/
	InpathPipelineName string

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	/* ProjectCanonical.

	   A canonical of a project.
	*/
	ProjectCanonical string

	/* ResourceName.

	   A resource name
	*/
	ResourceName string

	/* ResourceVersionID.

	   A resource's version id

	   Format: uint64
	*/
	ResourceVersionID uint64

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

EnableResourceVersionParams contains all the parameters to send to the API endpoint

for the enable resource version operation.

Typically these are written to a http.Request.

func NewEnableResourceVersionParams

func NewEnableResourceVersionParams() *EnableResourceVersionParams

NewEnableResourceVersionParams creates a new EnableResourceVersionParams 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 NewEnableResourceVersionParamsWithContext

func NewEnableResourceVersionParamsWithContext(ctx context.Context) *EnableResourceVersionParams

NewEnableResourceVersionParamsWithContext creates a new EnableResourceVersionParams object with the ability to set a context for a request.

func NewEnableResourceVersionParamsWithHTTPClient

func NewEnableResourceVersionParamsWithHTTPClient(client *http.Client) *EnableResourceVersionParams

NewEnableResourceVersionParamsWithHTTPClient creates a new EnableResourceVersionParams object with the ability to set a custom HTTPClient for a request.

func NewEnableResourceVersionParamsWithTimeout

func NewEnableResourceVersionParamsWithTimeout(timeout time.Duration) *EnableResourceVersionParams

NewEnableResourceVersionParamsWithTimeout creates a new EnableResourceVersionParams object with the ability to set a timeout on a request.

func (*EnableResourceVersionParams) SetComponentCanonical

func (o *EnableResourceVersionParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the enable resource version params

func (*EnableResourceVersionParams) SetContext

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

SetContext adds the context to the enable resource version params

func (*EnableResourceVersionParams) SetDefaults

func (o *EnableResourceVersionParams) SetDefaults()

SetDefaults hydrates default values in the enable resource version params (not the query body).

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

func (*EnableResourceVersionParams) SetEnvironmentCanonical

func (o *EnableResourceVersionParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the enable resource version params

func (*EnableResourceVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable resource version params

func (*EnableResourceVersionParams) SetInpathPipelineName

func (o *EnableResourceVersionParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the enable resource version params

func (*EnableResourceVersionParams) SetOrganizationCanonical

func (o *EnableResourceVersionParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the enable resource version params

func (*EnableResourceVersionParams) SetProjectCanonical

func (o *EnableResourceVersionParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the enable resource version params

func (*EnableResourceVersionParams) SetResourceName

func (o *EnableResourceVersionParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the enable resource version params

func (*EnableResourceVersionParams) SetResourceVersionID

func (o *EnableResourceVersionParams) SetResourceVersionID(resourceVersionID uint64)

SetResourceVersionID adds the resourceVersionId to the enable resource version params

func (*EnableResourceVersionParams) SetTimeout

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

SetTimeout adds the timeout to the enable resource version params

func (*EnableResourceVersionParams) WithComponentCanonical

func (o *EnableResourceVersionParams) WithComponentCanonical(componentCanonical string) *EnableResourceVersionParams

WithComponentCanonical adds the componentCanonical to the enable resource version params

func (*EnableResourceVersionParams) WithContext

WithContext adds the context to the enable resource version params

func (*EnableResourceVersionParams) WithDefaults

WithDefaults hydrates default values in the enable resource version params (not the query body).

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

func (*EnableResourceVersionParams) WithEnvironmentCanonical

func (o *EnableResourceVersionParams) WithEnvironmentCanonical(environmentCanonical string) *EnableResourceVersionParams

WithEnvironmentCanonical adds the environmentCanonical to the enable resource version params

func (*EnableResourceVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the enable resource version params

func (*EnableResourceVersionParams) WithInpathPipelineName

func (o *EnableResourceVersionParams) WithInpathPipelineName(inpathPipelineName string) *EnableResourceVersionParams

WithInpathPipelineName adds the inpathPipelineName to the enable resource version params

func (*EnableResourceVersionParams) WithOrganizationCanonical

func (o *EnableResourceVersionParams) WithOrganizationCanonical(organizationCanonical string) *EnableResourceVersionParams

WithOrganizationCanonical adds the organizationCanonical to the enable resource version params

func (*EnableResourceVersionParams) WithProjectCanonical

func (o *EnableResourceVersionParams) WithProjectCanonical(projectCanonical string) *EnableResourceVersionParams

WithProjectCanonical adds the projectCanonical to the enable resource version params

func (*EnableResourceVersionParams) WithResourceName

func (o *EnableResourceVersionParams) WithResourceName(resourceName string) *EnableResourceVersionParams

WithResourceName adds the resourceName to the enable resource version params

func (*EnableResourceVersionParams) WithResourceVersionID

func (o *EnableResourceVersionParams) WithResourceVersionID(resourceVersionID uint64) *EnableResourceVersionParams

WithResourceVersionID adds the resourceVersionID to the enable resource version params

func (*EnableResourceVersionParams) WithTimeout

WithTimeout adds the timeout to the enable resource version params

func (*EnableResourceVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnableResourceVersionReader

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

EnableResourceVersionReader is a Reader for the EnableResourceVersion structure.

func (*EnableResourceVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildsWithVersionAsInputDefault

type GetBuildsWithVersionAsInputDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

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

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetBuildsWithVersionAsInputDefault

func NewGetBuildsWithVersionAsInputDefault(code int) *GetBuildsWithVersionAsInputDefault

NewGetBuildsWithVersionAsInputDefault creates a GetBuildsWithVersionAsInputDefault with default headers values

func (*GetBuildsWithVersionAsInputDefault) Code

Code gets the status code for the get builds with version as input default response

func (*GetBuildsWithVersionAsInputDefault) Error

func (*GetBuildsWithVersionAsInputDefault) GetPayload

func (*GetBuildsWithVersionAsInputDefault) IsClientError

func (o *GetBuildsWithVersionAsInputDefault) IsClientError() bool

IsClientError returns true when this get builds with version as input default response has a 4xx status code

func (*GetBuildsWithVersionAsInputDefault) IsCode

IsCode returns true when this get builds with version as input default response a status code equal to that given

func (*GetBuildsWithVersionAsInputDefault) IsRedirect

func (o *GetBuildsWithVersionAsInputDefault) IsRedirect() bool

IsRedirect returns true when this get builds with version as input default response has a 3xx status code

func (*GetBuildsWithVersionAsInputDefault) IsServerError

func (o *GetBuildsWithVersionAsInputDefault) IsServerError() bool

IsServerError returns true when this get builds with version as input default response has a 5xx status code

func (*GetBuildsWithVersionAsInputDefault) IsSuccess

IsSuccess returns true when this get builds with version as input default response has a 2xx status code

func (*GetBuildsWithVersionAsInputDefault) String

type GetBuildsWithVersionAsInputForbidden

type GetBuildsWithVersionAsInputForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetBuildsWithVersionAsInputForbidden

func NewGetBuildsWithVersionAsInputForbidden() *GetBuildsWithVersionAsInputForbidden

NewGetBuildsWithVersionAsInputForbidden creates a GetBuildsWithVersionAsInputForbidden with default headers values

func (*GetBuildsWithVersionAsInputForbidden) Code

Code gets the status code for the get builds with version as input forbidden response

func (*GetBuildsWithVersionAsInputForbidden) Error

func (*GetBuildsWithVersionAsInputForbidden) GetPayload

func (*GetBuildsWithVersionAsInputForbidden) IsClientError

func (o *GetBuildsWithVersionAsInputForbidden) IsClientError() bool

IsClientError returns true when this get builds with version as input forbidden response has a 4xx status code

func (*GetBuildsWithVersionAsInputForbidden) IsCode

IsCode returns true when this get builds with version as input forbidden response a status code equal to that given

func (*GetBuildsWithVersionAsInputForbidden) IsRedirect

IsRedirect returns true when this get builds with version as input forbidden response has a 3xx status code

func (*GetBuildsWithVersionAsInputForbidden) IsServerError

func (o *GetBuildsWithVersionAsInputForbidden) IsServerError() bool

IsServerError returns true when this get builds with version as input forbidden response has a 5xx status code

func (*GetBuildsWithVersionAsInputForbidden) IsSuccess

IsSuccess returns true when this get builds with version as input forbidden response has a 2xx status code

func (*GetBuildsWithVersionAsInputForbidden) String

type GetBuildsWithVersionAsInputNotFound

type GetBuildsWithVersionAsInputNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewGetBuildsWithVersionAsInputNotFound

func NewGetBuildsWithVersionAsInputNotFound() *GetBuildsWithVersionAsInputNotFound

NewGetBuildsWithVersionAsInputNotFound creates a GetBuildsWithVersionAsInputNotFound with default headers values

func (*GetBuildsWithVersionAsInputNotFound) Code

Code gets the status code for the get builds with version as input not found response

func (*GetBuildsWithVersionAsInputNotFound) Error

func (*GetBuildsWithVersionAsInputNotFound) GetPayload

func (*GetBuildsWithVersionAsInputNotFound) IsClientError

func (o *GetBuildsWithVersionAsInputNotFound) IsClientError() bool

IsClientError returns true when this get builds with version as input not found response has a 4xx status code

func (*GetBuildsWithVersionAsInputNotFound) IsCode

IsCode returns true when this get builds with version as input not found response a status code equal to that given

func (*GetBuildsWithVersionAsInputNotFound) IsRedirect

func (o *GetBuildsWithVersionAsInputNotFound) IsRedirect() bool

IsRedirect returns true when this get builds with version as input not found response has a 3xx status code

func (*GetBuildsWithVersionAsInputNotFound) IsServerError

func (o *GetBuildsWithVersionAsInputNotFound) IsServerError() bool

IsServerError returns true when this get builds with version as input not found response has a 5xx status code

func (*GetBuildsWithVersionAsInputNotFound) IsSuccess

IsSuccess returns true when this get builds with version as input not found response has a 2xx status code

func (*GetBuildsWithVersionAsInputNotFound) String

type GetBuildsWithVersionAsInputOK

type GetBuildsWithVersionAsInputOK struct {
	Payload *GetBuildsWithVersionAsInputOKBody
}

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

The resource of the pipeline's which has the specified name.

func NewGetBuildsWithVersionAsInputOK

func NewGetBuildsWithVersionAsInputOK() *GetBuildsWithVersionAsInputOK

NewGetBuildsWithVersionAsInputOK creates a GetBuildsWithVersionAsInputOK with default headers values

func (*GetBuildsWithVersionAsInputOK) Code

Code gets the status code for the get builds with version as input o k response

func (*GetBuildsWithVersionAsInputOK) Error

func (*GetBuildsWithVersionAsInputOK) GetPayload

func (*GetBuildsWithVersionAsInputOK) IsClientError

func (o *GetBuildsWithVersionAsInputOK) IsClientError() bool

IsClientError returns true when this get builds with version as input o k response has a 4xx status code

func (*GetBuildsWithVersionAsInputOK) IsCode

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

IsCode returns true when this get builds with version as input o k response a status code equal to that given

func (*GetBuildsWithVersionAsInputOK) IsRedirect

func (o *GetBuildsWithVersionAsInputOK) IsRedirect() bool

IsRedirect returns true when this get builds with version as input o k response has a 3xx status code

func (*GetBuildsWithVersionAsInputOK) IsServerError

func (o *GetBuildsWithVersionAsInputOK) IsServerError() bool

IsServerError returns true when this get builds with version as input o k response has a 5xx status code

func (*GetBuildsWithVersionAsInputOK) IsSuccess

func (o *GetBuildsWithVersionAsInputOK) IsSuccess() bool

IsSuccess returns true when this get builds with version as input o k response has a 2xx status code

func (*GetBuildsWithVersionAsInputOK) String

type GetBuildsWithVersionAsInputOKBody

type GetBuildsWithVersionAsInputOKBody struct {

	// data
	// Required: true
	Data []*models.Build `json:"data"`
}

GetBuildsWithVersionAsInputOKBody get builds with version as input o k body swagger:model GetBuildsWithVersionAsInputOKBody

func (*GetBuildsWithVersionAsInputOKBody) ContextValidate

func (o *GetBuildsWithVersionAsInputOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get builds with version as input o k body based on the context it is used

func (*GetBuildsWithVersionAsInputOKBody) MarshalBinary

func (o *GetBuildsWithVersionAsInputOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBuildsWithVersionAsInputOKBody) UnmarshalBinary

func (o *GetBuildsWithVersionAsInputOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBuildsWithVersionAsInputOKBody) Validate

Validate validates this get builds with version as input o k body

type GetBuildsWithVersionAsInputParams

type GetBuildsWithVersionAsInputParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

	/* EnvironmentCanonical.

	   The environment canonical to use as part of a path
	*/
	EnvironmentCanonical string

	/* InpathPipelineName.

	   A pipeline name
	*/
	InpathPipelineName string

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	/* ProjectCanonical.

	   A canonical of a project.
	*/
	ProjectCanonical string

	/* ResourceName.

	   A resource name
	*/
	ResourceName string

	/* ResourceVersionID.

	   A resource's version id

	   Format: uint64
	*/
	ResourceVersionID uint64

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

GetBuildsWithVersionAsInputParams contains all the parameters to send to the API endpoint

for the get builds with version as input operation.

Typically these are written to a http.Request.

func NewGetBuildsWithVersionAsInputParams

func NewGetBuildsWithVersionAsInputParams() *GetBuildsWithVersionAsInputParams

NewGetBuildsWithVersionAsInputParams creates a new GetBuildsWithVersionAsInputParams 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 NewGetBuildsWithVersionAsInputParamsWithContext

func NewGetBuildsWithVersionAsInputParamsWithContext(ctx context.Context) *GetBuildsWithVersionAsInputParams

NewGetBuildsWithVersionAsInputParamsWithContext creates a new GetBuildsWithVersionAsInputParams object with the ability to set a context for a request.

func NewGetBuildsWithVersionAsInputParamsWithHTTPClient

func NewGetBuildsWithVersionAsInputParamsWithHTTPClient(client *http.Client) *GetBuildsWithVersionAsInputParams

NewGetBuildsWithVersionAsInputParamsWithHTTPClient creates a new GetBuildsWithVersionAsInputParams object with the ability to set a custom HTTPClient for a request.

func NewGetBuildsWithVersionAsInputParamsWithTimeout

func NewGetBuildsWithVersionAsInputParamsWithTimeout(timeout time.Duration) *GetBuildsWithVersionAsInputParams

NewGetBuildsWithVersionAsInputParamsWithTimeout creates a new GetBuildsWithVersionAsInputParams object with the ability to set a timeout on a request.

func (*GetBuildsWithVersionAsInputParams) SetComponentCanonical

func (o *GetBuildsWithVersionAsInputParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) SetContext

SetContext adds the context to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) SetDefaults

func (o *GetBuildsWithVersionAsInputParams) SetDefaults()

SetDefaults hydrates default values in the get builds with version as input params (not the query body).

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

func (*GetBuildsWithVersionAsInputParams) SetEnvironmentCanonical

func (o *GetBuildsWithVersionAsInputParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) SetInpathPipelineName

func (o *GetBuildsWithVersionAsInputParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) SetOrganizationCanonical

func (o *GetBuildsWithVersionAsInputParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) SetProjectCanonical

func (o *GetBuildsWithVersionAsInputParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) SetResourceName

func (o *GetBuildsWithVersionAsInputParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) SetResourceVersionID

func (o *GetBuildsWithVersionAsInputParams) SetResourceVersionID(resourceVersionID uint64)

SetResourceVersionID adds the resourceVersionId to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) SetTimeout

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

SetTimeout adds the timeout to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithComponentCanonical

func (o *GetBuildsWithVersionAsInputParams) WithComponentCanonical(componentCanonical string) *GetBuildsWithVersionAsInputParams

WithComponentCanonical adds the componentCanonical to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithContext

WithContext adds the context to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithDefaults

WithDefaults hydrates default values in the get builds with version as input params (not the query body).

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

func (*GetBuildsWithVersionAsInputParams) WithEnvironmentCanonical

func (o *GetBuildsWithVersionAsInputParams) WithEnvironmentCanonical(environmentCanonical string) *GetBuildsWithVersionAsInputParams

WithEnvironmentCanonical adds the environmentCanonical to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithInpathPipelineName

func (o *GetBuildsWithVersionAsInputParams) WithInpathPipelineName(inpathPipelineName string) *GetBuildsWithVersionAsInputParams

WithInpathPipelineName adds the inpathPipelineName to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithOrganizationCanonical

func (o *GetBuildsWithVersionAsInputParams) WithOrganizationCanonical(organizationCanonical string) *GetBuildsWithVersionAsInputParams

WithOrganizationCanonical adds the organizationCanonical to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithProjectCanonical

func (o *GetBuildsWithVersionAsInputParams) WithProjectCanonical(projectCanonical string) *GetBuildsWithVersionAsInputParams

WithProjectCanonical adds the projectCanonical to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithResourceName

WithResourceName adds the resourceName to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithResourceVersionID

func (o *GetBuildsWithVersionAsInputParams) WithResourceVersionID(resourceVersionID uint64) *GetBuildsWithVersionAsInputParams

WithResourceVersionID adds the resourceVersionID to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WithTimeout

WithTimeout adds the timeout to the get builds with version as input params

func (*GetBuildsWithVersionAsInputParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBuildsWithVersionAsInputReader

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

GetBuildsWithVersionAsInputReader is a Reader for the GetBuildsWithVersionAsInput structure.

func (*GetBuildsWithVersionAsInputReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBuildsWithVersionAsOutputDefault

type GetBuildsWithVersionAsOutputDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

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

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetBuildsWithVersionAsOutputDefault

func NewGetBuildsWithVersionAsOutputDefault(code int) *GetBuildsWithVersionAsOutputDefault

NewGetBuildsWithVersionAsOutputDefault creates a GetBuildsWithVersionAsOutputDefault with default headers values

func (*GetBuildsWithVersionAsOutputDefault) Code

Code gets the status code for the get builds with version as output default response

func (*GetBuildsWithVersionAsOutputDefault) Error

func (*GetBuildsWithVersionAsOutputDefault) GetPayload

func (*GetBuildsWithVersionAsOutputDefault) IsClientError

func (o *GetBuildsWithVersionAsOutputDefault) IsClientError() bool

IsClientError returns true when this get builds with version as output default response has a 4xx status code

func (*GetBuildsWithVersionAsOutputDefault) IsCode

IsCode returns true when this get builds with version as output default response a status code equal to that given

func (*GetBuildsWithVersionAsOutputDefault) IsRedirect

func (o *GetBuildsWithVersionAsOutputDefault) IsRedirect() bool

IsRedirect returns true when this get builds with version as output default response has a 3xx status code

func (*GetBuildsWithVersionAsOutputDefault) IsServerError

func (o *GetBuildsWithVersionAsOutputDefault) IsServerError() bool

IsServerError returns true when this get builds with version as output default response has a 5xx status code

func (*GetBuildsWithVersionAsOutputDefault) IsSuccess

IsSuccess returns true when this get builds with version as output default response has a 2xx status code

func (*GetBuildsWithVersionAsOutputDefault) String

type GetBuildsWithVersionAsOutputForbidden

type GetBuildsWithVersionAsOutputForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetBuildsWithVersionAsOutputForbidden

func NewGetBuildsWithVersionAsOutputForbidden() *GetBuildsWithVersionAsOutputForbidden

NewGetBuildsWithVersionAsOutputForbidden creates a GetBuildsWithVersionAsOutputForbidden with default headers values

func (*GetBuildsWithVersionAsOutputForbidden) Code

Code gets the status code for the get builds with version as output forbidden response

func (*GetBuildsWithVersionAsOutputForbidden) Error

func (*GetBuildsWithVersionAsOutputForbidden) GetPayload

func (*GetBuildsWithVersionAsOutputForbidden) IsClientError

func (o *GetBuildsWithVersionAsOutputForbidden) IsClientError() bool

IsClientError returns true when this get builds with version as output forbidden response has a 4xx status code

func (*GetBuildsWithVersionAsOutputForbidden) IsCode

IsCode returns true when this get builds with version as output forbidden response a status code equal to that given

func (*GetBuildsWithVersionAsOutputForbidden) IsRedirect

IsRedirect returns true when this get builds with version as output forbidden response has a 3xx status code

func (*GetBuildsWithVersionAsOutputForbidden) IsServerError

func (o *GetBuildsWithVersionAsOutputForbidden) IsServerError() bool

IsServerError returns true when this get builds with version as output forbidden response has a 5xx status code

func (*GetBuildsWithVersionAsOutputForbidden) IsSuccess

IsSuccess returns true when this get builds with version as output forbidden response has a 2xx status code

func (*GetBuildsWithVersionAsOutputForbidden) String

type GetBuildsWithVersionAsOutputNotFound

type GetBuildsWithVersionAsOutputNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewGetBuildsWithVersionAsOutputNotFound

func NewGetBuildsWithVersionAsOutputNotFound() *GetBuildsWithVersionAsOutputNotFound

NewGetBuildsWithVersionAsOutputNotFound creates a GetBuildsWithVersionAsOutputNotFound with default headers values

func (*GetBuildsWithVersionAsOutputNotFound) Code

Code gets the status code for the get builds with version as output not found response

func (*GetBuildsWithVersionAsOutputNotFound) Error

func (*GetBuildsWithVersionAsOutputNotFound) GetPayload

func (*GetBuildsWithVersionAsOutputNotFound) IsClientError

func (o *GetBuildsWithVersionAsOutputNotFound) IsClientError() bool

IsClientError returns true when this get builds with version as output not found response has a 4xx status code

func (*GetBuildsWithVersionAsOutputNotFound) IsCode

IsCode returns true when this get builds with version as output not found response a status code equal to that given

func (*GetBuildsWithVersionAsOutputNotFound) IsRedirect

IsRedirect returns true when this get builds with version as output not found response has a 3xx status code

func (*GetBuildsWithVersionAsOutputNotFound) IsServerError

func (o *GetBuildsWithVersionAsOutputNotFound) IsServerError() bool

IsServerError returns true when this get builds with version as output not found response has a 5xx status code

func (*GetBuildsWithVersionAsOutputNotFound) IsSuccess

IsSuccess returns true when this get builds with version as output not found response has a 2xx status code

func (*GetBuildsWithVersionAsOutputNotFound) String

type GetBuildsWithVersionAsOutputOK

type GetBuildsWithVersionAsOutputOK struct {
	Payload *GetBuildsWithVersionAsOutputOKBody
}

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

The resource of the pipeline's which has the specified name.

func NewGetBuildsWithVersionAsOutputOK

func NewGetBuildsWithVersionAsOutputOK() *GetBuildsWithVersionAsOutputOK

NewGetBuildsWithVersionAsOutputOK creates a GetBuildsWithVersionAsOutputOK with default headers values

func (*GetBuildsWithVersionAsOutputOK) Code

Code gets the status code for the get builds with version as output o k response

func (*GetBuildsWithVersionAsOutputOK) Error

func (*GetBuildsWithVersionAsOutputOK) GetPayload

func (*GetBuildsWithVersionAsOutputOK) IsClientError

func (o *GetBuildsWithVersionAsOutputOK) IsClientError() bool

IsClientError returns true when this get builds with version as output o k response has a 4xx status code

func (*GetBuildsWithVersionAsOutputOK) IsCode

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

IsCode returns true when this get builds with version as output o k response a status code equal to that given

func (*GetBuildsWithVersionAsOutputOK) IsRedirect

func (o *GetBuildsWithVersionAsOutputOK) IsRedirect() bool

IsRedirect returns true when this get builds with version as output o k response has a 3xx status code

func (*GetBuildsWithVersionAsOutputOK) IsServerError

func (o *GetBuildsWithVersionAsOutputOK) IsServerError() bool

IsServerError returns true when this get builds with version as output o k response has a 5xx status code

func (*GetBuildsWithVersionAsOutputOK) IsSuccess

func (o *GetBuildsWithVersionAsOutputOK) IsSuccess() bool

IsSuccess returns true when this get builds with version as output o k response has a 2xx status code

func (*GetBuildsWithVersionAsOutputOK) String

type GetBuildsWithVersionAsOutputOKBody

type GetBuildsWithVersionAsOutputOKBody struct {

	// data
	// Required: true
	Data []*models.Build `json:"data"`
}

GetBuildsWithVersionAsOutputOKBody get builds with version as output o k body swagger:model GetBuildsWithVersionAsOutputOKBody

func (*GetBuildsWithVersionAsOutputOKBody) ContextValidate

func (o *GetBuildsWithVersionAsOutputOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get builds with version as output o k body based on the context it is used

func (*GetBuildsWithVersionAsOutputOKBody) MarshalBinary

func (o *GetBuildsWithVersionAsOutputOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBuildsWithVersionAsOutputOKBody) UnmarshalBinary

func (o *GetBuildsWithVersionAsOutputOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBuildsWithVersionAsOutputOKBody) Validate

Validate validates this get builds with version as output o k body

type GetBuildsWithVersionAsOutputParams

type GetBuildsWithVersionAsOutputParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

	/* EnvironmentCanonical.

	   The environment canonical to use as part of a path
	*/
	EnvironmentCanonical string

	/* InpathPipelineName.

	   A pipeline name
	*/
	InpathPipelineName string

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	/* ProjectCanonical.

	   A canonical of a project.
	*/
	ProjectCanonical string

	/* ResourceName.

	   A resource name
	*/
	ResourceName string

	/* ResourceVersionID.

	   A resource's version id

	   Format: uint64
	*/
	ResourceVersionID uint64

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

GetBuildsWithVersionAsOutputParams contains all the parameters to send to the API endpoint

for the get builds with version as output operation.

Typically these are written to a http.Request.

func NewGetBuildsWithVersionAsOutputParams

func NewGetBuildsWithVersionAsOutputParams() *GetBuildsWithVersionAsOutputParams

NewGetBuildsWithVersionAsOutputParams creates a new GetBuildsWithVersionAsOutputParams 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 NewGetBuildsWithVersionAsOutputParamsWithContext

func NewGetBuildsWithVersionAsOutputParamsWithContext(ctx context.Context) *GetBuildsWithVersionAsOutputParams

NewGetBuildsWithVersionAsOutputParamsWithContext creates a new GetBuildsWithVersionAsOutputParams object with the ability to set a context for a request.

func NewGetBuildsWithVersionAsOutputParamsWithHTTPClient

func NewGetBuildsWithVersionAsOutputParamsWithHTTPClient(client *http.Client) *GetBuildsWithVersionAsOutputParams

NewGetBuildsWithVersionAsOutputParamsWithHTTPClient creates a new GetBuildsWithVersionAsOutputParams object with the ability to set a custom HTTPClient for a request.

func NewGetBuildsWithVersionAsOutputParamsWithTimeout

func NewGetBuildsWithVersionAsOutputParamsWithTimeout(timeout time.Duration) *GetBuildsWithVersionAsOutputParams

NewGetBuildsWithVersionAsOutputParamsWithTimeout creates a new GetBuildsWithVersionAsOutputParams object with the ability to set a timeout on a request.

func (*GetBuildsWithVersionAsOutputParams) SetComponentCanonical

func (o *GetBuildsWithVersionAsOutputParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) SetContext

SetContext adds the context to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) SetDefaults

func (o *GetBuildsWithVersionAsOutputParams) SetDefaults()

SetDefaults hydrates default values in the get builds with version as output params (not the query body).

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

func (*GetBuildsWithVersionAsOutputParams) SetEnvironmentCanonical

func (o *GetBuildsWithVersionAsOutputParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) SetInpathPipelineName

func (o *GetBuildsWithVersionAsOutputParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) SetOrganizationCanonical

func (o *GetBuildsWithVersionAsOutputParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) SetProjectCanonical

func (o *GetBuildsWithVersionAsOutputParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) SetResourceName

func (o *GetBuildsWithVersionAsOutputParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) SetResourceVersionID

func (o *GetBuildsWithVersionAsOutputParams) SetResourceVersionID(resourceVersionID uint64)

SetResourceVersionID adds the resourceVersionId to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) SetTimeout

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

SetTimeout adds the timeout to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithComponentCanonical

func (o *GetBuildsWithVersionAsOutputParams) WithComponentCanonical(componentCanonical string) *GetBuildsWithVersionAsOutputParams

WithComponentCanonical adds the componentCanonical to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithContext

WithContext adds the context to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithDefaults

WithDefaults hydrates default values in the get builds with version as output params (not the query body).

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

func (*GetBuildsWithVersionAsOutputParams) WithEnvironmentCanonical

func (o *GetBuildsWithVersionAsOutputParams) WithEnvironmentCanonical(environmentCanonical string) *GetBuildsWithVersionAsOutputParams

WithEnvironmentCanonical adds the environmentCanonical to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithInpathPipelineName

func (o *GetBuildsWithVersionAsOutputParams) WithInpathPipelineName(inpathPipelineName string) *GetBuildsWithVersionAsOutputParams

WithInpathPipelineName adds the inpathPipelineName to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithOrganizationCanonical

func (o *GetBuildsWithVersionAsOutputParams) WithOrganizationCanonical(organizationCanonical string) *GetBuildsWithVersionAsOutputParams

WithOrganizationCanonical adds the organizationCanonical to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithProjectCanonical

func (o *GetBuildsWithVersionAsOutputParams) WithProjectCanonical(projectCanonical string) *GetBuildsWithVersionAsOutputParams

WithProjectCanonical adds the projectCanonical to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithResourceName

WithResourceName adds the resourceName to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithResourceVersionID

func (o *GetBuildsWithVersionAsOutputParams) WithResourceVersionID(resourceVersionID uint64) *GetBuildsWithVersionAsOutputParams

WithResourceVersionID adds the resourceVersionID to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WithTimeout

WithTimeout adds the timeout to the get builds with version as output params

func (*GetBuildsWithVersionAsOutputParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBuildsWithVersionAsOutputReader

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

GetBuildsWithVersionAsOutputReader is a Reader for the GetBuildsWithVersionAsOutput structure.

func (*GetBuildsWithVersionAsOutputReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceVersionsDefault

type GetResourceVersionsDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

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

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetResourceVersionsDefault

func NewGetResourceVersionsDefault(code int) *GetResourceVersionsDefault

NewGetResourceVersionsDefault creates a GetResourceVersionsDefault with default headers values

func (*GetResourceVersionsDefault) Code

func (o *GetResourceVersionsDefault) Code() int

Code gets the status code for the get resource versions default response

func (*GetResourceVersionsDefault) Error

func (*GetResourceVersionsDefault) GetPayload

func (*GetResourceVersionsDefault) IsClientError

func (o *GetResourceVersionsDefault) IsClientError() bool

IsClientError returns true when this get resource versions default response has a 4xx status code

func (*GetResourceVersionsDefault) IsCode

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

IsCode returns true when this get resource versions default response a status code equal to that given

func (*GetResourceVersionsDefault) IsRedirect

func (o *GetResourceVersionsDefault) IsRedirect() bool

IsRedirect returns true when this get resource versions default response has a 3xx status code

func (*GetResourceVersionsDefault) IsServerError

func (o *GetResourceVersionsDefault) IsServerError() bool

IsServerError returns true when this get resource versions default response has a 5xx status code

func (*GetResourceVersionsDefault) IsSuccess

func (o *GetResourceVersionsDefault) IsSuccess() bool

IsSuccess returns true when this get resource versions default response has a 2xx status code

func (*GetResourceVersionsDefault) String

func (o *GetResourceVersionsDefault) String() string

type GetResourceVersionsForbidden

type GetResourceVersionsForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetResourceVersionsForbidden

func NewGetResourceVersionsForbidden() *GetResourceVersionsForbidden

NewGetResourceVersionsForbidden creates a GetResourceVersionsForbidden with default headers values

func (*GetResourceVersionsForbidden) Code

Code gets the status code for the get resource versions forbidden response

func (*GetResourceVersionsForbidden) Error

func (*GetResourceVersionsForbidden) GetPayload

func (*GetResourceVersionsForbidden) IsClientError

func (o *GetResourceVersionsForbidden) IsClientError() bool

IsClientError returns true when this get resource versions forbidden response has a 4xx status code

func (*GetResourceVersionsForbidden) IsCode

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

IsCode returns true when this get resource versions forbidden response a status code equal to that given

func (*GetResourceVersionsForbidden) IsRedirect

func (o *GetResourceVersionsForbidden) IsRedirect() bool

IsRedirect returns true when this get resource versions forbidden response has a 3xx status code

func (*GetResourceVersionsForbidden) IsServerError

func (o *GetResourceVersionsForbidden) IsServerError() bool

IsServerError returns true when this get resource versions forbidden response has a 5xx status code

func (*GetResourceVersionsForbidden) IsSuccess

func (o *GetResourceVersionsForbidden) IsSuccess() bool

IsSuccess returns true when this get resource versions forbidden response has a 2xx status code

func (*GetResourceVersionsForbidden) String

type GetResourceVersionsNotFound

type GetResourceVersionsNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewGetResourceVersionsNotFound

func NewGetResourceVersionsNotFound() *GetResourceVersionsNotFound

NewGetResourceVersionsNotFound creates a GetResourceVersionsNotFound with default headers values

func (*GetResourceVersionsNotFound) Code

func (o *GetResourceVersionsNotFound) Code() int

Code gets the status code for the get resource versions not found response

func (*GetResourceVersionsNotFound) Error

func (*GetResourceVersionsNotFound) GetPayload

func (*GetResourceVersionsNotFound) IsClientError

func (o *GetResourceVersionsNotFound) IsClientError() bool

IsClientError returns true when this get resource versions not found response has a 4xx status code

func (*GetResourceVersionsNotFound) IsCode

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

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

func (*GetResourceVersionsNotFound) IsRedirect

func (o *GetResourceVersionsNotFound) IsRedirect() bool

IsRedirect returns true when this get resource versions not found response has a 3xx status code

func (*GetResourceVersionsNotFound) IsServerError

func (o *GetResourceVersionsNotFound) IsServerError() bool

IsServerError returns true when this get resource versions not found response has a 5xx status code

func (*GetResourceVersionsNotFound) IsSuccess

func (o *GetResourceVersionsNotFound) IsSuccess() bool

IsSuccess returns true when this get resource versions not found response has a 2xx status code

func (*GetResourceVersionsNotFound) String

func (o *GetResourceVersionsNotFound) String() string

type GetResourceVersionsOK

type GetResourceVersionsOK struct {
	Payload *GetResourceVersionsOKBody
}

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

Get versions of a specified resource.

func NewGetResourceVersionsOK

func NewGetResourceVersionsOK() *GetResourceVersionsOK

NewGetResourceVersionsOK creates a GetResourceVersionsOK with default headers values

func (*GetResourceVersionsOK) Code

func (o *GetResourceVersionsOK) Code() int

Code gets the status code for the get resource versions o k response

func (*GetResourceVersionsOK) Error

func (o *GetResourceVersionsOK) Error() string

func (*GetResourceVersionsOK) GetPayload

func (*GetResourceVersionsOK) IsClientError

func (o *GetResourceVersionsOK) IsClientError() bool

IsClientError returns true when this get resource versions o k response has a 4xx status code

func (*GetResourceVersionsOK) IsCode

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

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

func (*GetResourceVersionsOK) IsRedirect

func (o *GetResourceVersionsOK) IsRedirect() bool

IsRedirect returns true when this get resource versions o k response has a 3xx status code

func (*GetResourceVersionsOK) IsServerError

func (o *GetResourceVersionsOK) IsServerError() bool

IsServerError returns true when this get resource versions o k response has a 5xx status code

func (*GetResourceVersionsOK) IsSuccess

func (o *GetResourceVersionsOK) IsSuccess() bool

IsSuccess returns true when this get resource versions o k response has a 2xx status code

func (*GetResourceVersionsOK) String

func (o *GetResourceVersionsOK) String() string

type GetResourceVersionsOKBody

type GetResourceVersionsOKBody struct {

	// data
	// Required: true
	Data []*models.ResourceVersion `json:"data"`

	// pagination concourse
	// Required: true
	PaginationConcourse *models.PaginationConcourse `json:"pagination_concourse"`
}

GetResourceVersionsOKBody get resource versions o k body swagger:model GetResourceVersionsOKBody

func (*GetResourceVersionsOKBody) ContextValidate

func (o *GetResourceVersionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get resource versions o k body based on the context it is used

func (*GetResourceVersionsOKBody) MarshalBinary

func (o *GetResourceVersionsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetResourceVersionsOKBody) UnmarshalBinary

func (o *GetResourceVersionsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetResourceVersionsOKBody) Validate

func (o *GetResourceVersionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get resource versions o k body

type GetResourceVersionsParams

type GetResourceVersionsParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

	/* ConcoursePageLimit.

	   The number of items at most which the response can have.

	   Format: uint64
	   Default: 10
	*/
	ConcoursePageLimit *uint64

	/* ConcoursePageSince.

	   The time after which we should look for entities to return.

	   Format: uint64
	*/
	ConcoursePageSince *uint64

	/* ConcoursePageUntil.

	   The time before which we should look for entities to return.

	   Format: uint64
	*/
	ConcoursePageUntil *uint64

	/* EnvironmentCanonical.

	   The environment canonical to use as part of a path
	*/
	EnvironmentCanonical string

	/* FilterVersion.

	   A version of a resource
	*/
	FilterVersion []string

	/* InpathPipelineName.

	   A pipeline name
	*/
	InpathPipelineName string

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	/* ProjectCanonical.

	   A canonical of a project.
	*/
	ProjectCanonical string

	/* ResourceName.

	   A resource name
	*/
	ResourceName string

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

GetResourceVersionsParams contains all the parameters to send to the API endpoint

for the get resource versions operation.

Typically these are written to a http.Request.

func NewGetResourceVersionsParams

func NewGetResourceVersionsParams() *GetResourceVersionsParams

NewGetResourceVersionsParams creates a new GetResourceVersionsParams 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 NewGetResourceVersionsParamsWithContext

func NewGetResourceVersionsParamsWithContext(ctx context.Context) *GetResourceVersionsParams

NewGetResourceVersionsParamsWithContext creates a new GetResourceVersionsParams object with the ability to set a context for a request.

func NewGetResourceVersionsParamsWithHTTPClient

func NewGetResourceVersionsParamsWithHTTPClient(client *http.Client) *GetResourceVersionsParams

NewGetResourceVersionsParamsWithHTTPClient creates a new GetResourceVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceVersionsParamsWithTimeout

func NewGetResourceVersionsParamsWithTimeout(timeout time.Duration) *GetResourceVersionsParams

NewGetResourceVersionsParamsWithTimeout creates a new GetResourceVersionsParams object with the ability to set a timeout on a request.

func (*GetResourceVersionsParams) SetComponentCanonical

func (o *GetResourceVersionsParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the get resource versions params

func (*GetResourceVersionsParams) SetConcoursePageLimit

func (o *GetResourceVersionsParams) SetConcoursePageLimit(concoursePageLimit *uint64)

SetConcoursePageLimit adds the concoursePageLimit to the get resource versions params

func (*GetResourceVersionsParams) SetConcoursePageSince

func (o *GetResourceVersionsParams) SetConcoursePageSince(concoursePageSince *uint64)

SetConcoursePageSince adds the concoursePageSince to the get resource versions params

func (*GetResourceVersionsParams) SetConcoursePageUntil

func (o *GetResourceVersionsParams) SetConcoursePageUntil(concoursePageUntil *uint64)

SetConcoursePageUntil adds the concoursePageUntil to the get resource versions params

func (*GetResourceVersionsParams) SetContext

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

SetContext adds the context to the get resource versions params

func (*GetResourceVersionsParams) SetDefaults

func (o *GetResourceVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get resource versions params (not the query body).

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

func (*GetResourceVersionsParams) SetEnvironmentCanonical

func (o *GetResourceVersionsParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the get resource versions params

func (*GetResourceVersionsParams) SetFilterVersion

func (o *GetResourceVersionsParams) SetFilterVersion(filterVersion []string)

SetFilterVersion adds the filterVersion to the get resource versions params

func (*GetResourceVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource versions params

func (*GetResourceVersionsParams) SetInpathPipelineName

func (o *GetResourceVersionsParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the get resource versions params

func (*GetResourceVersionsParams) SetOrganizationCanonical

func (o *GetResourceVersionsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get resource versions params

func (*GetResourceVersionsParams) SetProjectCanonical

func (o *GetResourceVersionsParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get resource versions params

func (*GetResourceVersionsParams) SetResourceName

func (o *GetResourceVersionsParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the get resource versions params

func (*GetResourceVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the get resource versions params

func (*GetResourceVersionsParams) WithComponentCanonical

func (o *GetResourceVersionsParams) WithComponentCanonical(componentCanonical string) *GetResourceVersionsParams

WithComponentCanonical adds the componentCanonical to the get resource versions params

func (*GetResourceVersionsParams) WithConcoursePageLimit

func (o *GetResourceVersionsParams) WithConcoursePageLimit(concoursePageLimit *uint64) *GetResourceVersionsParams

WithConcoursePageLimit adds the concoursePageLimit to the get resource versions params

func (*GetResourceVersionsParams) WithConcoursePageSince

func (o *GetResourceVersionsParams) WithConcoursePageSince(concoursePageSince *uint64) *GetResourceVersionsParams

WithConcoursePageSince adds the concoursePageSince to the get resource versions params

func (*GetResourceVersionsParams) WithConcoursePageUntil

func (o *GetResourceVersionsParams) WithConcoursePageUntil(concoursePageUntil *uint64) *GetResourceVersionsParams

WithConcoursePageUntil adds the concoursePageUntil to the get resource versions params

func (*GetResourceVersionsParams) WithContext

WithContext adds the context to the get resource versions params

func (*GetResourceVersionsParams) WithDefaults

WithDefaults hydrates default values in the get resource versions params (not the query body).

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

func (*GetResourceVersionsParams) WithEnvironmentCanonical

func (o *GetResourceVersionsParams) WithEnvironmentCanonical(environmentCanonical string) *GetResourceVersionsParams

WithEnvironmentCanonical adds the environmentCanonical to the get resource versions params

func (*GetResourceVersionsParams) WithFilterVersion

func (o *GetResourceVersionsParams) WithFilterVersion(filterVersion []string) *GetResourceVersionsParams

WithFilterVersion adds the filterVersion to the get resource versions params

func (*GetResourceVersionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get resource versions params

func (*GetResourceVersionsParams) WithInpathPipelineName

func (o *GetResourceVersionsParams) WithInpathPipelineName(inpathPipelineName string) *GetResourceVersionsParams

WithInpathPipelineName adds the inpathPipelineName to the get resource versions params

func (*GetResourceVersionsParams) WithOrganizationCanonical

func (o *GetResourceVersionsParams) WithOrganizationCanonical(organizationCanonical string) *GetResourceVersionsParams

WithOrganizationCanonical adds the organizationCanonical to the get resource versions params

func (*GetResourceVersionsParams) WithProjectCanonical

func (o *GetResourceVersionsParams) WithProjectCanonical(projectCanonical string) *GetResourceVersionsParams

WithProjectCanonical adds the projectCanonical to the get resource versions params

func (*GetResourceVersionsParams) WithResourceName

func (o *GetResourceVersionsParams) WithResourceName(resourceName string) *GetResourceVersionsParams

WithResourceName adds the resourceName to the get resource versions params

func (*GetResourceVersionsParams) WithTimeout

WithTimeout adds the timeout to the get resource versions params

func (*GetResourceVersionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceVersionsReader

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

GetResourceVersionsReader is a Reader for the GetResourceVersions structure.

func (*GetResourceVersionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceVersionsUnprocessableEntity

type GetResourceVersionsUnprocessableEntity struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

All the custom errors that are generated from the Cycloid API

func NewGetResourceVersionsUnprocessableEntity

func NewGetResourceVersionsUnprocessableEntity() *GetResourceVersionsUnprocessableEntity

NewGetResourceVersionsUnprocessableEntity creates a GetResourceVersionsUnprocessableEntity with default headers values

func (*GetResourceVersionsUnprocessableEntity) Code

Code gets the status code for the get resource versions unprocessable entity response

func (*GetResourceVersionsUnprocessableEntity) Error

func (*GetResourceVersionsUnprocessableEntity) GetPayload

func (*GetResourceVersionsUnprocessableEntity) IsClientError

func (o *GetResourceVersionsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this get resource versions unprocessable entity response has a 4xx status code

func (*GetResourceVersionsUnprocessableEntity) IsCode

IsCode returns true when this get resource versions unprocessable entity response a status code equal to that given

func (*GetResourceVersionsUnprocessableEntity) IsRedirect

IsRedirect returns true when this get resource versions unprocessable entity response has a 3xx status code

func (*GetResourceVersionsUnprocessableEntity) IsServerError

func (o *GetResourceVersionsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this get resource versions unprocessable entity response has a 5xx status code

func (*GetResourceVersionsUnprocessableEntity) IsSuccess

IsSuccess returns true when this get resource versions unprocessable entity response has a 2xx status code

func (*GetResourceVersionsUnprocessableEntity) String

type PinResourceVersionDefault

type PinResourceVersionDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

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

The response sent when an unexpected error happened, as known as an internal server error.

func NewPinResourceVersionDefault

func NewPinResourceVersionDefault(code int) *PinResourceVersionDefault

NewPinResourceVersionDefault creates a PinResourceVersionDefault with default headers values

func (*PinResourceVersionDefault) Code

func (o *PinResourceVersionDefault) Code() int

Code gets the status code for the pin resource version default response

func (*PinResourceVersionDefault) Error

func (o *PinResourceVersionDefault) Error() string

func (*PinResourceVersionDefault) GetPayload

func (*PinResourceVersionDefault) IsClientError

func (o *PinResourceVersionDefault) IsClientError() bool

IsClientError returns true when this pin resource version default response has a 4xx status code

func (*PinResourceVersionDefault) IsCode

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

IsCode returns true when this pin resource version default response a status code equal to that given

func (*PinResourceVersionDefault) IsRedirect

func (o *PinResourceVersionDefault) IsRedirect() bool

IsRedirect returns true when this pin resource version default response has a 3xx status code

func (*PinResourceVersionDefault) IsServerError

func (o *PinResourceVersionDefault) IsServerError() bool

IsServerError returns true when this pin resource version default response has a 5xx status code

func (*PinResourceVersionDefault) IsSuccess

func (o *PinResourceVersionDefault) IsSuccess() bool

IsSuccess returns true when this pin resource version default response has a 2xx status code

func (*PinResourceVersionDefault) String

func (o *PinResourceVersionDefault) String() string

type PinResourceVersionForbidden

type PinResourceVersionForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewPinResourceVersionForbidden

func NewPinResourceVersionForbidden() *PinResourceVersionForbidden

NewPinResourceVersionForbidden creates a PinResourceVersionForbidden with default headers values

func (*PinResourceVersionForbidden) Code

func (o *PinResourceVersionForbidden) Code() int

Code gets the status code for the pin resource version forbidden response

func (*PinResourceVersionForbidden) Error

func (*PinResourceVersionForbidden) GetPayload

func (*PinResourceVersionForbidden) IsClientError

func (o *PinResourceVersionForbidden) IsClientError() bool

IsClientError returns true when this pin resource version forbidden response has a 4xx status code

func (*PinResourceVersionForbidden) IsCode

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

IsCode returns true when this pin resource version forbidden response a status code equal to that given

func (*PinResourceVersionForbidden) IsRedirect

func (o *PinResourceVersionForbidden) IsRedirect() bool

IsRedirect returns true when this pin resource version forbidden response has a 3xx status code

func (*PinResourceVersionForbidden) IsServerError

func (o *PinResourceVersionForbidden) IsServerError() bool

IsServerError returns true when this pin resource version forbidden response has a 5xx status code

func (*PinResourceVersionForbidden) IsSuccess

func (o *PinResourceVersionForbidden) IsSuccess() bool

IsSuccess returns true when this pin resource version forbidden response has a 2xx status code

func (*PinResourceVersionForbidden) String

func (o *PinResourceVersionForbidden) String() string

type PinResourceVersionNoContent

type PinResourceVersionNoContent struct {
}

PinResourceVersionNoContent describes a response with status code 204, with default header values.

Resource version has been pinned

func NewPinResourceVersionNoContent

func NewPinResourceVersionNoContent() *PinResourceVersionNoContent

NewPinResourceVersionNoContent creates a PinResourceVersionNoContent with default headers values

func (*PinResourceVersionNoContent) Code

func (o *PinResourceVersionNoContent) Code() int

Code gets the status code for the pin resource version no content response

func (*PinResourceVersionNoContent) Error

func (*PinResourceVersionNoContent) IsClientError

func (o *PinResourceVersionNoContent) IsClientError() bool

IsClientError returns true when this pin resource version no content response has a 4xx status code

func (*PinResourceVersionNoContent) IsCode

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

IsCode returns true when this pin resource version no content response a status code equal to that given

func (*PinResourceVersionNoContent) IsRedirect

func (o *PinResourceVersionNoContent) IsRedirect() bool

IsRedirect returns true when this pin resource version no content response has a 3xx status code

func (*PinResourceVersionNoContent) IsServerError

func (o *PinResourceVersionNoContent) IsServerError() bool

IsServerError returns true when this pin resource version no content response has a 5xx status code

func (*PinResourceVersionNoContent) IsSuccess

func (o *PinResourceVersionNoContent) IsSuccess() bool

IsSuccess returns true when this pin resource version no content response has a 2xx status code

func (*PinResourceVersionNoContent) String

func (o *PinResourceVersionNoContent) String() string

type PinResourceVersionNotFound

type PinResourceVersionNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewPinResourceVersionNotFound

func NewPinResourceVersionNotFound() *PinResourceVersionNotFound

NewPinResourceVersionNotFound creates a PinResourceVersionNotFound with default headers values

func (*PinResourceVersionNotFound) Code

func (o *PinResourceVersionNotFound) Code() int

Code gets the status code for the pin resource version not found response

func (*PinResourceVersionNotFound) Error

func (*PinResourceVersionNotFound) GetPayload

func (*PinResourceVersionNotFound) IsClientError

func (o *PinResourceVersionNotFound) IsClientError() bool

IsClientError returns true when this pin resource version not found response has a 4xx status code

func (*PinResourceVersionNotFound) IsCode

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

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

func (*PinResourceVersionNotFound) IsRedirect

func (o *PinResourceVersionNotFound) IsRedirect() bool

IsRedirect returns true when this pin resource version not found response has a 3xx status code

func (*PinResourceVersionNotFound) IsServerError

func (o *PinResourceVersionNotFound) IsServerError() bool

IsServerError returns true when this pin resource version not found response has a 5xx status code

func (*PinResourceVersionNotFound) IsSuccess

func (o *PinResourceVersionNotFound) IsSuccess() bool

IsSuccess returns true when this pin resource version not found response has a 2xx status code

func (*PinResourceVersionNotFound) String

func (o *PinResourceVersionNotFound) String() string

type PinResourceVersionParams

type PinResourceVersionParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

	/* EnvironmentCanonical.

	   The environment canonical to use as part of a path
	*/
	EnvironmentCanonical string

	/* InpathPipelineName.

	   A pipeline name
	*/
	InpathPipelineName string

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	/* ProjectCanonical.

	   A canonical of a project.
	*/
	ProjectCanonical string

	/* ResourceName.

	   A resource name
	*/
	ResourceName string

	/* ResourceVersionID.

	   A resource's version id

	   Format: uint64
	*/
	ResourceVersionID uint64

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

PinResourceVersionParams contains all the parameters to send to the API endpoint

for the pin resource version operation.

Typically these are written to a http.Request.

func NewPinResourceVersionParams

func NewPinResourceVersionParams() *PinResourceVersionParams

NewPinResourceVersionParams creates a new PinResourceVersionParams 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 NewPinResourceVersionParamsWithContext

func NewPinResourceVersionParamsWithContext(ctx context.Context) *PinResourceVersionParams

NewPinResourceVersionParamsWithContext creates a new PinResourceVersionParams object with the ability to set a context for a request.

func NewPinResourceVersionParamsWithHTTPClient

func NewPinResourceVersionParamsWithHTTPClient(client *http.Client) *PinResourceVersionParams

NewPinResourceVersionParamsWithHTTPClient creates a new PinResourceVersionParams object with the ability to set a custom HTTPClient for a request.

func NewPinResourceVersionParamsWithTimeout

func NewPinResourceVersionParamsWithTimeout(timeout time.Duration) *PinResourceVersionParams

NewPinResourceVersionParamsWithTimeout creates a new PinResourceVersionParams object with the ability to set a timeout on a request.

func (*PinResourceVersionParams) SetComponentCanonical

func (o *PinResourceVersionParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the pin resource version params

func (*PinResourceVersionParams) SetContext

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

SetContext adds the context to the pin resource version params

func (*PinResourceVersionParams) SetDefaults

func (o *PinResourceVersionParams) SetDefaults()

SetDefaults hydrates default values in the pin resource version params (not the query body).

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

func (*PinResourceVersionParams) SetEnvironmentCanonical

func (o *PinResourceVersionParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the pin resource version params

func (*PinResourceVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pin resource version params

func (*PinResourceVersionParams) SetInpathPipelineName

func (o *PinResourceVersionParams) SetInpathPipelineName(inpathPipelineName string)

SetInpathPipelineName adds the inpathPipelineName to the pin resource version params

func (*PinResourceVersionParams) SetOrganizationCanonical

func (o *PinResourceVersionParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the pin resource version params

func (*PinResourceVersionParams) SetProjectCanonical

func (o *PinResourceVersionParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the pin resource version params

func (*PinResourceVersionParams) SetResourceName

func (o *PinResourceVersionParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the pin resource version params

func (*PinResourceVersionParams) SetResourceVersionID

func (o *PinResourceVersionParams) SetResourceVersionID(resourceVersionID uint64)

SetResourceVersionID adds the resourceVersionId to the pin resource version params

func (*PinResourceVersionParams) SetTimeout

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

SetTimeout adds the timeout to the pin resource version params

func (*PinResourceVersionParams) WithComponentCanonical

func (o *PinResourceVersionParams) WithComponentCanonical(componentCanonical string) *PinResourceVersionParams

WithComponentCanonical adds the componentCanonical to the pin resource version params

func (*PinResourceVersionParams) WithContext

WithContext adds the context to the pin resource version params

func (*PinResourceVersionParams) WithDefaults

WithDefaults hydrates default values in the pin resource version params (not the query body).

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

func (*PinResourceVersionParams) WithEnvironmentCanonical

func (o *PinResourceVersionParams) WithEnvironmentCanonical(environmentCanonical string) *PinResourceVersionParams

WithEnvironmentCanonical adds the environmentCanonical to the pin resource version params

func (*PinResourceVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pin resource version params

func (*PinResourceVersionParams) WithInpathPipelineName

func (o *PinResourceVersionParams) WithInpathPipelineName(inpathPipelineName string) *PinResourceVersionParams

WithInpathPipelineName adds the inpathPipelineName to the pin resource version params

func (*PinResourceVersionParams) WithOrganizationCanonical

func (o *PinResourceVersionParams) WithOrganizationCanonical(organizationCanonical string) *PinResourceVersionParams

WithOrganizationCanonical adds the organizationCanonical to the pin resource version params

func (*PinResourceVersionParams) WithProjectCanonical

func (o *PinResourceVersionParams) WithProjectCanonical(projectCanonical string) *PinResourceVersionParams

WithProjectCanonical adds the projectCanonical to the pin resource version params

func (*PinResourceVersionParams) WithResourceName

func (o *PinResourceVersionParams) WithResourceName(resourceName string) *PinResourceVersionParams

WithResourceName adds the resourceName to the pin resource version params

func (*PinResourceVersionParams) WithResourceVersionID

func (o *PinResourceVersionParams) WithResourceVersionID(resourceVersionID uint64) *PinResourceVersionParams

WithResourceVersionID adds the resourceVersionID to the pin resource version params

func (*PinResourceVersionParams) WithTimeout

WithTimeout adds the timeout to the pin resource version params

func (*PinResourceVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PinResourceVersionReader

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

PinResourceVersionReader is a Reader for the PinResourceVersion structure.

func (*PinResourceVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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