Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) DisableResourceVersion(params *DisableResourceVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DisableResourceVersionNoContent, error)
- func (a *Client) EnableResourceVersion(params *EnableResourceVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnableResourceVersionNoContent, error)
- func (a *Client) GetBuildsWithVersionAsInput(params *GetBuildsWithVersionAsInputParams, ...) (*GetBuildsWithVersionAsInputOK, error)
- func (a *Client) GetBuildsWithVersionAsOutput(params *GetBuildsWithVersionAsOutputParams, ...) (*GetBuildsWithVersionAsOutputOK, error)
- func (a *Client) GetResourceVersions(params *GetResourceVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourceVersionsOK, error)
- func (a *Client) PinResourceVersion(params *PinResourceVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PinResourceVersionNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DisableResourceVersionDefault
- func (o *DisableResourceVersionDefault) Code() int
- func (o *DisableResourceVersionDefault) Error() string
- func (o *DisableResourceVersionDefault) GetPayload() *models.ErrorPayload
- func (o *DisableResourceVersionDefault) IsClientError() bool
- func (o *DisableResourceVersionDefault) IsCode(code int) bool
- func (o *DisableResourceVersionDefault) IsRedirect() bool
- func (o *DisableResourceVersionDefault) IsServerError() bool
- func (o *DisableResourceVersionDefault) IsSuccess() bool
- func (o *DisableResourceVersionDefault) String() string
- type DisableResourceVersionForbidden
- func (o *DisableResourceVersionForbidden) Code() int
- func (o *DisableResourceVersionForbidden) Error() string
- func (o *DisableResourceVersionForbidden) GetPayload() *models.ErrorPayload
- func (o *DisableResourceVersionForbidden) IsClientError() bool
- func (o *DisableResourceVersionForbidden) IsCode(code int) bool
- func (o *DisableResourceVersionForbidden) IsRedirect() bool
- func (o *DisableResourceVersionForbidden) IsServerError() bool
- func (o *DisableResourceVersionForbidden) IsSuccess() bool
- func (o *DisableResourceVersionForbidden) String() string
- type DisableResourceVersionNoContent
- func (o *DisableResourceVersionNoContent) Code() int
- func (o *DisableResourceVersionNoContent) Error() string
- func (o *DisableResourceVersionNoContent) IsClientError() bool
- func (o *DisableResourceVersionNoContent) IsCode(code int) bool
- func (o *DisableResourceVersionNoContent) IsRedirect() bool
- func (o *DisableResourceVersionNoContent) IsServerError() bool
- func (o *DisableResourceVersionNoContent) IsSuccess() bool
- func (o *DisableResourceVersionNoContent) String() string
- type DisableResourceVersionNotFound
- func (o *DisableResourceVersionNotFound) Code() int
- func (o *DisableResourceVersionNotFound) Error() string
- func (o *DisableResourceVersionNotFound) GetPayload() *models.ErrorPayload
- func (o *DisableResourceVersionNotFound) IsClientError() bool
- func (o *DisableResourceVersionNotFound) IsCode(code int) bool
- func (o *DisableResourceVersionNotFound) IsRedirect() bool
- func (o *DisableResourceVersionNotFound) IsServerError() bool
- func (o *DisableResourceVersionNotFound) IsSuccess() bool
- func (o *DisableResourceVersionNotFound) String() string
- type DisableResourceVersionParams
- func NewDisableResourceVersionParams() *DisableResourceVersionParams
- func NewDisableResourceVersionParamsWithContext(ctx context.Context) *DisableResourceVersionParams
- func NewDisableResourceVersionParamsWithHTTPClient(client *http.Client) *DisableResourceVersionParams
- func NewDisableResourceVersionParamsWithTimeout(timeout time.Duration) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) SetComponentCanonical(componentCanonical string)
- func (o *DisableResourceVersionParams) SetContext(ctx context.Context)
- func (o *DisableResourceVersionParams) SetDefaults()
- func (o *DisableResourceVersionParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *DisableResourceVersionParams) SetHTTPClient(client *http.Client)
- func (o *DisableResourceVersionParams) SetInpathPipelineName(inpathPipelineName string)
- func (o *DisableResourceVersionParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DisableResourceVersionParams) SetProjectCanonical(projectCanonical string)
- func (o *DisableResourceVersionParams) SetResourceName(resourceName string)
- func (o *DisableResourceVersionParams) SetResourceVersionID(resourceVersionID uint64)
- func (o *DisableResourceVersionParams) SetTimeout(timeout time.Duration)
- func (o *DisableResourceVersionParams) WithComponentCanonical(componentCanonical string) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithContext(ctx context.Context) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithDefaults() *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithEnvironmentCanonical(environmentCanonical string) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithHTTPClient(client *http.Client) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithInpathPipelineName(inpathPipelineName string) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithOrganizationCanonical(organizationCanonical string) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithProjectCanonical(projectCanonical string) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithResourceName(resourceName string) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithResourceVersionID(resourceVersionID uint64) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WithTimeout(timeout time.Duration) *DisableResourceVersionParams
- func (o *DisableResourceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisableResourceVersionReader
- type EnableResourceVersionDefault
- func (o *EnableResourceVersionDefault) Code() int
- func (o *EnableResourceVersionDefault) Error() string
- func (o *EnableResourceVersionDefault) GetPayload() *models.ErrorPayload
- func (o *EnableResourceVersionDefault) IsClientError() bool
- func (o *EnableResourceVersionDefault) IsCode(code int) bool
- func (o *EnableResourceVersionDefault) IsRedirect() bool
- func (o *EnableResourceVersionDefault) IsServerError() bool
- func (o *EnableResourceVersionDefault) IsSuccess() bool
- func (o *EnableResourceVersionDefault) String() string
- type EnableResourceVersionForbidden
- func (o *EnableResourceVersionForbidden) Code() int
- func (o *EnableResourceVersionForbidden) Error() string
- func (o *EnableResourceVersionForbidden) GetPayload() *models.ErrorPayload
- func (o *EnableResourceVersionForbidden) IsClientError() bool
- func (o *EnableResourceVersionForbidden) IsCode(code int) bool
- func (o *EnableResourceVersionForbidden) IsRedirect() bool
- func (o *EnableResourceVersionForbidden) IsServerError() bool
- func (o *EnableResourceVersionForbidden) IsSuccess() bool
- func (o *EnableResourceVersionForbidden) String() string
- type EnableResourceVersionNoContent
- func (o *EnableResourceVersionNoContent) Code() int
- func (o *EnableResourceVersionNoContent) Error() string
- func (o *EnableResourceVersionNoContent) IsClientError() bool
- func (o *EnableResourceVersionNoContent) IsCode(code int) bool
- func (o *EnableResourceVersionNoContent) IsRedirect() bool
- func (o *EnableResourceVersionNoContent) IsServerError() bool
- func (o *EnableResourceVersionNoContent) IsSuccess() bool
- func (o *EnableResourceVersionNoContent) String() string
- type EnableResourceVersionNotFound
- func (o *EnableResourceVersionNotFound) Code() int
- func (o *EnableResourceVersionNotFound) Error() string
- func (o *EnableResourceVersionNotFound) GetPayload() *models.ErrorPayload
- func (o *EnableResourceVersionNotFound) IsClientError() bool
- func (o *EnableResourceVersionNotFound) IsCode(code int) bool
- func (o *EnableResourceVersionNotFound) IsRedirect() bool
- func (o *EnableResourceVersionNotFound) IsServerError() bool
- func (o *EnableResourceVersionNotFound) IsSuccess() bool
- func (o *EnableResourceVersionNotFound) String() string
- type EnableResourceVersionParams
- func NewEnableResourceVersionParams() *EnableResourceVersionParams
- func NewEnableResourceVersionParamsWithContext(ctx context.Context) *EnableResourceVersionParams
- func NewEnableResourceVersionParamsWithHTTPClient(client *http.Client) *EnableResourceVersionParams
- func NewEnableResourceVersionParamsWithTimeout(timeout time.Duration) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) SetComponentCanonical(componentCanonical string)
- func (o *EnableResourceVersionParams) SetContext(ctx context.Context)
- func (o *EnableResourceVersionParams) SetDefaults()
- func (o *EnableResourceVersionParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *EnableResourceVersionParams) SetHTTPClient(client *http.Client)
- func (o *EnableResourceVersionParams) SetInpathPipelineName(inpathPipelineName string)
- func (o *EnableResourceVersionParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *EnableResourceVersionParams) SetProjectCanonical(projectCanonical string)
- func (o *EnableResourceVersionParams) SetResourceName(resourceName string)
- func (o *EnableResourceVersionParams) SetResourceVersionID(resourceVersionID uint64)
- func (o *EnableResourceVersionParams) SetTimeout(timeout time.Duration)
- func (o *EnableResourceVersionParams) WithComponentCanonical(componentCanonical string) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithContext(ctx context.Context) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithDefaults() *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithEnvironmentCanonical(environmentCanonical string) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithHTTPClient(client *http.Client) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithInpathPipelineName(inpathPipelineName string) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithOrganizationCanonical(organizationCanonical string) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithProjectCanonical(projectCanonical string) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithResourceName(resourceName string) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithResourceVersionID(resourceVersionID uint64) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WithTimeout(timeout time.Duration) *EnableResourceVersionParams
- func (o *EnableResourceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableResourceVersionReader
- type GetBuildsWithVersionAsInputDefault
- func (o *GetBuildsWithVersionAsInputDefault) Code() int
- func (o *GetBuildsWithVersionAsInputDefault) Error() string
- func (o *GetBuildsWithVersionAsInputDefault) GetPayload() *models.ErrorPayload
- func (o *GetBuildsWithVersionAsInputDefault) IsClientError() bool
- func (o *GetBuildsWithVersionAsInputDefault) IsCode(code int) bool
- func (o *GetBuildsWithVersionAsInputDefault) IsRedirect() bool
- func (o *GetBuildsWithVersionAsInputDefault) IsServerError() bool
- func (o *GetBuildsWithVersionAsInputDefault) IsSuccess() bool
- func (o *GetBuildsWithVersionAsInputDefault) String() string
- type GetBuildsWithVersionAsInputForbidden
- func (o *GetBuildsWithVersionAsInputForbidden) Code() int
- func (o *GetBuildsWithVersionAsInputForbidden) Error() string
- func (o *GetBuildsWithVersionAsInputForbidden) GetPayload() *models.ErrorPayload
- func (o *GetBuildsWithVersionAsInputForbidden) IsClientError() bool
- func (o *GetBuildsWithVersionAsInputForbidden) IsCode(code int) bool
- func (o *GetBuildsWithVersionAsInputForbidden) IsRedirect() bool
- func (o *GetBuildsWithVersionAsInputForbidden) IsServerError() bool
- func (o *GetBuildsWithVersionAsInputForbidden) IsSuccess() bool
- func (o *GetBuildsWithVersionAsInputForbidden) String() string
- type GetBuildsWithVersionAsInputNotFound
- func (o *GetBuildsWithVersionAsInputNotFound) Code() int
- func (o *GetBuildsWithVersionAsInputNotFound) Error() string
- func (o *GetBuildsWithVersionAsInputNotFound) GetPayload() *models.ErrorPayload
- func (o *GetBuildsWithVersionAsInputNotFound) IsClientError() bool
- func (o *GetBuildsWithVersionAsInputNotFound) IsCode(code int) bool
- func (o *GetBuildsWithVersionAsInputNotFound) IsRedirect() bool
- func (o *GetBuildsWithVersionAsInputNotFound) IsServerError() bool
- func (o *GetBuildsWithVersionAsInputNotFound) IsSuccess() bool
- func (o *GetBuildsWithVersionAsInputNotFound) String() string
- type GetBuildsWithVersionAsInputOK
- func (o *GetBuildsWithVersionAsInputOK) Code() int
- func (o *GetBuildsWithVersionAsInputOK) Error() string
- func (o *GetBuildsWithVersionAsInputOK) GetPayload() *GetBuildsWithVersionAsInputOKBody
- func (o *GetBuildsWithVersionAsInputOK) IsClientError() bool
- func (o *GetBuildsWithVersionAsInputOK) IsCode(code int) bool
- func (o *GetBuildsWithVersionAsInputOK) IsRedirect() bool
- func (o *GetBuildsWithVersionAsInputOK) IsServerError() bool
- func (o *GetBuildsWithVersionAsInputOK) IsSuccess() bool
- func (o *GetBuildsWithVersionAsInputOK) String() string
- type GetBuildsWithVersionAsInputOKBody
- func (o *GetBuildsWithVersionAsInputOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetBuildsWithVersionAsInputOKBody) MarshalBinary() ([]byte, error)
- func (o *GetBuildsWithVersionAsInputOKBody) UnmarshalBinary(b []byte) error
- func (o *GetBuildsWithVersionAsInputOKBody) Validate(formats strfmt.Registry) error
- type GetBuildsWithVersionAsInputParams
- func NewGetBuildsWithVersionAsInputParams() *GetBuildsWithVersionAsInputParams
- func NewGetBuildsWithVersionAsInputParamsWithContext(ctx context.Context) *GetBuildsWithVersionAsInputParams
- func NewGetBuildsWithVersionAsInputParamsWithHTTPClient(client *http.Client) *GetBuildsWithVersionAsInputParams
- func NewGetBuildsWithVersionAsInputParamsWithTimeout(timeout time.Duration) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) SetComponentCanonical(componentCanonical string)
- func (o *GetBuildsWithVersionAsInputParams) SetContext(ctx context.Context)
- func (o *GetBuildsWithVersionAsInputParams) SetDefaults()
- func (o *GetBuildsWithVersionAsInputParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *GetBuildsWithVersionAsInputParams) SetHTTPClient(client *http.Client)
- func (o *GetBuildsWithVersionAsInputParams) SetInpathPipelineName(inpathPipelineName string)
- func (o *GetBuildsWithVersionAsInputParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetBuildsWithVersionAsInputParams) SetProjectCanonical(projectCanonical string)
- func (o *GetBuildsWithVersionAsInputParams) SetResourceName(resourceName string)
- func (o *GetBuildsWithVersionAsInputParams) SetResourceVersionID(resourceVersionID uint64)
- func (o *GetBuildsWithVersionAsInputParams) SetTimeout(timeout time.Duration)
- func (o *GetBuildsWithVersionAsInputParams) WithComponentCanonical(componentCanonical string) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithContext(ctx context.Context) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithDefaults() *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithEnvironmentCanonical(environmentCanonical string) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithHTTPClient(client *http.Client) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithInpathPipelineName(inpathPipelineName string) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithOrganizationCanonical(organizationCanonical string) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithProjectCanonical(projectCanonical string) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithResourceName(resourceName string) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithResourceVersionID(resourceVersionID uint64) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WithTimeout(timeout time.Duration) *GetBuildsWithVersionAsInputParams
- func (o *GetBuildsWithVersionAsInputParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBuildsWithVersionAsInputReader
- type GetBuildsWithVersionAsOutputDefault
- func (o *GetBuildsWithVersionAsOutputDefault) Code() int
- func (o *GetBuildsWithVersionAsOutputDefault) Error() string
- func (o *GetBuildsWithVersionAsOutputDefault) GetPayload() *models.ErrorPayload
- func (o *GetBuildsWithVersionAsOutputDefault) IsClientError() bool
- func (o *GetBuildsWithVersionAsOutputDefault) IsCode(code int) bool
- func (o *GetBuildsWithVersionAsOutputDefault) IsRedirect() bool
- func (o *GetBuildsWithVersionAsOutputDefault) IsServerError() bool
- func (o *GetBuildsWithVersionAsOutputDefault) IsSuccess() bool
- func (o *GetBuildsWithVersionAsOutputDefault) String() string
- type GetBuildsWithVersionAsOutputForbidden
- func (o *GetBuildsWithVersionAsOutputForbidden) Code() int
- func (o *GetBuildsWithVersionAsOutputForbidden) Error() string
- func (o *GetBuildsWithVersionAsOutputForbidden) GetPayload() *models.ErrorPayload
- func (o *GetBuildsWithVersionAsOutputForbidden) IsClientError() bool
- func (o *GetBuildsWithVersionAsOutputForbidden) IsCode(code int) bool
- func (o *GetBuildsWithVersionAsOutputForbidden) IsRedirect() bool
- func (o *GetBuildsWithVersionAsOutputForbidden) IsServerError() bool
- func (o *GetBuildsWithVersionAsOutputForbidden) IsSuccess() bool
- func (o *GetBuildsWithVersionAsOutputForbidden) String() string
- type GetBuildsWithVersionAsOutputNotFound
- func (o *GetBuildsWithVersionAsOutputNotFound) Code() int
- func (o *GetBuildsWithVersionAsOutputNotFound) Error() string
- func (o *GetBuildsWithVersionAsOutputNotFound) GetPayload() *models.ErrorPayload
- func (o *GetBuildsWithVersionAsOutputNotFound) IsClientError() bool
- func (o *GetBuildsWithVersionAsOutputNotFound) IsCode(code int) bool
- func (o *GetBuildsWithVersionAsOutputNotFound) IsRedirect() bool
- func (o *GetBuildsWithVersionAsOutputNotFound) IsServerError() bool
- func (o *GetBuildsWithVersionAsOutputNotFound) IsSuccess() bool
- func (o *GetBuildsWithVersionAsOutputNotFound) String() string
- type GetBuildsWithVersionAsOutputOK
- func (o *GetBuildsWithVersionAsOutputOK) Code() int
- func (o *GetBuildsWithVersionAsOutputOK) Error() string
- func (o *GetBuildsWithVersionAsOutputOK) GetPayload() *GetBuildsWithVersionAsOutputOKBody
- func (o *GetBuildsWithVersionAsOutputOK) IsClientError() bool
- func (o *GetBuildsWithVersionAsOutputOK) IsCode(code int) bool
- func (o *GetBuildsWithVersionAsOutputOK) IsRedirect() bool
- func (o *GetBuildsWithVersionAsOutputOK) IsServerError() bool
- func (o *GetBuildsWithVersionAsOutputOK) IsSuccess() bool
- func (o *GetBuildsWithVersionAsOutputOK) String() string
- type GetBuildsWithVersionAsOutputOKBody
- func (o *GetBuildsWithVersionAsOutputOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetBuildsWithVersionAsOutputOKBody) MarshalBinary() ([]byte, error)
- func (o *GetBuildsWithVersionAsOutputOKBody) UnmarshalBinary(b []byte) error
- func (o *GetBuildsWithVersionAsOutputOKBody) Validate(formats strfmt.Registry) error
- type GetBuildsWithVersionAsOutputParams
- func NewGetBuildsWithVersionAsOutputParams() *GetBuildsWithVersionAsOutputParams
- func NewGetBuildsWithVersionAsOutputParamsWithContext(ctx context.Context) *GetBuildsWithVersionAsOutputParams
- func NewGetBuildsWithVersionAsOutputParamsWithHTTPClient(client *http.Client) *GetBuildsWithVersionAsOutputParams
- func NewGetBuildsWithVersionAsOutputParamsWithTimeout(timeout time.Duration) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) SetComponentCanonical(componentCanonical string)
- func (o *GetBuildsWithVersionAsOutputParams) SetContext(ctx context.Context)
- func (o *GetBuildsWithVersionAsOutputParams) SetDefaults()
- func (o *GetBuildsWithVersionAsOutputParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *GetBuildsWithVersionAsOutputParams) SetHTTPClient(client *http.Client)
- func (o *GetBuildsWithVersionAsOutputParams) SetInpathPipelineName(inpathPipelineName string)
- func (o *GetBuildsWithVersionAsOutputParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetBuildsWithVersionAsOutputParams) SetProjectCanonical(projectCanonical string)
- func (o *GetBuildsWithVersionAsOutputParams) SetResourceName(resourceName string)
- func (o *GetBuildsWithVersionAsOutputParams) SetResourceVersionID(resourceVersionID uint64)
- func (o *GetBuildsWithVersionAsOutputParams) SetTimeout(timeout time.Duration)
- func (o *GetBuildsWithVersionAsOutputParams) WithComponentCanonical(componentCanonical string) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithContext(ctx context.Context) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithDefaults() *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithEnvironmentCanonical(environmentCanonical string) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithHTTPClient(client *http.Client) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithInpathPipelineName(inpathPipelineName string) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithOrganizationCanonical(organizationCanonical string) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithProjectCanonical(projectCanonical string) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithResourceName(resourceName string) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithResourceVersionID(resourceVersionID uint64) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WithTimeout(timeout time.Duration) *GetBuildsWithVersionAsOutputParams
- func (o *GetBuildsWithVersionAsOutputParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBuildsWithVersionAsOutputReader
- type GetResourceVersionsDefault
- func (o *GetResourceVersionsDefault) Code() int
- func (o *GetResourceVersionsDefault) Error() string
- func (o *GetResourceVersionsDefault) GetPayload() *models.ErrorPayload
- func (o *GetResourceVersionsDefault) IsClientError() bool
- func (o *GetResourceVersionsDefault) IsCode(code int) bool
- func (o *GetResourceVersionsDefault) IsRedirect() bool
- func (o *GetResourceVersionsDefault) IsServerError() bool
- func (o *GetResourceVersionsDefault) IsSuccess() bool
- func (o *GetResourceVersionsDefault) String() string
- type GetResourceVersionsForbidden
- func (o *GetResourceVersionsForbidden) Code() int
- func (o *GetResourceVersionsForbidden) Error() string
- func (o *GetResourceVersionsForbidden) GetPayload() *models.ErrorPayload
- func (o *GetResourceVersionsForbidden) IsClientError() bool
- func (o *GetResourceVersionsForbidden) IsCode(code int) bool
- func (o *GetResourceVersionsForbidden) IsRedirect() bool
- func (o *GetResourceVersionsForbidden) IsServerError() bool
- func (o *GetResourceVersionsForbidden) IsSuccess() bool
- func (o *GetResourceVersionsForbidden) String() string
- type GetResourceVersionsNotFound
- func (o *GetResourceVersionsNotFound) Code() int
- func (o *GetResourceVersionsNotFound) Error() string
- func (o *GetResourceVersionsNotFound) GetPayload() *models.ErrorPayload
- func (o *GetResourceVersionsNotFound) IsClientError() bool
- func (o *GetResourceVersionsNotFound) IsCode(code int) bool
- func (o *GetResourceVersionsNotFound) IsRedirect() bool
- func (o *GetResourceVersionsNotFound) IsServerError() bool
- func (o *GetResourceVersionsNotFound) IsSuccess() bool
- func (o *GetResourceVersionsNotFound) String() string
- type GetResourceVersionsOK
- func (o *GetResourceVersionsOK) Code() int
- func (o *GetResourceVersionsOK) Error() string
- func (o *GetResourceVersionsOK) GetPayload() *GetResourceVersionsOKBody
- func (o *GetResourceVersionsOK) IsClientError() bool
- func (o *GetResourceVersionsOK) IsCode(code int) bool
- func (o *GetResourceVersionsOK) IsRedirect() bool
- func (o *GetResourceVersionsOK) IsServerError() bool
- func (o *GetResourceVersionsOK) IsSuccess() bool
- func (o *GetResourceVersionsOK) String() string
- type GetResourceVersionsOKBody
- func (o *GetResourceVersionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetResourceVersionsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetResourceVersionsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetResourceVersionsOKBody) Validate(formats strfmt.Registry) error
- type GetResourceVersionsParams
- func NewGetResourceVersionsParams() *GetResourceVersionsParams
- func NewGetResourceVersionsParamsWithContext(ctx context.Context) *GetResourceVersionsParams
- func NewGetResourceVersionsParamsWithHTTPClient(client *http.Client) *GetResourceVersionsParams
- func NewGetResourceVersionsParamsWithTimeout(timeout time.Duration) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) SetComponentCanonical(componentCanonical string)
- func (o *GetResourceVersionsParams) SetConcoursePageLimit(concoursePageLimit *uint64)
- func (o *GetResourceVersionsParams) SetConcoursePageSince(concoursePageSince *uint64)
- func (o *GetResourceVersionsParams) SetConcoursePageUntil(concoursePageUntil *uint64)
- func (o *GetResourceVersionsParams) SetContext(ctx context.Context)
- func (o *GetResourceVersionsParams) SetDefaults()
- func (o *GetResourceVersionsParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *GetResourceVersionsParams) SetFilterVersion(filterVersion []string)
- func (o *GetResourceVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceVersionsParams) SetInpathPipelineName(inpathPipelineName string)
- func (o *GetResourceVersionsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetResourceVersionsParams) SetProjectCanonical(projectCanonical string)
- func (o *GetResourceVersionsParams) SetResourceName(resourceName string)
- func (o *GetResourceVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceVersionsParams) WithComponentCanonical(componentCanonical string) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithConcoursePageLimit(concoursePageLimit *uint64) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithConcoursePageSince(concoursePageSince *uint64) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithConcoursePageUntil(concoursePageUntil *uint64) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithContext(ctx context.Context) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithDefaults() *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithEnvironmentCanonical(environmentCanonical string) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithFilterVersion(filterVersion []string) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithHTTPClient(client *http.Client) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithInpathPipelineName(inpathPipelineName string) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithOrganizationCanonical(organizationCanonical string) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithProjectCanonical(projectCanonical string) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithResourceName(resourceName string) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WithTimeout(timeout time.Duration) *GetResourceVersionsParams
- func (o *GetResourceVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceVersionsReader
- type GetResourceVersionsUnprocessableEntity
- func (o *GetResourceVersionsUnprocessableEntity) Code() int
- func (o *GetResourceVersionsUnprocessableEntity) Error() string
- func (o *GetResourceVersionsUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *GetResourceVersionsUnprocessableEntity) IsClientError() bool
- func (o *GetResourceVersionsUnprocessableEntity) IsCode(code int) bool
- func (o *GetResourceVersionsUnprocessableEntity) IsRedirect() bool
- func (o *GetResourceVersionsUnprocessableEntity) IsServerError() bool
- func (o *GetResourceVersionsUnprocessableEntity) IsSuccess() bool
- func (o *GetResourceVersionsUnprocessableEntity) String() string
- type PinResourceVersionDefault
- func (o *PinResourceVersionDefault) Code() int
- func (o *PinResourceVersionDefault) Error() string
- func (o *PinResourceVersionDefault) GetPayload() *models.ErrorPayload
- func (o *PinResourceVersionDefault) IsClientError() bool
- func (o *PinResourceVersionDefault) IsCode(code int) bool
- func (o *PinResourceVersionDefault) IsRedirect() bool
- func (o *PinResourceVersionDefault) IsServerError() bool
- func (o *PinResourceVersionDefault) IsSuccess() bool
- func (o *PinResourceVersionDefault) String() string
- type PinResourceVersionForbidden
- func (o *PinResourceVersionForbidden) Code() int
- func (o *PinResourceVersionForbidden) Error() string
- func (o *PinResourceVersionForbidden) GetPayload() *models.ErrorPayload
- func (o *PinResourceVersionForbidden) IsClientError() bool
- func (o *PinResourceVersionForbidden) IsCode(code int) bool
- func (o *PinResourceVersionForbidden) IsRedirect() bool
- func (o *PinResourceVersionForbidden) IsServerError() bool
- func (o *PinResourceVersionForbidden) IsSuccess() bool
- func (o *PinResourceVersionForbidden) String() string
- type PinResourceVersionNoContent
- func (o *PinResourceVersionNoContent) Code() int
- func (o *PinResourceVersionNoContent) Error() string
- func (o *PinResourceVersionNoContent) IsClientError() bool
- func (o *PinResourceVersionNoContent) IsCode(code int) bool
- func (o *PinResourceVersionNoContent) IsRedirect() bool
- func (o *PinResourceVersionNoContent) IsServerError() bool
- func (o *PinResourceVersionNoContent) IsSuccess() bool
- func (o *PinResourceVersionNoContent) String() string
- type PinResourceVersionNotFound
- func (o *PinResourceVersionNotFound) Code() int
- func (o *PinResourceVersionNotFound) Error() string
- func (o *PinResourceVersionNotFound) GetPayload() *models.ErrorPayload
- func (o *PinResourceVersionNotFound) IsClientError() bool
- func (o *PinResourceVersionNotFound) IsCode(code int) bool
- func (o *PinResourceVersionNotFound) IsRedirect() bool
- func (o *PinResourceVersionNotFound) IsServerError() bool
- func (o *PinResourceVersionNotFound) IsSuccess() bool
- func (o *PinResourceVersionNotFound) String() string
- type PinResourceVersionParams
- func NewPinResourceVersionParams() *PinResourceVersionParams
- func NewPinResourceVersionParamsWithContext(ctx context.Context) *PinResourceVersionParams
- func NewPinResourceVersionParamsWithHTTPClient(client *http.Client) *PinResourceVersionParams
- func NewPinResourceVersionParamsWithTimeout(timeout time.Duration) *PinResourceVersionParams
- func (o *PinResourceVersionParams) SetComponentCanonical(componentCanonical string)
- func (o *PinResourceVersionParams) SetContext(ctx context.Context)
- func (o *PinResourceVersionParams) SetDefaults()
- func (o *PinResourceVersionParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *PinResourceVersionParams) SetHTTPClient(client *http.Client)
- func (o *PinResourceVersionParams) SetInpathPipelineName(inpathPipelineName string)
- func (o *PinResourceVersionParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *PinResourceVersionParams) SetProjectCanonical(projectCanonical string)
- func (o *PinResourceVersionParams) SetResourceName(resourceName string)
- func (o *PinResourceVersionParams) SetResourceVersionID(resourceVersionID uint64)
- func (o *PinResourceVersionParams) SetTimeout(timeout time.Duration)
- func (o *PinResourceVersionParams) WithComponentCanonical(componentCanonical string) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithContext(ctx context.Context) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithDefaults() *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithEnvironmentCanonical(environmentCanonical string) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithHTTPClient(client *http.Client) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithInpathPipelineName(inpathPipelineName string) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithOrganizationCanonical(organizationCanonical string) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithProjectCanonical(projectCanonical string) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithResourceName(resourceName string) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithResourceVersionID(resourceVersionID uint64) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WithTimeout(timeout time.Duration) *PinResourceVersionParams
- func (o *PinResourceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PinResourceVersionReader
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 ¶
func (o *DisableResourceVersionDefault) Code() int
Code gets the status code for the disable resource version default response
func (*DisableResourceVersionDefault) Error ¶
func (o *DisableResourceVersionDefault) Error() string
func (*DisableResourceVersionDefault) GetPayload ¶
func (o *DisableResourceVersionDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *DisableResourceVersionDefault) String() 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 ¶
func (o *DisableResourceVersionForbidden) Code() int
Code gets the status code for the disable resource version forbidden response
func (*DisableResourceVersionForbidden) Error ¶
func (o *DisableResourceVersionForbidden) Error() string
func (*DisableResourceVersionForbidden) GetPayload ¶
func (o *DisableResourceVersionForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *DisableResourceVersionForbidden) String() 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 ¶
func (o *DisableResourceVersionNoContent) Code() int
Code gets the status code for the disable resource version no content response
func (*DisableResourceVersionNoContent) Error ¶
func (o *DisableResourceVersionNoContent) Error() string
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 ¶
func (o *DisableResourceVersionNoContent) String() 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 ¶
func (o *DisableResourceVersionNotFound) Code() int
Code gets the status code for the disable resource version not found response
func (*DisableResourceVersionNotFound) Error ¶
func (o *DisableResourceVersionNotFound) Error() string
func (*DisableResourceVersionNotFound) GetPayload ¶
func (o *DisableResourceVersionNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *DisableResourceVersionNotFound) String() 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 ¶
func (o *DisableResourceVersionParams) WithContext(ctx context.Context) *DisableResourceVersionParams
WithContext adds the context to the disable resource version params
func (*DisableResourceVersionParams) WithDefaults ¶
func (o *DisableResourceVersionParams) WithDefaults() *DisableResourceVersionParams
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 ¶
func (o *DisableResourceVersionParams) WithHTTPClient(client *http.Client) *DisableResourceVersionParams
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 ¶
func (o *DisableResourceVersionParams) WithTimeout(timeout time.Duration) *DisableResourceVersionParams
WithTimeout adds the timeout to the disable resource version params
func (*DisableResourceVersionParams) WriteToRequest ¶
func (o *DisableResourceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *EnableResourceVersionDefault) Code() int
Code gets the status code for the enable resource version default response
func (*EnableResourceVersionDefault) Error ¶
func (o *EnableResourceVersionDefault) Error() string
func (*EnableResourceVersionDefault) GetPayload ¶
func (o *EnableResourceVersionDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *EnableResourceVersionDefault) String() 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 ¶
func (o *EnableResourceVersionForbidden) Code() int
Code gets the status code for the enable resource version forbidden response
func (*EnableResourceVersionForbidden) Error ¶
func (o *EnableResourceVersionForbidden) Error() string
func (*EnableResourceVersionForbidden) GetPayload ¶
func (o *EnableResourceVersionForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *EnableResourceVersionForbidden) String() 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 ¶
func (o *EnableResourceVersionNoContent) Code() int
Code gets the status code for the enable resource version no content response
func (*EnableResourceVersionNoContent) Error ¶
func (o *EnableResourceVersionNoContent) Error() string
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 ¶
func (o *EnableResourceVersionNoContent) String() 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 ¶
func (o *EnableResourceVersionNotFound) Code() int
Code gets the status code for the enable resource version not found response
func (*EnableResourceVersionNotFound) Error ¶
func (o *EnableResourceVersionNotFound) Error() string
func (*EnableResourceVersionNotFound) GetPayload ¶
func (o *EnableResourceVersionNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *EnableResourceVersionNotFound) String() 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 ¶
func (o *EnableResourceVersionParams) WithContext(ctx context.Context) *EnableResourceVersionParams
WithContext adds the context to the enable resource version params
func (*EnableResourceVersionParams) WithDefaults ¶
func (o *EnableResourceVersionParams) WithDefaults() *EnableResourceVersionParams
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 ¶
func (o *EnableResourceVersionParams) WithHTTPClient(client *http.Client) *EnableResourceVersionParams
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 ¶
func (o *EnableResourceVersionParams) WithTimeout(timeout time.Duration) *EnableResourceVersionParams
WithTimeout adds the timeout to the enable resource version params
func (*EnableResourceVersionParams) WriteToRequest ¶
func (o *EnableResourceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetBuildsWithVersionAsInputDefault) Code() int
Code gets the status code for the get builds with version as input default response
func (*GetBuildsWithVersionAsInputDefault) Error ¶
func (o *GetBuildsWithVersionAsInputDefault) Error() string
func (*GetBuildsWithVersionAsInputDefault) GetPayload ¶
func (o *GetBuildsWithVersionAsInputDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetBuildsWithVersionAsInputDefault) IsCode(code int) bool
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 ¶
func (o *GetBuildsWithVersionAsInputDefault) IsSuccess() bool
IsSuccess returns true when this get builds with version as input default response has a 2xx status code
func (*GetBuildsWithVersionAsInputDefault) String ¶
func (o *GetBuildsWithVersionAsInputDefault) String() 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 ¶
func (o *GetBuildsWithVersionAsInputForbidden) Code() int
Code gets the status code for the get builds with version as input forbidden response
func (*GetBuildsWithVersionAsInputForbidden) Error ¶
func (o *GetBuildsWithVersionAsInputForbidden) Error() string
func (*GetBuildsWithVersionAsInputForbidden) GetPayload ¶
func (o *GetBuildsWithVersionAsInputForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetBuildsWithVersionAsInputForbidden) IsCode(code int) bool
IsCode returns true when this get builds with version as input forbidden response a status code equal to that given
func (*GetBuildsWithVersionAsInputForbidden) IsRedirect ¶
func (o *GetBuildsWithVersionAsInputForbidden) IsRedirect() bool
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 ¶
func (o *GetBuildsWithVersionAsInputForbidden) IsSuccess() bool
IsSuccess returns true when this get builds with version as input forbidden response has a 2xx status code
func (*GetBuildsWithVersionAsInputForbidden) String ¶
func (o *GetBuildsWithVersionAsInputForbidden) String() 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 ¶
func (o *GetBuildsWithVersionAsInputNotFound) Code() int
Code gets the status code for the get builds with version as input not found response
func (*GetBuildsWithVersionAsInputNotFound) Error ¶
func (o *GetBuildsWithVersionAsInputNotFound) Error() string
func (*GetBuildsWithVersionAsInputNotFound) GetPayload ¶
func (o *GetBuildsWithVersionAsInputNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetBuildsWithVersionAsInputNotFound) IsCode(code int) bool
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 ¶
func (o *GetBuildsWithVersionAsInputNotFound) IsSuccess() bool
IsSuccess returns true when this get builds with version as input not found response has a 2xx status code
func (*GetBuildsWithVersionAsInputNotFound) String ¶
func (o *GetBuildsWithVersionAsInputNotFound) String() 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 ¶
func (o *GetBuildsWithVersionAsInputOK) Code() int
Code gets the status code for the get builds with version as input o k response
func (*GetBuildsWithVersionAsInputOK) Error ¶
func (o *GetBuildsWithVersionAsInputOK) Error() string
func (*GetBuildsWithVersionAsInputOK) GetPayload ¶
func (o *GetBuildsWithVersionAsInputOK) GetPayload() *GetBuildsWithVersionAsInputOKBody
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 ¶
func (o *GetBuildsWithVersionAsInputOK) String() 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
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 ¶
func (o *GetBuildsWithVersionAsInputParams) SetContext(ctx context.Context)
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 ¶
func (o *GetBuildsWithVersionAsInputParams) WithContext(ctx context.Context) *GetBuildsWithVersionAsInputParams
WithContext adds the context to the get builds with version as input params
func (*GetBuildsWithVersionAsInputParams) WithDefaults ¶
func (o *GetBuildsWithVersionAsInputParams) WithDefaults() *GetBuildsWithVersionAsInputParams
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 ¶
func (o *GetBuildsWithVersionAsInputParams) WithHTTPClient(client *http.Client) *GetBuildsWithVersionAsInputParams
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 ¶
func (o *GetBuildsWithVersionAsInputParams) WithResourceName(resourceName string) *GetBuildsWithVersionAsInputParams
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 ¶
func (o *GetBuildsWithVersionAsInputParams) WithTimeout(timeout time.Duration) *GetBuildsWithVersionAsInputParams
WithTimeout adds the timeout to the get builds with version as input params
func (*GetBuildsWithVersionAsInputParams) WriteToRequest ¶
func (o *GetBuildsWithVersionAsInputParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetBuildsWithVersionAsOutputDefault) Code() int
Code gets the status code for the get builds with version as output default response
func (*GetBuildsWithVersionAsOutputDefault) Error ¶
func (o *GetBuildsWithVersionAsOutputDefault) Error() string
func (*GetBuildsWithVersionAsOutputDefault) GetPayload ¶
func (o *GetBuildsWithVersionAsOutputDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetBuildsWithVersionAsOutputDefault) IsCode(code int) bool
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 ¶
func (o *GetBuildsWithVersionAsOutputDefault) IsSuccess() bool
IsSuccess returns true when this get builds with version as output default response has a 2xx status code
func (*GetBuildsWithVersionAsOutputDefault) String ¶
func (o *GetBuildsWithVersionAsOutputDefault) String() 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 ¶
func (o *GetBuildsWithVersionAsOutputForbidden) Code() int
Code gets the status code for the get builds with version as output forbidden response
func (*GetBuildsWithVersionAsOutputForbidden) Error ¶
func (o *GetBuildsWithVersionAsOutputForbidden) Error() string
func (*GetBuildsWithVersionAsOutputForbidden) GetPayload ¶
func (o *GetBuildsWithVersionAsOutputForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetBuildsWithVersionAsOutputForbidden) IsCode(code int) bool
IsCode returns true when this get builds with version as output forbidden response a status code equal to that given
func (*GetBuildsWithVersionAsOutputForbidden) IsRedirect ¶
func (o *GetBuildsWithVersionAsOutputForbidden) IsRedirect() bool
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 ¶
func (o *GetBuildsWithVersionAsOutputForbidden) IsSuccess() bool
IsSuccess returns true when this get builds with version as output forbidden response has a 2xx status code
func (*GetBuildsWithVersionAsOutputForbidden) String ¶
func (o *GetBuildsWithVersionAsOutputForbidden) String() 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 ¶
func (o *GetBuildsWithVersionAsOutputNotFound) Code() int
Code gets the status code for the get builds with version as output not found response
func (*GetBuildsWithVersionAsOutputNotFound) Error ¶
func (o *GetBuildsWithVersionAsOutputNotFound) Error() string
func (*GetBuildsWithVersionAsOutputNotFound) GetPayload ¶
func (o *GetBuildsWithVersionAsOutputNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetBuildsWithVersionAsOutputNotFound) IsCode(code int) bool
IsCode returns true when this get builds with version as output not found response a status code equal to that given
func (*GetBuildsWithVersionAsOutputNotFound) IsRedirect ¶
func (o *GetBuildsWithVersionAsOutputNotFound) IsRedirect() bool
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 ¶
func (o *GetBuildsWithVersionAsOutputNotFound) IsSuccess() bool
IsSuccess returns true when this get builds with version as output not found response has a 2xx status code
func (*GetBuildsWithVersionAsOutputNotFound) String ¶
func (o *GetBuildsWithVersionAsOutputNotFound) String() 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 ¶
func (o *GetBuildsWithVersionAsOutputOK) Code() int
Code gets the status code for the get builds with version as output o k response
func (*GetBuildsWithVersionAsOutputOK) Error ¶
func (o *GetBuildsWithVersionAsOutputOK) Error() string
func (*GetBuildsWithVersionAsOutputOK) GetPayload ¶
func (o *GetBuildsWithVersionAsOutputOK) GetPayload() *GetBuildsWithVersionAsOutputOKBody
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 ¶
func (o *GetBuildsWithVersionAsOutputOK) String() 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
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 ¶
func (o *GetBuildsWithVersionAsOutputParams) SetContext(ctx context.Context)
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 ¶
func (o *GetBuildsWithVersionAsOutputParams) WithContext(ctx context.Context) *GetBuildsWithVersionAsOutputParams
WithContext adds the context to the get builds with version as output params
func (*GetBuildsWithVersionAsOutputParams) WithDefaults ¶
func (o *GetBuildsWithVersionAsOutputParams) WithDefaults() *GetBuildsWithVersionAsOutputParams
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 ¶
func (o *GetBuildsWithVersionAsOutputParams) WithHTTPClient(client *http.Client) *GetBuildsWithVersionAsOutputParams
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 ¶
func (o *GetBuildsWithVersionAsOutputParams) WithResourceName(resourceName string) *GetBuildsWithVersionAsOutputParams
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 ¶
func (o *GetBuildsWithVersionAsOutputParams) WithTimeout(timeout time.Duration) *GetBuildsWithVersionAsOutputParams
WithTimeout adds the timeout to the get builds with version as output params
func (*GetBuildsWithVersionAsOutputParams) WriteToRequest ¶
func (o *GetBuildsWithVersionAsOutputParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetResourceVersionsDefault) Error() string
func (*GetResourceVersionsDefault) GetPayload ¶
func (o *GetResourceVersionsDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetResourceVersionsForbidden) Code() int
Code gets the status code for the get resource versions forbidden response
func (*GetResourceVersionsForbidden) Error ¶
func (o *GetResourceVersionsForbidden) Error() string
func (*GetResourceVersionsForbidden) GetPayload ¶
func (o *GetResourceVersionsForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetResourceVersionsForbidden) String() 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 (o *GetResourceVersionsNotFound) Error() string
func (*GetResourceVersionsNotFound) GetPayload ¶
func (o *GetResourceVersionsNotFound) GetPayload() *models.ErrorPayload
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 (o *GetResourceVersionsOK) GetPayload() *GetResourceVersionsOKBody
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
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 ¶
func (o *GetResourceVersionsParams) WithContext(ctx context.Context) *GetResourceVersionsParams
WithContext adds the context to the get resource versions params
func (*GetResourceVersionsParams) WithDefaults ¶
func (o *GetResourceVersionsParams) WithDefaults() *GetResourceVersionsParams
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 ¶
func (o *GetResourceVersionsParams) WithTimeout(timeout time.Duration) *GetResourceVersionsParams
WithTimeout adds the timeout to the get resource versions params
func (*GetResourceVersionsParams) WriteToRequest ¶
func (o *GetResourceVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetResourceVersionsUnprocessableEntity) Code() int
Code gets the status code for the get resource versions unprocessable entity response
func (*GetResourceVersionsUnprocessableEntity) Error ¶
func (o *GetResourceVersionsUnprocessableEntity) Error() string
func (*GetResourceVersionsUnprocessableEntity) GetPayload ¶
func (o *GetResourceVersionsUnprocessableEntity) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetResourceVersionsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get resource versions unprocessable entity response a status code equal to that given
func (*GetResourceVersionsUnprocessableEntity) IsRedirect ¶
func (o *GetResourceVersionsUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *GetResourceVersionsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get resource versions unprocessable entity response has a 2xx status code
func (*GetResourceVersionsUnprocessableEntity) String ¶
func (o *GetResourceVersionsUnprocessableEntity) String() 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 (o *PinResourceVersionDefault) GetPayload() *models.ErrorPayload
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 (o *PinResourceVersionForbidden) Error() string
func (*PinResourceVersionForbidden) GetPayload ¶
func (o *PinResourceVersionForbidden) GetPayload() *models.ErrorPayload
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 (o *PinResourceVersionNoContent) Error() string
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 (o *PinResourceVersionNotFound) Error() string
func (*PinResourceVersionNotFound) GetPayload ¶
func (o *PinResourceVersionNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *PinResourceVersionParams) WithContext(ctx context.Context) *PinResourceVersionParams
WithContext adds the context to the pin resource version params
func (*PinResourceVersionParams) WithDefaults ¶
func (o *PinResourceVersionParams) WithDefaults() *PinResourceVersionParams
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 ¶
func (o *PinResourceVersionParams) WithTimeout(timeout time.Duration) *PinResourceVersionParams
WithTimeout adds the timeout to the pin resource version params
func (*PinResourceVersionParams) WriteToRequest ¶
func (o *PinResourceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- component_pipeline_resources_versions_client.go
- disable_resource_version_parameters.go
- disable_resource_version_responses.go
- enable_resource_version_parameters.go
- enable_resource_version_responses.go
- get_builds_with_version_as_input_parameters.go
- get_builds_with_version_as_input_responses.go
- get_builds_with_version_as_output_parameters.go
- get_builds_with_version_as_output_responses.go
- get_resource_versions_parameters.go
- get_resource_versions_responses.go
- pin_resource_version_parameters.go
- pin_resource_version_responses.go