Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDeploymentNote(params *CreateDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDeploymentNoteCreated, error)
- func (a *Client) DeleteDeploymentNote(params *DeleteDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDeploymentNoteOK, error)
- func (a *Client) GetDeploymentNote(params *GetDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeploymentNoteOK, error)
- func (a *Client) GetDeploymentNotes(params *GetDeploymentNotesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeploymentNotesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDeploymentNote(params *UpdateDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateDeploymentNoteOK, error)
- type ClientOption
- type ClientService
- type CreateDeploymentNoteCreated
- type CreateDeploymentNoteNotFound
- type CreateDeploymentNoteParams
- func NewCreateDeploymentNoteParams() *CreateDeploymentNoteParams
- func NewCreateDeploymentNoteParamsWithContext(ctx context.Context) *CreateDeploymentNoteParams
- func NewCreateDeploymentNoteParamsWithHTTPClient(client *http.Client) *CreateDeploymentNoteParams
- func NewCreateDeploymentNoteParamsWithTimeout(timeout time.Duration) *CreateDeploymentNoteParams
- func (o *CreateDeploymentNoteParams) SetBody(body *models.Note)
- func (o *CreateDeploymentNoteParams) SetContext(ctx context.Context)
- func (o *CreateDeploymentNoteParams) SetDefaults()
- func (o *CreateDeploymentNoteParams) SetDeploymentID(deploymentID string)
- func (o *CreateDeploymentNoteParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeploymentNoteParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeploymentNoteParams) SetVersion(version *string)
- func (o *CreateDeploymentNoteParams) WithBody(body *models.Note) *CreateDeploymentNoteParams
- func (o *CreateDeploymentNoteParams) WithContext(ctx context.Context) *CreateDeploymentNoteParams
- func (o *CreateDeploymentNoteParams) WithDefaults() *CreateDeploymentNoteParams
- func (o *CreateDeploymentNoteParams) WithDeploymentID(deploymentID string) *CreateDeploymentNoteParams
- func (o *CreateDeploymentNoteParams) WithHTTPClient(client *http.Client) *CreateDeploymentNoteParams
- func (o *CreateDeploymentNoteParams) WithTimeout(timeout time.Duration) *CreateDeploymentNoteParams
- func (o *CreateDeploymentNoteParams) WithVersion(version *string) *CreateDeploymentNoteParams
- func (o *CreateDeploymentNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeploymentNoteReader
- type CreateDeploymentNoteRetryWith
- type DeleteDeploymentNoteNotFound
- type DeleteDeploymentNoteOK
- type DeleteDeploymentNoteParams
- func NewDeleteDeploymentNoteParams() *DeleteDeploymentNoteParams
- func NewDeleteDeploymentNoteParamsWithContext(ctx context.Context) *DeleteDeploymentNoteParams
- func NewDeleteDeploymentNoteParamsWithHTTPClient(client *http.Client) *DeleteDeploymentNoteParams
- func NewDeleteDeploymentNoteParamsWithTimeout(timeout time.Duration) *DeleteDeploymentNoteParams
- func (o *DeleteDeploymentNoteParams) SetContext(ctx context.Context)
- func (o *DeleteDeploymentNoteParams) SetDefaults()
- func (o *DeleteDeploymentNoteParams) SetDeploymentID(deploymentID string)
- func (o *DeleteDeploymentNoteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeploymentNoteParams) SetNoteID(noteID string)
- func (o *DeleteDeploymentNoteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeploymentNoteParams) SetVersion(version *string)
- func (o *DeleteDeploymentNoteParams) WithContext(ctx context.Context) *DeleteDeploymentNoteParams
- func (o *DeleteDeploymentNoteParams) WithDefaults() *DeleteDeploymentNoteParams
- func (o *DeleteDeploymentNoteParams) WithDeploymentID(deploymentID string) *DeleteDeploymentNoteParams
- func (o *DeleteDeploymentNoteParams) WithHTTPClient(client *http.Client) *DeleteDeploymentNoteParams
- func (o *DeleteDeploymentNoteParams) WithNoteID(noteID string) *DeleteDeploymentNoteParams
- func (o *DeleteDeploymentNoteParams) WithTimeout(timeout time.Duration) *DeleteDeploymentNoteParams
- func (o *DeleteDeploymentNoteParams) WithVersion(version *string) *DeleteDeploymentNoteParams
- func (o *DeleteDeploymentNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeploymentNoteReader
- type DeleteDeploymentNoteRetryWith
- type GetDeploymentNoteNotFound
- type GetDeploymentNoteOK
- type GetDeploymentNoteParams
- func NewGetDeploymentNoteParams() *GetDeploymentNoteParams
- func NewGetDeploymentNoteParamsWithContext(ctx context.Context) *GetDeploymentNoteParams
- func NewGetDeploymentNoteParamsWithHTTPClient(client *http.Client) *GetDeploymentNoteParams
- func NewGetDeploymentNoteParamsWithTimeout(timeout time.Duration) *GetDeploymentNoteParams
- func (o *GetDeploymentNoteParams) SetContext(ctx context.Context)
- func (o *GetDeploymentNoteParams) SetDefaults()
- func (o *GetDeploymentNoteParams) SetDeploymentID(deploymentID string)
- func (o *GetDeploymentNoteParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentNoteParams) SetNoteID(noteID string)
- func (o *GetDeploymentNoteParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentNoteParams) WithContext(ctx context.Context) *GetDeploymentNoteParams
- func (o *GetDeploymentNoteParams) WithDefaults() *GetDeploymentNoteParams
- func (o *GetDeploymentNoteParams) WithDeploymentID(deploymentID string) *GetDeploymentNoteParams
- func (o *GetDeploymentNoteParams) WithHTTPClient(client *http.Client) *GetDeploymentNoteParams
- func (o *GetDeploymentNoteParams) WithNoteID(noteID string) *GetDeploymentNoteParams
- func (o *GetDeploymentNoteParams) WithTimeout(timeout time.Duration) *GetDeploymentNoteParams
- func (o *GetDeploymentNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentNoteReader
- type GetDeploymentNotesNotFound
- type GetDeploymentNotesOK
- type GetDeploymentNotesParams
- func NewGetDeploymentNotesParams() *GetDeploymentNotesParams
- func NewGetDeploymentNotesParamsWithContext(ctx context.Context) *GetDeploymentNotesParams
- func NewGetDeploymentNotesParamsWithHTTPClient(client *http.Client) *GetDeploymentNotesParams
- func NewGetDeploymentNotesParamsWithTimeout(timeout time.Duration) *GetDeploymentNotesParams
- func (o *GetDeploymentNotesParams) SetContext(ctx context.Context)
- func (o *GetDeploymentNotesParams) SetDefaults()
- func (o *GetDeploymentNotesParams) SetDeploymentID(deploymentID string)
- func (o *GetDeploymentNotesParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentNotesParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentNotesParams) WithContext(ctx context.Context) *GetDeploymentNotesParams
- func (o *GetDeploymentNotesParams) WithDefaults() *GetDeploymentNotesParams
- func (o *GetDeploymentNotesParams) WithDeploymentID(deploymentID string) *GetDeploymentNotesParams
- func (o *GetDeploymentNotesParams) WithHTTPClient(client *http.Client) *GetDeploymentNotesParams
- func (o *GetDeploymentNotesParams) WithTimeout(timeout time.Duration) *GetDeploymentNotesParams
- func (o *GetDeploymentNotesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentNotesReader
- type UpdateDeploymentNoteNotFound
- type UpdateDeploymentNoteOK
- type UpdateDeploymentNoteParams
- func NewUpdateDeploymentNoteParams() *UpdateDeploymentNoteParams
- func NewUpdateDeploymentNoteParamsWithContext(ctx context.Context) *UpdateDeploymentNoteParams
- func NewUpdateDeploymentNoteParamsWithHTTPClient(client *http.Client) *UpdateDeploymentNoteParams
- func NewUpdateDeploymentNoteParamsWithTimeout(timeout time.Duration) *UpdateDeploymentNoteParams
- func (o *UpdateDeploymentNoteParams) SetBody(body *models.Note)
- func (o *UpdateDeploymentNoteParams) SetContext(ctx context.Context)
- func (o *UpdateDeploymentNoteParams) SetDefaults()
- func (o *UpdateDeploymentNoteParams) SetDeploymentID(deploymentID string)
- func (o *UpdateDeploymentNoteParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeploymentNoteParams) SetNoteID(noteID string)
- func (o *UpdateDeploymentNoteParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeploymentNoteParams) SetVersion(version *string)
- func (o *UpdateDeploymentNoteParams) WithBody(body *models.Note) *UpdateDeploymentNoteParams
- func (o *UpdateDeploymentNoteParams) WithContext(ctx context.Context) *UpdateDeploymentNoteParams
- func (o *UpdateDeploymentNoteParams) WithDefaults() *UpdateDeploymentNoteParams
- func (o *UpdateDeploymentNoteParams) WithDeploymentID(deploymentID string) *UpdateDeploymentNoteParams
- func (o *UpdateDeploymentNoteParams) WithHTTPClient(client *http.Client) *UpdateDeploymentNoteParams
- func (o *UpdateDeploymentNoteParams) WithNoteID(noteID string) *UpdateDeploymentNoteParams
- func (o *UpdateDeploymentNoteParams) WithTimeout(timeout time.Duration) *UpdateDeploymentNoteParams
- func (o *UpdateDeploymentNoteParams) WithVersion(version *string) *UpdateDeploymentNoteParams
- func (o *UpdateDeploymentNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeploymentNoteReader
- type UpdateDeploymentNoteRetryWith
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for deployments notes API
func (*Client) CreateDeploymentNote ¶
func (a *Client) CreateDeploymentNote(params *CreateDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeploymentNoteCreated, error)
CreateDeploymentNote creates deployment note > WARNING
> This endpoint is deprecated and scheduled to be removed in the next major version. Use [Create a Comment](#Comments) instead.
Create note for the running deployment.
func (*Client) DeleteDeploymentNote ¶
func (a *Client) DeleteDeploymentNote(params *DeleteDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeploymentNoteOK, error)
DeleteDeploymentNote deletes deployment note > WARNING
> This endpoint is deprecated and scheduled to be removed in the next major version. Use [Delete Comment](#Comments) instead.
Delete note for the running deployment.
func (*Client) GetDeploymentNote ¶
func (a *Client) GetDeploymentNote(params *GetDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeploymentNoteOK, error)
GetDeploymentNote gets a deployment note > WARNING
> This endpoint is deprecated and scheduled to be removed in the next major version. Use [Get Comment](#Comments) instead.
Gets a deployment note.
func (*Client) GetDeploymentNotes ¶
func (a *Client) GetDeploymentNotes(params *GetDeploymentNotesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeploymentNotesOK, error)
GetDeploymentNotes gets deployment notes > WARNING
> This endpoint is deprecated and scheduled to be removed in the next major version. Use [List Comments](#Comments) instead.
Get deployment notes.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDeploymentNote ¶
func (a *Client) UpdateDeploymentNote(params *UpdateDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeploymentNoteOK, error)
UpdateDeploymentNote updates deployment note > WARNING
> This endpoint is deprecated and scheduled to be removed in the next major version. Use [Update Comment](#Comments) instead.
Update note for the running deployment.
type ClientOption ¶ added in v1.3.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDeploymentNote(params *CreateDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeploymentNoteCreated, error) DeleteDeploymentNote(params *DeleteDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeploymentNoteOK, error) GetDeploymentNote(params *GetDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeploymentNoteOK, error) GetDeploymentNotes(params *GetDeploymentNotesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeploymentNotesOK, error) UpdateDeploymentNote(params *UpdateDeploymentNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeploymentNoteOK, 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 deployments notes API client.
type CreateDeploymentNoteCreated ¶
CreateDeploymentNoteCreated describes a response with status code 201, with default header values.
List of deployment notes after the new deployment note has been added
func NewCreateDeploymentNoteCreated ¶
func NewCreateDeploymentNoteCreated() *CreateDeploymentNoteCreated
NewCreateDeploymentNoteCreated creates a CreateDeploymentNoteCreated with default headers values
func (*CreateDeploymentNoteCreated) Error ¶
func (o *CreateDeploymentNoteCreated) Error() string
func (*CreateDeploymentNoteCreated) GetPayload ¶
func (o *CreateDeploymentNoteCreated) GetPayload() *models.Notes
type CreateDeploymentNoteNotFound ¶
type CreateDeploymentNoteNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateDeploymentNoteNotFound describes a response with status code 404, with default header values.
The deployment specified by {deployment_id} cannot be found. (code: `deployments.deployment_not_found`)
func NewCreateDeploymentNoteNotFound ¶
func NewCreateDeploymentNoteNotFound() *CreateDeploymentNoteNotFound
NewCreateDeploymentNoteNotFound creates a CreateDeploymentNoteNotFound with default headers values
func (*CreateDeploymentNoteNotFound) Error ¶
func (o *CreateDeploymentNoteNotFound) Error() string
func (*CreateDeploymentNoteNotFound) GetPayload ¶
func (o *CreateDeploymentNoteNotFound) GetPayload() *models.BasicFailedReply
type CreateDeploymentNoteParams ¶
type CreateDeploymentNoteParams struct { /* Body. New deployment note */ Body *models.Note /* DeploymentID. Identifier for the deployment */ DeploymentID string /* Version. If specified then checks for conflicts against the version of the deployment note */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDeploymentNoteParams contains all the parameters to send to the API endpoint
for the create deployment note operation. Typically these are written to a http.Request.
func NewCreateDeploymentNoteParams ¶
func NewCreateDeploymentNoteParams() *CreateDeploymentNoteParams
NewCreateDeploymentNoteParams creates a new CreateDeploymentNoteParams 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 NewCreateDeploymentNoteParamsWithContext ¶
func NewCreateDeploymentNoteParamsWithContext(ctx context.Context) *CreateDeploymentNoteParams
NewCreateDeploymentNoteParamsWithContext creates a new CreateDeploymentNoteParams object with the ability to set a context for a request.
func NewCreateDeploymentNoteParamsWithHTTPClient ¶
func NewCreateDeploymentNoteParamsWithHTTPClient(client *http.Client) *CreateDeploymentNoteParams
NewCreateDeploymentNoteParamsWithHTTPClient creates a new CreateDeploymentNoteParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDeploymentNoteParamsWithTimeout ¶
func NewCreateDeploymentNoteParamsWithTimeout(timeout time.Duration) *CreateDeploymentNoteParams
NewCreateDeploymentNoteParamsWithTimeout creates a new CreateDeploymentNoteParams object with the ability to set a timeout on a request.
func (*CreateDeploymentNoteParams) SetBody ¶
func (o *CreateDeploymentNoteParams) SetBody(body *models.Note)
SetBody adds the body to the create deployment note params
func (*CreateDeploymentNoteParams) SetContext ¶
func (o *CreateDeploymentNoteParams) SetContext(ctx context.Context)
SetContext adds the context to the create deployment note params
func (*CreateDeploymentNoteParams) SetDefaults ¶ added in v1.3.0
func (o *CreateDeploymentNoteParams) SetDefaults()
SetDefaults hydrates default values in the create deployment note params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDeploymentNoteParams) SetDeploymentID ¶
func (o *CreateDeploymentNoteParams) SetDeploymentID(deploymentID string)
SetDeploymentID adds the deploymentId to the create deployment note params
func (*CreateDeploymentNoteParams) SetHTTPClient ¶
func (o *CreateDeploymentNoteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create deployment note params
func (*CreateDeploymentNoteParams) SetTimeout ¶
func (o *CreateDeploymentNoteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create deployment note params
func (*CreateDeploymentNoteParams) SetVersion ¶
func (o *CreateDeploymentNoteParams) SetVersion(version *string)
SetVersion adds the version to the create deployment note params
func (*CreateDeploymentNoteParams) WithBody ¶
func (o *CreateDeploymentNoteParams) WithBody(body *models.Note) *CreateDeploymentNoteParams
WithBody adds the body to the create deployment note params
func (*CreateDeploymentNoteParams) WithContext ¶
func (o *CreateDeploymentNoteParams) WithContext(ctx context.Context) *CreateDeploymentNoteParams
WithContext adds the context to the create deployment note params
func (*CreateDeploymentNoteParams) WithDefaults ¶ added in v1.3.0
func (o *CreateDeploymentNoteParams) WithDefaults() *CreateDeploymentNoteParams
WithDefaults hydrates default values in the create deployment note params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDeploymentNoteParams) WithDeploymentID ¶
func (o *CreateDeploymentNoteParams) WithDeploymentID(deploymentID string) *CreateDeploymentNoteParams
WithDeploymentID adds the deploymentID to the create deployment note params
func (*CreateDeploymentNoteParams) WithHTTPClient ¶
func (o *CreateDeploymentNoteParams) WithHTTPClient(client *http.Client) *CreateDeploymentNoteParams
WithHTTPClient adds the HTTPClient to the create deployment note params
func (*CreateDeploymentNoteParams) WithTimeout ¶
func (o *CreateDeploymentNoteParams) WithTimeout(timeout time.Duration) *CreateDeploymentNoteParams
WithTimeout adds the timeout to the create deployment note params
func (*CreateDeploymentNoteParams) WithVersion ¶
func (o *CreateDeploymentNoteParams) WithVersion(version *string) *CreateDeploymentNoteParams
WithVersion adds the version to the create deployment note params
func (*CreateDeploymentNoteParams) WriteToRequest ¶
func (o *CreateDeploymentNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDeploymentNoteReader ¶
type CreateDeploymentNoteReader struct {
// contains filtered or unexported fields
}
CreateDeploymentNoteReader is a Reader for the CreateDeploymentNote structure.
func (*CreateDeploymentNoteReader) ReadResponse ¶
func (o *CreateDeploymentNoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDeploymentNoteRetryWith ¶
type CreateDeploymentNoteRetryWith struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateDeploymentNoteRetryWith describes a response with status code 449, with default header values.
Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
func NewCreateDeploymentNoteRetryWith ¶
func NewCreateDeploymentNoteRetryWith() *CreateDeploymentNoteRetryWith
NewCreateDeploymentNoteRetryWith creates a CreateDeploymentNoteRetryWith with default headers values
func (*CreateDeploymentNoteRetryWith) Error ¶
func (o *CreateDeploymentNoteRetryWith) Error() string
func (*CreateDeploymentNoteRetryWith) GetPayload ¶
func (o *CreateDeploymentNoteRetryWith) GetPayload() *models.BasicFailedReply
type DeleteDeploymentNoteNotFound ¶
type DeleteDeploymentNoteNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteDeploymentNoteNotFound describes a response with status code 404, with default header values. * "The deployment specified by {deployment_id} cannot be found. (code: `deployments.deployment_not_found`)
* The note specified by {note_id} cannot be found. (code: `notes.note_not_found`)
func NewDeleteDeploymentNoteNotFound ¶
func NewDeleteDeploymentNoteNotFound() *DeleteDeploymentNoteNotFound
NewDeleteDeploymentNoteNotFound creates a DeleteDeploymentNoteNotFound with default headers values
func (*DeleteDeploymentNoteNotFound) Error ¶
func (o *DeleteDeploymentNoteNotFound) Error() string
func (*DeleteDeploymentNoteNotFound) GetPayload ¶
func (o *DeleteDeploymentNoteNotFound) GetPayload() *models.BasicFailedReply
type DeleteDeploymentNoteOK ¶
type DeleteDeploymentNoteOK struct { /* The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /* The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /* The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Notes }
DeleteDeploymentNoteOK describes a response with status code 200, with default header values.
List of deployment notes after {note_id} has been deleted
func NewDeleteDeploymentNoteOK ¶
func NewDeleteDeploymentNoteOK() *DeleteDeploymentNoteOK
NewDeleteDeploymentNoteOK creates a DeleteDeploymentNoteOK with default headers values
func (*DeleteDeploymentNoteOK) Error ¶
func (o *DeleteDeploymentNoteOK) Error() string
func (*DeleteDeploymentNoteOK) GetPayload ¶
func (o *DeleteDeploymentNoteOK) GetPayload() *models.Notes
type DeleteDeploymentNoteParams ¶
type DeleteDeploymentNoteParams struct { /* DeploymentID. Identifier for the deployment */ DeploymentID string /* NoteID. Identifier of the note to be deleted */ NoteID string /* Version. If specified then checks for conflicts against the version of the deployment note */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDeploymentNoteParams contains all the parameters to send to the API endpoint
for the delete deployment note operation. Typically these are written to a http.Request.
func NewDeleteDeploymentNoteParams ¶
func NewDeleteDeploymentNoteParams() *DeleteDeploymentNoteParams
NewDeleteDeploymentNoteParams creates a new DeleteDeploymentNoteParams 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 NewDeleteDeploymentNoteParamsWithContext ¶
func NewDeleteDeploymentNoteParamsWithContext(ctx context.Context) *DeleteDeploymentNoteParams
NewDeleteDeploymentNoteParamsWithContext creates a new DeleteDeploymentNoteParams object with the ability to set a context for a request.
func NewDeleteDeploymentNoteParamsWithHTTPClient ¶
func NewDeleteDeploymentNoteParamsWithHTTPClient(client *http.Client) *DeleteDeploymentNoteParams
NewDeleteDeploymentNoteParamsWithHTTPClient creates a new DeleteDeploymentNoteParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDeploymentNoteParamsWithTimeout ¶
func NewDeleteDeploymentNoteParamsWithTimeout(timeout time.Duration) *DeleteDeploymentNoteParams
NewDeleteDeploymentNoteParamsWithTimeout creates a new DeleteDeploymentNoteParams object with the ability to set a timeout on a request.
func (*DeleteDeploymentNoteParams) SetContext ¶
func (o *DeleteDeploymentNoteParams) SetContext(ctx context.Context)
SetContext adds the context to the delete deployment note params
func (*DeleteDeploymentNoteParams) SetDefaults ¶ added in v1.3.0
func (o *DeleteDeploymentNoteParams) SetDefaults()
SetDefaults hydrates default values in the delete deployment note params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDeploymentNoteParams) SetDeploymentID ¶
func (o *DeleteDeploymentNoteParams) SetDeploymentID(deploymentID string)
SetDeploymentID adds the deploymentId to the delete deployment note params
func (*DeleteDeploymentNoteParams) SetHTTPClient ¶
func (o *DeleteDeploymentNoteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete deployment note params
func (*DeleteDeploymentNoteParams) SetNoteID ¶
func (o *DeleteDeploymentNoteParams) SetNoteID(noteID string)
SetNoteID adds the noteId to the delete deployment note params
func (*DeleteDeploymentNoteParams) SetTimeout ¶
func (o *DeleteDeploymentNoteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete deployment note params
func (*DeleteDeploymentNoteParams) SetVersion ¶
func (o *DeleteDeploymentNoteParams) SetVersion(version *string)
SetVersion adds the version to the delete deployment note params
func (*DeleteDeploymentNoteParams) WithContext ¶
func (o *DeleteDeploymentNoteParams) WithContext(ctx context.Context) *DeleteDeploymentNoteParams
WithContext adds the context to the delete deployment note params
func (*DeleteDeploymentNoteParams) WithDefaults ¶ added in v1.3.0
func (o *DeleteDeploymentNoteParams) WithDefaults() *DeleteDeploymentNoteParams
WithDefaults hydrates default values in the delete deployment note params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDeploymentNoteParams) WithDeploymentID ¶
func (o *DeleteDeploymentNoteParams) WithDeploymentID(deploymentID string) *DeleteDeploymentNoteParams
WithDeploymentID adds the deploymentID to the delete deployment note params
func (*DeleteDeploymentNoteParams) WithHTTPClient ¶
func (o *DeleteDeploymentNoteParams) WithHTTPClient(client *http.Client) *DeleteDeploymentNoteParams
WithHTTPClient adds the HTTPClient to the delete deployment note params
func (*DeleteDeploymentNoteParams) WithNoteID ¶
func (o *DeleteDeploymentNoteParams) WithNoteID(noteID string) *DeleteDeploymentNoteParams
WithNoteID adds the noteID to the delete deployment note params
func (*DeleteDeploymentNoteParams) WithTimeout ¶
func (o *DeleteDeploymentNoteParams) WithTimeout(timeout time.Duration) *DeleteDeploymentNoteParams
WithTimeout adds the timeout to the delete deployment note params
func (*DeleteDeploymentNoteParams) WithVersion ¶
func (o *DeleteDeploymentNoteParams) WithVersion(version *string) *DeleteDeploymentNoteParams
WithVersion adds the version to the delete deployment note params
func (*DeleteDeploymentNoteParams) WriteToRequest ¶
func (o *DeleteDeploymentNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDeploymentNoteReader ¶
type DeleteDeploymentNoteReader struct {
// contains filtered or unexported fields
}
DeleteDeploymentNoteReader is a Reader for the DeleteDeploymentNote structure.
func (*DeleteDeploymentNoteReader) ReadResponse ¶
func (o *DeleteDeploymentNoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDeploymentNoteRetryWith ¶
type DeleteDeploymentNoteRetryWith struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteDeploymentNoteRetryWith describes a response with status code 449, with default header values.
Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
func NewDeleteDeploymentNoteRetryWith ¶
func NewDeleteDeploymentNoteRetryWith() *DeleteDeploymentNoteRetryWith
NewDeleteDeploymentNoteRetryWith creates a DeleteDeploymentNoteRetryWith with default headers values
func (*DeleteDeploymentNoteRetryWith) Error ¶
func (o *DeleteDeploymentNoteRetryWith) Error() string
func (*DeleteDeploymentNoteRetryWith) GetPayload ¶
func (o *DeleteDeploymentNoteRetryWith) GetPayload() *models.BasicFailedReply
type GetDeploymentNoteNotFound ¶
type GetDeploymentNoteNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetDeploymentNoteNotFound describes a response with status code 404, with default header values. * "The deployment specified by {deployment_id} cannot be found. (code: `deployments.deployment_not_found`)
* The note specified by {note_id} cannot be found. (code: `notes.note_not_found`)
func NewGetDeploymentNoteNotFound ¶
func NewGetDeploymentNoteNotFound() *GetDeploymentNoteNotFound
NewGetDeploymentNoteNotFound creates a GetDeploymentNoteNotFound with default headers values
func (*GetDeploymentNoteNotFound) Error ¶
func (o *GetDeploymentNoteNotFound) Error() string
func (*GetDeploymentNoteNotFound) GetPayload ¶
func (o *GetDeploymentNoteNotFound) GetPayload() *models.BasicFailedReply
type GetDeploymentNoteOK ¶
type GetDeploymentNoteOK struct { /* The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /* The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /* The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Note }
GetDeploymentNoteOK describes a response with status code 200, with default header values.
The deployment note was successfully returned
func NewGetDeploymentNoteOK ¶
func NewGetDeploymentNoteOK() *GetDeploymentNoteOK
NewGetDeploymentNoteOK creates a GetDeploymentNoteOK with default headers values
func (*GetDeploymentNoteOK) Error ¶
func (o *GetDeploymentNoteOK) Error() string
func (*GetDeploymentNoteOK) GetPayload ¶
func (o *GetDeploymentNoteOK) GetPayload() *models.Note
type GetDeploymentNoteParams ¶
type GetDeploymentNoteParams struct { /* DeploymentID. Identifier for the deployment */ DeploymentID string /* NoteID. Identifier of the note to be fetched */ NoteID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeploymentNoteParams contains all the parameters to send to the API endpoint
for the get deployment note operation. Typically these are written to a http.Request.
func NewGetDeploymentNoteParams ¶
func NewGetDeploymentNoteParams() *GetDeploymentNoteParams
NewGetDeploymentNoteParams creates a new GetDeploymentNoteParams 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 NewGetDeploymentNoteParamsWithContext ¶
func NewGetDeploymentNoteParamsWithContext(ctx context.Context) *GetDeploymentNoteParams
NewGetDeploymentNoteParamsWithContext creates a new GetDeploymentNoteParams object with the ability to set a context for a request.
func NewGetDeploymentNoteParamsWithHTTPClient ¶
func NewGetDeploymentNoteParamsWithHTTPClient(client *http.Client) *GetDeploymentNoteParams
NewGetDeploymentNoteParamsWithHTTPClient creates a new GetDeploymentNoteParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeploymentNoteParamsWithTimeout ¶
func NewGetDeploymentNoteParamsWithTimeout(timeout time.Duration) *GetDeploymentNoteParams
NewGetDeploymentNoteParamsWithTimeout creates a new GetDeploymentNoteParams object with the ability to set a timeout on a request.
func (*GetDeploymentNoteParams) SetContext ¶
func (o *GetDeploymentNoteParams) SetContext(ctx context.Context)
SetContext adds the context to the get deployment note params
func (*GetDeploymentNoteParams) SetDefaults ¶ added in v1.3.0
func (o *GetDeploymentNoteParams) SetDefaults()
SetDefaults hydrates default values in the get deployment note params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploymentNoteParams) SetDeploymentID ¶
func (o *GetDeploymentNoteParams) SetDeploymentID(deploymentID string)
SetDeploymentID adds the deploymentId to the get deployment note params
func (*GetDeploymentNoteParams) SetHTTPClient ¶
func (o *GetDeploymentNoteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployment note params
func (*GetDeploymentNoteParams) SetNoteID ¶
func (o *GetDeploymentNoteParams) SetNoteID(noteID string)
SetNoteID adds the noteId to the get deployment note params
func (*GetDeploymentNoteParams) SetTimeout ¶
func (o *GetDeploymentNoteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployment note params
func (*GetDeploymentNoteParams) WithContext ¶
func (o *GetDeploymentNoteParams) WithContext(ctx context.Context) *GetDeploymentNoteParams
WithContext adds the context to the get deployment note params
func (*GetDeploymentNoteParams) WithDefaults ¶ added in v1.3.0
func (o *GetDeploymentNoteParams) WithDefaults() *GetDeploymentNoteParams
WithDefaults hydrates default values in the get deployment note params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploymentNoteParams) WithDeploymentID ¶
func (o *GetDeploymentNoteParams) WithDeploymentID(deploymentID string) *GetDeploymentNoteParams
WithDeploymentID adds the deploymentID to the get deployment note params
func (*GetDeploymentNoteParams) WithHTTPClient ¶
func (o *GetDeploymentNoteParams) WithHTTPClient(client *http.Client) *GetDeploymentNoteParams
WithHTTPClient adds the HTTPClient to the get deployment note params
func (*GetDeploymentNoteParams) WithNoteID ¶
func (o *GetDeploymentNoteParams) WithNoteID(noteID string) *GetDeploymentNoteParams
WithNoteID adds the noteID to the get deployment note params
func (*GetDeploymentNoteParams) WithTimeout ¶
func (o *GetDeploymentNoteParams) WithTimeout(timeout time.Duration) *GetDeploymentNoteParams
WithTimeout adds the timeout to the get deployment note params
func (*GetDeploymentNoteParams) WriteToRequest ¶
func (o *GetDeploymentNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentNoteReader ¶
type GetDeploymentNoteReader struct {
// contains filtered or unexported fields
}
GetDeploymentNoteReader is a Reader for the GetDeploymentNote structure.
func (*GetDeploymentNoteReader) ReadResponse ¶
func (o *GetDeploymentNoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeploymentNotesNotFound ¶
type GetDeploymentNotesNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetDeploymentNotesNotFound describes a response with status code 404, with default header values.
The deployment specified by {deployment_id} cannot be found. (code: `deployments.deployment_not_found`)
func NewGetDeploymentNotesNotFound ¶
func NewGetDeploymentNotesNotFound() *GetDeploymentNotesNotFound
NewGetDeploymentNotesNotFound creates a GetDeploymentNotesNotFound with default headers values
func (*GetDeploymentNotesNotFound) Error ¶
func (o *GetDeploymentNotesNotFound) Error() string
func (*GetDeploymentNotesNotFound) GetPayload ¶
func (o *GetDeploymentNotesNotFound) GetPayload() *models.BasicFailedReply
type GetDeploymentNotesOK ¶
type GetDeploymentNotesOK struct { /* The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /* The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /* The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Notes }
GetDeploymentNotesOK describes a response with status code 200, with default header values.
The deployment notes were successfully returned
func NewGetDeploymentNotesOK ¶
func NewGetDeploymentNotesOK() *GetDeploymentNotesOK
NewGetDeploymentNotesOK creates a GetDeploymentNotesOK with default headers values
func (*GetDeploymentNotesOK) Error ¶
func (o *GetDeploymentNotesOK) Error() string
func (*GetDeploymentNotesOK) GetPayload ¶
func (o *GetDeploymentNotesOK) GetPayload() *models.Notes
type GetDeploymentNotesParams ¶
type GetDeploymentNotesParams struct { /* DeploymentID. Identifier for the deployment */ DeploymentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeploymentNotesParams contains all the parameters to send to the API endpoint
for the get deployment notes operation. Typically these are written to a http.Request.
func NewGetDeploymentNotesParams ¶
func NewGetDeploymentNotesParams() *GetDeploymentNotesParams
NewGetDeploymentNotesParams creates a new GetDeploymentNotesParams 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 NewGetDeploymentNotesParamsWithContext ¶
func NewGetDeploymentNotesParamsWithContext(ctx context.Context) *GetDeploymentNotesParams
NewGetDeploymentNotesParamsWithContext creates a new GetDeploymentNotesParams object with the ability to set a context for a request.
func NewGetDeploymentNotesParamsWithHTTPClient ¶
func NewGetDeploymentNotesParamsWithHTTPClient(client *http.Client) *GetDeploymentNotesParams
NewGetDeploymentNotesParamsWithHTTPClient creates a new GetDeploymentNotesParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeploymentNotesParamsWithTimeout ¶
func NewGetDeploymentNotesParamsWithTimeout(timeout time.Duration) *GetDeploymentNotesParams
NewGetDeploymentNotesParamsWithTimeout creates a new GetDeploymentNotesParams object with the ability to set a timeout on a request.
func (*GetDeploymentNotesParams) SetContext ¶
func (o *GetDeploymentNotesParams) SetContext(ctx context.Context)
SetContext adds the context to the get deployment notes params
func (*GetDeploymentNotesParams) SetDefaults ¶ added in v1.3.0
func (o *GetDeploymentNotesParams) SetDefaults()
SetDefaults hydrates default values in the get deployment notes params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploymentNotesParams) SetDeploymentID ¶
func (o *GetDeploymentNotesParams) SetDeploymentID(deploymentID string)
SetDeploymentID adds the deploymentId to the get deployment notes params
func (*GetDeploymentNotesParams) SetHTTPClient ¶
func (o *GetDeploymentNotesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployment notes params
func (*GetDeploymentNotesParams) SetTimeout ¶
func (o *GetDeploymentNotesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployment notes params
func (*GetDeploymentNotesParams) WithContext ¶
func (o *GetDeploymentNotesParams) WithContext(ctx context.Context) *GetDeploymentNotesParams
WithContext adds the context to the get deployment notes params
func (*GetDeploymentNotesParams) WithDefaults ¶ added in v1.3.0
func (o *GetDeploymentNotesParams) WithDefaults() *GetDeploymentNotesParams
WithDefaults hydrates default values in the get deployment notes params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploymentNotesParams) WithDeploymentID ¶
func (o *GetDeploymentNotesParams) WithDeploymentID(deploymentID string) *GetDeploymentNotesParams
WithDeploymentID adds the deploymentID to the get deployment notes params
func (*GetDeploymentNotesParams) WithHTTPClient ¶
func (o *GetDeploymentNotesParams) WithHTTPClient(client *http.Client) *GetDeploymentNotesParams
WithHTTPClient adds the HTTPClient to the get deployment notes params
func (*GetDeploymentNotesParams) WithTimeout ¶
func (o *GetDeploymentNotesParams) WithTimeout(timeout time.Duration) *GetDeploymentNotesParams
WithTimeout adds the timeout to the get deployment notes params
func (*GetDeploymentNotesParams) WriteToRequest ¶
func (o *GetDeploymentNotesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentNotesReader ¶
type GetDeploymentNotesReader struct {
// contains filtered or unexported fields
}
GetDeploymentNotesReader is a Reader for the GetDeploymentNotes structure.
func (*GetDeploymentNotesReader) ReadResponse ¶
func (o *GetDeploymentNotesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDeploymentNoteNotFound ¶
type UpdateDeploymentNoteNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateDeploymentNoteNotFound describes a response with status code 404, with default header values. * "The deployment specified by {deployment_id} cannot be found. (code: `deployments.deployment_not_found`)
* The note specified by {note_id} cannot be found. (code: `notes.note_not_found`)
func NewUpdateDeploymentNoteNotFound ¶
func NewUpdateDeploymentNoteNotFound() *UpdateDeploymentNoteNotFound
NewUpdateDeploymentNoteNotFound creates a UpdateDeploymentNoteNotFound with default headers values
func (*UpdateDeploymentNoteNotFound) Error ¶
func (o *UpdateDeploymentNoteNotFound) Error() string
func (*UpdateDeploymentNoteNotFound) GetPayload ¶
func (o *UpdateDeploymentNoteNotFound) GetPayload() *models.BasicFailedReply
type UpdateDeploymentNoteOK ¶
type UpdateDeploymentNoteOK struct { /* The date-time when the resource was created (ISO format relative to UTC) */ XCloudResourceCreated string /* The date-time when the resource was last modified (ISO format relative to UTC) */ XCloudResourceLastModified string /* The resource version, which is used to avoid update conflicts with concurrent operations */ XCloudResourceVersion string Payload *models.Note }
UpdateDeploymentNoteOK describes a response with status code 200, with default header values.
Updated deployment note
func NewUpdateDeploymentNoteOK ¶
func NewUpdateDeploymentNoteOK() *UpdateDeploymentNoteOK
NewUpdateDeploymentNoteOK creates a UpdateDeploymentNoteOK with default headers values
func (*UpdateDeploymentNoteOK) Error ¶
func (o *UpdateDeploymentNoteOK) Error() string
func (*UpdateDeploymentNoteOK) GetPayload ¶
func (o *UpdateDeploymentNoteOK) GetPayload() *models.Note
type UpdateDeploymentNoteParams ¶
type UpdateDeploymentNoteParams struct { /* Body. New content for deployment note */ Body *models.Note /* DeploymentID. Identifier for the deployment */ DeploymentID string /* NoteID. Identifier of the note to be updated */ NoteID string /* Version. If specified then checks for conflicts against the version of the deployment note */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeploymentNoteParams contains all the parameters to send to the API endpoint
for the update deployment note operation. Typically these are written to a http.Request.
func NewUpdateDeploymentNoteParams ¶
func NewUpdateDeploymentNoteParams() *UpdateDeploymentNoteParams
NewUpdateDeploymentNoteParams creates a new UpdateDeploymentNoteParams 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 NewUpdateDeploymentNoteParamsWithContext ¶
func NewUpdateDeploymentNoteParamsWithContext(ctx context.Context) *UpdateDeploymentNoteParams
NewUpdateDeploymentNoteParamsWithContext creates a new UpdateDeploymentNoteParams object with the ability to set a context for a request.
func NewUpdateDeploymentNoteParamsWithHTTPClient ¶
func NewUpdateDeploymentNoteParamsWithHTTPClient(client *http.Client) *UpdateDeploymentNoteParams
NewUpdateDeploymentNoteParamsWithHTTPClient creates a new UpdateDeploymentNoteParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeploymentNoteParamsWithTimeout ¶
func NewUpdateDeploymentNoteParamsWithTimeout(timeout time.Duration) *UpdateDeploymentNoteParams
NewUpdateDeploymentNoteParamsWithTimeout creates a new UpdateDeploymentNoteParams object with the ability to set a timeout on a request.
func (*UpdateDeploymentNoteParams) SetBody ¶
func (o *UpdateDeploymentNoteParams) SetBody(body *models.Note)
SetBody adds the body to the update deployment note params
func (*UpdateDeploymentNoteParams) SetContext ¶
func (o *UpdateDeploymentNoteParams) SetContext(ctx context.Context)
SetContext adds the context to the update deployment note params
func (*UpdateDeploymentNoteParams) SetDefaults ¶ added in v1.3.0
func (o *UpdateDeploymentNoteParams) SetDefaults()
SetDefaults hydrates default values in the update deployment note params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDeploymentNoteParams) SetDeploymentID ¶
func (o *UpdateDeploymentNoteParams) SetDeploymentID(deploymentID string)
SetDeploymentID adds the deploymentId to the update deployment note params
func (*UpdateDeploymentNoteParams) SetHTTPClient ¶
func (o *UpdateDeploymentNoteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update deployment note params
func (*UpdateDeploymentNoteParams) SetNoteID ¶
func (o *UpdateDeploymentNoteParams) SetNoteID(noteID string)
SetNoteID adds the noteId to the update deployment note params
func (*UpdateDeploymentNoteParams) SetTimeout ¶
func (o *UpdateDeploymentNoteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update deployment note params
func (*UpdateDeploymentNoteParams) SetVersion ¶
func (o *UpdateDeploymentNoteParams) SetVersion(version *string)
SetVersion adds the version to the update deployment note params
func (*UpdateDeploymentNoteParams) WithBody ¶
func (o *UpdateDeploymentNoteParams) WithBody(body *models.Note) *UpdateDeploymentNoteParams
WithBody adds the body to the update deployment note params
func (*UpdateDeploymentNoteParams) WithContext ¶
func (o *UpdateDeploymentNoteParams) WithContext(ctx context.Context) *UpdateDeploymentNoteParams
WithContext adds the context to the update deployment note params
func (*UpdateDeploymentNoteParams) WithDefaults ¶ added in v1.3.0
func (o *UpdateDeploymentNoteParams) WithDefaults() *UpdateDeploymentNoteParams
WithDefaults hydrates default values in the update deployment note params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDeploymentNoteParams) WithDeploymentID ¶
func (o *UpdateDeploymentNoteParams) WithDeploymentID(deploymentID string) *UpdateDeploymentNoteParams
WithDeploymentID adds the deploymentID to the update deployment note params
func (*UpdateDeploymentNoteParams) WithHTTPClient ¶
func (o *UpdateDeploymentNoteParams) WithHTTPClient(client *http.Client) *UpdateDeploymentNoteParams
WithHTTPClient adds the HTTPClient to the update deployment note params
func (*UpdateDeploymentNoteParams) WithNoteID ¶
func (o *UpdateDeploymentNoteParams) WithNoteID(noteID string) *UpdateDeploymentNoteParams
WithNoteID adds the noteID to the update deployment note params
func (*UpdateDeploymentNoteParams) WithTimeout ¶
func (o *UpdateDeploymentNoteParams) WithTimeout(timeout time.Duration) *UpdateDeploymentNoteParams
WithTimeout adds the timeout to the update deployment note params
func (*UpdateDeploymentNoteParams) WithVersion ¶
func (o *UpdateDeploymentNoteParams) WithVersion(version *string) *UpdateDeploymentNoteParams
WithVersion adds the version to the update deployment note params
func (*UpdateDeploymentNoteParams) WriteToRequest ¶
func (o *UpdateDeploymentNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDeploymentNoteReader ¶
type UpdateDeploymentNoteReader struct {
// contains filtered or unexported fields
}
UpdateDeploymentNoteReader is a Reader for the UpdateDeploymentNote structure.
func (*UpdateDeploymentNoteReader) ReadResponse ¶
func (o *UpdateDeploymentNoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDeploymentNoteRetryWith ¶
type UpdateDeploymentNoteRetryWith struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
UpdateDeploymentNoteRetryWith describes a response with status code 449, with default header values.
Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
func NewUpdateDeploymentNoteRetryWith ¶
func NewUpdateDeploymentNoteRetryWith() *UpdateDeploymentNoteRetryWith
NewUpdateDeploymentNoteRetryWith creates a UpdateDeploymentNoteRetryWith with default headers values
func (*UpdateDeploymentNoteRetryWith) Error ¶
func (o *UpdateDeploymentNoteRetryWith) Error() string
func (*UpdateDeploymentNoteRetryWith) GetPayload ¶
func (o *UpdateDeploymentNoteRetryWith) GetPayload() *models.BasicFailedReply
Source Files
¶
- create_deployment_note_parameters.go
- create_deployment_note_responses.go
- delete_deployment_note_parameters.go
- delete_deployment_note_responses.go
- deployments_notes_client.go
- get_deployment_note_parameters.go
- get_deployment_note_responses.go
- get_deployment_notes_parameters.go
- get_deployment_notes_responses.go
- update_deployment_note_parameters.go
- update_deployment_note_responses.go